Reputation: 710
I am trying to find the position of certain mark within tkinter text. How do I do that?
Upvotes: 1
Views: 540
Reputation: 369094
You can use Text.index
method to get the "line.column" index corresponding to the given index.
pos = text.index(INSERT)
Upvotes: 2