diff options
author | nyamatongwe <devnull@localhost> | 2001-05-14 03:26:53 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-05-14 03:26:53 +0000 |
commit | d2af76b9da8cd7b74ec1fdc22a4e9de1bb7e836c (patch) | |
tree | 130d3d877cd2b55ce719a4dec978ce3bc8e8b3fe /include | |
parent | 17cae950f3e55b309f1d7da372519810c7ff9619 (diff) | |
download | scintilla-mirror-d2af76b9da8cd7b74ec1fdc22a4e9de1bb7e836c.tar.gz |
Merged patch from Michele to add ability for tab key to perform indent when
selection is empty and within indentation and for backspace to unindent in
the same circumstances.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 4 | ||||
-rw-r--r-- | include/Scintilla.iface | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index a19d2a1b5..daca5102a 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -313,6 +313,10 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_TOGGLEFOLD 2231 #define SCI_ENSUREVISIBLE 2232 #define SCI_SETFOLDFLAGS 2233 +#define SCI_SETTABINDENTS 2260 +#define SCI_GETTABINDENTS 2261 +#define SCI_SETBACKSPACEUNINDENTS 2262 +#define SCI_GETBACKSPACEUNINDENTS 2263 #define SCI_LINEDOWN 2300 #define SCI_LINEDOWNEXTEND 2301 #define SCI_LINEUP 2302 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 4aaea15d4..604c96b2c 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -822,6 +822,18 @@ fun void EnsureVisible=2232(int line,) # Set some debugging options for folding fun void SetFoldFlags=2233(int flags,) +# Sets whether a tab pressed when caret is within indentation indents +set void SetTabIndents=2260(bool tabIndents,) + +# Does a tab pressed when caret is within indentation indent? +get bool GetTabIndents=2261(,) + +# Sets whether a backspace pressed when caret is within indentation unindents +set void SetBackSpaceUnIndents=2262(bool bsUnIndents,) + +# Does a backspace pressed when caret is within indentation unindent? +get bool GetBackSpaceUnIndents=2263(,) + ## Start of key messages # Move caret down one line. fun void LineDown=2300(,) |