Add basic syntax colouring to editor.