Skip to content

Emacs tab indent doesn't work on last line in Parinfer on 1.2.2 #1341

@jussiarpalahti

Description

@jussiarpalahti

If you're writing in REPL or on the last line of the file, emacs tab doesn't work, and console gets an error message about every tab pressed:
IndexOutOfBoundsException: Wrong line: 2. Available lines count: 2 <- or what the file's length is

If I add a comment or something as the last line in REPL or code editor, all the preceding lines indent normally. I believe this was working before on 1.2.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    releasedMarks issues which have had the fixes released in a stable build

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions