mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
+ fix: restore correct fold margin
This commit is contained in:
parent
f1fc510a2a
commit
0eb2dea555
@ -6700,7 +6700,7 @@ void EditHideNotMarkedLineRange(HWND hwnd, DocPos iStartPos, DocPos iEndPos, boo
|
||||
SciCall_FoldAll(SC_FOLDACTION_EXPAND);
|
||||
SciCall_MarkerDeleteAll(MARKER_NP3_OCCUR_LINE);
|
||||
if (!g_bCodeFoldingAvailable) { SciCall_SetProperty("fold", "0"); }
|
||||
Style_SetFolding(hwnd, g_bShowCodeFolding);
|
||||
Style_SetFolding(hwnd, g_bCodeFoldingAvailable && g_bShowCodeFolding);
|
||||
EditApplyLexerStyle(hwnd, 0, -1);
|
||||
ObserveNotifyChangeEvent();
|
||||
return;
|
||||
|
||||
@ -7207,6 +7207,7 @@ void UpdateVisibleUrlHotspot(int delay)
|
||||
#define EnableTool(id,b) SendMessage(g_hwndToolbar,TB_ENABLEBUTTON,id, MAKELONG(((b) ? 1 : 0), 0))
|
||||
#define CheckTool(id,b) SendMessage(g_hwndToolbar,TB_CHECKBUTTON,id, MAKELONG((b),0))
|
||||
|
||||
|
||||
void UpdateToolbar()
|
||||
{
|
||||
SetWindowTitle(g_hwndMain, uidsAppTitle, flagIsElevated, IDS_UNTITLED, g_wchCurFile,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user