Home Download Buy Blog Forum Support

Bug? Plugin API gives wrong position with multiple views

Bug? Plugin API gives wrong position with multiple views

Postby youngmit on Wed Mar 06, 2013 7:28 pm

I am experiencing an issue where having multiple views into the same file causes strange behavior when using the plugin API to find the caret location. A simple plugin which prints the position of the caret (print view.sel()[0].begin()) gives the wrong location when editing the second view, but the correct location when editing the original view. It is always finding the location of the caret in the first view of the file.
youngmit
 
Posts: 6
Joined: Mon Mar 04, 2013 7:49 pm

Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 21 guests