aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Selection.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2025-01-22 21:34:54 +1100
committerNeil <nyamatongwe@gmail.com>2025-01-22 21:34:54 +1100
commit3de9d37c7b8f4501558d309ada718dc52533e94c (patch)
treece87afaff43a86c26c562fefcf0c9a5ea409ef6b /src/Selection.h
parentbac32d7fde0b1d052ac9e926c6b3c96afe39bcfd (diff)
downloadscintilla-mirror-3de9d37c7b8f4501558d309ada718dc52533e94c.tar.gz
Bug [#1224]. Remember selection in undo history. SCI_SETSELECTIONUNDOHISTORY.
Diffstat (limited to 'src/Selection.h')
-rw-r--r--src/Selection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Selection.h b/src/Selection.h
index 28db77445..c0d785870 100644
--- a/src/Selection.h
+++ b/src/Selection.h
@@ -163,6 +163,7 @@ public:
Sci::Position MainCaret() const noexcept;
Sci::Position MainAnchor() const noexcept;
SelectionRange &Rectangular() noexcept;
+ SelectionRange RectangularCopy() const noexcept;
SelectionSegment Limits() const noexcept;
// This is for when you want to move the caret in response to a
// user direction command - for rectangular selections, use the range
@@ -202,6 +203,7 @@ public:
Ranges RangesCopy() const {
return ranges;
}
+ void SetRanges(const Ranges &rangesToSet);
};
}