Skip to content
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

Word Wrap Has Horizontal Scrollbar, Right Content Cut Off #30311

Closed
thnk2wn opened this issue Jul 9, 2017 · 4 comments
Closed

Word Wrap Has Horizontal Scrollbar, Right Content Cut Off #30311

thnk2wn opened this issue Jul 9, 2017 · 4 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-wrapping Editor line wrapping issues feature-request Request for new features or functionality
Milestone

Comments

@thnk2wn
Copy link

thnk2wn commented Jul 9, 2017

  • VSCode Version: Code 1.13.1 (379d2ef, 2017-06-14T18:21:47.485Z)
  • OS Version: Windows_NT ia32 10.0.15063
  • Extensions:
Extension Author Version
spellright ban 1.0.24
cake-vscode cake-build 0.6.0
scriptcsRunner filipw 0.1.0
code-runner formulahendry 0.6.24
csharp ms-vscode 1.11.0
PowerShell ms-vscode 1.4.1
debugger-for-chrome msjsdiag 3.1.6

With wordwrap turned on, I still see the horizontal scrollbar and have to scroll a bit to the right to see all the content, which is hidden behind the right document preview sidebar. I expect there to be no horizontal scrollbar and I expect the right preview sidebar to not be cutting off content at the right side of the doc.

Steps to Reproduce:

  1. Turn on wordwrap (View => Toggle Word wrap)
  2. Open a document like HTML source (maybe generated) that may not have line breaks (or otherwise document with long lines)

vscodewrapscroll

@vscodebot vscodebot bot added editor editor-wrapping Editor line wrapping issues labels Jul 9, 2017
@alexdima
Copy link
Member

This is caused by the color boxes, which are not taken into account when wrapping points get computed.

@alexdima alexdima added feature-request Request for new features or functionality editor-core Editor basic functionality labels Aug 10, 2017
@alexdima alexdima added this to the Backlog milestone Aug 10, 2017
@thnk2wn
Copy link
Author

thnk2wn commented Aug 11, 2017

Is that from an extension or built-in? If built-in I would assume it would be accounted for. I guess I can try turning off the settings for the color previews though it can be handy.

@alexdima alexdima removed editor-core Editor basic functionality editor labels Nov 24, 2017
@alexdima alexdima removed their assignment Nov 24, 2017
@usernamehw
Copy link
Contributor

/duplicate of #32856

@vscodebot vscodebot bot added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 7, 2018
@vscodebot
Copy link

vscodebot bot commented Dec 7, 2018

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Dec 7, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-wrapping Editor line wrapping issues feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

3 participants