Nathan Vegdahl
efa3389b6a
Fix unused variable, parameter, and `mut` warnings in helix-term.
3 years ago
Nathan Vegdahl
702a0491db
Remove #[allow(unused)] from helix-term, and fix unused imports.
...
Lots of other warning still left. Will address in subsequent commits.
3 years ago
Keith Simmons
4418e17547
reverse the dependency between helix-tui and helix-view ( #366 )
...
* reverse the dependency between helix-tui and helix-view by moving a fiew types to view
* fix tests
* clippy and format fixes
Co-authored-by: Keith Simmons <keithsim@microsoft.com>
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
wojciechkepka
4dbc23ff1c
Fix documentation popup panic
3 years ago
Blaž Hrastnik
ccdebb99b5
Drop some useless imports.
4 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
95d0bba81a
ui: Improve completion state handling.
4 years ago
Blaž Hrastnik
a24c3fff54
Filter the completion menu based on text entered.
4 years ago
Blaž Hrastnik
cbcacb1063
Merge some imports.
4 years ago
Blaž Hrastnik
c7ccb432ef
pass clippy lint
4 years ago
Blaž Hrastnik
8fe4590666
ui: popup: scroll documentation popups with c-u/c-d.
4 years ago
Blaž Hrastnik
5ea610c41d
ui: Move terminal into compositor, redo required_size hints.
4 years ago
Blaž Hrastnik
1d42b95915
ui: wip: Markdown doc renderer.
4 years ago
Blaž Hrastnik
a21d96e729
ui: Scrollable popup menu, with scrollbar indicator.
4 years ago
Blaž Hrastnik
bd0f6c1dfc
clippy lint
4 years ago
Blaž Hrastnik
0b85c16be9
ui: Share popup code with menu.
...
Menu is now just wrapped in a popup.
4 years ago
Blaž Hrastnik
11c4e0b053
ui: Calculate popup rendering and sizing.
4 years ago
Blaž Hrastnik
7162632eb7
lsp: Hover documentation draft.
4 years ago