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

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

public class CppHighlighter
extends TextHighlighter

C/C++ Syntax Highlighter.

NOTE: This is an ad hoc implementation.

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

Constructor Summary
CppHighlighter()
          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

CppHighlighter

public CppHighlighter()
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.