aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/document.rs
Commit message (Collapse)AuthorAge
* Try to detect language when document file path is setBlaž Hrastnik2021-06-04
| | | | Fixes #91
* Fix undo redoIvan Tham2021-06-03
| | | | | | I missed the fast return. Fix #89
* Improve on the fix for deleting from the end of the buffer.Jakub Bartodziej2021-06-03
|
* Disable deleting from an empty buffer which can cause a crash.Jakub Bartodziej2021-06-03
|
* Separate document history into CellIvan Tham2021-06-02
| | | | | As history is used separately from the rest of the edits, separating it can avoid needless borrowing and cloning. But one need to be aware later.
* Allow setting a filepath on :writeBlaž Hrastnik2021-06-01
|
* Format document on saveBlaž Hrastnik2021-05-29
|
* Hacky way to specify indent scopes per language via toml configs.Blaž Hrastnik2021-05-14
| | | | | | | | | Can't do it via a scm query nicely because it returns an iterator over all the matches, whereas we want to traverse the tree ourselves. Can't extract the pattern data from a parsed query either. Oh well, toml files for now.
* Tokio migration.Blaž Hrastnik2021-05-06
|
* doc: Note about diagnostic mapping.Blaž Hrastnik2021-05-03
|
* doc: Be smarter about calculating modified status.Blaž Hrastnik2021-05-03
| | | | This way edit -> undo will properly show up as unmodified.
* lsp: support both utf-8 and utf-16 offsets.Blaž Hrastnik2021-04-14
| | | | | Still need to implement the clangd encoding negotiation, but it's a start. Should also manually override to utf8 for pyls.
* Always update selection: Empty transactions can still change selections.Blaž Hrastnik2021-04-06
|
* clippy lintBlaž Hrastnik2021-03-31
|
* Drop doc.state. Use doc.text + doc.selections.Blaž Hrastnik2021-03-31
|
* Weave through view_id references so that views into one file have ↵Blaž Hrastnik2021-03-31
| | | | independent selects.
* Fully drop State references.Blaž Hrastnik2021-03-31
|
* Track document modified state.Blaž Hrastnik2021-03-30
|
* Store intra-files jumps (goto) on the jumplist.Blaž Hrastnik2021-03-29
|
* view: document.rs cleanupBlaž Hrastnik2021-03-29
|
* Replace Mode::Goto with just using on_next_key.Blaž Hrastnik2021-03-29
|
* Add the machinery to load syntax config from TOML.Blaž Hrastnik2021-03-25
| | | | It's embedded into the binary at build time for now, but it's progress.
* Drop refcell use, make view simply ref doc.id.Blaž Hrastnik2021-03-23
|
* Add tab_width and indent_unit config.Blaž Hrastnik2021-03-22
|
* Finish hiding doc.state / State as an implementation detail.Blaž Hrastnik2021-03-18
|
* Expose doc.syntax() via accessor.Blaž Hrastnik2021-03-18
|
* Document::new should just take a rope.Blaž Hrastnik2021-03-18
|
* Expose doc.language_server as an accessor.Blaž Hrastnik2021-03-18
|
* Remove State from a few more signatures.Blaž Hrastnik2021-03-18
|
* Make Transaction::change only rely on the rope.Blaž Hrastnik2021-03-18
|
* minor: TODO comment cleanupBlaž Hrastnik2021-03-16
|
* Configure language servers via LanguageConfiguration.Blaž Hrastnik2021-03-14
|
* lsp: Emit didSave notifications.Blaž Hrastnik2021-03-12
|
* Add a selection mode again.Blaž Hrastnik2021-03-01
|
* minor: Simplify some code.Blaž Hrastnik2021-02-24
|
* minorBlaž Hrastnik2021-02-22
|
* fix clippy lintBlaž Hrastnik2021-02-22
|
* Make some Document fields read-only.Blaž Hrastnik2021-02-21
|
* lsp: edit events change ranges need to affect each other.Blaž Hrastnik2021-02-17
|
* Send updates to the lsp on undo/redo.Blaž Hrastnik2021-02-16
|
* lsp: Test changeset_to_changes.Blaž Hrastnik2021-02-16
|
* Address clippy lints.Blaž Hrastnik2021-01-08
|
* lsp: Fix pos_to_lsp_pos calculation.Blaž Hrastnik2020-12-25
|
* lsp: Work on syncing the state with the language server.Blaž Hrastnik2020-12-25
|
* fix change -> change -> undo -> change -> undo -> undo.Blaž Hrastnik2020-12-21
|
* fix: undo/redo selection handling.Blaž Hrastnik2020-12-21
|
* Port over Doc::relative_path.Blaž Hrastnik2020-12-18
|
* Update deps.Blaž Hrastnik2020-12-03
|
* wipBlaž Hrastnik2020-12-03
|
* Save commandBlaž Hrastnik2020-12-03
|