From 9472c27c87971bbf5fa2a3333b145c725fafab2a Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 23 Sep 2011 10:35:04 +1000 Subject: Add GetAllLinesVisible method as this can be used to minimize folding overhead. --- src/Editor.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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(); -- cgit v1.2.3