Skip to content

Implement FontStyle.Strikethrough - #159

Merged
Alexandru Dima (alexdima) merged 3 commits into
mainfrom
unknown repository
Dec 17, 2021
Merged

Alexandru Dima (alexdima) merged 3 commits into
mainfrom
unknown repository

Conversation

@ghost

@ghost Deleted user (ghost) commented Dec 15, 2021 •

Copy link
Copy Markdown

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

Closes #158.

@alexdima

Copy link
Copy Markdown
Member

I think we should also adjust

export const enum TemporaryStandardTokenType {

@ghost

Copy link
Copy Markdown
Author

Alright will we be removing MetaEmbedded prop?

@alexdima

Copy link
Copy Markdown
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
Copy Markdown
Author

Oh right tests will need updating too

@alexdima

Copy link
Copy Markdown
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
Copy Markdown
Author

Huh it's passing nice

@alexdima

Alexandru Dima (alexdima) commented Dec 17, 2021 •

Copy link
Copy Markdown
Member

Nice! Thank you!

I will look into reviving microsoft/vscode#131428

@alexdima
Alexandru Dima (alexdima) merged commit 4f1272a into microsoft:main Dec 17, 2021
@ghost
ghost deleted the feat-fontstyle-strikethrough branch December 17, 2021 08:58
Sebastian Thomschke (sebthom) added a commit to sebthom/tm4e that referenced this pull request Apr 28, 2022
Sebastian Thomschke (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