aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-12-19 07:42:43 +0000
committernyamatongwe <devnull@localhost>2001-12-19 07:42:43 +0000
commitcac7e92c13a813dff29606fb29d273f9fc0c95a8 (patch)
tree2b7025f7018ab826f0c5da3e14cc6299430bd783 /include
parentf7efb69b3e636f340bd6a956982ee4eb2ba1c8ab (diff)
downloadscintilla-mirror-cac7e92c13a813dff29606fb29d273f9fc0c95a8.tar.gz
Wrapping supported.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h4
-rw-r--r--include/Scintilla.iface9
2 files changed, 13 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index fb099f9ec..20c5f267a 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -344,6 +344,10 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_GETMOUSEDWELLTIME 2265
#define SCI_WORDSTARTPOSITION 2266
#define SCI_WORDENDPOSITION 2267
+#define SC_WRAP_NONE 0
+#define SC_WRAP_WORD 1
+#define SCI_SETWRAPMODE 2268
+#define SCI_GETWRAPMODE 2269
#define SCI_LINEDOWN 2300
#define SCI_LINEDOWNEXTEND 2301
#define SCI_LINEUP 2302
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 8e759c693..9e30673d7 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -896,6 +896,15 @@ fun int WordStartPosition=2266(position pos,)
# Get position of end of word
fun int WordEndPosition=2267(position pos,)
+val SC_WRAP_NONE=0
+val SC_WRAP_WORD=1
+
+# Sets whether text is word wrapped
+set void SetWrapMode=2268(int mode,)
+
+# Retrieve whether text is word wrapped
+get int GetWrapMode=2269(,)
+
## Start of key messages
# Move caret down one line.
fun void LineDown=2300(,)