aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2013-01-19 11:40:47 +1100
committernyamatongwe <devnull@localhost>2013-01-19 11:40:47 +1100
commitd6ac5bf56d40512ac0634d7a5bee6f7328b7d41f (patch)
treec8a0a61379695115cde7c7423ce4308f4c195336 /include
parent46ff1fe3d148b9d131788be6b4d7da8daa65189c (diff)
downloadscintilla-mirror-d6ac5bf56d40512ac0634d7a5bee6f7328b7d41f.tar.gz
Support the three Unicode line ends NEL, LS, and PS in CellBuffer, Document,
Editor and the message interface. Will only be turned on for lexers that support Unicode line ends.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h3
-rw-r--r--include/Scintilla.iface8
2 files changed, 11 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 8c35cf696..f763002f5 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -857,6 +857,9 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_SETCARETLINEVISIBLEALWAYS 2655
#define SC_LINE_END_TYPE_DEFAULT 0
#define SC_LINE_END_TYPE_UNICODE 1
+#define SCI_SETLINEENDTYPESALLOWED 2656
+#define SCI_GETLINEENDTYPESALLOWED 2657
+#define SCI_GETLINEENDTYPESACTIVE 2658
#define SCI_STARTRECORD 3001
#define SCI_STOPRECORD 3002
#define SCI_SETLEXER 4001
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index eb77a584a..714f3ee93 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -2280,6 +2280,14 @@ enu LineEndType=SC_LINE_END_TYPE_
val SC_LINE_END_TYPE_DEFAULT=0
val SC_LINE_END_TYPE_UNICODE=1
+# Set the line end types that the application wants to use. May not be used if incompatible with lexer or encoding.
+set void SetLineEndTypesAllowed=2656(int lineEndBitSet,)
+
+# Get the line end types currently allowed.
+get int GetLineEndTypesAllowed=2657(,)
+
+# Get the line end types currently recognised. May be a subset of the allowed types due to lexer limitation.
+get int GetLineEndTypesActive=2658(,)
# Start notifying the container of all key presses and commands.
fun void StartRecord=3001(,)