Commit Graph

68 Commits (e4070d4de0883c3fc979b3d57b1b43ecb0a0d72f)

Author SHA1 Message Date
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
Blaž Hrastnik 8098279676 Cleanup 4 years ago
Blaž Hrastnik 1dba0f2b1c Simple yank/paste registers. 4 years ago
Blaž Hrastnik b765c17896 Hacky undo/redo integration. 4 years ago
Blaž Hrastnik fd311fb8ad Undo tree draft.
We keep a tree of transactions. This allows for persistent undo by
simply serializing the changesets.
4 years ago
Blaž Hrastnik 03795e5674 Fix cursor jumping when we're positioned in top padding pressing up. 4 years ago
Blaž Hrastnik 7f07e66768 Cleanup: track first_line as usize. 4 years ago
Blaž Hrastnik 61ef0a4e87 Fix scrolling calculations. 4 years ago
Jan Hrastnik 750610f0e7 various fixes 4 years ago
Jan Hrastnik 88f93399fd fixed page up/down 4 years ago
Jan Hrastnik 1035b2aea1 started work on page up/down 4 years ago
Jan Hrastnik 7ccc4993f4 added ge command 4 years ago