hedyorg / hedy

Hedy is a gradual programming language to teach children programming. Gradual languages use different language levels, where each level adds new concepts and syntactic complexity. At the end of the Hedy level sequence, kids master a subset of syntactically valid Python.
https://www.hedy.org
European Union Public License 1.2
1.3k stars 285 forks source link

Problem with presenting the Arabic code #3637

Closed marrryam closed 1 month ago

marrryam commented 1 year ago

Arabic hedy: the boundaries of the code editor hides part of the code

In level 1 --> haunted house adventure: When pressing the green button to apply/paste the example code to the hedy editor, then the beginning of each line of the pasted code is partially hidden by the line numbers (see screenshot). The problem persists even when the student/user clears the code and starts writing from scratch, the code will remain being partially hidden at the start of each line.

The problem is not limited to level 1, it can be seen in the following levels for the same adventure (Arabic language).

Screenshot of the problem 2022-11-11_14-31-57

TiBiBa commented 1 year ago

Hi @marrryam! Thanks for creating this issue. I might have an idea what is causing this, will look into this!

Felienne commented 6 months ago

Fixed with the switch to CodeMirror