Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

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.

     
  • RobertoW
    RobertoW
    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.

     
  • 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.