aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h9
-rw-r--r--include/Scintilla.iface28
2 files changed, 32 insertions, 5 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 7e31d5db1..9f42fef0f 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -51,6 +51,10 @@ void Scintilla_RegisterClasses(HINSTANCE hInstance);
#define SC_UNDOCOLLECT_NONE 0
#define SC_UNDOCOLLECT_AUTOSTART 1
+#define SCWS_INVISIBLE 0
+#define SCWS_VISIBLEALWAYS 1
+#define SCWS_VISIBLEAFTERINDENT 2
+
#define SCI_GETVIEWWS SCI_START + 20
#define SCI_SETVIEWWS SCI_START + 21
#define SCI_GOTOLINE SCI_START + 24
@@ -120,6 +124,7 @@ void Scintilla_RegisterClasses(HINSTANCE hInstance);
#define STYLE_BRACELIGHT 34
#define STYLE_BRACEBAD 35
#define STYLE_CONTROLCHAR 36
+#define STYLE_INDENTGUIDE 37
#define STYLE_MAX 127
#define SC_CHARSET_ANSI 0
@@ -217,6 +222,10 @@ void Scintilla_RegisterClasses(HINSTANCE hInstance);
#define SCI_SETHSCROLLBAR SCI_START + 130
#define SCI_GETHSCROLLBAR SCI_START + 131
+#define SCI_SETINDENTATIONGUIDES SCI_START + 132
+#define SCI_GETINDENTATIONGUIDES SCI_START + 133
+#define SCI_SETHIGHLIGHTGUIDE SCI_START + 134
+#define SCI_GETHIGHLIGHTGUIDE SCI_START + 135
#define SCI_CALLTIPSHOW SCI_START + 200
#define SCI_CALLTIPCANCEL SCI_START + 201
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 8aac3fdc8..f3eec65df 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -108,11 +108,16 @@ fun int MarkerLineFromHandle=2017(int handle,)
# Delete a marker.
fun void MarkerDeleteHandle=2018(int handle,)
+val SCWS_INVISIBLE=0
+val SCWS_VISIBLEALWAYS=1
+val SCWS_VISIBLEAFTERINDENT=2
+
# Are white space characters currently visible?
-get bool GetViewWS=2020(,)
+# Returns one of SCWS_* constants.
+get int GetViewWS=2020(,)
-# Make white space characters visible or invisible.
-set void SetViewWS=2021(bool viewWS,)
+# Make white space characters invisible, always visible or visible outside indentation.
+set void SetViewWS=2021(int viewWS,)
# Set caret to start of a line and ensure it is visible.
fun void GotoLine=2024(int line,)
@@ -439,12 +444,25 @@ get position GetLineIndentPosition=2128(int line,)
# Retrieve the column number of a position, taking tab width into account.
get int GetColumn=2129(position pos,)
-# Show or hide the horizontal scroll bar
+# Show or hide the horizontal scroll bar.
set void SetHScrollBar=2130(bool show,)
-# Is the horizontal scroll bar visible.
+# Is the horizontal scroll bar visible?
get bool GetHScrollBar=2131(,)
+# Show or hide indentation guides.
+set void SetIndentationGuides=2132(bool show,)
+
+# Are the indentation guides visible?
+get bool GetIndentationGuides=2133(,)
+
+# Set the highlighted indentation guide column.
+# 0 = no highlighted guide.
+set void SetHighlightGuide=2134(int column,)
+
+# Get the highlighted indentation guide column.
+get int GetHighlightGuide=2135(,)
+
# Show a call tip containing a definition near position pos.
fun void CallTipShow=2200(position pos, string definition)