From dec0664459fd586dd8862136194e6b1a5534cb68 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. --- include/Scintilla.h | 1 + include/Scintilla.iface | 3 +++ 2 files changed, 4 insertions(+) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index 34e4f793d..ee706e55d 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -423,6 +423,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_SHOWLINES 2226 #define SCI_HIDELINES 2227 #define SCI_GETLINEVISIBLE 2228 +#define SCI_GETALLLINESVISIBLE 2236 #define SCI_SETFOLDEXPANDED 2229 #define SCI_GETFOLDEXPANDED 2230 #define SCI_TOGGLEFOLD 2231 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 51ada6026..f077bf6b7 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1065,6 +1065,9 @@ fun void HideLines=2227(int lineStart, int lineEnd) # Is a line visible? get bool GetLineVisible=2228(int line,) +# Are all lines visible? +get bool GetAllLinesVisible=2236(,) + # Show the children of a header line. set void SetFoldExpanded=2229(int line, bool expanded) -- cgit v1.2.3