Skip to content

[Toolkits] Insert code line break issue with blank editor #336

@microbit-matt-hillsdon

Description

@microbit-matt-hillsdon

image

Code in the CMS is sensible, so this is a bug in our handling of the imports:

from microbit import *
import music


display.scroll('score', delay=100, loop=True, wait=False) 
music.play(music.ODE)

Should be easy to repro in a unit test.

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