Skip to content

cursor invisible in column 0 #179

@cben

Description

@cben

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions