aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-09-23 10:35:04 +1000
committernyamatongwe <devnull@localhost>2011-09-23 10:35:04 +1000
commitdec0664459fd586dd8862136194e6b1a5534cb68 (patch)
tree71f080c5677bf47a29133c1998ef25a8a1e27d66 /src
parent79a85a31a06b79bea419adaafe1869c757bf498a (diff)
downloadscintilla-mirror-dec0664459fd586dd8862136194e6b1a5534cb68.tar.gz
Add GetAllLinesVisible method as this can be used to minimize folding overhead.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx3
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();