* To initialize the EMFTextTokenScanner. Must be called before the text to style will be styled.
* @param sourceText the text to style
*/
private void initTokenScanner(){
sourceText = getSyntaxContent();
IColorManager colorManager = metaInformation.createColorManager();
tokenScanner = metaInformation.createTokenScanner(colorManager);
IDocument doc = new Document(sourceText);
int length = doc.getLength();
tokenScanner.setRange(doc, 0, length);
}