Code formatting and use of LexicalConstants instead of char literals
Catch CoreExpeption instead of Exception in
Editor.addProblemMarker(String, int) and log it rather than ignore