Editor pane goes crazy after hitting Ctrl+Shift+O
grayswandyr opened this issue · comments
This issue is present in (at least) A6 and A6.1-alpha, at least on Linux.
Take the following edition:
After hitting Ctrl+Shift+O, the edition frame goes blank (and Ctrl+Z doesn't seem to bring it back). Behind the scene, it seems characters are taken into account since the line and column counters change if some text is input.
Users might lose a model because of a bad keystroke.
I can't find that shortcut on the source code (nor on the macos GUI), what was it supposed to do?
Nothing that I know :-)
I typed it mistakenly and it blew my model away. And Undo doesn't fix this.
Ok, after some digging it seems like that is a shortcut from swing's JTextPane that toggles the orientation of the component. Why it is causing that weird behaviour in the Analyzer is beyond my expertise, what I can do is just disable that shortcut :)
Looks safer!