Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[insiders]Cursor wont head to right any more in editor #12072

Closed
emeryao opened this issue Sep 15, 2016 · 3 comments
Closed

[insiders]Cursor wont head to right any more in editor #12072

emeryao opened this issue Sep 15, 2016 · 3 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@emeryao
Copy link

emeryao commented Sep 15, 2016

  • VSCode Version:
    1.6.0-insider
    Commit fad6a89
    Date 2016-09-14T11:13:18.419Z
  • OS Version: Win10 x64 14926

Steps to Reproduce:

  1. open editor and move the cursor to the head of one line (over the line number)
  2. the cursor won't change to a head to right style in recent insider releases (i think this issue is from this week)

this is what it is now in vs code insiders build:
img_20160915_184415919

and this is how it behaves in stable build:
img_20160915_184436545

missing of this feature really bothered me 😭

@emeryao emeryao changed the title Cursor wont head to right any more in editor [insiders]Cursor wont head to right any more in editor Sep 15, 2016
@bpasero
Copy link
Member

bpasero commented Sep 15, 2016

Duplicate: #8708

/cc @bgashler1

@bpasero bpasero closed this as completed Sep 15, 2016
@bpasero bpasero added the *duplicate Issue identified as a duplicate of another issue(s) label Sep 15, 2016
@emeryao
Copy link
Author

emeryao commented Sep 17, 2016

I got a TEMPORARY solution for this issue:
change the css class of .monaco-editor .margin-view-overlays .line-numbers in file workbench.main.css
with the style below:

cursor: -webkit-image-set(url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='45' widht='30' viewBox='0 0 15 21'%3E%3Cpath fill='%23fff' stroke='%23000' d='M14.5 1.2L1.9 13.8h5.2l-2.6 5.3 3.2 1 2.6-5.2 4.2 3.1z'/%3E%3C/svg%3E") 2x) 30 0,default;

the key of this TEMPORARY solution is the height and width attribute of the svg tag.

@bpasero
Copy link
Member

bpasero commented Sep 17, 2016

@emeryao great insights, can you add this to the still open issue where we track it now? #8708

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

2 participants