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
commitcf034c5958bd83d4a0f71ff79a47e4f76534d5d6 (patch)
tree709910a1d33720c95fa732e5cd7772e4befed213 /src/Selection.h
parentdf312dd97f04aaed14f528f2f822302042d756c5 (diff)
downloadscintilla-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.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;
}