1) Close all tabs
2) Click on the editor window (there is a "No open files" alert above but the editor is active
3) Create content
4) Open any other file
5) The "anonymous content" is gone and apparently is unrecoverable.
It should either
Screenshots
I lost quite a chunk of text because of this bug, since I was assuming that being editable that window was at least in some kind of buffer. I should have saved it before, true, but the bug seems serious anyway.
Yep, a known behavior, but I haven't had any idea of how to actually improve this behavior!
Are you able to detect some onchange() like event in the editor component?
If so maybe you can either disable the text entry or force the file name dialog used in File/New.
Not sure if it may help, but even trying to save the text buffer does not work as the system does not offer the filename modal, apparently the text is really orphaned.
Yeah, I'm pretty sure I simply forgot to reimplement that functionality … I'll see to it ;)
Fixed in last commit!