bbcmicrobit / bbcmicrobit/PythonEditor

Code hinter causes incorrect entry

Đang mở
#141 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
Autocomplete bug
Ngôn ngữ chính
JavaScript
Star
201
Fork
126
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.