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

cursor invisible in column 0 #179

Open
cben opened this issue Feb 12, 2018 · 0 comments
Open

cursor invisible in column 0 #179

cben opened this issue Feb 12, 2018 · 0 comments

Comments

@cben
Copy link
Owner

cben commented Feb 12, 2018

The cursor is invisible when at left-most position.

codemirror.css sets:

.CodeMirror pre {
  padding: 0 4px; /* Horizontal padding of content */
}

This is overridden by my renderLine callback for indented soft-wrapping, it sets style="text-indent: -0ex; padding-left: 0ex;" on the pre element :-(

Chromium 63.0.3239.108, Linux, but probably everywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant