+ fix: restore correct fold margin

This commit is contained in:
Rainer Kottenhoff 2018-04-19 16:44:20 +02:00
parent f1fc510a2a
commit 0eb2dea555
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -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,