Refactor preferences dialog for HighlightingColours struct, which will be used for the updated XmlSyntaxHighlighter.