From 84d7ef180e0cdbe2f1653733138b27143dee3e32 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 9 Jun 2009 03:48:29 +0000 Subject: Feature #2796119 Indent wrapped lines to first line. From maXmo. --- include/Scintilla.h | 5 +++++ include/Scintilla.iface | 11 +++++++++++ 2 files changed, 16 insertions(+) (limited to 'include') 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 -- cgit v1.2.3