From f54fd2019dd648b29a80ec7429833ab546d3a428 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 1 Feb 2025 14:43:22 +1100 Subject: Serialize selection type and ranges with SCI_GETSELECTIONSERIALIZED and SCI_SETSELECTIONSERIALIZED. --- doc/ScintillaDoc.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 886786484..dda900b7c 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -130,7 +130,7 @@

Scintilla Documentation

-

Last edited 26 October 2024 NH

+

Last edited 1 February 2025 NH

Scintilla 5 has moved the lexers from Scintilla into a new Lexilla project.
@@ -1239,6 +1239,10 @@ struct Sci_TextRangeFull { SCI_GETRECTANGULARSELECTIONANCHORVIRTUALSPACE → position

+ SCI_SETSELECTIONSERIALIZED(<unused>, const char *selectionString)
+ SCI_GETSELECTIONSERIALIZED(<unused>, char *selectionString) → position
+
+ SC_ELEMENT_SELECTION_ADDITIONAL_TEXT : colouralpha
SC_ELEMENT_SELECTION_ADDITIONAL_BACK : colouralpha
SCI_SETADDITIONALSELALPHA(alpha alpha)
@@ -1404,6 +1408,12 @@ struct Sci_TextRangeFull { Set or query the position and amount of virtual space for the caret and anchor of the rectangular selection. After setting the rectangular selection, this is broken down into multiple selections, one for each line.

+

+ SCI_SETSELECTIONSERIALIZED(<unused>, const char *selectionString)
+ SCI_GETSELECTIONSERIALIZED(<unused>, char *selectionString) → position
+ Set or query the selection type and positions as a serialized string. + The format of this string may change in future versions so should not be persisted beyond the current session.

+

SC_ELEMENT_SELECTION_ADDITIONAL_TEXT : colouralpha
SC_ELEMENT_SELECTION_ADDITIONAL_BACK : colouralpha
-- cgit v1.2.3