aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-06-09 03:48:29 +0000
committernyamatongwe <devnull@localhost>2009-06-09 03:48:29 +0000
commite23bb2af49a72fdb3cc99883881f4fe1be1fdd4b (patch)
treeb7b2b6ebe1870c28d25b14028085da25319ec14e /include
parente2b55d44d4dfd76e2383f84ebb009e94ae8c773b (diff)
downloadscintilla-mirror-e23bb2af49a72fdb3cc99883881f4fe1be1fdd4b.tar.gz
Feature #2796119 Indent wrapped lines to first line. From maXmo.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h5
-rw-r--r--include/Scintilla.iface11
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