I am using the Tk::Text
module.
I want that whenever the user changes the position of the cursor inside the Tk::Text
module, it should act as a trigger to call a subroutine which I have written.
How do I go about implementing this?
EDIT:
As answered by Donal Fellows, I somehow need to find if the insert
mark is changed when a call is made to the markSet
routine. I have searched the net extensively to find a solution to this problem, but to no avail. Now I need you guys to help me with it. Thanks!