Community
    • Login

    Comment Wrap plugin crashes in Notepad++ 8.3

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    1 Posts 1 Posters 486 Views
    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.
    • Michael VincentM
      Michael Vincent
      last edited by Michael Vincent

      @Derek-Brown

      Are you still supporting Comment Wrap? If so, Notepad++ 8.3 has made some breaking changes to support >2Gb files that affect all plugins - especially those using Scintilla positions and text / character ranges.

      Here is additional info.

      You’ll basically want to update your headers with latest from Notepad++ repo:

      • Scintilla.h
      • Sci_Position.h

      and then make any changes in your code where the Scintilla API calls return a position - instead of getting an int, you’ll want Sci_Position or intptr_t. Also, text ranges / character ranges (like calls to SCI_GETTEXTRANGE) should expect Sci_PositionCR.

      Cheers.

      P.S.: I specifically mention “Comment Wrap”, but this holds true for the other plugins you support as well. I updated mine last week. Most were pretty easy recompiles with the new headers, some required the additional work.

      1 Reply Last reply Reply Quote 1
      • First post
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors