diff options
author | Neil <nyamatongwe@gmail.com> | 2019-11-24 08:04:57 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-11-24 08:04:57 +1100 |
commit | cf034c5958bd83d4a0f71ff79a47e4f76534d5d6 (patch) | |
tree | 709910a1d33720c95fa732e5cd7772e4befed213 /src/Selection.h | |
parent | df312dd97f04aaed14f528f2f822302042d756c5 (diff) | |
download | scintilla-mirror-cf034c5958bd83d4a0f71ff79a47e4f76534d5d6.tar.gz |
Bug [#2140]. Move rather than grow selection when insertion at start.
Diffstat (limited to 'src/Selection.h')
-rw-r--r-- | src/Selection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Selection.h b/src/Selection.h index 11a6f097a..741b75277 100644 --- a/src/Selection.h +++ b/src/Selection.h @@ -23,7 +23,7 @@ public: position = 0; virtualSpace = 0; } - void MoveForInsertDelete(bool insertion, Sci::Position startChange, Sci::Position length) noexcept; + void MoveForInsertDelete(bool insertion, Sci::Position startChange, Sci::Position length, bool moveForEqual) noexcept; bool operator ==(const SelectionPosition &other) const noexcept { return position == other.position && virtualSpace == other.virtualSpace; } |