bbcmicrobit / bbcmicrobit/PythonEditor

Code hinter causes incorrect entry

Offen
#141 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Autocomplete bug
Vorherrschende Sprache
JavaScript
Sterne
201
Forks
126
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

This case found when typing in a _variables.py_ example.

Up to here, all entries and behavior is fine (note cursor position and code hint):
![image](https://user-images.githubusercontent.com/1266318/56397438-9456a200-61f8-11e9-81a2-f709e378046d.png)

And here, one ")" character later, still fine (though I don't see how try/except is a good suggestion)
![image](https://user-images.githubusercontent.com/1266318/56397442-96b8fc00-61f8-11e9-92ef-8b2d2d172ade.png)

But then upon hitting enter key, that "a)" is replaced with the hinted block - not at all what user expects at that moment.
![image](https://user-images.githubusercontent.com/1266318/56397444-9ae51980-61f8-11e9-9448-56e8be8e6f4f.png)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.