diff options
| author | Maxime Coste <mawww@kakoune.org> | 2020-06-27 13:33:50 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2020-06-27 13:33:50 +1000 |
| commit | fc3e5ea419aa79c7adf38a9252586d867b3eb19b (patch) | |
| tree | 95d82f8658ea2797fbf35aad6cb6ce846e479e7a /src/insert_completer.hh | |
| parent | 099b83d922aff0bd19ffc1a10a729afa07de91fb (diff) | |
Refactor how InsetCompletionHide hook parameter is computed
Keep track of inserted ranges instead of trying to re-derive them.
Fixes #3556
Diffstat (limited to 'src/insert_completer.hh')
| -rw-r--r-- | src/insert_completer.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/insert_completer.hh b/src/insert_completer.hh index 1270d732..b3c7480d 100644 --- a/src/insert_completer.hh +++ b/src/insert_completer.hh @@ -105,6 +105,7 @@ private: OptionManager& m_options; const FaceRegistry& m_faces; InsertCompletion m_completions; + Vector<BufferRange> m_inserted_ranges; int m_current_candidate = -1; using CompleteFunc = InsertCompletion (const SelectionList& sels, |
