Skip to content

Commit

Permalink
Hide long line marker by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed Apr 26, 2019
1 parent 980f831 commit cced121
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Notepad2.c
Expand Up @@ -5135,7 +5135,7 @@ void LoadSettings(void) {
iIndentWidth = iValue;
iIndentWidthG = iValue;

bMarkLongLines = IniSectionGetBool(pIniSection, L"MarkLongLines", 1);
bMarkLongLines = IniSectionGetBool(pIniSection, L"MarkLongLines", 0);

iValue = IniSectionGetInt(pIniSection, L"LongLinesLimit", 80);
iValue = clamp_i(iValue, 0, NP2_LONG_LINE_LIMIT);
Expand Down Expand Up @@ -5482,7 +5482,7 @@ void SaveSettings(BOOL bSaveSettingsNow) {
IniSectionSetIntEx(pIniSection, L"ZoomLevel", iZoomLevel, 100);
IniSectionSetIntEx(pIniSection, L"TabWidth", iTabWidthG, 4);
IniSectionSetIntEx(pIniSection, L"IndentWidth", iIndentWidthG, 4);
IniSectionSetBoolEx(pIniSection, L"MarkLongLines", bMarkLongLines, 1);
IniSectionSetBoolEx(pIniSection, L"MarkLongLines", bMarkLongLines, 0);
IniSectionSetIntEx(pIniSection, L"LongLinesLimit", iLongLinesLimitG, 80);
IniSectionSetIntEx(pIniSection, L"LongLineMode", iLongLineMode, EDGE_LINE);
IniSectionSetBoolEx(pIniSection, L"ShowSelectionMargin", bShowSelectionMargin, 0);
Expand Down

0 comments on commit cced121

Please sign in to comment.