LivelyKernel / lively4-core

A Self-supporting, Web-based Development Environment
https://lively-kernel.org/lively4/lively4-core/start.html
MIT License
73 stars 25 forks source link

[editor] Pressing Ctrl + Z deletes whole text in editor when no changes have been made #403

Closed phoeinx closed 4 years ago

phoeinx commented 4 years ago

When pressing Ctrl + Z on a file in an editor where no changes have been made since loading or where every change that has been made since loading has been reverted our expected behaviour would be to do nothing and keep displaying the file at its state from load time. Right now the complete text of the file gets deleted leaving you with an empty editor.