yu.ac.bg.etf.javaqx.qswingx.text.code
Class JavaHighlighter

java.lang.Object
  extended byyu.ac.bg.etf.javaqx.qswing.text.TextHighlighter
      extended byyu.ac.bg.etf.javaqx.qswingx.text.code.JavaHighlighter

public class JavaHighlighter
extends TextHighlighter

Java Syntax Highlighter.

NOTE: This is an ad hoc implementation.

Version:
0.2.0
Author:
Slobodan Vrkacevic (slobodan.vrkacevic@gmail.com)

Constructor Summary
JavaHighlighter()
          Constructs new JavaHighlighter object.
 
Method Summary
protected  void highlightBlock(int blockStart, java.lang.String blockText)
          Highlighs specified block of text.
 
Methods inherited from class yu.ac.bg.etf.javaqx.qswing.text.TextHighlighter
setFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaHighlighter

public JavaHighlighter()
Constructs new JavaHighlighter object.

Method Detail

highlightBlock

protected void highlightBlock(int blockStart,
                              java.lang.String blockText)
Highlighs specified block of text.

Specified by:
highlightBlock in class TextHighlighter
Parameters:
blockStart - the start of the block
blockText - the text of the block


Copyright © 2007 ETF and contributors. All Rights Reserved.