Skip to content

OffsetPosition in scala.util.parsing.input does not support mac line endings (\r) #5669

Closed
@scabug

Description

@scabug

OffsetPosition currently only looks for \n when calculating line breaks, causing files with mac line endings to appear as 1 enormously long line. This is similar to the problem described in #2543, but in OffsetPosition instead of Source.

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