diff options
author | nyamatongwe <devnull@localhost> | 2013-05-17 13:21:38 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2013-05-17 13:21:38 +1000 |
commit | c66fa75dcf753e2838e878809eff17124f4ef9b1 (patch) | |
tree | 8d212f397cbae4e20966376996948feab5ffee7b | |
parent | 74d6f316e2f991996f33566f9b31c33af6b0f956 (diff) | |
download | scintilla-mirror-c66fa75dcf753e2838e878809eff17124f4ef9b1.tar.gz |
Fix fold all to show lines instead of going past end which then failed.
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 6c2197312..2ebe1a759 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -7132,7 +7132,7 @@ void Editor::FoldAll(int action) { } } if (expanding) { - cs.SetVisible(0, maxLine, true); + cs.SetVisible(0, maxLine-1, true); for (int line = 0; line < maxLine; line++) { int levelLine = pdoc->GetLevel(line); if (levelLine & SC_FOLDLEVELHEADERFLAG) { |