summaryrefslogtreecommitdiffstats
path: root/tests/text.test
Commit message (Collapse)AuthorAgeFilesLines
* Robustify text-27.15b that failed after [898c0657], on macOS with aqua only. ↵fvogel2023-04-231-2/+2
| | | | The failure was due to TextClosestGap now correctly returning 1.0 (was erroneously 1.1 before) since the given position (15,3) is above the text area of the widget in the macOS aqua case due to -highlightthickness default value 3, which is not the case on other platforms. Since we are here, robustify text-27.15c as well.
* Add comment and non-regression test text-38.1 (correctly failing before and ↵fvogel2023-04-221-0/+16
| | | | passing after the fix).
* Reduce differences in the test suite between 8.6 and 8.7 by backporting ↵fvogel2022-11-301-135/+132
| | | | cosmetic differences from 8.7.
* Cherrypick [669395f7]: text-23.*: Enlarge the width of the text widget to be ↵fvogel2022-11-291-7/+7
| | | | sure there is enough room to display the tabbed text without wrapping.
* Use string comparison when checking for 'aqua' platform.fvogel2022-11-011-1/+1
|
* Adopt word 'elided' everywhere since it's much more widespread in the ↵fvogel2021-06-241-14/+14
| | | | codebase and manual than 'elidden'.
* Augment test text-32.3 so that it fails if previous commit is backed out.fvogel2021-04-171-2/+2
|
* More elimination of the "register" keyword, and more explicit typecastsjan.nijtmans2020-10-061-4/+4
|
* Merge 8.5. Update to Xcode12 and gcc-10. ttk test failures now lead to ↵jan.nijtmans2020-09-281-27/+27
|\ | | | | | | Travis build failures
| * (cherry-pick): Require Tcltest 2.2 as a miminum. Run X11 testcases on Travis ↵jan.nijtmans2020-09-161-15/+15
| | | | | | | | in 3 Ubuntu variants: Xenial, Bionic and Focal. (MacOS/XQuartz not working yet)
* | For macOS tests, account for the fact that Big Sur has a larger menubar.culler2020-07-201-1/+1
| |
* | Fix [411359dc3b]: Clean up Aqua window destruction in TkWmDeadWindow to ↵culler2020-05-111-1/+2
| | | | | | | | prevent crashes and zombies on systems with a Touchbar.
* | Use single-argument "expr" as much as possible. Not complete yet, but most ↵jan.nijtmans2019-06-051-6/+6
| | | | | | | | trivial places are done.
* | Two text tests also try to position a window with y = 0. Tweak these for Aqua.culler2019-02-131-4/+11
| |
* | Fix bug [b2dd3b4fe8] (text-11a.41 sometimes hangs) by reworking how thejan.nijtmans2019-01-031-106/+115
| | | | | | <<WidgetViewSync>> event is handled.
* | Add comments in text-11a.22 making it more easy to follow progress in the ↵fvogel2018-11-171-5/+5
| | | | | | | | expected result buildind
* | Calling update after pack in text.test fixes hangs on OSX 10.9.culler2018-11-131-0/+3
| |
* | Calling update after pack .t to make sure the Text is mapped fixes theculler2018-11-131-0/+2
| | | | | | sporadic failures in text-27.11, textWind-11.1 - textWind-11.3.
* | Instead of calling update in the tests, fix the handling of unmapped Textculler2018-11-131-3/+0
| | | | | | widgets by AsyncUpdateLineMetrics.
* | fix hangs in text.test caused by calling pendingsync before the text widget ↵culler2018-11-131-0/+3
| | | | | | | | was mapped.
* | Remove 'knownBug' constraint on tests that do pass without it (text-22.199 ↵fvogel2018-10-191-15/+6
| | | | | | | | and 22.200), and fix error in the regexp for other tests (text-22.202 and 22.203) that then pass (constraint 'knownBug' removed as well therefore).
* | Fix tests expected results for backwards search. All tests do pass at this ↵fvogel2018-10-161-6/+6
| | | | | | | | point.
* | Add text-22.250 exercising backwards search with -all and matching at start ↵fvogel2018-10-161-0/+9
| | | | | | | | of line. This test currently hangs.
* | Third fix proposal for [4b555aca34]: text search -all hangs and eats all ↵fvogel2018-10-151-1/+1
| | | | | | | | memory. (And fix test text-22.229)
* | Revert the second fix proposal, and add more tests (covering backwards ↵fvogel2018-10-151-36/+162
| | | | | | | | searches). Note that text-22.228 and text-22.229 currently hang.
* | Backout the previously proposed fix [80286abf05], and add more tests.fvogel2018-10-151-6/+57
| |
* | Add non regression test cases for [4b555aca34]: text search -all hangs and ↵fvogel2018-10-111-0/+26
| | | | | | | | eats all memory
* | Add (currently crashing) test text-8.28 to demonstrate [de01e24aa1]: Text ↵fvogel2018-06-131-0/+9
| | | | | | | | replace command involving selection crashes
* | Add more <<Selection>> event generation tests.fvogel2018-01-181-6/+63
| |
* | Avoid confusion: the <<Selection>> event is documented to fire when the ↵fvogel2018-01-161-6/+6
| | | | | | | | selection in the widget is changed. The previous commit message (and content) confused text widget selection and PRIMARY (X) selection. <<Selection>> shall fire whenever the text widget selection is changed, independently of whether the widget exports its selection or not, i.e. whether the PRIMARY selection is impacted or not.
* | Add three (currently failing) tests text-27.15[abc] that will pass when ↵fvogel2018-01-151-2/+49
| | | | | | | | <<Selection>> will fire from the text widget upon <<PasteSelection>>, <Delete> or <<Cut>>, when the text widget selection is impacted and it exports its selection (such events will therefore impact the PRIMARY selection, and this must trigger a <<Selection>> event)
* | Fix [ce62c81bae] text-37.1 failsfvogel2017-10-281-0/+1
| |
* | Clean up bg exception handlers.dgp2017-10-121-0/+12
| |
* | Use interp bgerror instead of old proc bgerror.fvogel2017-09-301-8/+12
| |
* | Clean the bgerror proc that is defined in some tests, which allows to put ↵fvogel2017-09-231-18/+24
| | | | | | | | the new bugfix test after them, and get back to the original numbering of the tests that use bgerror. Improve the bugfix test by using a bgerror proc in order to catch the error if the test fails (much cleaner) instead of displaying it in a popup window.
* | Fix [dd9667635d]: text anchor not setfvogel2017-09-221-3/+18
| |
* | Added test text-8.27 for non-regression against the crash [62c5b7a1d7]fvogel2017-06-261-0/+10
| |
* | Remove old pack syntax from the scripts of the Tk test suitefvogel2017-02-011-15/+15
| |
* | Better fix for [c12af74765]: OS X - text-21.1 failsfvogel2017-01-061-17/+2
| |
* | Fix [c12af74765]: OS X - text-21.1 failsfvogel2017-01-051-1/+16
| |
* | Fix [dac92f194c]: OS X - text-2.8 and text-2.9 are both run and failfvogel2017-01-051-2/+2
| |
* | Restored successful test text-19.16fvogel2016-09-291-1/+1
| |
* | Made text widget's default undo false again.pspjuth2016-08-301-1/+43
| |
* | Added test case text-27.16a to guard against regressions regarding [6976e4b3b2]fvogel2016-06-081-0/+15
| |
* | Added test for the <<UndoStack>> eventfvogel2016-05-121-0/+43
| |
* | Tests for [.t edit canundo/canredo]fvogel2016-05-121-1/+27
| |
* | Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is ↵fvogel2016-05-011-2/+25
|\ \ | | | | | | | | | unsafe
| * | Added test text-11a.51 to check the fix of [b362182e45]fvogel2016-04-221-0/+19
| | |
| * | Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is ↵fvogel2016-04-211-1/+5
| | | | | | | | | | | | unsafe
* | | Fixed [fd3a4dc111] - <<Modified>> event is not always sent to peersfvogel2016-04-291-0/+15
|\ \ \ | |/ / |/| |