Skip to content

Code text is getting truncated after applying text spacing in windows. #5080

@msftedad

Description

@msftedad

Reproducible in vscode.dev or in VS Code Desktop?

  • Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

Monaco Editor Playground Link

https://stackblitz.com/edit/qyjoz2bx-u7fucnwl?file=src%2fexample.tsx,package.json

Monaco Editor Playground Code

Reproduction Steps

  1. Open the URL: https://stackblitz.com/edit/qyjoz2bx-u7fucnwl?file=src%2fexample.tsx,package.json
  2. Press tab key to reach "open preview in new tab" and press enter key.
  3. "Search globally for a specific value" gets open
  4. Press tab key to search field and on 'line number :1' press right arrow key.
  5. Copy and paste any code.
  6. Observe that, Code's are getting truncated on selected menu item code screen

Actual (Problematic) Behavior

Code text is getting truncated after applying text spacing in windows.

Refer Attachment:

  1. Code text is getting truncated after applying text spacing in windows.png
  2. Code text is getting truncated after applying text spacing in windows.mp4

https://github.com/user-attachments/assets/6688975a-a1e7-4f7c-ad1e-c422f254ec85
Image

Expected Behavior

Code text shouldn't be truncated after applying text spacing in windows.

Additional Context

User Impact:
Users who rely on increased text spacing for readability will be impacted if code text is getting truncated after applying text spacing in windows. This causes readability issues and makes it harder for users with visual or cognitive disabilities to read the text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions