diff options
author | dgp <dgp@users.sourceforge.net> | 2016-02-09 15:47:30 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2016-02-09 15:47:30 (GMT) |
commit | b178c07f5f0f79a78779e6babe4a1e1adeb834aa (patch) | |
tree | ec1828e830baca4f7d2410ea4dba45b5823dbb02 /tests | |
parent | e9eb040566b7acbcd65658273c897ca92f28e961 (diff) | |
parent | 199597ae00067ebb743923a3958f7543e64507fe (diff) | |
download | tk-b178c07f5f0f79a78779e6babe4a1e1adeb834aa.zip tk-b178c07f5f0f79a78779e6babe4a1e1adeb834aa.tar.gz tk-b178c07f5f0f79a78779e6babe4a1e1adeb834aa.tar.bz2 |
merge 8.5
Diffstat (limited to 'tests')
-rw-r--r-- | tests/textDisp.test | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/tests/textDisp.test b/tests/textDisp.test index 532caf4..885c940 100644 --- a/tests/textDisp.test +++ b/tests/textDisp.test @@ -1181,19 +1181,10 @@ test textDisp-8.12 {TkTextChanged, moving the insert cursor redraws only past an .t mark set insert 3.8 ; # within the same line update lappend res $tk_textRedraw - # This last one is tricky: correct result really is {2.0 3.0} when - # calling .t mark set insert, two calls to TkTextChanged are done: - # (a) to redraw the line of the past position of the cursor - # (b) to redraw the line of the new position of the cursor - # During (a) the display line showing the cursor gets unlinked, - # which leads TkTextChanged in (b) to schedule a redraw starting - # one line _before_ the line containing the insert cursor. This is - # 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}} +} {{8.0 9.0} {8.0 12.0} {8.0 12.0} {3.0 8.0} {3.0 4.0}} test textDisp-8.13 {TkTextChanged, used to crash, see [06c1433906]} { .t delete 1.0 end - .t insert 1.0 \nLine1\nLine2\n + .t insert 1.0 \nLine2\nLine3\n update .t insert 3.0 "" .t delete 1.0 2.0 |