From 48d3a8ee048b7e36461985ff09cb7843892ae6c7 Mon Sep 17 00:00:00 2001 From: dail8859 Date: Tue, 5 Apr 2016 12:37:16 -0400 Subject: [PATCH] Fix smart highlighter issue after zoom / code folding change Fixes #1717, Closes #1718 --- PowerEditor/src/NppNotification.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PowerEditor/src/NppNotification.cpp b/PowerEditor/src/NppNotification.cpp index 1e2a8060e..3226118f6 100644 --- a/PowerEditor/src/NppNotification.cpp +++ b/PowerEditor/src/NppNotification.cpp @@ -485,6 +485,7 @@ BOOL Notepad_plus::notify(SCNotification *notification) _pEditView->marginClick(notification->position, notification->modifiers); if (_pDocMap) _pDocMap->fold(lineClick, _pEditView->isFolded(lineClick)); + _smartHighlighter.highlightView(_pEditView); } else if ((notification->margin == ScintillaEditView::_SC_MARGE_SYBOLE) && !notification->modifiers) { @@ -799,6 +800,7 @@ BOOL Notepad_plus::notify(SCNotification *notification) case SCN_ZOOM: { + _smartHighlighter.highlightView(notifyView); break; }