Skip to content

Restoring cursor position can be incorrect if cursor starts inside import block #21

@lencioni

Description

@lencioni

When replacing the buffer we track the cursor position and then simply move it by the number of lines that were added. If you happen to be in the imports block, this can be incorrect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions