org.kde.qt

Class QSyntaxHighlighter

public class QSyntaxHighlighter extends Qt

Constructor Summary
protected QSyntaxHighlighter(Class dummy)
Method Summary
intcurrentParagraph()
inthighlightParagraph(String text, int endStateOfLastPara)
voidrehighlight()
voidsetFormat(int start, int count, QFont font, QColor color)
voidsetFormat(int start, int count, QColor color)
voidsetFormat(int start, int count, QFont font)
QTextEdittextEdit()

Constructor Detail

QSyntaxHighlighter

protected QSyntaxHighlighter(Class dummy)

Method Detail

currentParagraph

public int currentParagraph()

highlightParagraph

public int highlightParagraph(String text, int endStateOfLastPara)

rehighlight

public void rehighlight()

setFormat

public void setFormat(int start, int count, QFont font, QColor color)

setFormat

public void setFormat(int start, int count, QColor color)

setFormat

public void setFormat(int start, int count, QFont font)

textEdit

public QTextEdit textEdit()