createSourceViewer(parent);
whitespaceCharacterPainter = new WhitespaceCharacterPainter(viewer);
showingInvisibles = false;
colourer = new SwtColourer(this);
mateDocument = new SwtMateDocument(this);
grammarListeners = new ArrayList<IGrammarListener>();
getTextWidget().setLeftMargin(5);
logger = Logger.getLogger("JMV.MateText");
logger.setUseParentHandlers(false);