From d83d4c923986a0d1f5f80b02306a106e0ec12ff7 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Thu, 22 Feb 2024 17:22:54 +0100 Subject: [PATCH] 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 --- PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp b/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp index a6909f526..33432a3b5 100644 --- a/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp +++ b/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);