Menu

#2 Reading NppApplication.activeEditor.text is not correct

1.0
closed
bug (2)
2020-03-12
2017-12-13
No

NppApplication.activeEditor.text is longer by one than the correct length. It has an NUL byte at its end.
If you write this value, there is no appending NUL byte expected.
So executing "NppApplication.activeEditor.text = NppApplication.activeEditor.text" causes an modification of the document.

Discussion

  • David Gausmann

    David Gausmann - 2020-03-12
    • status: open --> closed
     
  • David Gausmann

    David Gausmann - 2020-03-12

    This will be fixed with the next release.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.