Now the highlighter engine does not directly depend on TextEditor::FontSettings. This also makes things easier for unit testing.