aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Selection.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-11-24 08:04:57 +1100
committerNeil <nyamatongwe@gmail.com>2019-11-24 08:04:57 +1100
commit63d10d1054d9987f647bf654be54f355d1dc40d6 (patch)
treea414517dac7a44303b9007c3e18910dcb661364e /src/Selection.h
parent0fac577852fdc97275d371032247c5428afd7876 (diff)
downloadscintilla-mirror-63d10d1054d9987f647bf654be54f355d1dc40d6.tar.gz
Backport: Bug [#2140]. Move rather than grow selection when insertion at start.
Backport of changeset 7773:20f353cd5507.
Diffstat (limited to 'src/Selection.h')
-rw-r--r--src/Selection.h2
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;
}