npp-plugins / plugintemplate

GNU General Public License v2.0
103 stars 43 forks source link

Scintilla.h is out of date and incompatible with x64 builds. #4

Closed Kered13 closed 3 years ago

Kered13 commented 4 years ago

See the current version of Scintilla.h used by NPP here:

https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/scintilla/include/Scintilla.h

The difference I noticed was in SCNotification, where the current version has Sci_Position position while this template has int position. On x64 builds these types are not the same size, which causes runtime errors when reading the notification fields.

donho commented 3 years ago

https://github.com/npp-plugins/plugintemplate/commit/d2814d4bd9d96c475673e3a1902d318fb869059e