diff options
author | nyamatongwe <unknown> | 2011-09-23 10:35:04 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-09-23 10:35:04 +1000 |
commit | 9472c27c87971bbf5fa2a3333b145c725fafab2a (patch) | |
tree | ebf4b6d8245dee5d2f19c925050959b54ce482f3 /src/Editor.cxx | |
parent | b7cb1e0f6097ab19148a07330a66f37fecc6bb1f (diff) | |
download | scintilla-mirror-9472c27c87971bbf5fa2a3333b145c725fafab2a.tar.gz |
Add GetAllLinesVisible method as this can be used to minimize folding overhead.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 7dbaa361e..a1c88cc20 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -8259,6 +8259,9 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { case SCI_GETLINEVISIBLE: return cs.GetVisible(wParam); + case SCI_GETALLLINESVISIBLE: + return cs.HiddenLines() ? 0 : 1; + case SCI_SETFOLDEXPANDED: if (cs.SetExpanded(wParam, lParam != 0)) { RedrawSelMargin(); |