diff options
author | Neil <nyamatongwe@gmail.com> | 2023-11-05 22:11:26 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2023-11-05 22:11:26 +1100 |
commit | 26b60d88b6d848f3ba55ca046852e079be5fe3c6 (patch) | |
tree | baf6523ea5e4f2d5adfb021def287a6858802b23 /src/Editor.h | |
parent | a3dd1952c420158febe7a11d596ba3f402eb17ab (diff) | |
download | scintilla-mirror-26b60d88b6d848f3ba55ca046852e079be5fe3c6.tar.gz |
Add SCI_SELECTIONFROMPOINT for modifying multiple selections.
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 e7e198aec..19b0c730c 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -527,6 +527,7 @@ protected: // ScintillaBase subclass needs access to much of Editor /** PositionInSelection returns true if position in selection. */ bool PositionInSelection(Sci::Position pos); bool PointInSelection(Point pt); + ptrdiff_t SelectionFromPoint(Point pt); bool PointInSelMargin(Point pt) const; Window::Cursor GetMarginCursor(Point pt) const noexcept; void TrimAndSetSelection(Sci::Position currentPos_, Sci::Position anchor_); |