helix/helix-view/src
Joe b26e7e2e8f
Add live preview to theme picker (#1798)
* Add theme picker with live preview

* Add live theme preview to :theme command

* cargo fmt

* Fix clippy warnings

* Remove picker variant

* Remove unused import

* Cleanup

* Change current_theme to last_theme

* Fix accidental comment flash deletion

* Typo

* Remove theme cache

* Add some comments

* Refactor some theme handling

TIL flatmap on Option is called  and_then

* Remove unnecessary renames

* Constrain last_theme theme preview lifecycle

* Switch to bitflag implementation

* Better handling of last_theme

* Sort theme names

* Better memory juggling

* Missed a branch

* Remove name from theme, switch bitand to &

* cargo fmt

* Update helix-view/src/editor.rs

* Switch boolean to enum

* Remove bitflag impl

* cargo fmt

* Remove un-needed type arg

* cargo fmt
2022-07-05 19:44:16 +09:00
..
handlers Add more context; Editor::open doesn't need to own path 2022-06-18 23:57:45 -04:00
clipboard.rs cfg-gate unused functions on macos & windows (#2332) 2022-05-02 23:31:23 +09:00
document.rs Fix initial selection of Document in new view 2022-06-18 23:54:03 -04:00
editor.rs Add live preview to theme picker (#1798) 2022-07-05 19:44:16 +09:00
graphics.rs Refactor Margin for fine grained control (#2727) 2022-06-22 01:52:08 +09:00
gutter.rs Display highest severity diagnostic in gutter (#2835) 2022-06-21 08:09:43 +05:30
info.rs Handle newlines in register infobox 2022-02-10 10:52:06 +09:00
input.rs Format keys identically in statusline and command palette (#2790) 2022-06-22 01:46:50 +09:00
keyboard.rs fix: Normalize backtab into shift-tab 2021-12-06 12:25:19 +09:00
lib.rs Split off dap event handlers into helix-view to allow reuse 2022-03-28 11:01:59 +09:00
macros.rs Simplify view/doc macros 2021-11-18 14:13:42 +09:00
theme.rs Add live preview to theme picker (#1798) 2022-07-05 19:44:16 +09:00
tree.rs add history suggest to global search (#2717) 2022-06-22 01:52:25 +09:00
view.rs feat: make `move_vertically` aware of tabs and wide characters (#2620) 2022-06-22 01:36:36 +09:00