summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.name>2014-04-17 16:16:19 -0400
committerNick White <git@njw.name>2014-04-17 16:16:19 -0400
commit50b66f6d5a27773680916fe72ebfe0c6b5c90cf6 (patch)
treec9da853556d654b856dd766dc045adb0590dbe61
parent580d588d7225ee3c229fc41f17711ec915875729 (diff)
downloadtkread-50b66f6d5a27773680916fe72ebfe0c6b5c90cf6.tar.bz2
tkread-50b66f6d5a27773680916fe72ebfe0c6b5c90cf6.zip
Improve list processing
-rwxr-xr-xtkread2
1 files changed, 1 insertions, 1 deletions
diff --git a/tkread b/tkread
index f4c6039..bf03f50 100755
--- a/tkread
+++ b/tkread
@@ -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]
}
}
}