summaryrefslogtreecommitdiffstats
path: root/tests/text.test
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkText.c (DumpLine): stop dumping if we detect that thehobbs2006-04-051-1/+13
| | | | | | text widget state has changed while dumping. [Bug 1414171] (InsertChars, DeleteChars): fix undo with space-based path. * tests/text.test (text-25.14): [Bug 1452419]
* * tests/text.test: properly return the number ofhobbs2002-10-171-14/+7
| | | | * unix/tkUnixFont.c (ControlUtfProc): bytes consumed. [Bug #624732]
* * Converted more files to tcltest and factored out common code.dgp2002-07-131-14/+10
|
* * Converted several files in the Tk test suite for testing bydgp2002-07-121-5/+10
| | | | tcltest 2.1.
* * doc/text.n: TIP #93 implementation thathobbs2002-06-221-7/+84
| | | | | | | * 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.
* * doc/text.n: TIP #104 implementation which generalizes thehobbs2002-06-211-2/+16
| | | | | | | | | | | | | | | * generic/tkText.c: undo/redo stack to not be tied solely to the * generic/tkText.h: text widget. The APIs are still private. * generic/tkUndo.c: This also adds a stack limiting ability and * generic/tkUndo.h: a -maxundo option to the text widget (in * library/text.tcl: addition to the options from TIP #26) should * mac/tkMacDefault.h: users want to limit the undo/redo stack * tests/text.test: (should not be necessary in most cases). * unix/Makefile.in: [Patch #554763] (callewart) * unix/tkUnixDefault.h: * win/Makefile.in: * win/makefile.vc: * win/tkWinDefault.h:
* added TIP#26 text widget undo/redo functionalityhobbs2001-11-131-7/+122
|
* Merged changes from feature branch dgp-privates-into-namespace,dgp2001-08-011-3/+3
| | | | | implementing TIP 44. All Tk commands and variables matching tk[A-Z]* are now in the ::tk namespace.
* * tests/text.test: Added tests for -regexp -nocase searches withericm2000-07-251-1/+25
| | | | | | | | | | backslash character classes. * generic/tkText.c (TextSearchCmd): Text search did not work properly when -regexp and -nocase were used, in combination with backslash character classes represented by capital letters (ie, \W, \M); altered implementation of -regexp -nocase searches to use new regexp interfaces to fix this problem. [Bug: 5988].
* * tests/text.test: Added tests for searching when text is elided.ericm2000-07-211-1/+30
| | | | | | | | * generic/tkText.c (TextSearchCmd): Text search was not returning the correct index when the search covered (but did not search) elided characters; corrected this by adjusting the match index by the number of elided characters preceeding the start of the match, just as is done with embedded windows, etc. [Bug: 5470].
* * tests/text.test:ericm2000-02-031-1/+15
| | | | | | | * generic/tkText.c (DumpLine/DumpSegment): Changed DumpSegment to take a TkTextIndex instead of two integer offsets, so that it could use TkTextPrintIndex to format the offsets into an index, which makes it UTF smart (bug #2582).
* * tests/text.test:ericm2000-01-211-1/+8
| | | | | * generic/tkText.c: Fixed bug relating to regexp searching for empty lines; previously, the starting line was ignored. (bug #1643).
* * tests/text.test:hobbs2000-01-211-8/+8
| | | | | * generic/tkText.c: fixed missing " in error case and missing 'dump' in subcommand listing [Bug: 4036]
* * tests/text.test: changed test to reflect change of -hiddenhobbs2000-01-131-2/+2
| | | | to -elide in search options.
* * tests/bind.test:hobbs1999-12-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | * tests/canvImg.test: * tests/canvPsArc.tcl: * tests/canvPsImg.tcl: (new file) * tests/canvRect.test: * tests/canvText.test: * tests/canvas.test: * tests/defs.tcl: * tests/entry.test: * tests/event.test: * tests/font.test: * tests/frame.test: * tests/imgPhoto.test: * tests/safe.test: * tests/scale.test: * tests/scrollbar.test: * tests/select.test: * tests/text.test: * tests/textDisp.test: * tests/textTag.test: * tests/unixFont.test: * tests/unixWm.test: * tests/visual_bb.test: * tests/winClipboard.test: tests for the dash patch changes
* Merged 8-1-0 into mainline.rjohnson1999-04-211-1/+1
|
* Added new tests to scale and text.rjohnson1999-04-201-1/+14
| | | | Fixed core dump in text serach code: Bug 1642
* * Merged 8.1 branch into the main trunkstanton1999-04-161-7/+45
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+1262