aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/view.rs
Commit message (Collapse)AuthorAge
* Fixed primary cursor position calculation to use 1-width semantics.Nathan Vegdahl2021-07-19
| | | | | This had a bunch of knock-on effects that were buggy, such as bracket match highlighting.
* Properly fix `last_line` view calculation.Nathan Vegdahl2021-07-19
| | | | | Turned out to be simpler than I thought. Didn't even need to change the other use-sites.
* reverse the dependency between helix-tui and helix-view (#366)Keith Simmons2021-06-25
| | | | | | | | | * 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>
* add alternate file (#223)Robin2021-06-12
| | | | | | | | | | | | | * add alternate file inspired by vim ctrl-6/kak ga commands. the alternate file is kept per view * apply feedback from #223 * rename to last_accessed * add ga doc * add fail message for ga
* Derive debug without featureIvan Tham2021-06-10
| | | | Note that this also removed those `finish_non_exhaustive()`.
* Implement Debug for data structure as a featurenotoria2021-06-10
|
* Fix jump behavior, goto_implementation now jumpIvan Tham2021-06-10
| | | | | Better jump behavior since we override the first jump if it's on the first document. At the same time, ctrl-i is now working with gd jumps.
* Fix Unicode (#135)Kirawi2021-06-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * init * wip * wip * fix unicode break * fix unicode break * Update helix-core/src/transaction.rs Co-authored-by: Benoît Cortier <benoit.cortier@fried-world.eu> * clippy * fix * add changes * added test * wip * wip * wip * wip * fix * fix view * fix #88 Co-authored-by: Benoît Cortier <benoit.cortier@fried-world.eu>
* Fixing Multiple Panics (#121)Kirawi2021-06-05
| | | | | | | * init * wip * wip
* Fix panic when buffer larger than terminal widthRowan Herbert2021-06-02
|
* View::new is infallible, so is editor.switch/new_file.Blaž Hrastnik2021-05-07
|
* Fix the last line calculation inside ensure_cursor_in_viewBlaž Hrastnik2021-04-14
|
* Adjust scroll() to match kakoune: only scroll the view if cursor in bounds.Blaž Hrastnik2021-04-14
|
* Horizontal scrolling! It only took a year to get around to it.Blaž Hrastnik2021-04-09
|
* Weave through view_id references so that views into one file have ↵Blaž Hrastnik2021-03-31
| | | | independent selects.
* Store intra-files jumps (goto) on the jumplist.Blaž Hrastnik2021-03-29
|
* Trivial jumplist implementation.Blaž Hrastnik2021-03-24
|
* Derive a separate ViewId type.Blaž Hrastnik2021-03-24
|
* Drop refcell use, make view simply ref doc.id.Blaž Hrastnik2021-03-23
|
* Store Document on the Editor type, make View reference it.Blaž Hrastnik2021-03-22
|
* Add tab_width and indent_unit config.Blaž Hrastnik2021-03-22
|
* minor: TODO comment cleanupBlaž Hrastnik2021-03-16
|
* Cleanup: use doc.selection() instead of doc.state.selection().Blaž Hrastnik2021-03-14
|
* commands: Improve scroll functions.Blaž Hrastnik2021-03-04
| | | | | Followed kakoune's implementation, it's no longer janky and can scroll all the way in either direction.
* ui: Make editor more resilient about being shrunk too small.Blaž Hrastnik2021-03-01
|
* minor: Simplify some code.Blaž Hrastnik2021-02-24
|
* Allow closing individual views.Blaž Hrastnik2021-02-19
|
* treewide: &RopeSlice -> RopeSlice. It's Copy so no reason to pass by refBlaž Hrastnik2021-02-18
|
* Implement vertical split calculations.Blaž Hrastnik2021-02-09
|
* popup: wip work on completion popupsBlaž Hrastnik2021-02-09
|
* View tree implementation: render multiple split views.Blaž Hrastnik2021-02-03
| | | | | Cursors are still a bit buggy and we should render in focus statusbar differently than in the other pane.
* clippy lintBlaž Hrastnik2020-12-03
|
* Refactor: Document type as a wrapper around barebones State.Blaž Hrastnik2020-12-03
|
* Reroute LSP notification events into the main app event loop.Blaž Hrastnik2020-12-03
|
* Move theme from view to editor, support multiple views in editor.Blaž Hrastnik2020-12-03
|
* separated statusline and promptJan Hrastnik2020-10-16
|
* Share the padding definition too.Blaž Hrastnik2020-10-14
|
* Share tab width definitions.Blaž Hrastnik2020-10-14
|
* CleanupBlaž Hrastnik2020-10-13
|
* Undo tree draft.Blaž Hrastnik2020-10-13
| | | | | We keep a tree of transactions. This allows for persistent undo by simply serializing the changesets.
* Cleanup: track first_line as usize.Blaž Hrastnik2020-10-07
|
* Fix scrolling calculations.Blaž Hrastnik2020-10-07
|
* various fixesJan Hrastnik2020-10-06
|
* Fix line number rendering.Blaž Hrastnik2020-10-04
|
* added tab to insert modeJan Hrastnik2020-10-04
|
* clippy warningsBlaž Hrastnik2020-09-29
|
* More robust syntax detection/grammar loading.Blaž Hrastnik2020-09-22
|
* Split parts of helix-term into helix-view.Blaž Hrastnik2020-09-21
It still largely depends on term for some types but I plan to change that later.