diff options
author | fvogelnew1@free.fr <fvogel> | 2016-02-07 13:34:02 (GMT) |
---|---|---|
committer | fvogelnew1@free.fr <fvogel> | 2016-02-07 13:34:02 (GMT) |
commit | 0dd65a720fa61f2392d41cd77a4a9b0a7562668e (patch) | |
tree | 9d0fc119eacec7ab6e2282584c3b52ef529be32c /tests/textDisp.test | |
parent | 9aa70ebebe7e9320a7689d3c6f1e2abe7318efee (diff) | |
download | tk-0dd65a720fa61f2392d41cd77a4a9b0a7562668e.zip tk-0dd65a720fa61f2392d41cd77a4a9b0a7562668e.tar.gz tk-0dd65a720fa61f2392d41cd77a4a9b0a7562668e.tar.bz2 |
Cherrypicked the new test textDisp-8.13 from core-8-5-branch. This test (and all the other tests) pass.
Diffstat (limited to 'tests/textDisp.test')
-rw-r--r-- | tests/textDisp.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/textDisp.test b/tests/textDisp.test index ac3aee0..532caf4 100644 --- a/tests/textDisp.test +++ b/tests/textDisp.test @@ -1191,6 +1191,14 @@ test textDisp-8.12 {TkTextChanged, moving the insert cursor redraws only past an # because during (b) findDLine cannot return the display line the # cursor is in since this display line was just unlinked in (a). } {{8.0 9.0} {8.0 12.0} {8.0 12.0} {3.0 8.0} {2.0 3.0}} +test textDisp-8.13 {TkTextChanged, used to crash, see [06c1433906]} { + .t delete 1.0 end + .t insert 1.0 \nLine1\nLine2\n + update + .t insert 3.0 "" + .t delete 1.0 2.0 + update idletasks +} {} test textDisp-9.1 {TkTextRedrawTag} { .t configure -wrap char |