Fix: Block Uncomment functionality removes comment tags even with quotes by AbhiSuram · Pull Request #16467 · notepad-plus-plus/notepad-plus-plus

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use Sci_TextToFindFull and SCI_FINDTEXTFULL instead: https://groups.google.com/g/scintilla-interest/c/mPLwYdC0-FE

Although Sci_PositionCR is effectively the same size as Sci_Position (since N++ 8.3), the Scintilla definition should be preferred.


@chcg, next time there's a Scintilla upgrade, maybe the headers can be edited to include the deprecation warnings currently in the plugin template?, e.g.: https://github.com/npp-plugins/plugintemplate/blob/319c80b1161b332a203b7c6df2cadca6d68a9a88/src/Scintilla.h#L1340