Skip to content

Conversation

@microbit-matt-hillsdon
Copy link
Contributor

It can be null if the workspace has never taken focus but it's unhelpful to behave as if the user had selected the workspace itself (as via 'w'). Use the same logic as the workspace would use if it had taken focus, which will return the first block.

Fixes #629

CC @BenHenning in case there's any downside to this I'm not seeing.

It can be null if the workspace has never taken focus but it's unhelpful to
behave as if the user had selected the workspace itself (as via 'w'). Use the
same logic as the workspace would use if it had taken focus, which will return
the first block.

Fixes RaspberryPiFoundation#629
@gonfunko gonfunko merged commit a51caa5 into RaspberryPiFoundation:main Jul 2, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Less helpful behaviour for first insert if you don't navigate to the workspace first

2 participants