This commit is contained in:
Maxime Coste 2021-01-04 09:50:45 +11:00
commit df7b33bc7b

View File

@ -421,7 +421,6 @@ void InsertCompleter::select(int index, bool relative, Vector<Key>& keystrokes)
const auto suffix_len = std::max(0_byte, buffer.distance(cursor_pos, m_completions.end)); const auto suffix_len = std::max(0_byte, buffer.distance(cursor_pos, m_completions.end));
auto ref = buffer.string(m_completions.begin, m_completions.end); auto ref = buffer.string(m_completions.begin, m_completions.end);
ForwardChangesTracker changes_tracker;
Vector<BufferRange> ranges; Vector<BufferRange> ranges;
for (auto& sel : selections) for (auto& sel : selections)
{ {