Skip to content

Indents might not calculate right #5

@giganteous

Description

@giganteous

I'm running into indentation issues when I'm inserting lines beneath a function definition which is either new, or when wanting to add a line at the first line of the function body:

  1. Coming from the function definition, the indentation comes at the start of the line.
  2. Coming from the first line in the function body acts even more strange, the original firstline, and the cursor land at the start of the line.

I've attached 2 small images to kind of show what I mean.

Barfoo function, with a thing argument:
Image

Before adding a line above List.len:

Image

After adding the line:

Image

Do you need more info, or do you see where the problem is?

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