Removed unused imports.
Fixed some whitespace.
Arranged the code.
Removed the old styling method also from GenericTextEditorImpl, now it uses Styler.
Modified applyActiveBracket() to call styler's highlightBracket()