GUI crashes when selecting all the text and hitting backspace
Opened this issue · 2 comments
ColinPitrat commented
For example in load/save, select save, type "a" as the filename then select it with shift-left, then press backspace.
The GUI crashes.
ColinPitrat commented
Interestingly, shift-home then backspace works fine.
ColinPitrat commented
Fixed in ffe05f8
Will keep this issue open to consider:
- adding tests on this code
- factorizing wg_editbox and wg_textbox
- looking for similar bugs with this code: the handling of selection is fishy and may hide other issues. Refactoring may be desirable.