mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-28 16:24:27 +02:00
Fix smart highlighter issue after zoom / code folding change
Fixes #1717, Closes #1718
This commit is contained in:
parent
8113476dd7
commit
48d3a8ee04
@ -485,6 +485,7 @@ BOOL Notepad_plus::notify(SCNotification *notification)
|
|||||||
_pEditView->marginClick(notification->position, notification->modifiers);
|
_pEditView->marginClick(notification->position, notification->modifiers);
|
||||||
if (_pDocMap)
|
if (_pDocMap)
|
||||||
_pDocMap->fold(lineClick, _pEditView->isFolded(lineClick));
|
_pDocMap->fold(lineClick, _pEditView->isFolded(lineClick));
|
||||||
|
_smartHighlighter.highlightView(_pEditView);
|
||||||
}
|
}
|
||||||
else if ((notification->margin == ScintillaEditView::_SC_MARGE_SYBOLE) && !notification->modifiers)
|
else if ((notification->margin == ScintillaEditView::_SC_MARGE_SYBOLE) && !notification->modifiers)
|
||||||
{
|
{
|
||||||
@ -799,6 +800,7 @@ BOOL Notepad_plus::notify(SCNotification *notification)
|
|||||||
|
|
||||||
case SCN_ZOOM:
|
case SCN_ZOOM:
|
||||||
{
|
{
|
||||||
|
_smartHighlighter.highlightView(notifyView);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user