aboutsummaryrefslogtreecommitdiff
path: root/helix-view/tests/encoding/big5_out_ref.txt
diff options
context:
space:
mode:
authorMichael Davis2023-08-31 06:12:32 +0000
committerGitHub2023-08-31 06:12:32 +0000
commit48373d4a2b6402dce91ebcdf29b6341fcf0ba302 (patch)
tree6f89933aeb6efb7c31300c34d268de006f6ade80 /helix-view/tests/encoding/big5_out_ref.txt
parenta2767269d0e8500b49088a472856e41cd6dee492 (diff)
Clear completion when switching windows via click (#8118)
The completion component assumes that it operates on the same View but it's possible to break this assumption by switching windows through left-clicking. I believe we should clear the completion menu when switching windows to fix this. This change fixes a panic for this scenario: * Open a buffer with LSP completion available * Split the window (for example '<C-w>v') * Enter insert mode and trigger the completion menu * Select a completion candidate (for example with '<C-n>') * Switch to the original window by left-clicking in its area * Enter insert mode and make edits (for example 'o<backspace>') This will trip the 'assert_eq' in Document::restore.
Diffstat (limited to 'helix-view/tests/encoding/big5_out_ref.txt')
0 files changed, 0 insertions, 0 deletions