Skip to content

Cursor at independent statement after block highlights previous block in Python #23

@firai

Description

@firai

As shown below, when the cursor is at a statement after a block (print below), the previous block (the if block below) seems to still be highlighted as the active block, which is not expected. If a blank line is inserted above print, then the outer block is highlighted when the cursor is at print as expected.

I understand that some of the detection logic may be upstream, so I'm not sure if this is the right place to file this issue.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions