mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-24 22:34:54 +02:00
[BUG_FIXED] Fix fold all command bug (which folds partially).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1042 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
a62ecb6449
commit
865eded304
@ -1745,7 +1745,7 @@ void ScintillaEditView::foldAll(bool mode)
|
||||
int level = execute(SCI_GETFOLDLEVEL, line);
|
||||
if (level & SC_FOLDLEVELHEADERFLAG)
|
||||
if (isFolded(line) != mode)
|
||||
execute(SCI_TOGGLEFOLD, line);
|
||||
fold(line, mode);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user