Skip to content

Implement FontStyle.Strikethrough#159

Merged
alexdima merged 3 commits intomainfrom
unknown repository
Dec 17, 2021
Merged

Implement FontStyle.Strikethrough#159
alexdima merged 3 commits intomainfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Dec 15, 2021

Writing tests for this might make us all a little cross (had to!)

Closes #158.

@alexdima
Copy link
Member

I think we should also adjust

export const enum TemporaryStandardTokenType {

@ghost
Copy link
Author

ghost commented Dec 16, 2021

Alright will we be removing MetaEmbedded prop?

@alexdima
Copy link
Member

No, MetaEmbedded is a temporary value that is never really encoded in a 32 bit integer. It becomes 'Other' right before being encoded here. I think the needed change is to change RegEx from 4 to 3.

@ghost
Copy link
Author

ghost commented Dec 16, 2021

Oh right tests will need updating too

@alexdima
Copy link
Member

Yes, looks like there's another StandardTokenType enum here where the RegEx needs to be changed to 3.

@ghost ghost marked this pull request as ready for review December 16, 2021 17:56
@ghost
Copy link
Author

ghost commented Dec 16, 2021

Huh it's passing nice

@alexdima
Copy link
Member

alexdima commented Dec 17, 2021

Nice! Thank you!

I will look into reviving microsoft/vscode#131428

@alexdima alexdima merged commit 4f1272a into microsoft:main Dec 17, 2021
@alexdima alexdima added this to the January 2022 milestone Dec 17, 2021
@ghost ghost deleted the feat-fontstyle-strikethrough branch December 17, 2021 08:58
sebthom added a commit to sebthom/tm4e that referenced this pull request Apr 28, 2022
sebthom added a commit to eclipse-tm4e/tm4e that referenced this pull request May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for FontStyle.Strikethrough (tracking issue)

1 participant