Pascal Kuthe
71ee589bbc
make underline_style a seperate option
...
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.
2022-10-01 19:29:46 +02:00
A-Walrus
79a39c1063
Fix failing tests
...
Add underline field to doctests, and fix bugs
2022-10-01 17:00:35 +02:00
A-Walrus
3ad7d543ca
Add separate color for underlines
2022-10-01 17:00:34 +02:00
Gokul Soumya
999b45b28c
Support different kinds of underline rendering
...
Adds four new modifiers that can be used in themes:
- undercurled
- underdashed
- underdotted
- double-underline
2022-10-01 17:00:32 +02:00
Charlie Groves
4b6c4ae6ee
Fix LF line-endings ( #3316 )
2022-08-03 07:53:57 -05:00
Gokul Soumya
8e8367eea6
Refactor Margin for fine grained control ( #2727 )
2022-06-22 01:52:08 +09:00
Blaž Hrastnik
e2d2f19fd0
Merge pull request #1154 from sudormrfbin/cursor-shape-new
...
Change cursor shape on mode change
2022-01-23 16:35:22 +09:00
Mathis Brossier
f5b0821860
Fix panics when resizing ( #1408 )
...
* 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>
2022-01-16 10:55:28 +09:00
Gokul Soumya
449624965b
Merge branch 'master' into cursor-shape-new
2022-01-06 11:32:03 +05:30
Gokul Soumya
d4fb1d0633
Merge branch 'master' into cursor-shape-new
2021-12-18 08:33:15 +05:30
Blaž Hrastnik
34f46e7502
Bump rust to 1.57, fix new lint failures
2021-12-03 12:48:07 +09:00
Gokul Soumya
17473b51d3
Use serde attribute to rename to lowercase
2021-11-25 22:35:07 +05:30
Gokul Soumya
7961355ba1
Change cursor shape on mode change
...
Fixes #323 . Due to terminal limitations we can only
change the shape of the primary cursor.
2021-11-24 12:26:49 +05:30
Gokul Soumya
e40e6db227
feat: Default theme palette using 16 terminal colors
2021-09-05 12:42:03 +09:00
Gokul Soumya
f9375f449c
Refactor new Rect construction ( #575 )
...
* Refactor new Rect construction
Introduces methods that can be chained to construct new Rects
out of pre-existing ones
* Clamp x and y to edges in Rect chop methods
* Rename Rect clipping functions
2021-08-21 14:21:20 +09:00
Gokul Soumya
25a8a475c5
Refactor theme parsing ( #570 )
2021-08-12 10:00:19 +09:00
Kirawi
815ee9e334
fix small terminal size panic with info popup ( #563 )
...
* fix small terminal size panic with info popup
* remove unused enumerator
* fix subtraction overflow panic
2021-08-09 15:46:58 +09:00
Ivan Tham
821565e4ef
Add ctrl-z to suspend
2021-08-03 09:32:21 +09:00
Keith Simmons
4418e17547
reverse the dependency between helix-tui and helix-view ( #366 )
...
* 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>
2021-06-25 12:58:15 +09:00