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. --- src/Editor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Editor.h') diff --git a/src/Editor.h b/src/Editor.h index a6a484ede..ff940bc49 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -352,6 +352,7 @@ protected: // ScintillaBase subclass needs access to much of Editor void SetSelection(SelectionPosition currentPos_); void SetEmptySelection(SelectionPosition currentPos_); void SetEmptySelection(Sci::Position currentPos_); + void SetSelectionFromSerialized(const char *serialized); enum class AddNumber { one, each }; void MultipleSelectAdd(AddNumber addNumber); bool RangeContainsProtected(Sci::Position start, Sci::Position end) const noexcept; -- cgit v1.2.3