summaryrefslogtreecommitdiffstats
path: root/tests/text.test
Commit message (Collapse)AuthorAgeFilesLines
* Purge RCS Keywords.dgp2011-06-081-2/+0
|\
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |
| * Apply (upgraded) version of [Patch 1469210].dkf2009-10-221-1/+14
| |
| * * generic/tkText.c (DeleteChars, TextEditCmd, updateDirtyFlag):hobbs2007-12-131-1/+36
| | | | | | | | | | | | | | * tests/text.test (text-25.10.1,25.11.[12]): Don't require [update idle] to trigger Modified event [Bug 1809538] Modified virtual event should only fire on state change [Bug 1799782] Make sure we delete chars before triggering <<Modified>> [Bug 1737288]
| * * 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]
* | * generic/tkText.c (DumpLine): [Bug 2968379]: When peers are about,dkf2010-03-111-1/+10
| | | | | | | | | | | | there can be unnamed marks present during a dump. Ignore them as they will just be for the peers' insert and current marks, which aren't very important.
* | Apply (slight cleaner, tested) version of [Patch 1469210].dkf2009-10-221-1/+13
| |
* | backported fix for bug #1777362 to make events work for windows with hyphens ↵patthoyts2008-11-121-1/+43
| | | | | | | | in the path
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | * generic/tkText.c (DeleteIndexRange, TextEditCmd, UpdateDirtyFlag):hobbs2007-12-131-1/+36
| | | | | | | | | | | | | | * tests/text.test (text-25.10.1,25.11.[12]): Don't require [update idle] to trigger Modified event [Bug 1809538] Modified virtual event should only fire on state change [Bug 1799782] Make sure we delete chars before triggering <<Modified>> [Bug 1737288]
* | Added code to rebuild the from index after the deletion phase so that thedkf2007-12-111-1/+10
| | | | | | | | linePtr field is valid for the insertion phase. [Bug 1602537]
* | generic/tkText.c: Applied suggested patch from #1536735patthoyts2006-10-171-4/+6
| | | | | | | | | | | | | | | | tests/text.test: Update test for above patch. tests/textWind.test: Corrected test to catch all messages tests/safe.test: Silence spurious win32 failure awaiting TIP150 tests/winDialog.test: Updated test for file name length check. test/winWm.test: Corrected test expectation for menu wrapping.
* | Added test suggested by Sam <baudinm@yahoo.com> on c.l.tdkf2006-08-181-186/+9
| |
* | fix tests for TkAquavincentdarley2006-04-181-1/+3
| |
* | further fixes to $text dump -commandvincentdarley2006-03-281-1/+27
| |
* | fix for text dump -command callbacks which modify the text widgetvincentdarley2006-03-261-1/+14
| |
* | eliminate test name duplicationdgp2005-12-021-4/+4
| |
* | tip256 implementationvincentdarley2005-10-101-2/+65
| |
* | Punctuation fix in error message.dkf2005-08-231-2/+2
| |
* | fix to elide search and insertofftime 0 text widget bugsvincentdarley2005-04-041-1/+116
| |
* | Split duplicate test names [Bug 1078648]dkf2004-12-041-9/+9
| |
* | fix to test's platform sensitivitiesvincentdarley2004-11-201-2/+3
| |
* | fix to one multi-line search bugvincentdarley2004-11-151-2/+2
| |
* | fix to MacOSX compound button layoutvincentdarley2004-11-091-1/+9
| |
* | text widget search fixvincentdarley2004-09-231-1/+29
| |
* | text widget 'peer' subcommand -- TIP#169 implementationvincentdarley2004-09-101-7/+530
| |
* | Use standard constraint namesdkf2004-06-241-3/+3
| |
* | multiline text widget regexp search fixvincentdarley2004-06-091-1/+30
| |
* | Removed support for Mac OS Classic platform [Patch 918139]das2004-03-171-5/+3
| |
* | fix to text widget yview bugvincentdarley2004-01-071-1/+19
| |
* | performance of lines containing 10000+ charactersvincentdarley2003-12-051-2/+14
| |
* | fix to text widget tabs and xy-scroll-commandvincentdarley2003-12-041-1/+19
| |
* | elide tag handling, once morevincentdarley2003-11-081-1/+25
| |
* | better elide tag handlingvincentdarley2003-11-071-1/+110
| |
* | TIP 155 implementationvincentdarley2003-10-311-22/+743
| |
* | Fixed test suite breakage that I inadvertently introduced [Bug 739965]dkf2003-05-191-2/+2
| |
* | tip 113 implementationvincentdarley2003-05-191-15/+484
| |
* | * tests/all.tcl: Made better use of a commondgp2003-04-011-6/+3
|/ | | | | * tests/constraints.tcl: -loadfile to hold definitions * tests/*.test: common to all test files.
* * 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]