found an awesome pane for scala syntax highlighting! Added it instead of the current TextArea. Needs further testing and experimentation before use.