diff options
author | Neil <nyamatongwe@gmail.com> | 2015-10-12 09:09:34 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-10-12 09:09:34 +1100 |
commit | 4419a43db4d20837084480a93d64805c7cac703c (patch) | |
tree | 8aa39325f841188a12b8c735d6977ce4ba2eb6a4 /src/Selection.h | |
parent | 095d675e74677ee48478e62b38620729471600dc (diff) | |
download | scintilla-mirror-4419a43db4d20837084480a93d64805c7cac703c.tar.gz |
Implement Swap in SelectionRange to avoid warnings.
Diffstat (limited to 'src/Selection.h')
-rw-r--r-- | src/Selection.h | 1 |
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(); |