diff options
| author | nyamatongwe <unknown> | 2000-06-21 02:59:25 +0000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2000-06-21 02:59:25 +0000 |
| commit | e7729d12b8676528ab5bfecf58d586ac1fbafeb1 (patch) | |
| tree | dce2610a6c578021e13c36d3e4e2c9f4a2eb6dfc /include/Scintilla.iface | |
| parent | 37147e61367b4d73deae7dbd315c498cdd7c6198 (diff) | |
| download | scintilla-mirror-e7729d12b8676528ab5bfecf58d586ac1fbafeb1.tar.gz | |
Added indentation guide API.
View whitespace has setting to only see outside indentation.
Indentation guide highlight.
Diffstat (limited to 'include/Scintilla.iface')
| -rw-r--r-- | include/Scintilla.iface | 28 |
1 files changed, 23 insertions, 5 deletions
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) |
