diff options
author | fvogel <fvogelnew1@free.fr> | 2012-02-28 20:44:34 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2012-02-28 20:44:34 (GMT) |
commit | 5f980e90395c85af59bb9286b197a620d8ba911f (patch) | |
tree | d62de6938569517afd6274d9096c99eadec78078 /tests/textMark.test | |
parent | 9893c7fae421e1414f8e19acd5059350093c49c3 (diff) | |
parent | 220b6aecbb178564d3ee630cf19c6aa8ae93a67d (diff) | |
download | tk-5f980e90395c85af59bb9286b197a620d8ba911f.zip tk-5f980e90395c85af59bb9286b197a620d8ba911f.tar.gz tk-5f980e90395c85af59bb9286b197a620d8ba911f.tar.bz2 |
[Bug-1630262], [Bug-1615425]: segfault when deleting lines or tagging outside of the -startline/-endline range with peer text widgets. [Bug-3487407]: Weird text indices.
Diffstat (limited to 'tests/textMark.test')
-rw-r--r-- | tests/textMark.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/textMark.test b/tests/textMark.test index 6e0f8a0..edd0e92 100644 --- a/tests/textMark.test +++ b/tests/textMark.test @@ -175,6 +175,13 @@ test textMark-6.4 {TkTextMarkNameToIndex, with mark outside -startline/-endline .pt configure -startline {} -endline {} .t mark unset mymark } -result {1 {bad text index "mymark"} 1.0 1.0 1 {bad text index "mymark"} L 1 {bad text index "mymark"}} +test textMark-6.5 {insert and current marks in an empty peer - bug 3487407} -body { + .t mark set insert 1.0 + .t configure -start 5 -end 5 + set res [.t index insert] +} -cleanup { + .t configure -startline {} -endline {} +} -result {1.0} test textMark-7.1 {MarkFindNext - invalid mark name} -body { .t mark next bogus |