aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Selection.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-10-12 09:09:34 +1100
committerNeil <nyamatongwe@gmail.com>2015-10-12 09:09:34 +1100
commitccdefb79573420faa935ece1491bb23859d743f9 (patch)
treedc6a8c92dbe7e5b88683e94b7e3c6a76811fbd36 /src/Selection.h
parentebe8e2a194010fe16144ef54bf7dced61d71005d (diff)
downloadscintilla-mirror-ccdefb79573420faa935ece1491bb23859d743f9.tar.gz
Implement Swap in SelectionRange to avoid warnings.
Diffstat (limited to 'src/Selection.h')
-rw-r--r--src/Selection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Selection.h b/src/Selection.h
index 22c01beff..5ec5c5424 100644
--- a/src/Selection.h
+++ b/src/Selection.h
@@ -126,6 +126,7 @@ struct SelectionRange {
SelectionPosition End() const {
return (anchor < caret) ? caret : anchor;
}
+ void Swap();
bool Trim(SelectionRange range);
// If range is all virtual collapse to start of virtual space
void MinimizeVirtualSpace();