Fix smart highlighter issue after zoom / code folding change

Fixes #1717, Closes #1718
pull/1718/merge
dail8859 9 years ago committed by Don HO
parent 8113476dd7
commit 48d3a8ee04

@ -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;
}

Loading…
Cancel
Save