mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-22 05:14:41 +02:00
Fix brace match not working in Large File Restriction
Fix also the highlight remaining issue while Large File Restriction disabled.
This commit is contained in:
parent
6755daf223
commit
7e080a46bb
@ -902,7 +902,7 @@ BOOL Notepad_plus::notify(SCNotification *notification)
|
|||||||
xmlTagMatchHiliter.tagMatch(nppGui._enableTagAttrsHilite);
|
xmlTagMatchHiliter.tagMatch(nppGui._enableTagAttrsHilite);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nppGui._enableSmartHilite && !currentBuf->allowSmartHilite())
|
if (nppGui._enableSmartHilite && currentBuf->allowSmartHilite())
|
||||||
{
|
{
|
||||||
if (nppGui._disableSmartHiliteTmp)
|
if (nppGui._disableSmartHiliteTmp)
|
||||||
nppGui._disableSmartHiliteTmp = false;
|
nppGui._disableSmartHiliteTmp = false;
|
||||||
|
@ -5014,6 +5014,12 @@ intptr_t CALLBACK PerformanceSubDlg::run_dlgProc(UINT message , WPARAM wParam, L
|
|||||||
::EnableWindow(::GetDlgItem(_hSelf, IDC_CHECK_PERFORMANCE_DEACTIVATEWORDWRAP), largeFileRestrictionEnabled);
|
::EnableWindow(::GetDlgItem(_hSelf, IDC_CHECK_PERFORMANCE_DEACTIVATEWORDWRAP), largeFileRestrictionEnabled);
|
||||||
|
|
||||||
redraw();
|
redraw();
|
||||||
|
|
||||||
|
if (largeFileRestrictionEnabled)
|
||||||
|
{
|
||||||
|
::SendMessage(::GetParent(_hParent), NPPM_INTERNAL_CLEANSMARTHILITING, 0, 0);
|
||||||
|
::SendMessage(::GetParent(_hParent), NPPM_INTERNAL_CLEANBRACEMATCH, 0, 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user