Commit Graph

79 Commits (0b63e838e0ffe9a36a2cb51790f464d634b843af)

Author SHA1 Message Date
Blaž Hrastnik 0b63e838e0 Port over Doc::relative_path. 4 years ago
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 39bf1ca825 Update deps. 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 eff6fac9ec clippy lint 4 years ago
Blaž Hrastnik f5981f72c2 Introduce Selection::point. 4 years ago
Blaž Hrastnik 55fa86248c Introduce doc.selection()/set_selection() 4 years ago
Blaž Hrastnik e4070d4de0 Bump document version on undo/redo. 4 years ago
Blaž Hrastnik efc5aa2016 Simplify old_state handling. 4 years ago
Blaž Hrastnik c0e17dd324 Fix undo/redo not updating the syntax tree. 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
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 956173bcea completion is now added to prompt.line 4 years ago
Jan Hrastnik a123cf37a0 several fixes 4 years ago
Jan Hrastnik 8f37c26f35 completion highlighting 4 years ago
Jan Hrastnik 06502e5a2e added prompt close 4 years ago
Jan Hrastnik ae8ff9623e fix warnings 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 3c0f187c5b added move start&end 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 0c0c2c7103 modified editor.render() to prepare for command mode rendering 4 years ago
Blaž Hrastnik 16828d322a wip 4 years ago
Blaž Hrastnik 6e658aae1c Auto-indent on enter based on tree-sitter scopes. 4 years ago
Blaž Hrastnik 4996f1b4d3 Move insert mode commands to a separate namespace. 4 years ago
Blaž Hrastnik 77ff51cef9 Share the padding definition too. 4 years ago
Blaž Hrastnik d64f4beede Share tab width definitions. 4 years ago
Blaž Hrastnik 989080afed clippy lint 4 years ago
Blaž Hrastnik 0826739c62 < as unindent 4 years ago
Blaž Hrastnik 00e661f600 Indent draft, linewise paste 4 years ago
Blaž Hrastnik 490e23b645 Simplify changeset tracking. 4 years ago
Blaž Hrastnik 518426b9f4 Factor out append_changes_to_history 4 years ago
Blaž Hrastnik a5be718dc6 x for line selection 4 years ago