summaryrefslogtreecommitdiffstats
path: root/generic/tkTextIndex.c
Commit message (Collapse)AuthorAgeFilesLines
* [562118ce41] Fix wordstart modifier handling of multi-byte charsdgp2015-04-091-5/+14
|\
| * Fix typo in commentfvogel2015-04-071-1/+1
| |
| * Fix wordstart modifier for UTF-8 text - Bug [562118ce41]fvogel2015-04-071-4/+13
| |
* | Fixed crash with display wordstart - Bug [e4ed00a954]bug_e4ed00a954fvogel2015-04-081-1/+1
|/
* merge 8.5dgp2015-02-061-2/+2
|\
| * [c9535cd7ce] GetIndex() failed to route all successful exits through codedgp2015-02-061-2/+2
| | | | | | that writes a result through the canCachePtr.
* | TkTextIndexCount is counting chars. Fix these calls where bytes counting is ↵fvogel2015-01-241-0/+87
|/ | | | needed. Among other issues, this fixes horizontal scrolling when typing text at the end of a line containing multi-byte characters.
* [Bug 3588824]: bug in image index handling for weird image namesdgp2012-12-041-3/+13
|\
| * [Bug 3588824]: bug in image index handling for weird image namesfvogel2012-11-221-3/+12
| |
* | Purge RCS Keywords.dgp2011-06-081-2/+0
|\ \ | |/
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |
* | * generic/tkImgPhoto.c: fix numerous leaks discovered with thedas2009-02-061-2/+6
| | | | | | | | | | | | | | | | | | | | * generic/tkMenu.c: Mac OS X Instruments.app Leaks tool. * generic/tkText.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkUndo.c: * generic/ttk/ttkFrame.c: * macosx/tkMacOSXWm.c:
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | * generic/tkArgv.c: Fix gcc warnings about 'cast to/fromdas2007-10-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkCanvUtil.c: pointer from/to integer of different * generic/tkCanvas.c: size' on 64-bit platforms by casting * generic/tkCursor.c: to intermediate types * generic/tkInt.h: intptr_t/uintptr_t via new PTR2INT(), * generic/tkListbox.c: INT2PTR(), PTR2UINT() and UINT2PTR() * generic/tkObj.c: macros. * generic/tkStyle.c: * generic/tkTextIndex.c: * generic/tkUtil.c: * generic/ttk/ttkTheme.h: * generic/ttk/ttkTreeview.c: * unix/tkUnixMenu.c: * unix/configure.in: * unix/configure: autoconf-2.59 * unix/tkConfig.h.in: autoheader-2.59
* | header cleanupdgp2007-09-071-2/+1
| |
* | Less of that K&R or wrongly indented function header style!dkf2007-02-221-136/+139
| |
* | ANSIfy and reduce casting of NULL to promote readabilitydkf2005-11-171-3/+3
| |
* | tip256 implementationvincentdarley2005-10-101-9/+1
| |
* | Getting more systematic about styledkf2005-08-101-571/+635
| | | | | | | | | | Also start removing _ANSI_ARGS_; the core's required ANSI C for a while now Also fix [Bug 1252702]; size_t doesn't mix with Tcl_GetStringFromObj
* | fix to newline eliding in text widgetvincentdarley2005-02-141-11/+33
| |
* | fix init warningshobbs2004-10-051-2/+2
| |
* | text widget 'peer' subcommand -- TIP#169 implementationvincentdarley2004-09-101-59/+157
| |
* | text widget fixesvincentdarley2004-06-041-1/+9
| |
* | remove access to tclInt.hvincentdarley2004-02-281-4/+3
| |
* | * generic/tkTextIndex.c: added '#include <tclInt.h>' since thedas2004-01-271-1/+2
| | | | | | | | | | | | | | | | | | | | code uses the TclUtfToUniChar macro from that file. [Bug 874745] * macosx/Wish.pbproj/project.pbxproj: removed erroneous reference to mkpsenc.tcl in bundle resources phase (mkpsenc.tcl is already part of the copy files phase to Resources/Scripts). * macosx/Makefile: added support for 'xcodebuild' on Mac OS X 10.3.
* | * generic/tk3d.c: All uses of 'panic' (the macro) changeddavygrvy2004-01-131-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkBind.c: to 'Tcl_Panic' (the function). The #define * generic/tkBitmap.c: of panic in tcl.h clearly states it is * generic/tkCanvArc.c: deprecated in the comments. * generic/tkCanvBmap.c: [Tcl Patch 865264] * generic/tkCanvImg.c: * generic/tkCanvLine.c: * generic/tkCanvPoly.c: * generic/tkCanvText.c: * generic/tkCanvWind.c: * generic/tkColor.c: * generic/tkConfig.c: * generic/tkCursor.c: * generic/tkError.c: * generic/tkEvent.c: * generic/tkFocus.c: * generic/tkFont.c: * generic/tkFrame.c: * generic/tkGC.c: * generic/tkGrid.c: * generic/tkImgBmap.c: * generic/tkImgPhoto.c: * generic/tkImgUtil.c: * generic/tkMenu.c: * generic/tkObj.c: * generic/tkPack.c: * generic/tkPlace.c: * generic/tkRectOval.c: * generic/tkSelect.c: * generic/tkText.c: * generic/tkTextBTree.c: * generic/tkTextDisp.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkTextMark.c: * generic/tkTextWind.c: * generic/tkVisual.c: * generic/tkWindow.c: * mac/tkMacAppInit.c: * mac/tkMacAppearanceStubs.c: * mac/tkMacButton.c: * mac/tkMacDraw.c: * mac/tkMacEmbed.c: * mac/tkMacFont.c: * mac/tkMacInit.c: * mac/tkMacMenus.c: * mac/tkMacPort.h: * mac/tkMacSubwindows.c: * mac/tkMacWm.c: * mac/tkMacXStubs.c: * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXFont.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXPort.h: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * unix/tkUnix3d.c: * unix/tkUnixColor.c: * unix/tkUnixEmbed.c: * unix/tkUnixEvent.c: * unix/tkUnixFocus.c: * unix/tkUnixFont.c: * unix/tkUnixSelect.c: * unix/tkUnixSend.c: * unix/tkUnixWm.c: * win/tkWin3d.c: * win/tkWinButton.c: * win/tkWinColor.c: * win/tkWinDialog.c: * win/tkWinDraw.c: * win/tkWinEmbed.c: * win/tkWinFont.c: * win/tkWinPixmap.c: * win/tkWinPointer.c: * win/tkWinScrlbr.c: * win/tkWinWm.c: * win/tkWinX.c:
* | utf-8 aware text wordstart and wordendvincentdarley2004-01-071-10/+21
| |
* | text widget more extensive documentation, and two small code improvementsvincentdarley2003-12-151-1/+4
| |
* | old tk text widget bugs fixedvincentdarley2003-11-121-2/+2
| |
* | elide tag handling, once morevincentdarley2003-11-081-52/+119
| |
* | better elide tag handlingvincentdarley2003-11-071-54/+110
| |
* | TIP 155 implementationvincentdarley2003-10-311-100/+579
| |
* | Register the type of text indices. Also some exported symbol name policing...dkf2003-10-101-4/+4
| |
* | tip 113 implementationvincentdarley2003-05-191-6/+315
|/
* Applied companion patch for Tcl Patch 585105,dgp2002-08-051-32/+40
| | | | | | | | | | | | | | | | | | | | | updating Tk to use Tcl 8.4's fully CONST-ified interface, and fully CONSTifying Tk at the same time. This patch includes purging Tk of its last direct access to interp->result. [Bug 589853] The substantial changes include copying event sequence strings into Tcl_DStrings in tkBind.c, and copying [text] indices into Tcl_DStrings because parsing them involved overwriting them. If this causes performance trouble, that can be resolved by further converting them to Tcl_Obj's. The #defines USE_NON_CONST and USE_COMPAT_CONST have the same effect for Tk as they do for Tcl. (They actually change tcl.h)
* * doc/text.n: TIP #93 implementation thathobbs2002-06-221-1/+3
| | | | | | | * generic/tkText.c (TextWidgetCmd): enhances the text get and * generic/tkTextIndex.c (TkTextGetIndex): delete methods to accept * tests/text.test: multiple range pairs. This handles the delete case in an atomic, fixed-index fashion.
* * Updated callers of Tcl_Utf* and Tcl_Regexp* APIs to reflect TIP 27dgp2002-01-171-3/+3
| | | | API changes (see Tcl Patch 471509). [Patch 471513]
* * Merged 8.1 branch into the main trunkstanton1999-04-161-135/+481
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+840