bbcmicrobit / bbcmicrobit/PythonEditor

Code hinter causes incorrect entry

Aperta
#141 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Autocomplete bug
Lingua principale
JavaScript
Stelle
201
Fork
126
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.