diff options
author | fvogel <fvogelnew1@free.fr> | 2019-08-21 19:15:40 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2019-08-21 19:15:40 (GMT) |
commit | ab838eaa979595c207c2537e57e143d0c882ba62 (patch) | |
tree | 480fb0075189fbe5a92472d373730c57e09bce00 /tests/textIndex.test | |
parent | 5cb6e4e4c70b200024f59d7feb363b6bd7dd3d67 (diff) | |
parent | 2d7db39df89bdae1d575bbbf3bfad5dc6f4b818c (diff) | |
download | tk-ab838eaa979595c207c2537e57e143d0c882ba62.zip tk-ab838eaa979595c207c2537e57e143d0c882ba62.tar.gz tk-ab838eaa979595c207c2537e57e143d0c882ba62.tar.bz2 |
Fix [c8ccd1899c]: Pressing the up arrow key on the first line of a [text] does not move the cursor to 1.0
Diffstat (limited to 'tests/textIndex.test')
-rw-r--r-- | tests/textIndex.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/textIndex.test b/tests/textIndex.test index 3f26af5..310db6a 100644 --- a/tests/textIndex.test +++ b/tests/textIndex.test @@ -803,6 +803,14 @@ test textIndex-19.12 {Display lines} { .t index "2.40 -1displaylines" } {2.20} +test textIndex-19.12.1 {Display lines} { + .t index "2.50 - 100 displaylines" +} {1.0} + +test textIndex-19.12.2 {Display lines} { + .t compare [.t index "2.50 + 100 displaylines"] == "end - 1 c" +} {1} + test textIndex-19.13 {Display lines} { destroy {*}[pack slaves .] text .txt -height 1 -wrap word -yscroll ".sbar set" -width 400 |