Skip to content

Subtract nb of code lines in Pre to get proper line number information for error messages #469

@aroberge

Description

@aroberge

When pre code is present, it is concatenated with user code before being run. As a result, the line number shown for errors does not correspond to user code. This should be fixed, but likely only after upgrading to CodeMirror v6.

See also #463

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions