HI!
Following onto my previous post RE text hightlight
I know how to get the point of the mouse from a text widget using the proc
proc keep {var x y} { set ::$var [.t index @$x,$y] }
so I can set start and end points. Say that
start =1.2 and end = 1.20
now I want to increment the y value of start or end by 1
to get
newstart = 1.3, 1.4....
how can do this?
Thanks!
Following onto my previous post RE text hightlight
I know how to get the point of the mouse from a text widget using the proc
proc keep {var x y} { set ::$var [.t index @$x,$y] }
so I can set start and end points. Say that
start =1.2 and end = 1.20
now I want to increment the y value of start or end by 1
to get
newstart = 1.3, 1.4....
how can do this?
Thanks!