diff options
author | Blaž Hrastnik | 2022-03-03 08:18:26 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-03-03 08:18:26 +0000 |
commit | 0062af6a19d96e0a4c3f94e3e44c179230e005b9 (patch) | |
tree | a2cbea9a8bec1d0aed96c4d20e831e587e2310b8 /helix-term/src/ui/completion.rs | |
parent | 737282d0e9d33923dad682994a521ac46be3c0d0 (diff) |
minor: Remove some outdated comments
Diffstat (limited to 'helix-term/src/ui/completion.rs')
-rw-r--r-- | helix-term/src/ui/completion.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/helix-term/src/ui/completion.rs b/helix-term/src/ui/completion.rs index abed2846..1ee4a01a 100644 --- a/helix-term/src/ui/completion.rs +++ b/helix-term/src/ui/completion.rs @@ -280,18 +280,6 @@ impl Completion { } } -// need to: -// - trigger on the right trigger char -// - detect previous open instance and recycle -// - update after input, but AFTER the document has changed -// - if no more matches, need to auto close -// -// missing bits: -// - a more robust hook system: emit to a channel, process in main loop -// - a way to find specific layers in compositor -// - components register for hooks, then unregister when terminated -// ... since completion is a special case, maybe just build it into doc/render? - impl Component for Completion { fn handle_event(&mut self, event: Event, cx: &mut Context) -> EventResult { // let the Editor handle Esc instead |