Skip to content

getCurrentBlockRange issues #771

@pfitzseb

Description

@pfitzseb

Most of this is technically correct behaviour, but still unexpected in the context of inline evaluation. It's possible we need two versions of this, one for inline evaluation and one that's actually "correct".


1+1;| returns an empty range but should give 1+1; instead.



|1+1

returns [[0,0], [1,0]] instead of [[1,0], [1,3]], but only when 1+1 is the first expr in the file.


|  1+1

returns an empty range but should instead give the whole line.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions