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

Code preview on right covers a few characters #49494

Closed
pwschaedler opened this issue May 8, 2018 · 3 comments
Closed

Code preview on right covers a few characters #49494

pwschaedler opened this issue May 8, 2018 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-wrapping Editor line wrapping issues

Comments

@pwschaedler
Copy link

Issue Type: Bug

Specifically working on an HTML file, the code preview on the right covers a few characters, so the cursor becomes invisible. Seems to be the same as #31312, which was closed

VS Code version: Code 1.23.0 (7c7da59, 2018-05-03T15:23:14.634Z)
OS version: Darwin x64 17.5.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
video_decode: enabled
video_encode: enabled
vpx_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 16.00GB (2.78GB free)
Process Argv /Applications/Visual Studio Code.app/Contents/MacOS/Electron
Screen Reader no
VM 0%
Extensions (13)
Extension Author (truncated) Version
EditorConfig Edi 0.12.1
latex-workshop Jam 5.3.3
format-php Kas 1.1.2
language-haskell jus 2.4.0
python ms- 2018.4.0
cpptools ms- 0.17.0
prolog reb 0.0.4
java red 0.24.0
vscode-java-debug vsc 0.9.0
vscode-java-pack vsc 0.3.0
vscode-java-test vsc 0.6.1
vscode-maven vsc 0.7.0
markdown-pdf yza 1.2.0

(2 theme extensions excluded)

@vscodebot vscodebot bot added the terminal General terminal issues that don't fall under another label label May 8, 2018
@Tyriar Tyriar assigned alexdima and unassigned Tyriar May 11, 2018
@Tyriar Tyriar added editor-minimap Code/Text minimap widget issues and removed terminal General terminal issues that don't fall under another label labels May 11, 2018
@alexdima
Copy link
Member

@pwschaedler I can no longer reproduce #31312. Can you please share your settings and perhaps a screenshot of the problem.

@alexdima alexdima added info-needed Issue requires more information from poster and removed editor-minimap Code/Text minimap widget issues labels May 15, 2018
@pwschaedler
Copy link
Author

pwschaedler commented May 15, 2018

Here are my user settings:

{
    "editor.fontFamily": "Inconsolata, Menlo, Monaco, 'Courier New', monospace",
    "editor.fontSize": 14,
    "files.hotExit": "off",
    "editor.wordWrap": true,
    "workbench.iconTheme": "vs-seti",
    "[python]": {
        "editor.insertSpaces": true
    },
    "workbench.colorTheme": "Smyck",
    "python.pythonPath": "/usr/local/bin/python3",
    "python.linting.pylintArgs": [
        "--extension-pkg-whitelist=numpy"
    ],
    "workbench.startupEditor": "newUntitledFile",

    "editor.quickSuggestions": false,
    "editor.suggestOnTriggerCharacters": false,
    "editor.wordBasedSuggestions": false,
    "editor.quickSuggestionsDelay": 1000000,
    "editor.parameterHints": false,
    "latex-workshop.view.pdf.viewer": "tab"
}

And a screenshot of the issue:
screen shot 2018-05-15 at 1 09 33 am

Edit: It may also be worth mentioning that a horizontal scroll bar does also appear, so it is possible to see the hidden characters by scrolling. However, word wrap is on.

@alexdima
Copy link
Member

Thanks for the screenshot, this clarifies things!

The root cause are the CSS color boxes, which are not taken into account when wrapping is computed. Duplicate of #32856.

@alexdima alexdima added editor-wrapping Editor line wrapping issues *duplicate Issue identified as a duplicate of another issue(s) and removed info-needed Issue requires more information from poster labels May 15, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 29, 2018
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
Projects
None yet
Development

No branches or pull requests

3 participants