diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-03-15 18:20:35 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-03-15 18:22:08 +0100 |
| commit | a981d41cdefe113876780e4da9718a33a8080393 (patch) | |
| tree | b7321c86d3829a1f070be8a35721ffe5e884757e /src/input_handler.cc | |
| parent | 5e88b7fe283e66c3afebc4f287fbea72be41374e (diff) | |
Editor: replace selections().back() with main_selection()
Diffstat (limited to 'src/input_handler.cc')
| -rw-r--r-- | src/input_handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc index b54b790f..658b0d56 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -549,7 +549,7 @@ private: { if (not m_position.is_valid()) { - BufferIterator cursor = m_context.editor().selections().back().last(); + BufferIterator cursor = m_context.editor().main_selection().last(); auto completions = complete_opt(cursor, m_context.options()); if (completions.first.empty()) completions = complete_word(cursor); |
