コード例 #1
0
        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);
        }
コード例 #2
0
 Token(int offset, int length, ISharedTextColors sharedTextColors, LexicalUnit lexicalUnit, Keyword keyword)
     : super(offset, length, sharedTextColors)
コード例 #3
0
     : super(offset, length)
 {
     this.sharedTextColors = sharedTextColors;
 }
コード例 #4
0
 StyledPosition(int offset, int length, ISharedTextColors sharedTextColors)
     : super(offset, length)