Blaž Hrastnik
|
9706f1121d
|
Fix small screen panics
|
3 years ago |
Joe Neeman
|
fd1ae35051
|
Make the prompt callback take a Context.
|
3 years ago |
Blaž Hrastnik
|
34ebe82654
|
ui: prompt: Add more keymappings
|
3 years ago |
Blaž Hrastnik
|
e9a3245aae
|
Re-export unicode crates from helix_core
|
3 years ago |
Blaž Hrastnik
|
9275021497
|
ui: prompt: Better unicode support
We copied over eval_movement from wezterm, that already solves most of
our problems. self.cursor is now byte-based.
|
3 years ago |
Benoît CORTIER
|
42142cf680
|
Fix panic when entering unicode in command prompt
It was attempted to use `String::insert` and `String::remove` to insert
without taking care of unicodes.
Fixes https://github.com/helix-editor/helix/issues/282
|
3 years ago |
Ivan Tham
|
124514aa70
|
Add cursor kind to separate hidden cursor from pos
Now IME cursor position should be correct since we can still set cursor
position without drawing the cursor.
|
3 years ago |
Ivan Tham
|
002f1ad397
|
Add filter ability to picker
Inspired by doom emacs. Able to filter picker options multiple times.
|
3 years ago |
Ivan Tham
|
1bda454149
|
Add ctrl-w for prompt
|
3 years ago |
Blaž Hrastnik
|
d545e61644
|
ui: Prompt should figure out a reasonable column width
Fixes #192
Refs #225
|
3 years ago |
Wojciech Kępka
|
d8b5d1181f
|
Add `Copy` derive to `PromptEvent`
|
3 years ago |
Wojciech Kępka
|
b500a2a138
|
commands: Add more write commands
|
3 years ago |
Blaž Hrastnik
|
83723957fe
|
Fix crash when too many completions available
Refs #81
|
3 years ago |
Kevin Sjöberg
|
3494bb8ef0
|
Refactor index assignment
Co-authored-by: Ivan Tham <pickfire@riseup.net>
|
3 years ago |
Kevin Sjöberg
|
a4ff8cdd8a
|
Allow moving backwards in completions
|
3 years ago |
Kevin Sjöberg
|
145bc1970a
|
Trigger directory completion upon pressing Enter
|
3 years ago |
Kirawi
|
c17dcb8633
|
Fixing Multiple Panics (#121)
* init
* wip
* wip
|
3 years ago |
Blaž Hrastnik
|
c0332bd935
|
Fix split sizes getting out of sync with the terminal size, refs #69
|
3 years ago |
Blaž Hrastnik
|
a2147fc7d5
|
Change help prompt styling
|
3 years ago |
Blaž Hrastnik
|
d708efe275
|
Fix cursor positioning for prompts
|
3 years ago |
Blaž Hrastnik
|
094203c74e
|
Update deps, introduce the new tree-sitter lifetimes
|
3 years ago |
Blaž Hrastnik
|
ff4c1d05de
|
Replace the Clear widget with buffer.clear/clear_with.
|
4 years ago |
Blaž Hrastnik
|
1255bcb8a3
|
Simplify the compositor callback.
|
4 years ago |
Blaž Hrastnik
|
0fe19ae472
|
clippy lint
|
4 years ago |
Blaž Hrastnik
|
d24844b73d
|
ui: Render command mode doc text if available.
|
4 years ago |
Blaž Hrastnik
|
f0712479cb
|
Define text color (mostly) in theme.toml.
|
4 years ago |
Blaž Hrastnik
|
f87dee926a
|
Simplify prompt autocompletion rendering code.
|
4 years ago |
Blaž Hrastnik
|
fd4fd12fa3
|
clippy lint
|
4 years ago |
Blaž Hrastnik
|
0e9ecccfc1
|
clippy: Drop or-patterns for now because they're not on stable rust yet
|
4 years ago |
Blaž Hrastnik
|
ceea5eacd8
|
clippy lint
|
4 years ago |
Blaž Hrastnik
|
ad3325db8e
|
minor: Remove a few unwraps.
|
4 years ago |
Blaž Hrastnik
|
698e4ddea4
|
clippy: Factor out a Completion type.
|
4 years ago |
Blaž Hrastnik
|
cbcacb1063
|
Merge some imports.
|
4 years ago |
Blaž Hrastnik
|
a32806b490
|
Improve completion: src/<tab> will now correctly complete to src/main.rs
|
4 years ago |
Blaž Hrastnik
|
8ba1e15d29
|
Expose doc.syntax() via accessor.
|
4 years ago |
Blaž Hrastnik
|
857bce0e30
|
ui: Rework command mode, implement file path completion.
|
4 years ago |
Blaž Hrastnik
|
d4b85ce18d
|
popup: wip work on completion popups
|
4 years ago |
Blaž Hrastnik
|
777a80917d
|
Address clippy lints.
|
4 years ago |
Blaž Hrastnik
|
3d3295bb75
|
ui: buffer picker on ctrl-b
|
4 years ago |
Blaž Hrastnik
|
7c75ec04e8
|
File picker mockup, reuses the line editor work done on Prompt.
|
4 years ago |
Blaž Hrastnik
|
8f0b28aeb8
|
Make the select prompt interactive.
|
4 years ago |
Blaž Hrastnik
|
f92998a14b
|
Prompt needs to close on enter.
|
4 years ago |
Blaž Hrastnik
|
ca809617b2
|
Take prompt length into account.
|
4 years ago |
Blaž Hrastnik
|
ed6a4c4bd2
|
wip: Use prompt for interactive commands.
|
4 years ago |
Blaž Hrastnik
|
07801b60bc
|
Remove the prompt on ESC.
|
4 years ago |
Blaž Hrastnik
|
7dc24a25ba
|
Move ui modules under a ui:: namespace.
|
4 years ago |