Lines Matching refs:index
114 tkEntrySetCursor %W [expr [%W index insert] - 1]
117 tkEntrySetCursor %W [expr [%W index insert] + 1]
120 tkEntryKeySelect %W [expr [%W index insert] - 1]
124 tkEntryKeySelect %W [expr [%W index insert] + 1]
129 [string wordstart [%W get] [expr [%W index insert] - 1]]
132 tkEntrySetCursor %W [string wordend [%W get] [%W index insert]]
136 [string wordstart [%W get] [expr [%W index insert] - 1]]
140 tkEntryKeySelect %W [string wordend [%W get] [%W index insert]]
218 tkEntrySetCursor %W [expr [%W index insert] - 1]
233 tkEntrySetCursor %W [expr [%W index insert] + 1]
254 [string wordstart [%W get] [expr [%W index insert] - 1]]
259 %W delete insert [string wordend [%W get] [%W index insert]]
264 tkEntrySetCursor %W [string wordend [%W get] [%W index insert]]
269 %W delete [string wordstart [%W get] [expr [%W index insert] - 1]] \
295 # between characters to the given coordinates and returns the index
303 set pos [$w index @$x]
346 set anchor [$w index anchor]
363 if {$cur < [$w index anchor]} {
452 set insert [$w index insert]
453 if {([$w index sel.first] <= $insert)
454 && ([$w index sel.last] >= $insert)} {
474 set x [expr {[$w index insert] - 1}]
476 if {[$w index @0] >= [$w index insert]} {
493 set c [$w index insert]
494 set left [$w index @0]
500 while {([$w index @$x] <= $c) && ($left < $c)} {
532 set i [$w index insert]
533 if {$i < [$w index end]} {
540 set new [string index [$w get] [expr $i-1]][string index [$w get] $first]