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. --- doc/ScintillaDoc.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 436a931f2..ec26db627 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -2199,6 +2199,9 @@ struct Sci_TextToFind { SCI_GETVIEWEOL
SCI_GETLINEENDTYPESSUPPORTED
+ SCI_SETLINEENDTYPESALLOWED(int lineEndBitSet)
+ SCI_GETLINEENDTYPESALLOWED
+ SCI_GETLINEENDTYPESACTIVE

SCI_SETEOLMODE(int eolMode)
@@ -2227,6 +2230,17 @@ struct Sci_TextToFind { with either SC_LINE_END_TYPE_DEFAULT (0) or SC_LINE_END_TYPE_UNICODE (1). These values are also used by the other messages concerned with Unicode line ends.

+

SCI_SETLINEENDTYPESALLOWED(int lineEndBitSet)
+ SCI_GETLINEENDTYPESALLOWED
+ By default, only the ASCII line ends are interpreted. Unicode line ends may be requested with + SCI_SETLINEENDTYPESALLOWED(SC_LINE_END_TYPE_UNICODE) + but this will be ineffective unless the lexer also allows you Unicode line ends. + SCI_GETLINEENDTYPESALLOWED returns the current state.

+ +

SCI_GETLINEENDTYPESACTIVE
+ SCI_GETLINEENDTYPESACTIVE reports the set of line ends currently interpreted + by Scintilla. It is SCI_GETLINEENDTYPESSUPPORTED & SCI_GETLINEENDTYPESALLOWED.

+

Styling

The styling messages allow you to assign styles to text. The standard Scintilla settings -- cgit v1.2.3