my own little text editor based on Scala and JavaFX