You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
3.1 KiB
Java
64 lines
3.1 KiB
Java
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.kde.koala;
|
|
|
|
import org.kde.qt.Qt;
|
|
import org.kde.qt.QColor;
|
|
import org.kde.qt.QTextEdit;
|
|
import org.kde.qt.QtSupport;
|
|
import org.kde.qt.QSyntaxHighlighter;
|
|
|
|
/**
|
|
|
|
\brief Syntax sensitive text highlighter
|
|
@short \brief Syntax sensitive text highlighter
|
|
|
|
*/
|
|
public class KSyntaxHighlighter extends QSyntaxHighlighter {
|
|
protected KSyntaxHighlighter(Class dummy){super((Class) null);}
|
|
public static final int PlainTextMode = 0;
|
|
public static final int RichTextMode = 1;
|
|
|
|
public KSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1, QColor QuoteColor2, QColor QuoteColor3, int mode) {
|
|
super((Class) null);
|
|
newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1,QuoteColor2,QuoteColor3,mode);
|
|
}
|
|
private native void newKSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1, QColor QuoteColor2, QColor QuoteColor3, int mode);
|
|
public KSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1, QColor QuoteColor2, QColor QuoteColor3) {
|
|
super((Class) null);
|
|
newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1,QuoteColor2,QuoteColor3);
|
|
}
|
|
private native void newKSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1, QColor QuoteColor2, QColor QuoteColor3);
|
|
public KSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1, QColor QuoteColor2) {
|
|
super((Class) null);
|
|
newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1,QuoteColor2);
|
|
}
|
|
private native void newKSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1, QColor QuoteColor2);
|
|
public KSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1) {
|
|
super((Class) null);
|
|
newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1);
|
|
}
|
|
private native void newKSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0, QColor QuoteColor1);
|
|
public KSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0) {
|
|
super((Class) null);
|
|
newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0);
|
|
}
|
|
private native void newKSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting, QColor QuoteColor0);
|
|
public KSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting) {
|
|
super((Class) null);
|
|
newKSyntaxHighlighter(textEdit,colorQuoting);
|
|
}
|
|
private native void newKSyntaxHighlighter(QTextEdit textEdit, boolean colorQuoting);
|
|
public KSyntaxHighlighter(QTextEdit textEdit) {
|
|
super((Class) null);
|
|
newKSyntaxHighlighter(textEdit);
|
|
}
|
|
private native void newKSyntaxHighlighter(QTextEdit textEdit);
|
|
public native int highlightParagraph(String text, int endStateOfLastPara);
|
|
/** Deletes the wrapped C++ instance */
|
|
protected native void finalize() throws InternalError;
|
|
/** Delete the wrapped C++ instance ahead of finalize() */
|
|
public native void dispose();
|
|
/** Has the wrapped C++ instance been deleted? */
|
|
public native boolean isDisposed();
|
|
}
|