Jörg Breitbart
d1fdaa17d6
apply font variant, some cleanup
2023-07-29 14:16:47 +02:00
Jörg Breitbart
5bdd5022b2
some cleanup, use faster str join for classes
2023-07-28 19:33:38 +02:00
Jörg Breitbart
370bad1380
better caching:
...
- own cache class with flat and holey cache
- use letter spacing
- on-demand measuring
2023-07-28 18:36:01 +02:00
Jörg Breitbart
4bd3e1d0c2
remove magic numbers
2023-07-25 13:19:08 +02:00
Jörg Breitbart
ad145541af
exclude bold&italic variants from merge, limit glyph calc to latin + latin supplement
2023-07-25 12:47:35 +02:00
Jörg Breitbart
37153018b9
fix BCE
2023-07-24 16:06:19 +02:00
Jörg Breitbart
aa6e8d91c2
cleanup
2023-07-22 22:50:05 +02:00
Jörg Breitbart
089dc282c3
fix hover underline
2023-07-22 22:18:12 +02:00
Jörg Breitbart
329b465a63
fix SP for underline/overline
2023-07-22 16:53:13 +02:00
Jörg Breitbart
6785dc19ab
exclude combined from merge, fix linter
2023-07-22 16:32:01 +02:00
Jörg Breitbart
c515cc2823
fix ext underline handling
2023-07-22 16:20:47 +02:00
Jörg Breitbart
848f89e8a7
fix char under cursor
2023-07-22 15:24:50 +02:00
Jörg Breitbart
514afcd445
fix bad runtime of merger
2023-07-22 13:29:26 +02:00
Jörg Breitbart
3e13abf974
fix selection handling
2023-07-22 13:01:53 +02:00
Jörg Breitbart
4cfe32f626
make linter happy
2023-07-22 11:08:51 +02:00
Jörg Breitbart
f36954764d
faster DOM updates
2023-07-22 11:00:12 +02:00
Daniel Imms
cdec1e5b03
Merge pull request #4526 from Tyriar/4499_overline
...
Add support for SGR 53 overline and SGR 55 not overline
2023-05-20 14:21:22 -07:00
Daniel Imms
2bfd95fe54
Add support for SGR 53, 55 overline
...
Specced in ECMA-48
2023-05-20 09:56:56 -07:00
Daniel Imms
539fed4daa
Don't apply dim to background color
...
Fixes #4161
2023-05-20 08:13:50 -07:00
Jörg Breitbart
becec91e98
better regexp, fix offset issue in #4294
2022-12-08 17:35:45 +01:00
Jörg Breitbart
3bf72cdefc
DOM renderer fix with much better performance
2022-12-05 15:50:29 +01:00
Jörg Breitbart
39c2e57ad3
hack around DOM renderer issue, fix api tests
2022-12-04 22:26:29 +01:00
Daniel Imms
6e35bcd767
Use theme service in more places
2022-10-08 13:55:23 -07:00
Daniel Imms
c4750eaf77
Create basic theme service
...
Part of #4184
2022-10-08 11:43:19 -07:00
Daniel Imms
eecf52e949
Add lint rule to ensure on prefix is only for event emitters
...
Fixes #4183
2022-10-08 10:57:31 -07:00
Daniel Imms
c5f9eacbb1
Move other render parts to shared folder
2022-10-01 17:41:16 -07:00
Daniel Imms
23328a394b
Fix trusted types in dom renderer
...
Fixes #4156
2022-09-27 13:01:36 -07:00
Daniel Imms
0727741ca1
Remove iterators from IDecorationService
...
They're too low performance for typical use cases
Fixes #4079
2022-08-27 20:50:16 -07:00
Daniel Imms
e0d4384d3c
Merge branch 'master' into underline
2022-07-30 06:40:41 -07:00
Daniel Imms
ff33834eb2
Merge branch 'master' into inactiveSelection
2022-07-29 14:51:22 -07:00
Daniel Imms
b0c29cac9a
Merge pull request #3932 from Tyriar/tyriar/dim_bg
...
Fix inverse dim rendering on canvas+webgl
2022-07-29 14:50:47 -07:00
Daniel Imms
6493679b2e
Inactive selection bg in dom renderer
...
Part of #3803
2022-07-29 11:00:36 -07:00
Daniel Imms
9cb25fbf06
Rename ITheme.selection to selectionBackground
...
This makes it consistent with selectionForeground and other theme keys and
as a result will make the API easier to work with, especially when inactive
selection is done (#3803 )
2022-07-29 10:34:27 -07:00
Daniel Imms
d2be5f992a
Merge remote-tracking branch 'upstream/master' into underline
2022-07-28 07:01:41 -07:00
Daniel Imms
84b259dfa5
Merge remote-tracking branch 'upstream/master' into tyriar/dim_bg
2022-07-28 06:57:27 -07:00
Daniel Imms
1c6ce99419
Move canvas renderer contents into addon
2022-07-27 10:26:02 -07:00
Daniel Imms
f4ffb13ece
Render dim bg in all renderers
...
Fixes #3534
2022-07-24 10:59:24 -07:00
Daniel Imms
1f89223c2a
DOM renderer underline color
2022-07-23 10:26:20 -07:00
Daniel Imms
72d18f7d5e
DOM renderer underline style
2022-07-23 09:20:53 -07:00
Daniel Imms
efb939d171
Fix column selection issues
...
The following parts were not respecting the column selection edge case where the
start column was greater than the end column while the start row was less than the
end row:
- Webgl renderer
- DOM renderer
- Selection service (ie. getSelection(), I don't think this was a
regression)
Fixes #3855
2022-06-14 06:51:54 -07:00
Megan Rogge and Daniel Imms
bc9c9dd6fd
fix #3846 ( #3849 )
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-06-02 18:02:36 +00:00
Megan Rogge
6b16732192
exclude box and block glyphs from contrast ratio demands ( #3844 )
2022-06-01 17:05:27 -07:00
Daniel Imms
6ced3014cf
Support opaque selections in DOM renderer
...
Brings the DOM renderer closer to the webgl renderer which draws the text
on top of the selection. This is done by leveraging the override system
similar to in webgl and as well as forcing the element above the selection.
This also improves contrast color caching for the DOM renderer.
This should result in a slight performance hit but only when a selection
is being made. The improved contrast seems worth it.
Fixes #3838
2022-05-27 10:38:32 -07:00
Daniel Imms
d1a87facfd
Fix selectionForeground column select mode on dom/canvas
2022-05-17 12:10:52 -07:00
Daniel Imms
d6ad4a4fc3
Remove unneeded dep
2022-05-17 11:41:13 -07:00
Daniel Imms
d7fdf17eab
Ensure color mode is set for selection foreground overrides
2022-05-17 11:20:20 -07:00
Daniel Imms
eb96187801
Support selectionForeground in dom
...
Part of #3810
2022-05-16 10:08:51 -07:00
Daniel Imms and Megan Rogge
a458bae36d
Update src/browser/renderer/dom/DomRendererRowFactory.ts
...
Co-authored-by: Megan Rogge <megan.rogge@microsoft.com >
2022-05-13 08:46:40 -07:00
Daniel Imms
1a50cfabe0
Dom renderer: top decorations above selection
...
Fixes #3799
2022-05-13 07:56:45 -07:00
Daniel Imms
7b4423819e
Support setting the layer of a decoration
...
Fixes #3778
2022-05-12 10:51:11 -07:00