diff options
author | fvogel <fvogelnew1@free.fr> | 2021-04-13 19:54:48 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2021-04-13 19:54:48 (GMT) |
commit | e144aa168478bfcc1a5e9167dbf05fde91f0b965 (patch) | |
tree | a0b2a92510b2f36cdff6a11e51a6f3a8450a37e0 /generic/tkText.h | |
parent | 09f629e99dedf758b646eb290a64ec7fc80addef (diff) | |
download | tk-e144aa168478bfcc1a5e9167dbf05fde91f0b965.zip tk-e144aa168478bfcc1a5e9167dbf05fde91f0b965.tar.gz tk-e144aa168478bfcc1a5e9167dbf05fde91f0b965.tar.bz2 |
Factor out two places where the -startline/-endline range is checked.
Diffstat (limited to 'generic/tkText.h')
-rw-r--r-- | generic/tkText.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tkText.h b/generic/tkText.h index 9a9495a..a71a31e 100644 --- a/generic/tkText.h +++ b/generic/tkText.h @@ -1160,6 +1160,8 @@ MODULE_SCOPE int TkTextYviewCmd(TkText *textPtr, Tcl_Interp *interp, MODULE_SCOPE void TkTextWinFreeClient(Tcl_HashEntry *hPtr, TkTextEmbWindowClient *client); MODULE_SCOPE void TkTextRunAfterSyncCmd(ClientData clientData); +MODULE_SCOPE int TkTextIndexAdjustToStartEnd(TkText* textPtr, + TkTextIndex* indexPtr, int err); #endif /* _TKTEXT */ /* |