Skip to content

editor.renderWhitespace: "boundary" renders whitespace at line wrap point when line is wrapped #38123

Closed

Description

  • VSCode Version: 1.18.0 64-bit
  • OS Version: Windows 10 64-bit

A screenshot of Visual Studio Code displaying the issue
Screenshot of the issue

Steps to Reproduce:

  1. In the user settings, set editor.renderWhitespace to "boundary"
  2. In the user settings, set editor.wordWrap to any value other than "off"
  3. Open an editor and type a line that is long enough to trigger word wrap (line must contain some whitespace)
  4. Observe that at the point where the line wraps, a whitespace character indicator is rendered

Expected behavior:

No whitespace character indicator is rendered at the point where the line wraps, because it's not actually the end of the line and the boundary option isn't supposed to render single spaces between words.

A screenshot of Visual Studio Code edited to show the expected behavior
Screenshot edited to show the expected behavior

Reproduces without extensions: Yes

If this is by design, it would be great to have an option to change this behavior to reduce visual noise 🙂

Activity

  1. added
    editor-core
    on Nov 11, 2017
  2. added
    bug
    on Nov 13, 2017
  3. added
    editor-rendering
    and removed
    editor-core
    on Apr 19, 2018
  4. added
    verified
    on May 30, 2018
  5. locked and limited conversation to collaborators on Jun 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugeditor-renderingverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions