mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-11 21:03:05 +08:00
+ fix: update infinity loop
This commit is contained in:
parent
8c25f971dc
commit
cb7973ba0d
@ -7075,16 +7075,15 @@ static LRESULT _MsgNotifyFromEdit(HWND hwnd, const LPNMHDR pnmh, const SCNotific
|
||||
}
|
||||
}
|
||||
}
|
||||
//else if (iUpd & SC_UPDATE_CONTENT) {
|
||||
// ignoring SC_UPDATE_CONTENT cause Style and Marker are out of scope here
|
||||
// using WM_COMMAND -> SCEN_CHANGE instead!
|
||||
//~else if (iUpd & SC_UPDATE_CONTENT) {
|
||||
//~ ignoring SC_UPDATE_CONTENT cause Style and Marker are out of scope here
|
||||
//~ using WM_COMMAND -> SCEN_CHANGE instead!
|
||||
//~~~MarkAllOccurrences(Settings2.UpdateDelayMarkAllCoccurrences, false);
|
||||
//~~~UpdateVisibleIndicators();
|
||||
//~~~EditUpdateVisibleIndicators(); // will lead to recursion
|
||||
//}
|
||||
EditUpdateVisibleIndicators();
|
||||
HandlePosChange();
|
||||
UpdateToolbar();
|
||||
UpdateStatusbar(false);
|
||||
HandlePosChange();
|
||||
}
|
||||
else if (iUpd & SC_UPDATE_V_SCROLL)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user