Hi List,
I specifically want to know how to find the current
cursor position in terms of rows/ columns and not in terms of pixels? At present
if I use "button-press-event" the values of x and y co-ordinates are something
like this x=268,y=312 etc. I want that if i click in the text area I should able
to get correct line number where the cursor is at?
I would be grateful if anyone can tell me about
this.
Waiting for the reply as earliest.
Thanks in advance,
Regards,
Vikram
|