codemirror-indentation-markers icon indicating copy to clipboard operation
codemirror-indentation-markers copied to clipboard

Cursor at independent statement after block highlights previous block in Python

Open firai opened this issue 2 years ago • 0 comments

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

firai avatar Oct 16 '23 14:10 firai