python-editor-v3 icon indicating copy to clipboard operation
python-editor-v3 copied to clipboard

[Drag and drop] Ensure main code is inserted after the imports

Open microbit-matt-hillsdon opened this issue 3 years ago • 0 comments
trafficstars

If there's existing content in the editor then it's possible to insert a code snippet via dnd like this:

image

...which isn't ideal! The cursor position will also be confused as it assumes it should be offset by the length of the inserted imports.

microbit-matt-hillsdon avatar Jan 12 '22 15:01 microbit-matt-hillsdon