public Highlighter(ISourceViewer sourceViewer, IDocument document, IFile file, ISharedTextColors sharedTextColors) { this.sourceViewer = sourceViewer; this.document = document; this.sharedTextColors = sharedTextColors; this.compilationUnitHighlighter = new CompilationUnitHighlighter(); this.textListener = new TextListener(this); initialize(document.get().toCharArray(), true); }
Token(int offset, int length, ISharedTextColors sharedTextColors, LexicalUnit lexicalUnit, Keyword keyword) : super(offset, length, sharedTextColors)
: super(offset, length) { this.sharedTextColors = sharedTextColors; }
StyledPosition(int offset, int length, ISharedTextColors sharedTextColors) : super(offset, length)