Browse Source

Fix plugins not recieving some Scintilla notification types regression

Remove the restriction for Scintilla notification types for plugins.

Ref: https://community.notepad-plus-plus.org/topic/25497/notepad-release-8-6-4/9
pull/14778/head
Don Ho 9 months ago
parent
commit
d83d4c9239
  1. 3
      PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp

3
PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp

@ -234,9 +234,6 @@ void ScintillaEditView::init(HINSTANCE hInst, HWND hPere)
throw std::runtime_error("ScintillaEditView::init : SCI_GETDIRECTPOINTER message failed");
}
// Set only the notification we need.
execute(SCI_SETMODEVENTMASK, SC_MOD_DELETETEXT | SC_MOD_INSERTTEXT | SC_PERFORMED_UNDO | SC_PERFORMED_REDO | SC_MOD_CHANGEINDICATOR);
execute(SCI_SETMARGINMASKN, _SC_MARGE_FOLDER, SC_MASK_FOLDERS);
showMargin(_SC_MARGE_FOLDER, true);

Loading…
Cancel
Save