Scala text editor