From d6ac5bf56d40512ac0634d7a5bee6f7328b7d41f Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 19 Jan 2013 11:40:47 +1100 Subject: 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. --- src/Document.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Document.h') 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); -- cgit v1.2.3