diff options
author | Neil <nyamatongwe@gmail.com> | 2023-11-06 07:59:06 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2023-11-06 07:59:06 +1100 |
commit | 1272f93ac3afd3892d04364fdc5abba56161951d (patch) | |
tree | 24a1fdc65b970786b829d503e50cd2b74f48ce08 /src/Editor.h | |
parent | 26b60d88b6d848f3ba55ca046852e079be5fe3c6 (diff) | |
download | scintilla-mirror-1272f93ac3afd3892d04364fdc5abba56161951d.tar.gz |
Extract DropSelection into a method so it can be reused.
Diffstat (limited to 'src/Editor.h')
-rw-r--r-- | src/Editor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.h b/src/Editor.h index 19b0c730c..923e3b7a3 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -530,6 +530,7 @@ protected: // ScintillaBase subclass needs access to much of Editor ptrdiff_t SelectionFromPoint(Point pt); bool PointInSelMargin(Point pt) const; Window::Cursor GetMarginCursor(Point pt) const noexcept; + void DropSelection(size_t part); void TrimAndSetSelection(Sci::Position currentPos_, Sci::Position anchor_); void LineSelection(Sci::Position lineCurrentPos_, Sci::Position lineAnchorPos_, bool wholeLine); void WordSelection(Sci::Position pos); |