*** generic/tkIntDecls.h.orig	Tue Aug 10 18:58:37 1999
--- generic/tkIntDecls.h	Sun Jan 16 17:43:04 2000
***************
*** 22,27 ****
--- 22,31 ----
  #define TCL_STORAGE_CLASS DLLEXPORT
  #endif
  
+ struct TkText;
+ struct TkTextIndex;
+ struct TkTextBTree_;
+ 
  /*
   * WARNING: This file is automatically generated by the tools/genStubs.tcl
   * script.  Any modifications to the function declarations below should be made
***************
*** 214,221 ****
  EXTERN void		TkpClaimFocus _ANSI_ARGS_((TkWindow * topLevelPtr, 
  				int force));
  /* 58 */
! EXTERN void		TkpDisplayWarning _ANSI_ARGS_((char * msg, 
! 				char * title));
  /* 59 */
  EXTERN void		TkpGetAppName _ANSI_ARGS_((Tcl_Interp * interp, 
  				Tcl_DString * name));
--- 218,225 ----
  EXTERN void		TkpClaimFocus _ANSI_ARGS_((TkWindow * topLevelPtr, 
  				int force));
  /* 58 */
! EXTERN void		TkpDisplayWarning _ANSI_ARGS_((CONST char * msg, 
! 				CONST char * title));
  /* 59 */
  EXTERN void		TkpGetAppName _ANSI_ARGS_((Tcl_Interp * interp, 
  				Tcl_DString * name));
***************
*** 506,511 ****
--- 510,539 ----
  /* 136 */
  EXTERN void		TkSetFocusWin _ANSI_ARGS_((TkWindow * winPtr, 
  				int force));
+ /* 137 */
+ EXTERN int		TkTextGetIndex _ANSI_ARGS_((Tcl_Interp * interp, 
+ 				struct TkText * textPtr, char * string, 
+ 				struct TkTextIndex * indexPtr));
+ /* 138 */
+ EXTERN void		TkTextIndexBackBytes _ANSI_ARGS_((
+ 				CONST struct TkTextIndex * srcPtr, int count, 
+ 				struct TkTextIndex * dstPtr));
+ /* 139 */
+ EXTERN void		TkTextIndexForwBytes _ANSI_ARGS_((
+ 				CONST struct TkTextIndex * srcPtr, int count, 
+ 				struct TkTextIndex * dstPtr));
+ /* 140 */
+ EXTERN struct TkTextIndex * TkTextMakeByteIndex _ANSI_ARGS_((
+ 				struct TkTextBTree_ * tree, int lineIndex, 
+ 				int byteIndex, struct TkTextIndex * indexPtr));
+ /* 141 */
+ EXTERN void		TkTextPrintIndex _ANSI_ARGS_((
+ 				CONST struct TkTextIndex * indexPtr, 
+ 				char * string));
+ /* 142 */
+ EXTERN struct TkTextSegment * TkTextSetMark _ANSI_ARGS_((
+ 				struct TkText * textPtr, char * name, 
+ 				struct TkTextIndex * indexPtr));
  
  typedef struct TkIntStubs {
      int magic;
***************
*** 569,575 ****
      int (*tkpChangeFocus) _ANSI_ARGS_((TkWindow * winPtr, int force)); /* 55 */
      void (*tkpCloseDisplay) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 56 */
      void (*tkpClaimFocus) _ANSI_ARGS_((TkWindow * topLevelPtr, int force)); /* 57 */
!     void (*tkpDisplayWarning) _ANSI_ARGS_((char * msg, char * title)); /* 58 */
      void (*tkpGetAppName) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_DString * name)); /* 59 */
      TkWindow * (*tkpGetOtherWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 60 */
      TkWindow * (*tkpGetWrapperWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 61 */
--- 597,603 ----
      int (*tkpChangeFocus) _ANSI_ARGS_((TkWindow * winPtr, int force)); /* 55 */
      void (*tkpCloseDisplay) _ANSI_ARGS_((TkDisplay * dispPtr)); /* 56 */
      void (*tkpClaimFocus) _ANSI_ARGS_((TkWindow * topLevelPtr, int force)); /* 57 */
!     void (*tkpDisplayWarning) _ANSI_ARGS_((CONST char * msg, CONST char * title)); /* 58 */
      void (*tkpGetAppName) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_DString * name)); /* 59 */
      TkWindow * (*tkpGetOtherWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 60 */
      TkWindow * (*tkpGetWrapperWindow) _ANSI_ARGS_((TkWindow * winPtr)); /* 61 */
***************
*** 808,813 ****
--- 836,847 ----
  #endif /* MAC_TCL */
      void (*tkpDrawHighlightBorder) _ANSI_ARGS_((Tk_Window tkwin, GC fgGC, GC bgGC, int highlightWidth, Drawable drawable)); /* 135 */
      void (*tkSetFocusWin) _ANSI_ARGS_((TkWindow * winPtr, int force)); /* 136 */
+     int (*tkTextGetIndex) _ANSI_ARGS_((Tcl_Interp * interp, struct TkText * textPtr, char * string, struct TkTextIndex * indexPtr)); /* 137 */
+     void (*tkTextIndexBackBytes) _ANSI_ARGS_((CONST struct TkTextIndex * srcPtr, int count, struct TkTextIndex * dstPtr)); /* 138 */
+     void (*tkTextIndexForwBytes) _ANSI_ARGS_((CONST struct TkTextIndex * srcPtr, int count, struct TkTextIndex * dstPtr)); /* 139 */
+     struct TkTextIndex * (*tkTextMakeByteIndex) _ANSI_ARGS_((struct TkTextBTree_ * tree, int lineIndex, int byteIndex, struct TkTextIndex * indexPtr)); /* 140 */
+     void (*tkTextPrintIndex) _ANSI_ARGS_((CONST struct TkTextIndex * indexPtr, char * string)); /* 141 */
+     struct TkTextSegment * (*tkTextSetMark) _ANSI_ARGS_((struct TkText * textPtr, char * name, struct TkTextIndex * indexPtr)); /* 142 */
  } TkIntStubs;
  
  #ifdef __cplusplus
***************
*** 1447,1452 ****
--- 1481,1510 ----
  #ifndef TkSetFocusWin
  #define TkSetFocusWin \
  	(tkIntStubsPtr->tkSetFocusWin) /* 136 */
+ #endif
+ #ifndef TkTextGetIndex
+ #define TkTextGetIndex \
+ 	(tkIntStubsPtr->tkTextGetIndex) /* 137 */
+ #endif
+ #ifndef TkTextIndexBackBytes
+ #define TkTextIndexBackBytes \
+ 	(tkIntStubsPtr->tkTextIndexBackBytes) /* 138 */
+ #endif
+ #ifndef TkTextIndexForwBytes
+ #define TkTextIndexForwBytes \
+ 	(tkIntStubsPtr->tkTextIndexForwBytes) /* 139 */
+ #endif
+ #ifndef TkTextMakeByteIndex
+ #define TkTextMakeByteIndex \
+ 	(tkIntStubsPtr->tkTextMakeByteIndex) /* 140 */
+ #endif
+ #ifndef TkTextPrintIndex
+ #define TkTextPrintIndex \
+ 	(tkIntStubsPtr->tkTextPrintIndex) /* 141 */
+ #endif
+ #ifndef TkTextSetMark
+ #define TkTextSetMark \
+ 	(tkIntStubsPtr->tkTextSetMark) /* 142 */
  #endif
  
  #endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */
