diff options
| -rw-r--r-- | include/Scintilla.h | 1 | ||||
| -rw-r--r-- | include/Scintilla.iface | 3 | ||||
| -rw-r--r-- | src/Editor.cxx | 3 | 
3 files changed, 7 insertions, 0 deletions
| 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) 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(); | 
