diff options
author | nyamatongwe <devnull@localhost> | 2013-01-19 11:40:47 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2013-01-19 11:40:47 +1100 |
commit | d6ac5bf56d40512ac0634d7a5bee6f7328b7d41f (patch) | |
tree | c8a0a61379695115cde7c7423ce4308f4c195336 /src/Document.h | |
parent | 46ff1fe3d148b9d131788be6b4d7da8daa65189c (diff) | |
download | scintilla-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 'src/Document.h')
-rw-r--r-- | src/Document.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Document.h b/src/Document.h index 592d2ecb9..16804d3a1 100644 --- a/src/Document.h +++ b/src/Document.h @@ -241,6 +241,7 @@ public: int eolMode; /// Can also be SC_CP_UTF8 to enable UTF-8 mode int dbcsCodePage; + int lineEndBitSet; int tabInChars; int indentInChars; int actualIndentInChars; @@ -259,6 +260,9 @@ public: virtual void Init(); int LineEndTypesSupported() const; bool SetDBCSCodePage(int dbcsCodePage_); + int GetLineEndTypesAllowed() { return cb.GetLineEndTypes(); } + bool SetLineEndTypesAllowed(int lineEndBitSet_); + int GetLineEndTypesActive() { return cb.GetLineEndTypes(); } virtual void InsertLine(int line); virtual void RemoveLine(int line); |