diff options
author | Nick White <git@njw.name> | 2014-04-17 16:16:19 -0400 |
---|---|---|
committer | Nick White <git@njw.name> | 2014-04-17 16:16:19 -0400 |
commit | 50b66f6d5a27773680916fe72ebfe0c6b5c90cf6 (patch) | |
tree | c9da853556d654b856dd766dc045adb0590dbe61 | |
parent | 580d588d7225ee3c229fc41f17711ec915875729 (diff) | |
download | tkread-50b66f6d5a27773680916fe72ebfe0c6b5c90cf6.tar.bz2 tkread-50b66f6d5a27773680916fe72ebfe0c6b5c90cf6.zip |
Improve list processing
-rwxr-xr-x | tkread | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -269,7 +269,7 @@ proc markup {widget} { set dotindex [string first . $cur] set linenum [string range $cur 0 [expr $dotindex - 1]] $widget replace $linenum.0 $linenum.$len "• " - set cur [$widget search -regexp "^$item" 0.0 end] + set cur [$widget search -regexp "^$item" $cur end] } } } |