Community
    • Login

    Eventual bugs in plugins with Notepad++ v8.4.x

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    1 Posts 1 Posters 846 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • donhoD Offline
      donho
      last edited by donho

      I’ve got some complains for the issues of some plugins with Notepad++ v8.4.x - these plugins in question have no problem with Notepad++ v8.3.3, so users think it’s a Notepad++ regression.

      It’s due to updating Scintilla (one of components used by Notepad++) since v8.4.
      The bug doesn’t come from Notepad++ : Scintilla has had changed the behaviour of its API SCI_GETTEXT, SCI_GETSELTEXT, and SCI_GETCURLINE from version 4 to version 5, hence this problem:
      https://c.tenor.com/D3crwiCIM48AAAAd/awkward-handshake-chess.gif

      For plugins which use SCI_GETTEXT, SCI_GETSELTEXT, and SCI_GETCURLINE, the fix of this problem is to add 1 (character) to the length result of these 3 API, to make the plugin rework correctly under Notepad++ v8.4 and later versions.

      Related information:

      1. https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11639#issuecomment-1121180121
      2. https://github.com/notepad-plus-plus/notepad-plus-plus/pull/11673
      3. https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11661
      4. https://github.com/npp-plugins/mimetools/commit/e9a36d1c306a1dc03204032526ae23a3a03db218
      1 Reply Last reply Reply Quote 4

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors