1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;
import org.kde.qt.Qt;
import org.kde.qt.TQColor;
import org.kde.qt.TQTextEdit;
import org.kde.qt.QtSupport;
import org.kde.qt.TQSyntaxHighlighter;
/**
\brief Syntax sensitive text highlighter
@short \brief Syntax sensitive text highlighter
*/
public class KSyntaxHighlighter extends TQSyntaxHighlighter {
protected KSyntaxHighlighter(Class dummy){super((Class) null);}
public static final int PlainTextMode = 0;
public static final int RichTextMode = 1;
public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2, TQColor QuoteColor3, int mode) {
super((Class) null);
newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1,QuoteColor2,QuoteColor3,mode);
}
private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2, TQColor QuoteColor3, int mode);
public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2, TQColor QuoteColor3) {
super((Class) null);
newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1,QuoteColor2,QuoteColor3);
}
private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2, TQColor QuoteColor3);
public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2) {
super((Class) null);
newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1,QuoteColor2);
}
private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1, TQColor QuoteColor2);
public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1) {
super((Class) null);
newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0,QuoteColor1);
}
private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0, TQColor QuoteColor1);
public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0) {
super((Class) null);
newKSyntaxHighlighter(textEdit,colorQuoting,QuoteColor0);
}
private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting, TQColor QuoteColor0);
public KSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting) {
super((Class) null);
newKSyntaxHighlighter(textEdit,colorQuoting);
}
private native void newKSyntaxHighlighter(TQTextEdit textEdit, boolean colorQuoting);
public KSyntaxHighlighter(TQTextEdit textEdit) {
super((Class) null);
newKSyntaxHighlighter(textEdit);
}
private native void newKSyntaxHighlighter(TQTextEdit 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();
}
|