diff options
| author | nyamatongwe <unknown> | 2009-06-09 03:48:29 +0000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2009-06-09 03:48:29 +0000 |
| commit | 84d7ef180e0cdbe2f1653733138b27143dee3e32 (patch) | |
| tree | b7b2b6ebe1870c28d25b14028085da25319ec14e /include | |
| parent | 1574bf78b43284db9f4ff88c1c77d82ce6fa79ea (diff) | |
| download | scintilla-mirror-84d7ef180e0cdbe2f1653733138b27143dee3e32.tar.gz | |
Feature #2796119 Indent wrapped lines to first line. From maXmo.
Diffstat (limited to 'include')
| -rw-r--r-- | include/Scintilla.h | 5 | ||||
| -rw-r--r-- | include/Scintilla.iface | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 312ec6204..476fa0506 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -444,6 +444,11 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_GETWRAPVISUALFLAGSLOCATION 2463 #define SCI_SETWRAPSTARTINDENT 2464 #define SCI_GETWRAPSTARTINDENT 2465 +#define SC_WRAPINDENT_FIXED 0 +#define SC_WRAPINDENT_SAME 1 +#define SC_WRAPINDENT_INDENT 2 +#define SCI_SETWRAPINDENTMODE 2472 +#define SCI_GETWRAPINDENTMODE 2473 #define SC_CACHE_NONE 0 #define SC_CACHE_CARET 1 #define SC_CACHE_PAGE 2 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index d0f376fa5..d2e4a6f9a 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1131,6 +1131,17 @@ set void SetWrapStartIndent=2464(int indent,) # Retrive the start indent for wrapped lines. get int GetWrapStartIndent=2465(,) +enu WrapIndentMode=SC_WRAPINDENT_ +val SC_WRAPINDENT_FIXED=0 +val SC_WRAPINDENT_SAME=1 +val SC_WRAPINDENT_INDENT=2 + +# Sets how wrapped sublines are placed. Default is fixed. +set void SetWrapIndentMode=2472(int mode,) + +# Retrieve how wrapped sublines are placed. Default is fixed. +get int GetWrapIndentMode=2473(,) + enu LineCache=SC_CACHE_ val SC_CACHE_NONE=0 val SC_CACHE_CARET=1 |
