Commit Graph

1807 Commits (58e7e1c5e3754cbfe9a6a9e9843c05ef1055b85f)

Author SHA1 Message Date
Blaž Hrastnik 5103dc9617 move commands and keymap back to terminal.
Command needs to be able to deal with UI. We'll separate it again later
on.
4 years ago
Blaž Hrastnik be3c021046 snapshot 4 years ago
Blaž Hrastnik 83f2c24115 wip: Compositor 4 years ago
Blaž Hrastnik a7869c728c wip 4 years ago
Blaž Hrastnik 3f707c19f4 Save command 4 years ago
Blaž Hrastnik 8f0bcfe286 Introduce a command context that carries the executor and other fields. 4 years ago
Blaž Hrastnik ae8a9e5bac lsp: Make base request methods take &self instead of &mut self. 4 years ago
Blaž Hrastnik cc6bdf8f66 Text change generation, RPC call handling. 4 years ago
Blaž Hrastnik af1924404a Configure logging (-vv for debug level logs) 4 years ago
Blaž Hrastnik b39849dde1 Refactor: Document type as a wrapper around barebones State. 4 years ago
Blaž Hrastnik ef5e5f9296 state.version tracking 4 years ago
Blaž Hrastnik 49254d7180 Total mess but it works: diagnostic marking. 4 years ago
Blaž Hrastnik f9bfba4d96 Reroute LSP notification events into the main app event loop. 4 years ago
Blaž Hrastnik 64b5b23315 Move theme from view to editor, support multiple views in editor. 4 years ago
Blaž Hrastnik b2b3083a62 Support multiple open views. 4 years ago
Blaž Hrastnik 13cb442850 wip: Fetching diagnostics, parsing notifications. 4 years ago
Blaž Hrastnik f03830b047 wip: Basic LSP lifecycle requests/notifications. 4 years ago
Jan Hrastnik 1a3c647adf added col_height calculation 4 years ago
Jan Hrastnik 2b44031929 various fixes 4 years ago
Jan Hrastnik c9e9fcf7c5 added base col width 4 years ago
Jan Hrastnik 28a1e11fda added more completions per line 4 years ago
Jan Hrastnik a123cf37a0 several fixes 4 years ago
Jan Hrastnik 8f37c26f35 completion highlighting 4 years ago
Jan Hrastnik f3ddb8631f wip completion 4 years ago
Jan Hrastnik 06502e5a2e added prompt close 4 years ago
Blaž Hrastnik bc2c652fe8 Bugfix 4 years ago
Blaž Hrastnik 49b4cdb566 Refactor command calling. 4 years ago
Blaž Hrastnik 49cc6c1924 Refactor Editor into Application and Editor/Workspace. 4 years ago
Jan Hrastnik 267602328c changed fn to fnmut 4 years ago
Jan Hrastnik fa55b1e51c added closures to prompt 4 years ago
Jan Hrastnik 7d58378374 added move left&right, delete char 4 years ago
Jan Hrastnik ed03ec92a8 moved prompt command matching to prompt.rs 4 years ago
Jan Hrastnik 7208c86f23 separated statusline and prompt 4 years ago
Jan Hrastnik c60f1a6553 created prompt.rs 4 years ago
Jan Hrastnik 9e7b6465c6 refactoring editor.rs 4 years ago
Jan Hrastnik 0c0c2c7103 modified editor.render() to prepare for command mode rendering 4 years ago
Blaž Hrastnik 4996f1b4d3 Move insert mode commands to a separate namespace. 4 years ago
Blaž Hrastnik d64f4beede Share tab width definitions. 4 years ago
Blaž Hrastnik 8098279676 Cleanup 4 years ago
Blaž Hrastnik b765c17896 Hacky undo/redo integration. 4 years ago
Blaž Hrastnik 9a73d3f1b9 fix clippy warning 4 years ago
Blaž Hrastnik 7f07e66768 Cleanup: track first_line as usize. 4 years ago
Jan Hrastnik 750610f0e7 various fixes 4 years ago
Jan Hrastnik 038201647c started work on goto mode 4 years ago
Blaž Hrastnik b7e1c0cf82 Fix cursor positioning on a scrolled buffer. 4 years ago
Blaž Hrastnik 226fa89d46 Fix line number rendering. 4 years ago
Blaž Hrastnik 197651eb30
Merge pull request #2 from helix-editor/tab-implementation
added tab to insert mode
4 years ago
Jan Hrastnik dc11124df5 added tab to insert mode 4 years ago
Blaž Hrastnik 7b4a4f6a3c Use crate info for clap help text. 4 years ago
Blaž Hrastnik 5945815d97 Fix cursor rendering & placement on append mode. 4 years ago
Blaž Hrastnik 4189c362b2 Fix clippy warnings. 4 years ago
Blaž Hrastnik e39bd211d1 argh -> clap to speed up compilation (no syn/proc_macro) 4 years ago
Jan Hrastnik 13800e4dd1 removed redundant line 4 years ago
Jan Hrastnik dd94a39810 moved insert keymap to keymap.rs 4 years ago
Blaž Hrastnik 3feb00283d clippy warnings 4 years ago
Blaž Hrastnik 3020077da8 Extend selection commands. 4 years ago
Blaž Hrastnik eb639eb2e4 More robust syntax detection/grammar loading. 4 years ago
Blaž Hrastnik 2c3b10dbb0 Sync up view size to terminal size for now. 4 years ago
Blaž Hrastnik 935cfeae57 Split parts of helix-term into helix-view.
It still largely depends on term for some types but I plan to change
that later.
4 years ago
Blaž Hrastnik 48330ddb5f Command needs access to view information for certain changes. 4 years ago
Blaž Hrastnik 1303ffd94a Remove old test. 4 years ago
Blaž Hrastnik 91343a6846 Restore terminal mode on panics. 4 years ago
Blaž Hrastnik 929fa5474d Simple cursor scrolling. 4 years ago
Blaž Hrastnik b120515613 Range based highlight_iter. Only works on limiting the start right now 4 years ago
Blaž Hrastnik 3859f6963d More work on the UI. 4 years ago
Blaž Hrastnik eb477ec442 Speed up surface code by resetting instead of allocating a new one. 4 years ago
Blaž Hrastnik 088f8a82af Incremental parsing: rough draft. 4 years ago
Blaž Hrastnik 31999d6528 Make state fields read-only from outside the crate. 4 years ago
Blaž Hrastnik b08278807e Add 'A', 'I' commands. 4 years ago
Blaž Hrastnik fb0f56b747 Add 'o' command. 4 years ago
Blaž Hrastnik eb6b9a9ca9 Support entering newlines. 4 years ago
Blaž Hrastnik d466882d04 Abstract Transaction::change_by_selection, working del/backspace. 4 years ago
Blaž Hrastnik f9348d77ec Fix tests. 4 years ago
Blaž Hrastnik 9546164dc8 cargo fmt & clippy lint 4 years ago
Blaž Hrastnik a106be94f1 Refactor a little bit. 4 years ago
Blaž Hrastnik b17a77b8b8 cleanup: Import tree-sitter-highlight so we can cache trees. 4 years ago
Blaž Hrastnik b647c7a773 tree-sitter based syntax highlighting draft 4 years ago
Blaž Hrastnik 25b3f98e3d draft: tree-sitter highlighting 4 years ago
Blaž Hrastnik 7eac12a4bb Add helix-syntax as a wrapper around tree-sitter parsers. 4 years ago
Blaž Hrastnik e282fc7595 Bump deps, eliminate a lot of transitive deps. 4 years ago
Blaž Hrastnik 9ad40bc40b Experiment with TUI so we can render selections. 4 years ago
Blaž Hrastnik 67017e5336 append mode 4 years ago
Blaž Hrastnik dd749bb284 Expand transaction API. 4 years ago
Blaž Hrastnik 4e349add60 cleanup: Remove leftover files. 4 years ago
Blaž Hrastnik 8b3e152126 cleanup: Make Buffer just a part of State. 4 years ago
Blaž Hrastnik 579b6899f1 Work on insert mode. 4 years ago
Blaž Hrastnik 0d56ce9296 Bump deps, make it compile with latest smol. 4 years ago
Blaž Hrastnik 29f1be91a2 Fix clippy lints. 4 years ago
Blaž Hrastnik 4733afa6c2 Update dependencies.
smol 0.3 makes setup a whole lot easier.
4 years ago
Jan Hrastnik 8681d47292 remove unused import 4 years ago
Jan Hrastnik 6ba082697d added cursor rendering 4 years ago
Jan Hrastnik c3a23a1c09 file now rendered line by line 5 years ago
Jan Hrastnik e93b15cef3 created view struct 5 years ago
Jan Hrastnik 8958f06f08 added file rendering 5 years ago
Blaž Hrastnik 8119f1ec3d Refactor editor module to use state + keymap. 5 years ago
Jan Hrastnik 065cbcee9e fixed async loop 5 years ago
Jan Hrastnik 2985398adc loop is now async 5 years ago
Jan Hrastnik 19643446cd editor.rs now uses crossterm 5 years ago
Blaž Hrastnik f8fe273a2e Fix build. 5 years ago
Blaž Hrastnik 843c20a550 Add a keymap module. 5 years ago
Blaž Hrastnik 387fb57c94 Allow unused code for the time being. 5 years ago
Blaž Hrastnik 57c2046070 Drop tui. 5 years ago
Blaž Hrastnik c17045ed07 Fixup Surface 5 years ago
Blaž Hrastnik 613d06dfb0 wip: importing to github 5 years ago
Blaž Hrastnik 6905ff03c2 Start swapping from termwiz to crossterm + async. 5 years ago
Blaž Hrastnik 44ff4d3c1f Implement a new core based on CodeMirror. 5 years ago
Blaž Hrastnik 240e5f4e3d Initial import. 5 years ago