aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
Commit message (Collapse)AuthorAge
...
| * | | | Fixes for misc bugs with view movement.Nathan Vegdahl2021-07-21
| | | | |
| * | | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-20
| |\ \ \ \
| * | | | | 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.
| * | | | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-17
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-06
| |\ \ \ \ \ \
| * | | | | | | Fix empty document test.Nathan Vegdahl2021-07-02
| | | | | | | |
| * | | | | | | Make new documents empty, rather than starting with a line ending.Nathan Vegdahl2021-07-02
| | | | | | | |
| * | | | | | | Allow last line in file to lack a line break character.Nathan Vegdahl2021-07-02
| | | | | | | |
| * | | | | | | Make `Selection`'s normalize and transform methods self-consuming only.Nathan Vegdahl2021-07-01
| | | | | | | |
| * | | | | | | Clean up `Selection` to not use so many allocations.Nathan Vegdahl2021-07-01
| | | | | | | |
* | | | | | | | Refactor case where key event is solely a characterGokul Soumya2021-07-29
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | Update keyboard.rs (#516)Rust & Python2021-07-27
| |_|_|_|_|/ |/| | | | | | | | | | | Fix doc comment typo
* | | | | | Allow multi key remappings in config file (#454)Gokul Soumya2021-07-26
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use tree like structure to store keymaps * Allow multi key keymaps in config file * Allow multi key keymaps in insert mode * Make keymap state self contained * Add keymap! macro for ergonomic declaration * Add descriptions for editor commands * Allow keymap! to take multiple keys * Restore infobox display * Fix keymap merging and add infobox titles * Fix and add tests for keymaps * Clean up comments and apply suggestions * Allow trailing commas in keymap! * Remove mode suffixes from keymaps * Preserve order of keys when showing infobox * Make command descriptions smaller * Strip infobox title prefix from items * Strip infobox title prefix from items
* | | | | mark reloaded buffers as unchangedShafkath Shuhan2021-07-23
| |_|_|/ |/| | |
* | | | Fix typoIvan Tham2021-07-20
| |_|/ |/| |
* | | Changed startup behaviour to only open a single view when multiple files are ↵Cor2021-07-17
| | | | | | | | | | | | | | | | | | specified on the commandline. Changed the behaviour; the first argument on the commandline is the file on display
* | | Fix #442 (#446)Kirawi2021-07-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix #442 fix #442 fmt * create Rope from default line ending * Fix use of encoding in Document::open()
* | | Further simplify error handling in :commandsBlaž Hrastnik2021-07-11
| | |
* | | Make command implementation return a Result<()>Lionel Flandrin2021-07-11
| |/ |/| | | | | The error message is displayed with cx.editor.set_error.
* | appease clippyBlaž Hrastnik2021-07-05
| |
* | fix: Make path absolute before normalizingBlaž Hrastnik2021-07-05
| | | | | | | | :open ../file.txt failed before because .. would be stripped
* | fix: When calculating relative path, expand tilde lastBlaž Hrastnik2021-07-05
| |
* | Info box add horizontal paddingIvan Tham2021-07-04
| |
* | Reduce calculation and improve pattern in infoboxIvan Tham2021-07-04
| | | | | | | | | | | | - switch to use static OnceCell to calculate Info once - pass Vec<(&[KeyEvent], &str)> rather than Vec<(Vec<KeyEvent>, &str)> - expr -> tt to allow using | as separator, make it more like match
* | Apply suggestions from blaz for infoboxIvan Tham2021-07-04
| |
* | Add infoboxIvan Tham2021-07-04
| |
* | `:reload` (#374)Kirawi2021-07-02
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * reloading functionality * fn with_newline_eof() * fmt * wip * wip * wip * wip * moved to core, added simd feature for encoding_rs * wip * rm * .gitignore * wip * local wip * wip * wip * no features * wip * nit * remove simd * doc * clippy * clippy * address comments * add indentation & line ending change
* Color palettes (#393)Jakub Bartodziej2021-06-30
| | | | | | | | | | | | | | | | | | | * Enable using color palettes in theme files. * Add an example theme defined using a gruvbox color palette. * Fix clippy error. * Small style improvement. * Add documentation for the features to themes.md. * Update runtime/themes/gruvbox.toml Fix the value of purple0. Co-authored-by: DrZingo <DrZingo@users.noreply.github.com> Co-authored-by: DrZingo <DrZingo@users.noreply.github.com>
* Added native Windows clipboard support (#373)Kirawi2021-06-30
| | | | | | | | | | | | | | | | | | | * Added native Windows clipboard support * make conditional wip better conditional wip wip wip wip make conditional
* Make Document's format API a little nicer.Joe Neeman2021-06-30
|
* Make formatting happen asynchronously.Joe Neeman2021-06-30
|
* Simplify selection rendering by injecting highlight scopesBlaž Hrastnik2021-06-27
|
* Detect file language before file indent style.Nathan Vegdahl2021-06-26
| | | | | | | Fixes #378. The issue was that because indent style detection ran before language detection, there was no language indent style to fall back on if indent style detection failed, so it would just default to 2 spaces.
* Move helix-view/tests/*txt files to txts subdirectory (#372)teenjuna2021-06-25
| | | | | * Move helix-view/tests/*txt files to txts subdirectory * Rename tests/txts to tests/encoding
* fix: crossterm -> input key conversionBlaž Hrastnik2021-06-25
|
* 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>
* Fix previous broken refactor key into helix-viewIvan Tham2021-06-24
| | | | | | | | Need to be used for autoinfo Revert "Revert "Refactor key into helix-view"" This reverts commit 10f9f72232f5789323d689bf0f9cd359715770d6.
* add missing docShafkath Shuhan2021-06-23
|
* Handle non-UTF8 filesShafkath Shuhan2021-06-23
|
* Fix flipped condition where Helix adds a line ending on open.Nathan Vegdahl2021-06-23
|
* Add surround keybindsGokul Soumya2021-06-22
|
* Merge pull request #224 from helix-editor/line_ending_detectionBlaž Hrastnik2021-06-22
|\ | | | | Line ending detection
| * Add function to get the line ending of a str slice.Nathan Vegdahl2021-06-21
| | | | | | | | This is needed in some places.
| * Don't need getters/setters for line_ending property.Nathan Vegdahl2021-06-21
| | | | | | | | | | It's plain-old-data. If we want to do fancier things later, it's easy to switch back.
| * Merge branch 'master' of github.com:helix-editor/helix into ↵Nathan Vegdahl2021-06-20
| |\ | | | | | | | | | | | | | | | | | | line_ending_detection Rebasing was making me manually fix conflicts on every commit, so merging instead.
| * | Work on moving code over to LineEnding instead of assuming '\n'.Nathan Vegdahl2021-06-20
| | | | | | | | | | | | Also some general cleanup and some minor fixes along the way.
| * | Misc fixes and clean up of line ending detect code.Nathan Vegdahl2021-06-20
| | |
| * | changed some hardcoded newlines, removed a else if in line_ending.rsJan Hrastnik2021-06-19
| | |
| * | Merge remote-tracking branch 'origin/master' into line_ending_detectionJan Hrastnik2021-06-19
| |\ \