summaryrefslogtreecommitdiffstats
path: root/tests/text.test
Commit message (Collapse)AuthorAgeFilesLines
* Contribution by Patrick Fradin <patrick.fradin@planar.com>contrib_patrick_fradin_code_cleanupandreask2013-01-221-66/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quoting his mail: <pre> ========================================================== Hi Jeff, I spent some of my time to contribute to the TclTk community ! I'm in late for Christmas gift but like we said in French : "Mieux vaut tard que jamais". ;-) I've use TclDevKit 5.3.0 tclchecker to analyse TclTk code in Tcl and Tk library directories (library, tools and tests) to correct a lot of warnings and few errors. (encapsulate some expr, use 'chan xxx' instead of fconfigure, fileevent...) I've made some improvements too : Examples : - Use 'lassign' instead of many 'lindex' of 'foreach/break' loop. - Use 'in' or 'ni' operators instead of 'lsearch -exact' or to factorise some eq/ne && / || tests. - Use 'eq' or 'ne' to tests strings instead of '==' or '!='. - Use 'unset -nocomplain' to avoid 'catch {unset...}'. - Remove some useless catch around 'destroy' calls. - Use expand {*} instead of 'eval'. Don't touch a lot of code because I don't know all structs and lists. I think it could be a greater improvement to reduce 'eval' calls. Due to previous experience, I dot not change any indentation ! ;-) ========================================================== </pre>
* Much more cleaning up of result handling.dkf2012-07-231-3/+3
|
* [Bug-1630262], [Bug-1615425]: segfault when deleting lines or tagging ↵fvogel2012-02-281-0/+94
|\ | | | | | | outside of the -startline/-endline range with peer text widgets. [Bug-3487407]: Weird text indices.
| * [Bug-1630262]: segfault when deleting lines with peer text widgetsfvogel2012-01-311-1/+95
| |
* | [Bug-3021557]: Moving the cursor in elided text freezes Tkjan.nijtmans2012-01-191-0/+18
|\ \ | |/
| * [Bug-3021557]: Moving the cursor in elided text freezes Tkjan.nijtmans2012-01-191-0/+15
| |\
| | * bug-3021557 Moving the cursor in elided text freezes Tkbug_3021557jan.nijtmans2012-01-171-0/+15
| |/
* | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ | |/
| * 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
* | | * generic/tkText.c (DumpLine): [Bug 2968379]: When peers are about,dkf2010-03-111-2/+8
| | | | | | | | | | | | | | | | | | 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-2/+13
| | |
* | | * tests/clrpick.test: Eliminate duplicate test names.dgp2008-12-191-2/+2
| | | | | | | | | | | | | | | | | | * tests/embed.test: * tests/text.test: * tests/textMark.test:
* | | Implementation of TIP #197.dkf2008-12-061-47/+57
| | |
* | | bug #1777362 - handle windows with funky names by avoiding use of thepatthoyts2008-11-121-6/+43
| | | | | | | | | | | | window path for anchors.
* | | Update to tcltest2; report: test text-33.11 failsaniap2008-08-031-2636/+5669
| | |
* | | fix [2021443] inconsistant "wrong # args" messages (for Tk)nijtmans2008-07-231-5/+5
|/ /
* | 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
| |