edit predictions: Polish up ⌥ preview experience (#24380)

- Do not accept with just `tab` in `when_holding_modifer` mode
- Fix fake cursor for jumps when destination row is outside viewport
- Use current preview state for deciding whether to show modifiers in
popovers
- Stay in preview state if ⌥ isn't released after accepting a jump

Release Notes:

- N/A
This commit is contained in:
Agus Zubiaga
2025-02-06 16:13:21 +00:00
committed by GitHub
parent c24f22cd14
commit 13089d7ec6
4 changed files with 110 additions and 125 deletions
+1 -1
View File
@@ -510,7 +510,7 @@
}
},
{
"context": "Editor && inline_completion && !showing_completions",
"context": "Editor && inline_completion && !inline_completion_requires_modifier",
"use_key_equivalents": true,
"bindings": {
"tab": "editor::AcceptInlineCompletion"