Further work on the Swing editor.

- added a helper for combining the lexer and parser into
  a single facade;
- syntax highlighting works properly;
- rudimental error marking is in place.