-
Notifications
You must be signed in to change notification settings - Fork 41.9k
Adding widthInEm field to injected text options #332340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
a7cad9d
Add injected text decoration fixtures
aiday-mar 2c853b8
Refactor line break test helper for injected text
aiday-mar 691e462
Stabilize injected text decoration fixtures
aiday-mar 32f3b94
Carry fixed width metadata through editor rendering
aiday-mar 85e97b6
Add failing tests for fixed-width injected text
aiday-mar a0b9cd9
Add proportional-font injected text fixture
aiday-mar fd06444
Exercise advanced injected text wrapping
aiday-mar 9f31f53
Support fixed-width injected text wrapping
aiday-mar ab76b1a
Account for inline progress decoration width
aiday-mar be99315
Account for inlay hint spacer width
aiday-mar e3f5e3b
Account for color decorator width when wrapping
aiday-mar 4d66db5
Add fixed-width injected text coverage
aiday-mar 02e2de0
Fix fixed-width injected text rendering
aiday-mar 9d48d56
wip
aiday-mar 90f81cb
wip
aiday-mar 6e9fc0d
review changes
aiday-mar 63a762f
wip
aiday-mar d7c05c2
removing rendering code
aiday-mar 8a2c199
wip
aiday-mar 023ca8a
polishing
aiday-mar cf50a3e
polishing
aiday-mar e68430b
merging main
aiday-mar 0cea148
updating screenshots
aiday-mar cae296f
Remove injected text component fixtures
aiday-mar c61b938
Merge branch 'main' into elated-minnow
alexdima 9739fb7
checking widthInEm is defined, finite and positive
aiday-mar 8b47b84
removing change to inlayhintscontroller
aiday-mar 007cfe5
making firstFixedWidthRange as being potentially undefined more explicit
aiday-mar 5584b63
adding check on fixedWidthRangeIndex index
aiday-mar 6793336
using one accumulator
aiday-mar 4f3b31f
using pixels for wrapping
aiday-mar f55144e
allowing to set empty content
aiday-mar 146580c
polish
aiday-mar 972ac33
putting back inline progress nbsp
aiday-mar eca03a1
updating color decorator screenshots
aiday-mar 9c5aca8
fix 'the wrapping algorithm now wraps immediately after color boxes'
aiday-mar 557720b
fixing https://github.com/microsoft/vscode/pull/332340#discussion_r38β¦
aiday-mar 56a4122
fixing https://github.com/microsoft/vscode/pull/332340#discussion_r38β¦
aiday-mar 661ec86
fixing https://github.com/microsoft/vscode/pull/332340#discussion_r38β¦
aiday-mar 92eac28
align the color decorator bottom
aiday-mar d5a1f60
restoring non breaking space
aiday-mar 16cc4c7
checking is escaped line break at offset charStartOffset
aiday-mar c7060f4
fixing 'Oversized width-only injected text creates an empty output line'
aiday-mar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.