| Commit message (Collapse) | Author | Age |
|
|
|
| |
when `truncate_start` is `true`, the `x_offset` is now properly updated
according to the width of the content or the truncated length.
|
| |
|
|
|
|
| |
Now the editor can fill **very** large terminals.
Changed/removed tests which check the truncating behaviour.
|
|
|
|
|
|
|
|
|
|
| |
Underline styles are mutally exclusive and overwrite each other.
Therefore implementing as an modifier lead to incorrect behaviour
when the underline style is overwritten.
For backwards compatability the "underline" modified is retained (but
deprecated). Instead the "underline_style" and "underline_color"
optios should be used to style underlines.
|
|
|
|
| |
Add underline field to doctests, and fix bugs
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Highlight matching text in file picker suggestions
* Remove cache, specialize highlighting code
* Fix outdated comments
|
|
|
|
| |
This is potentially costly so we should avoid calling width()
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
| |
|
| |
|
|
We only rely on some of the rendering primitives and implement our
Cursive-style compositor on top.
|