Bug in notepad.getCurrentDocIndex()?

azrafe7
2013-05-08
2013-05-20
  • azrafe7

    azrafe7 - 2013-05-08

    It seems that notepad.getCurrentDocIndex(view) assumes view is always equal to 0 (the left editor) even when passing 1.

    Don't know if it's a bug of the Python Script plugin or of Notepad++ itself.

     
  • Anonymous - 2013-05-20

    I tried to use Python Script to make a "work-around" for Compare Plugin losing highlighting (check http://stackoverflow.com/questions/14799891). But it seems that happens what azrafe7 said with previous post. So my script works only if the two files compared have the same positions in the two views.

     
  • Dave Brotherstone

    Confirmed. This is actually already fixed in the source for PythonScript. As there's a few fixes, I'm going to try to release a new version shortly - nothing big, just the few fixes that have been reported.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks