aboutsummaryrefslogtreecommitdiff
path: root/helix-tui
Commit message (Collapse)AuthorAge
* build(deps): bump crossterm from 0.23.0 to 0.24.0 (#2968)dependabot[bot]2022-07-05
| | | | | | | | | | | | | | | | | Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.23.0 to 0.24.0. - [Release notes](https://github.com/crossterm-rs/crossterm/releases) - [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md) - [Commits](https://github.com/crossterm-rs/crossterm/compare/0.23...0.24) --- updated-dependencies: - dependency-name: crossterm dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Reuse menu::Item trait in picker (#2814)Gokul Soumya2022-07-02
| | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor menu::Item to accomodate external state Will be useful for storing editor state when reused by pickers. * Add some type aliases for readability * Reuse menu::Item trait in picker This opens the way for merging the menu and picker code in the future, since a picker is essentially a menu + prompt. More excitingly, this change will also allow aligning items in the picker, which would be useful (for example) in the command palette for aligning the descriptions to the left and the keybinds to the right in two separate columns. The item formatting of each picker has been kept as is, even though there is room for improvement now that we can format the data into columns, since that is better tackled in a separate PR. * Rename menu::Item::EditorData to Data * Call and inline filter_text() in sort_text() completion * Rename diagnostic picker's Item::Data
* Add workspace and document diagnostics picker (#2013)Falco Hirschenberger2022-06-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add workspace and document diagnostics picker fixes #1891 * Fix some of @archseer's annotations * Add From<&Spans> impl for String * More descriptive parameter names. * Adding From<Cow<str>> impls for Span and Spans * Add new keymap entries to docs * Avoid some clones * Fix api change * Update helix-term/src/application.rs Co-authored-by: Bjorn Ove Hay Andersen <bjrnove@gmail.com> * Fix a clippy hint * Sort diagnostics first by URL and then by severity. * Sort diagnostics first by URL and then by severity. * Ignore missing lsp severity entries * Add truncated filepath * Typo * Strip cwd from paths and use url-path without schema * Make tests a doctest * Better variable names Co-authored-by: Falco Hirschenberger <falco.hirschenberger@itwm.fraunhofer.de> Co-authored-by: Bjorn Ove Hay Andersen <bjrnove@gmail.com>
* Refactor Margin for fine grained control (#2727)Gokul Soumya2022-06-21
|
* Make Borders u8Ivan Tham2022-05-22
|
* Refactor Block with Default and bitflagsIvan Tham2022-05-22
| | | | | Specifying empty for bitflags is not recommended, it is now removed and added Default. For BorderType, it now defaults to plain.
* fix typos (#2304)chunghha2022-04-27
|
* Highlight matching text in file picker suggestions (#1635)Ludwig Stecher2022-03-01
| | | | | | | * Highlight matching text in file picker suggestions * Remove cache, specialize highlighting code * Fix outdated comments
* Fix 1.60 lintsBlaž Hrastnik2022-02-25
|
* build(deps): bump unicode-segmentation from 1.8.0 to 1.9.0 (#1632)dependabot[bot]2022-02-07
| | | | | | | | | | | | | | | | Bumps [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation) from 1.8.0 to 1.9.0. - [Release notes](https://github.com/unicode-rs/unicode-segmentation/releases) - [Commits](https://github.com/unicode-rs/unicode-segmentation/commits) --- updated-dependencies: - dependency-name: unicode-segmentation dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update dependencies (crossterm 0.23, tree-sitter 0.20.4)Blaž Hrastnik2022-02-07
| | | | Fixes #677
* fix: Revert Block widget change that broke autoinfo backgroundBlaž Hrastnik2022-02-07
|
* Render code actions as a menu, allow adding padding to popupBlaž Hrastnik2022-01-31
|
* Fix Clippy lints in tests (#1563)Omnikar2022-01-23
| | | Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Don't calculate symbol width twiceBlaž Hrastnik2022-01-23
| | | | This is potentially costly so we should avoid calling width()
* Update to rust 1.58, fix a bunch of optional lintsBlaž Hrastnik2022-01-16
|
* Fix panics when resizing (#1408)Mathis Brossier2022-01-16
| | | | | | | | | | | * Change buffer.get & buffer.get_mut to return Option, Implement Trait Index & IndexMut to panic * Prevent FilePicker from drawing outside buffer (rust panics) * apply suggestion * add function in_bounds to avoid useless calculations Co-authored-by: mathis <mathis.brossier@universite-paris-saclay.fr>
* Release 0.6Blaž Hrastnik2022-01-04
|
* Fix grammatical error (#1427)dumrich2022-01-04
| | | it's to its (possessive)
* Bump rust to 1.57, fix new lint failuresBlaž Hrastnik2021-12-03
|
* Truncate the starts of file paths instead of the ends in picker (#951)Omnikar2021-11-04
| | | | | | | | | | | | | * Truncate the starts of file paths in picker * Simplify the truncate implementation * Break loop at appropriate point * Fix alignment and ellipsis presence * Remove extraneous usage of `x_offset` Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Release v0.5.0Blaž Hrastnik2021-10-28
|
* Update to rust 1.56 + 2021 editionBlaž Hrastnik2021-10-22
|
* Update dependencies to bump crossterm to 0.22.1Blaž Hrastnik2021-10-19
| | | | | Fixes #825 Fixes #690
* Bump crossterm from 0.20.0 to 0.21.0 (#644)dependabot[bot]2021-08-24
| | | | | | | | | | | | | | | | | Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.20.0 to 0.21.0. - [Release notes](https://github.com/crossterm-rs/crossterm/releases) - [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md) - [Commits](https://github.com/crossterm-rs/crossterm/commits) --- updated-dependencies: - dependency-name: crossterm dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump bitflags from 1.3.1 to 1.3.2 (#600)dependabot[bot]2021-08-17
| | | | | | | | | | | | | | | | | Bumps [bitflags](https://github.com/bitflags/bitflags) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/bitflags/bitflags/releases) - [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md) - [Commits](https://github.com/bitflags/bitflags/compare/1.3.1...1.3.2) --- updated-dependencies: - dependency-name: bitflags dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Release v0.4.1Blaž Hrastnik2021-08-14
|
* fix build...Blaž Hrastnik2021-08-12
|
* Release v0.4.0Blaž Hrastnik2021-08-12
|
* Add ctrl-z to suspendIvan Tham2021-08-03
|
* Calculate completion popup sizingBlaž Hrastnik2021-07-19
| | | | Fixes #220
* Bump unicode-segmentation from 1.7.1 to 1.8.0dependabot[bot]2021-07-06
| | | | | | | | | | | | | | Bumps [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation) from 1.7.1 to 1.8.0. - [Release notes](https://github.com/unicode-rs/unicode-segmentation/releases) - [Commits](https://github.com/unicode-rs/unicode-segmentation/compare/1.7.1...v1.8.0) --- updated-dependencies: - dependency-name: unicode-segmentation dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* Apply suggestions from blaz for infoboxIvan Tham2021-07-04
|
* Release 0.3.0Blaž Hrastnik2021-06-27
|
* Address nightly clippy warningsBlaž Hrastnik2021-06-27
|
* Trait width method use refactorIvan Tham2021-06-26
|
* Use unicode_width to correctly truncate picker charsGokul Soumya2021-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>
* Add … when chars are truncated in pickerGokul Soumya2021-06-25
|
* 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.
| * Fix doc warningsIvan Tham2021-06-20
| |
| * Fix tests failing on cargo test --releaseBlaž Hrastnik2021-06-20
| |
* | 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.
* cargo: add more metadata to manifestsBenoît CORTIER2021-06-19
|
* Run cargo-dietBenoît CORTIER2021-06-19
| | | | | | cargo-diet is a helper for computing the optimal `include` directives for Cargo.toml manifests. https://github.com/the-lean-crate/cargo-diet
* Add other cursor shapeIvan Tham2021-06-15
|
* Add cursor kind to separate hidden cursor from posIvan Tham2021-06-15
| | | | | Now IME cursor position should be correct since we can still set cursor position without drawing the cursor.
* Bump crossterm from 0.19.0 to 0.20.0dependabot[bot]2021-06-14
| | | | | | | | | | | | | | | Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.19.0 to 0.20.0. - [Release notes](https://github.com/crossterm-rs/crossterm/releases) - [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md) - [Commits](https://github.com/crossterm-rs/crossterm/compare/0.19...0.20) --- updated-dependencies: - dependency-name: crossterm dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* Release v0.2.0Blaž Hrastnik2021-06-13
|
* Derive debug without featureIvan Tham2021-06-10
| | | | Note that this also removed those `finish_non_exhaustive()`.