Skip to content

cursor invisible in column 0 #179

Open

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.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions