summaryrefslogtreecommitdiffstats
path: root/sip/tqtext
diff options
context:
space:
mode:
Diffstat (limited to 'sip/tqtext')
-rw-r--r--sip/tqtext/copying.sip51
-rw-r--r--sip/tqtext/tqextscintilla.sip411
-rw-r--r--sip/tqtext/tqextscintillaapis.sip42
-rw-r--r--sip/tqtext/tqextscintillabase.sip1024
-rw-r--r--sip/tqtext/tqextscintillacommand.sip44
-rw-r--r--sip/tqtext/tqextscintillacommandset.sip52
-rw-r--r--sip/tqtext/tqextscintilladocument.sip42
-rw-r--r--sip/tqtext/tqextscintillalexer.sip80
-rw-r--r--sip/tqtext/tqextscintillalexerbash.sip80
-rw-r--r--sip/tqtext/tqextscintillalexerbatch.sip62
-rw-r--r--sip/tqtext/tqextscintillalexercpp.sip98
-rw-r--r--sip/tqtext/tqextscintillalexercsharp.sip47
-rw-r--r--sip/tqtext/tqextscintillalexercss.sip81
-rw-r--r--sip/tqtext/tqextscintillalexerdiff.sip57
-rw-r--r--sip/tqtext/tqextscintillalexerhtml.sip178
-rw-r--r--sip/tqtext/tqextscintillalexeridl.sip43
-rw-r--r--sip/tqtext/tqextscintillalexerjava.sip41
-rw-r--r--sip/tqtext/tqextscintillalexerjavascript.sip47
-rw-r--r--sip/tqtext/tqextscintillalexerlua.sip79
-rw-r--r--sip/tqtext/tqextscintillalexermakefile.sip60
-rw-r--r--sip/tqtext/tqextscintillalexerperl.sip96
-rw-r--r--sip/tqtext/tqextscintillalexerpov.sip85
-rw-r--r--sip/tqtext/tqextscintillalexerproperties.sip68
-rw-r--r--sip/tqtext/tqextscintillalexerpython.sip94
-rw-r--r--sip/tqtext/tqextscintillalexerruby.sip128
-rw-r--r--sip/tqtext/tqextscintillalexersql.sip105
-rw-r--r--sip/tqtext/tqextscintillalexertex.sip57
-rw-r--r--sip/tqtext/tqextscintillamacro.sip49
-rw-r--r--sip/tqtext/tqextscintillaprinter.sip45
-rw-r--r--sip/tqtext/tqtextmod.sip107
30 files changed, 3453 insertions, 0 deletions
diff --git a/sip/tqtext/copying.sip b/sip/tqtext/copying.sip
new file mode 100644
index 0000000..49b4531
--- /dev/null
+++ b/sip/tqtext/copying.sip
@@ -0,0 +1,51 @@
+// This is the SIP file defining the PyTQt license.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+%Copying
+Copyright (c) 2007
+ Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+
+This file is part of PyTQt.
+
+This copy of PyTQt is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 2, or (at your option) any later
+version.
+
+PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+details.
+
+You should have received a copy of the GNU General Public License along with
+PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+%End
+
+
+%OptionalInclude pytqt-internal.sip
+%OptionalInclude pytqt-gpl.sip
+%OptionalInclude pytqt-commercial.sip
+%OptionalInclude pytqt-edu.sip
+%OptionalInclude pytqt-eval.sip
+%OptionalInclude pytqt-nc.sip
+%OptionalInclude pytqt-tkc.sip
diff --git a/sip/tqtext/tqextscintilla.sip b/sip/tqtext/tqextscintilla.sip
new file mode 100644
index 0000000..f9a7592
--- /dev/null
+++ b/sip/tqtext/tqextscintilla.sip
@@ -0,0 +1,411 @@
+// This is the SIP interface definition for TQextScintilla.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+class TQextScintilla : TQextScintillaBase
+{
+%TypeHeaderCode
+#include <tqextscintilla.h>
+%End
+
+public:
+ enum {
+ AiMaintain,
+ AiOpening,
+ AiClosing
+ };
+
+ enum AutoCompletionSource {
+ AcsDocument,
+ AcsAPIs,
+%If (TQScintilla_1_7 -)
+ AcsAll,
+%End
+ };
+
+ enum BraceMatch {
+ NoBraceMatch,
+ StrictBraceMatch,
+ SloppyBraceMatch
+ };
+
+%If (TQScintilla_1_4 -)
+ enum EdgeMode {
+ EdgeNone,
+ EdgeLine,
+ EdgeBackground
+ };
+%End
+
+ enum EolMode {
+ EolWindows,
+ EolUnix,
+ EolMac
+ };
+
+ enum FoldStyle {
+ NoFoldStyle,
+ PlainFoldStyle,
+ CircledFoldStyle,
+ BoxedFoldStyle,
+ CircledTreeFoldStyle,
+ BoxedTreeFoldStyle
+ };
+
+ enum MarkerSymbol {
+ Circle,
+ Rectangle,
+ RightTriangle,
+ SmallRectangle,
+ RightArrow,
+ Invisible,
+ DownTriangle,
+ Minus,
+ Plus,
+ VerticalLine,
+ BottomLeftCorner,
+ LeftSideSplitter,
+ BoxedPlus,
+ BoxedPlusConnected,
+ BoxedMinus,
+ BoxedMinusConnected,
+ RoundedBottomLeftCorner,
+ LeftSideRoundedSplitter,
+ CircledPlus,
+ CircledPlusConnected,
+ CircledMinus,
+ CircledMinusConnected,
+ Background,
+ ThreeDots,
+ ThreeRightArrows
+ };
+
+ enum WhitespaceVisibility {
+ WsInvisible,
+ WsVisible,
+ WsVisibleAfterIndent
+ };
+
+ enum WrapMode {
+ WrapNone,
+ WrapWord,
+%If (TQScintilla_1_7 -)
+ WrapCharacter,
+%End
+ };
+
+%If (TQScintilla_1_7 -)
+ enum WrapVisualFlag {
+ WrapFlagNone,
+ WrapFlagByText,
+ WrapFlagByBorder,
+ };
+%End
+
+ TQextScintilla(TQWidget * /TransferThis/ = 0,const char * = 0,
+ WFlags = 0);
+
+ bool autoCompletionCaseSensitivity();
+%If (TQScintilla_1_7 -)
+ bool autoCompletionFillupsEnabled();
+%End
+ bool autoCompletionReplaceWord();
+ bool autoCompletionShowSingle();
+ AutoCompletionSource autoCompletionSource() const;
+ int autoCompletionThreshold() const;
+ bool autoIndent() const;
+ bool backspaceUnindents();
+ void beginUndoAction();
+ BraceMatch braceMatching() const;
+ int callTipsVisible() const;
+%If (TQScintilla_1_7 -)
+ void cancelList();
+%End
+ void clearRegisteredImages();
+ void convertEols(EolMode);
+%If (TQScintilla_1_3 -)
+ TQextScintillaDocument document();
+%End
+ void endUndoAction();
+
+%If (TQScintilla_1_4 -)
+ TQColor edgeColor();
+ int edgeColumn();
+ EdgeMode edgeMode();
+%End
+
+ EolMode eolMode();
+ bool eolVisibility();
+
+%If (TQScintilla_1_7 -)
+ TQColor color() const;
+ TQColor paper() const;
+%End
+
+%If (TQScintilla_1_6 -)
+ virtual bool findFirst(const TQString &,bool,bool,bool,bool,bool = 1,
+ int = -1,int = -1,bool = 1);
+%End
+%If (- TQScintilla_1_6)
+ virtual bool findFirst(const TQString &,bool,bool,bool,bool,bool = 1,
+ int = -1,int = -1);
+%End
+ virtual bool findNext();
+
+%If (TQScintilla_1_7 -)
+ int firstVisibleLine();
+%End
+
+ FoldStyle folding() const;
+
+ void getCursorPosition(int *,int *);
+ void getSelection(int *,int *,int *,int *);
+ bool hasSelectedText();
+
+ int indentation(int);
+ bool indentationGuides();
+ bool indentationsUseTabs();
+ int indentationWidth();
+
+%If (TQScintilla_1_7 -)
+ bool isCallTipActive();
+ bool isListActive();
+%End
+ bool isModified();
+ bool isReadOnly();
+ bool isRedoAvailable();
+ bool isUndoAvailable();
+ bool isUtf8();
+ int lineAt(const TQPoint &);
+ int lineLength(int);
+ int lines();
+ int length();
+%If (TQScintilla_1_7 -)
+ TQextScintillaLexer *lexer() const;
+%End
+
+ bool marginLineNumbers(int);
+ int marginMarkerMask(int);
+ bool marginSensitivity(int);
+ int marginWidth(int);
+
+ int markerDefine(MarkerSymbol,int = -1);
+ int markerDefine(char,int = -1);
+ int markerDefine(const TQPixmap *,int = -1);
+ int markerAdd(int,int);
+ unsigned markersAtLine(int);
+ void markerDelete(int,int = -1);
+ void markerDeleteAll(int = -1);
+ void markerDeleteHandle(int);
+ int markerLine(int);
+ int markerFindNext(int,unsigned);
+ int markerFindPrevious(int,unsigned);
+%If (TQScintilla_1_3 -)
+ virtual void recolor(int = 0,int = -1);
+%End
+ void registerImage(int,const TQPixmap *);
+ virtual void replace(const TQString &);
+ void resetFoldMarginColors();
+ void setFoldMarginColors(const TQColor &,const TQColor &);
+
+ void setAutoCompletionAPIs(TQextScintillaAPIs * = 0);
+ void setAutoCompletionFillups(const char *);
+%If (TQScintilla_1_7 -)
+ void setAutoCompletionFillupsEnabled(bool);
+ void setAutoCompletionStartCharacters(const char *);
+%End
+
+ void setCallTipsAPIs(TQextScintillaAPIs * = 0);
+ void setCallTipsBackgroundColor(const TQColor &);
+ void setCallTipsForegroundColor(const TQColor &);
+ void setCallTipsHighlightColor(const TQColor &);
+ void setCallTipsVisible(int);
+
+%If (TQScintilla_1_3 -)
+ void setDocument(const TQextScintillaDocument &);
+%End
+
+%If (TQScintilla_1_4 -)
+ void setEdgeColor(const TQColor &);
+ void setEdgeColumn(int);
+ void setEdgeMode(EdgeMode);
+%End
+
+%If (TQScintilla_1_7 -)
+ virtual void setFont(const TQFont &);
+%End
+
+ void setMarkerBackgroundColor(const TQColor &,int = -1);
+ void setMarkerForegroundColor(const TQColor &,int = -1);
+
+ void setMatchedBraceBackgroundColor(const TQColor &);
+ void setMatchedBraceForegroundColor(const TQColor &);
+ void setUnmatchedBraceBackgroundColor(const TQColor &);
+ void setUnmatchedBraceForegroundColor(const TQColor &);
+
+%If (TQScintilla_1_7 -)
+ void setWrapVisualFlags(WrapVisualFlag,
+ WrapVisualFlag = TQextScintilla::WrapFlagNone, int = 0);
+%End
+
+ TQString selectedText();
+%If (TQScintilla_1_7 -)
+ void showUserList(int, const TQStringList &);
+%End
+ TQextScintillaCommandSet *standardCommands() const;
+ bool tabIndents();
+ int tabWidth();
+ TQString text();
+ TQString text(int);
+%If (TQScintilla_1_7 -)
+ int textHeight(int);
+%End
+ WhitespaceVisibility whitespaceVisibility();
+%If (TQScintilla_1_4 -)
+ WrapMode wrapMode();
+%End
+
+public slots:
+ virtual void append(const TQString &);
+%If (TQScintilla_1_7 -)
+ virtual void autoCompleteFromAll();
+%End
+ virtual void autoCompleteFromAPIs();
+ virtual void autoCompleteFromDocument();
+ virtual void callTip();
+ virtual void clear();
+ virtual void copy();
+ virtual void cut();
+
+ virtual void ensureCursorVisible();
+ virtual void ensureLineVisible(int);
+%If (TQScintilla_1_7 -)
+ virtual void foldAll(bool = 0);
+%End
+%If (- TQScintilla_1_7)
+ virtual void foldAll();
+%End
+ virtual void foldLine(int);
+ virtual void indent(int);
+%If (TQScintilla_1_4 -)
+ virtual void insert(const TQString &);
+%End
+ virtual void insertAt(const TQString &,int,int);
+ virtual void moveToMatchingBrace();
+ virtual void paste();
+ virtual void redo();
+ virtual void removeSelectedText();
+%If (TQScintilla_1_4 -)
+ virtual void resetSelectionBackgroundColor();
+ virtual void resetSelectionForegroundColor();
+%End
+ virtual void selectAll(bool = 1);
+ virtual void selectToMatchingBrace();
+
+ virtual void setAutoCompletionCaseSensitivity(bool);
+ virtual void setAutoCompletionReplaceWord(bool);
+ virtual void setAutoCompletionShowSingle(bool);
+ virtual void setAutoCompletionSource(AutoCompletionSource);
+ virtual void setAutoCompletionThreshold(int);
+ virtual void setAutoIndent(bool);
+ virtual void setBraceMatching(BraceMatch);
+ virtual void setBackspaceUnindents(bool);
+%If (TQScintilla_1_3 -)
+ virtual void setCaretForegroundColor(const TQColor &);
+ virtual void setCaretLineBackgroundColor(const TQColor &);
+ virtual void setCaretLineVisible(bool);
+ virtual void setCaretWidth(int);
+%End
+%If (TQScintilla_1_7 -)
+ virtual void setColor(const TQColor &);
+%End
+ virtual void setCursorPosition(int,int);
+ virtual void setEolMode(EolMode);
+ virtual void setEolVisibility(bool);
+ virtual void setFolding(FoldStyle);
+
+ virtual void setIndentation(int,int);
+ virtual void setIndentationGuides(bool);
+ virtual void setIndentationGuidesBackgroundColor(const TQColor &);
+ virtual void setIndentationGuidesForegroundColor(const TQColor &);
+ virtual void setIndentationsUseTabs(bool);
+ virtual void setIndentationWidth(int);
+
+ virtual void setLexer(TQextScintillaLexer * = 0);
+
+ virtual void setMarginsBackgroundColor(const TQColor &);
+ virtual void setMarginsFont(const TQFont &);
+ virtual void setMarginsForegroundColor(const TQColor &);
+
+ virtual void setMarginLineNumbers(int,bool);
+ virtual void setMarginMarkerMask(int,int);
+ virtual void setMarginSensitivity(int,bool);
+ virtual void setMarginWidth(int,int);
+ virtual void setMarginWidth(int,const TQString &);
+
+ virtual void setModified(bool);
+%If (TQScintilla_1_7 -)
+ virtual void setPaper(const TQColor &);
+%End
+ virtual void setReadOnly(bool);
+ virtual void setSelection(int,int,int,int);
+%If (TQScintilla_1_3 -)
+ virtual void setSelectionBackgroundColor(const TQColor &);
+ virtual void setSelectionForegroundColor(const TQColor &);
+%End
+ virtual void setTabIndents(bool);
+ virtual void setTabWidth(int);
+ virtual void setText(const TQString &);
+ virtual void setUtf8(bool);
+ virtual void setWhitespaceVisibility(WhitespaceVisibility);
+%If (TQScintilla_1_4 -)
+ virtual void setWrapMode(WrapMode);
+%End
+
+ virtual void undo();
+ virtual void unindent(int);
+
+ virtual void zoomIn(int);
+ virtual void zoomIn();
+ virtual void zoomOut(int);
+ virtual void zoomOut();
+ virtual void zoomTo(int);
+
+signals:
+ void cursorPositionChanged(int,int);
+ void copyAvailable(bool);
+ void marginClicked(int,int,TQt::ButtonState);
+ void modificationAttempted();
+ void modificationChanged(bool);
+ void selectionChanged();
+ void textChanged();
+%If (TQScintilla_1_7 -)
+ void userListActivated(int, const TQString &);
+%End
+
+private:
+ TQextScintilla(const TQextScintilla &);
+
+};
diff --git a/sip/tqtext/tqextscintillaapis.sip b/sip/tqtext/tqextscintillaapis.sip
new file mode 100644
index 0000000..170a80b
--- /dev/null
+++ b/sip/tqtext/tqextscintillaapis.sip
@@ -0,0 +1,42 @@
+// This is the SIP interface definition for TQextScintillaAPIs.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+class TQextScintillaAPIs
+{
+%TypeHeaderCode
+#include <tqextscintillaapis.h>
+%End
+
+public:
+ TQextScintillaAPIs();
+
+ void add(const TQString &);
+ bool load(const TQString &);
+ void clear();
+
+private:
+ TQextScintillaAPIs(const TQextScintillaAPIs &);
+};
diff --git a/sip/tqtext/tqextscintillabase.sip b/sip/tqtext/tqextscintillabase.sip
new file mode 100644
index 0000000..23a2a65
--- /dev/null
+++ b/sip/tqtext/tqextscintillabase.sip
@@ -0,0 +1,1024 @@
+// This is the SIP interface definition for TQextScintillaBase.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+class TQextScintillaBase : TQWidget
+{
+%TypeHeaderCode
+#include <tqextscintillabase.h>
+%End
+
+public:
+ enum {
+ SCI_START,
+ SCI_OPTIONAL_START,
+ SCI_LEXER_START,
+ SCI_ADDTEXT,
+ SCI_ADDSTYLEDTEXT,
+ SCI_INSERTTEXT,
+ SCI_CLEARALL,
+ SCI_CLEARDOCUMENTSTYLE,
+ SCI_GETLENGTH,
+ SCI_GETCHARAT,
+ SCI_GETCURRENTPOS,
+ SCI_GETANCHOR,
+ SCI_GETSTYLEAT,
+ SCI_REDO,
+ SCI_SETUNDOCOLLECTION,
+ SCI_SELECTALL,
+ SCI_SETSAVEPOINT,
+ SCI_GETSTYLEDTEXT,
+ SCI_CANREDO,
+ SCI_MARKERLINEFROMHANDLE,
+ SCI_MARKERDELETEHANDLE,
+ SCI_GETUNDOCOLLECTION,
+ SCI_GETVIEWWS,
+ SCI_SETVIEWWS,
+ SCI_POSITIONFROMPOINT,
+ SCI_POSITIONFROMPOINTCLOSE,
+ SCI_GOTOLINE,
+ SCI_GOTOPOS,
+ SCI_SETANCHOR,
+ SCI_GETCURLINE,
+ SCI_GETENDSTYLED,
+ SCI_CONVERTEOLS,
+ SCI_GETEOLMODE,
+ SCI_SETEOLMODE,
+ SCI_STARTSTYLING,
+ SCI_SETSTYLING,
+ SCI_GETBUFFEREDDRAW,
+ SCI_SETBUFFEREDDRAW,
+ SCI_SETTABWIDTH,
+ SCI_GETTABWIDTH,
+ SCI_SETCODEPAGE,
+ SCI_SETUSEPALETTE,
+ SCI_MARKERDEFINE,
+ SCI_MARKERSETFORE,
+ SCI_MARKERSETBACK,
+ SCI_MARKERADD,
+ SCI_MARKERDELETE,
+ SCI_MARKERDELETEALL,
+ SCI_MARKERGET,
+ SCI_MARKERNEXT,
+ SCI_MARKERPREVIOUS,
+ SCI_MARKERDEFINEPIXMAP,
+ SCI_SETMARGINTYPEN,
+ SCI_GETMARGINTYPEN,
+ SCI_SETMARGINWIDTHN,
+ SCI_GETMARGINWIDTHN,
+ SCI_SETMARGINMASKN,
+ SCI_GETMARGINMASKN,
+ SCI_SETMARGINSENSITIVEN,
+ SCI_GETMARGINSENSITIVEN,
+ SCI_STYLECLEARALL,
+ SCI_STYLESETFORE,
+ SCI_STYLESETBACK,
+ SCI_STYLESETBOLD,
+ SCI_STYLESETITALIC,
+ SCI_STYLESETSIZE,
+ SCI_STYLESETFONT,
+ SCI_STYLESETEOLFILLED,
+ SCI_STYLERESETDEFAULT,
+ SCI_STYLESETUNDERLINE,
+ SCI_STYLESETCASE,
+ SCI_STYLESETCHARACTERSET,
+ SCI_SETSELFORE,
+ SCI_SETSELBACK,
+ SCI_SETCARETFORE,
+ SCI_ASSIGNCMDKEY,
+ SCI_CLEARCMDKEY,
+ SCI_CLEARALLCMDKEYS,
+ SCI_SETSTYLINGEX,
+ SCI_STYLESETVISIBLE,
+ SCI_GETCARETPERIOD,
+ SCI_SETCARETPERIOD,
+ SCI_SETWORDCHARS,
+ SCI_BEGINUNDOACTION,
+ SCI_ENDUNDOACTION,
+ SCI_INDICSETSTYLE,
+ SCI_INDICGETSTYLE,
+ SCI_INDICSETFORE,
+ SCI_INDICGETFORE,
+ SCI_SETWHITESPACEFORE,
+ SCI_SETWHITESPACEBACK,
+ SCI_SETSTYLEBITS,
+ SCI_GETSTYLEBITS,
+ SCI_SETLINESTATE,
+ SCI_GETLINESTATE,
+ SCI_GETMAXLINESTATE,
+ SCI_GETCARETLINEVISIBLE,
+ SCI_SETCARETLINEVISIBLE,
+ SCI_GETCARETLINEBACK,
+ SCI_SETCARETLINEBACK,
+ SCI_STYLESETCHANGEABLE,
+ SCI_AUTOCSHOW,
+ SCI_AUTOCCANCEL,
+ SCI_AUTOCACTIVE,
+ SCI_AUTOCPOSSTART,
+ SCI_AUTOCCOMPLETE,
+ SCI_AUTOCSTOPS,
+ SCI_AUTOCSETSEPARATOR,
+ SCI_AUTOCGETSEPARATOR,
+ SCI_AUTOCSELECT,
+ SCI_AUTOCSETCANCELATSTART,
+ SCI_AUTOCGETCANCELATSTART,
+ SCI_AUTOCSETFILLUPS,
+ SCI_AUTOCSETCHOOSESINGLE,
+ SCI_AUTOCGETCHOOSESINGLE,
+ SCI_AUTOCSETIGNORECASE,
+ SCI_AUTOCGETIGNORECASE,
+ SCI_USERLISTSHOW,
+ SCI_AUTOCSETAUTOHIDE,
+ SCI_AUTOCGETAUTOHIDE,
+ SCI_AUTOCSETDROPRESTOFWORD,
+ SCI_AUTOCGETDROPRESTOFWORD,
+ SCI_SETINDENT,
+ SCI_GETINDENT,
+ SCI_SETUSETABS,
+ SCI_GETUSETABS,
+ SCI_SETLINEINDENTATION,
+ SCI_GETLINEINDENTATION,
+ SCI_GETLINEINDENTPOSITION,
+ SCI_GETCOLUMN,
+ SCI_SETHSCROLLBAR,
+ SCI_GETHSCROLLBAR,
+ SCI_SETINDENTATIONGUIDES,
+ SCI_GETINDENTATIONGUIDES,
+ SCI_SETHIGHLIGHTGUIDE,
+ SCI_GETHIGHLIGHTGUIDE,
+ SCI_GETLINEENDPOSITION,
+ SCI_GETCODEPAGE,
+ SCI_GETCARETFORE,
+ SCI_GETUSEPALETTE,
+ SCI_GETREADONLY,
+ SCI_SETCURRENTPOS,
+ SCI_SETSELECTIONSTART,
+ SCI_GETSELECTIONSTART,
+ SCI_SETSELECTIONEND,
+ SCI_GETSELECTIONEND,
+ SCI_SETPRINTMAGNIFICATION,
+ SCI_GETPRINTMAGNIFICATION,
+ SCI_SETPRINTCOLOURMODE,
+ SCI_GETPRINTCOLOURMODE,
+ SCI_FINDTEXT,
+ SCI_FORMATRANGE,
+ SCI_GETFIRSTVISIBLELINE,
+ SCI_GETLINE,
+ SCI_GETLINECOUNT,
+ SCI_SETMARGINLEFT,
+ SCI_GETMARGINLEFT,
+ SCI_SETMARGINRIGHT,
+ SCI_GETMARGINRIGHT,
+ SCI_GETMODIFY,
+ SCI_SETSEL,
+ SCI_GETSELTEXT,
+ SCI_GETTEXTRANGE,
+ SCI_HIDESELECTION,
+ SCI_POINTXFROMPOSITION,
+ SCI_POINTYFROMPOSITION,
+ SCI_LINEFROMPOSITION,
+ SCI_POSITIONFROMLINE,
+ SCI_LINESCROLL,
+ SCI_SCROLLCARET,
+ SCI_REPLACESEL,
+ SCI_SETREADONLY,
+ SCI_NULL,
+ SCI_CANPASTE,
+ SCI_CANUNDO,
+ SCI_EMPTYUNDOBUFFER,
+ SCI_UNDO,
+ SCI_CUT,
+ SCI_COPY,
+ SCI_PASTE,
+ SCI_CLEAR,
+ SCI_SETTEXT,
+ SCI_GETTEXT,
+ SCI_GETTEXTLENGTH,
+ SCI_GETDIRECTFUNCTION,
+ SCI_GETDIRECTPOINTER,
+ SCI_SETOVERTYPE,
+ SCI_GETOVERTYPE,
+ SCI_SETCARETWIDTH,
+ SCI_GETCARETWIDTH,
+ SCI_SETTARGETSTART,
+ SCI_GETTARGETSTART,
+ SCI_SETTARGETEND,
+ SCI_GETTARGETEND,
+ SCI_REPLACETARGET,
+ SCI_REPLACETARGETRE,
+ SCI_SEARCHINTARGET,
+ SCI_SETSEARCHFLAGS,
+ SCI_GETSEARCHFLAGS,
+ SCI_CALLTIPSHOW,
+ SCI_CALLTIPCANCEL,
+ SCI_CALLTIPACTIVE,
+ SCI_CALLTIPPOSSTART,
+ SCI_CALLTIPSETHLT,
+ SCI_CALLTIPSETBACK,
+ SCI_CALLTIPSETFORE,
+ SCI_CALLTIPSETFOREHLT,
+%If (TQScintilla_1_6 -)
+ SCI_AUTOCSETMAXWIDTH,
+ SCI_AUTOCGETMAXWIDTH,
+ SCI_AUTOCSETMAXHEIGHT,
+ SCI_AUTOCGETMAXHEIGHT,
+%End
+%If (TQScintilla_1_7 -)
+ SCI_CALLTIPUSESTYLE,
+%End
+ SCI_VISIBLEFROMDOCLINE,
+ SCI_DOCLINEFROMVISIBLE,
+ SCI_SETFOLDLEVEL,
+ SCI_GETFOLDLEVEL,
+ SCI_GETLASTCHILD,
+ SCI_GETFOLDPARENT,
+ SCI_SHOWLINES,
+ SCI_HIDELINES,
+ SCI_GETLINEVISIBLE,
+ SCI_SETFOLDEXPANDED,
+ SCI_GETFOLDEXPANDED,
+ SCI_TOGGLEFOLD,
+ SCI_ENSUREVISIBLE,
+ SCI_SETFOLDFLAGS,
+ SCI_ENSUREVISIBLEENFORCEPOLICY,
+%If (TQScintilla_1_6 -)
+ SCI_WRAPCOUNT,
+%End
+ SCI_SETTABINDENTS,
+ SCI_GETTABINDENTS,
+ SCI_SETBACKSPACEUNINDENTS,
+ SCI_GETBACKSPACEUNINDENTS,
+ SCI_SETMOUSEDWELLTIME,
+ SCI_GETMOUSEDWELLTIME,
+ SCI_WORDSTARTPOSITION,
+ SCI_WORDENDPOSITION,
+ SCI_SETWRAPMODE,
+ SCI_GETWRAPMODE,
+ SCI_SETLAYOUTCACHE,
+ SCI_GETLAYOUTCACHE,
+ SCI_SETSCROLLWIDTH,
+ SCI_GETSCROLLWIDTH,
+ SCI_TEXTWIDTH,
+ SCI_SETENDATLASTLINE,
+ SCI_GETENDATLASTLINE,
+ SCI_TEXTHEIGHT,
+ SCI_SETVSCROLLBAR,
+ SCI_GETVSCROLLBAR,
+ SCI_APPENDTEXT,
+ SCI_GETTWOPHASEDRAW,
+ SCI_SETTWOPHASEDRAW,
+ SCI_AUTOCGETTYPESEPARATOR,
+ SCI_AUTOCSETTYPESEPARATOR,
+ SCI_TARGETFROMSELECTION,
+ SCI_LINESJOIN,
+ SCI_LINESSPLIT,
+ SCI_SETFOLDMARGINCOLOUR,
+ SCI_SETFOLDMARGINHICOLOUR,
+ SCI_LINEDOWN,
+ SCI_LINEDOWNEXTEND,
+ SCI_LINEUP,
+ SCI_LINEUPEXTEND,
+ SCI_CHARLEFT,
+ SCI_CHARLEFTEXTEND,
+ SCI_CHARRIGHT,
+ SCI_CHARRIGHTEXTEND,
+ SCI_WORDLEFT,
+ SCI_WORDLEFTEXTEND,
+ SCI_WORDRIGHT,
+ SCI_WORDRIGHTEXTEND,
+ SCI_HOME,
+ SCI_HOMEEXTEND,
+ SCI_LINEEND,
+ SCI_LINEENDEXTEND,
+ SCI_DOCUMENTSTART,
+ SCI_DOCUMENTSTARTEXTEND,
+ SCI_DOCUMENTEND,
+ SCI_DOCUMENTENDEXTEND,
+ SCI_PAGEUP,
+ SCI_PAGEUPEXTEND,
+ SCI_PAGEDOWN,
+ SCI_PAGEDOWNEXTEND,
+ SCI_EDITTOGGLEOVERTYPE,
+ SCI_CANCEL,
+ SCI_DELETEBACK,
+ SCI_TAB,
+ SCI_BACKTAB,
+ SCI_NEWLINE,
+ SCI_FORMFEED,
+ SCI_VCHOME,
+ SCI_VCHOMEEXTEND,
+ SCI_ZOOMIN,
+ SCI_ZOOMOUT,
+ SCI_DELWORDLEFT,
+ SCI_DELWORDRIGHT,
+ SCI_LINECUT,
+ SCI_LINEDELETE,
+ SCI_LINETRANSPOSE,
+ SCI_LOWERCASE,
+ SCI_UPPERCASE,
+ SCI_LINESCROLLDOWN,
+ SCI_LINESCROLLUP,
+ SCI_DELETEBACKNOTLINE,
+ SCI_HOMEDISPLAY,
+ SCI_HOMEDISPLAYEXTEND,
+ SCI_LINEENDDISPLAY,
+ SCI_LINEENDDISPLAYEXTEND,
+ SCI_MOVECARETINSIDEVIEW,
+ SCI_LINELENGTH,
+ SCI_BRACEHIGHLIGHT,
+ SCI_BRACEBADLIGHT,
+ SCI_BRACEMATCH,
+ SCI_GETVIEWEOL,
+ SCI_SETVIEWEOL,
+ SCI_GETDOCPOINTER,
+ SCI_SETDOCPOINTER,
+ SCI_SETMODEVENTMASK,
+ SCI_GETEDGECOLUMN,
+ SCI_SETEDGECOLUMN,
+ SCI_GETEDGEMODE,
+ SCI_SETEDGEMODE,
+ SCI_GETEDGECOLOUR,
+ SCI_SETEDGECOLOUR,
+ SCI_SEARCHANCHOR,
+ SCI_SEARCHNEXT,
+ SCI_SEARCHPREV,
+ SCI_LINESONSCREEN,
+ SCI_USEPOPUP,
+ SCI_SELECTIONISRECTANGLE,
+ SCI_SETZOOM,
+ SCI_GETZOOM,
+ SCI_CREATEDOCUMENT,
+ SCI_ADDREFDOCUMENT,
+ SCI_RELEASEDOCUMENT,
+ SCI_GETMODEVENTMASK,
+ SCI_SETFOCUS,
+ SCI_GETFOCUS,
+ SCI_SETSTATUS,
+ SCI_GETSTATUS,
+ SCI_SETMOUSEDOWNCAPTURES,
+ SCI_GETMOUSEDOWNCAPTURES,
+ SCI_SETCURSOR,
+ SCI_GETCURSOR,
+ SCI_SETCONTROLCHARSYMBOL,
+ SCI_GETCONTROLCHARSYMBOL,
+ SCI_WORDPARTLEFT,
+ SCI_WORDPARTLEFTEXTEND,
+ SCI_WORDPARTRIGHT,
+ SCI_WORDPARTRIGHTEXTEND,
+ SCI_SETVISIBLEPOLICY,
+ SCI_DELLINELEFT,
+ SCI_DELLINERIGHT,
+ SCI_SETXOFFSET,
+ SCI_GETXOFFSET,
+ SCI_CHOOSECARETX,
+ SCI_GRABFOCUS,
+ SCI_SETXCARETPOLICY,
+ SCI_SETYCARETPOLICY,
+ SCI_LINEDUPLICATE,
+ SCI_REGISTERIMAGE,
+ SCI_SETPRINTWRAPMODE,
+ SCI_GETPRINTWRAPMODE,
+ SCI_CLEARREGISTEREDIMAGES,
+ SCI_STYLESETHOTSPOT,
+ SCI_SETHOTSPOTACTIVEFORE,
+ SCI_SETHOTSPOTACTIVEBACK,
+ SCI_SETHOTSPOTACTIVEUNDERLINE,
+ SCI_PARADOWN,
+ SCI_PARADOWNEXTEND,
+ SCI_PARAUP,
+ SCI_PARAUPEXTEND,
+%If (TQScintilla_1_1 -)
+ SCI_POSITIONBEFORE,
+ SCI_POSITIONAFTER,
+ SCI_COPYRANGE,
+ SCI_COPYTEXT,
+%End
+%If (TQScintilla_1_3 -)
+ SCI_SETSELECTIONMODE,
+ SCI_GETSELECTIONMODE,
+ SCI_GETLINESELSTARTPOSITION,
+ SCI_GETLINESELENDPOSITION,
+ SCI_LINEDOWNRECTEXTEND,
+ SCI_LINEUPRECTEXTEND,
+ SCI_CHARLEFTRECTEXTEND,
+ SCI_CHARRIGHTRECTEXTEND,
+ SCI_HOMERECTEXTEND,
+ SCI_VCHOMERECTEXTEND,
+ SCI_LINEENDRECTEXTEND,
+ SCI_PAGEUPRECTEXTEND,
+ SCI_PAGEDOWNRECTEXTEND,
+ SCI_STUTTEREDPAGEUP,
+ SCI_STUTTEREDPAGEUPEXTEND,
+ SCI_STUTTEREDPAGEDOWN,
+ SCI_STUTTEREDPAGEDOWNEXTEND,
+ SCI_WORDLEFTEND,
+ SCI_WORDLEFTENDEXTEND,
+ SCI_WORDRIGHTEND,
+ SCI_WORDRIGHTENDEXTEND,
+ SCI_SETWHITESPACECHARS,
+ SCI_SETCHARSDEFAULT,
+ SCI_AUTOCGETCURRENT,
+ SCI_ALLOCATE,
+%End
+ SCI_HOMEWRAP,
+ SCI_HOMEWRAPEXTEND,
+ SCI_LINEENDWRAP,
+ SCI_LINEENDWRAPEXTEND,
+ SCI_VCHOMEWRAP,
+ SCI_VCHOMEWRAPEXTEND,
+%If (TQScintilla_1_1 -)
+ SCI_LINECOPY,
+%End
+%If (TQScintilla_1_6 -)
+ SCI_FINDCOLUMN,
+ SCI_GETCARETSTICKY,
+ SCI_SETCARETSTICKY,
+ SCI_TOGGLECARETSTICKY,
+%End
+%If (TQScintilla_1_3 -)
+ SCI_SETWRAPVISUALFLAGS,
+ SCI_GETWRAPVISUALFLAGS,
+ SCI_SETWRAPVISUALFLAGSLOCATION,
+ SCI_GETWRAPVISUALFLAGSLOCATION,
+ SCI_SETWRAPSTARTINDENT,
+ SCI_GETWRAPSTARTINDENT,
+%End
+%If (TQScintilla_1_7 -)
+ SCI_MARKERADDSET,
+ SCI_SETPASTECONVERTENDINGS
+ SCI_GETPASTECONVERTENDINGS
+ SCI_SELECTIONDUPLICATE
+ SCI_SETCARETLINEBACKALPHA
+ SCI_GETCARETLINEBACKALPHA
+ SCI_MARKERSETALPHA,
+ SCI_GETSELALPHA,
+ SCI_SETSELALPHA,
+%End
+ SCI_STARTRECORD,
+ SCI_STOPRECORD,
+ SCI_SETLEXER,
+ SCI_GETLEXER,
+ SCI_COLOURISE,
+ SCI_SETPROPERTY,
+ SCI_SETKEYWORDS,
+ SCI_SETLEXERLANGUAGE,
+%If (TQScintilla_1_6 -)
+ SCI_LOADLEXERLIBRARY,
+ SCI_GETPROPERTY,
+ SCI_GETPROPERTYEXPANDED,
+ SCI_GETPROPERTYINT,
+%End
+%If (TQScintilla_1_7 -)
+ SCI_GETSTYLEBITSNEEDED,
+%End
+ };
+
+%If (TQScintilla_1_7 -)
+ enum
+ {
+ SC_ALPHA_TRANSPARENT,
+ SC_ALPHA_OPAQUE,
+ SC_ALPHA_NOALPHA,
+ };
+%End
+
+%If (TQScintilla_1_3 -)
+ enum
+ {
+ SC_WRAPVISUALFLAG_NONE,
+ SC_WRAPVISUALFLAG_END,
+ SC_WRAPVISUALFLAG_START
+ };
+
+ enum
+ {
+ SC_WRAPVISUALFLAGLOC_DEFAULT,
+ SC_WRAPVISUALFLAGLOC_END_BY_TEXT,
+ SC_WRAPVISUALFLAGLOC_START_BY_TEXT
+ };
+
+ enum {
+ SC_SEL_STREAM,
+ SC_SEL_RECTANGLE,
+ SC_SEL_LINES
+ };
+%End
+
+ enum {
+ SCWS_INVISIBLE,
+ SCWS_VISIBLEALWAYS,
+ SCWS_VISIBLEAFTERINDENT
+ };
+
+ enum {
+ SC_EOL_CRLF,
+ SC_EOL_CR,
+ SC_EOL_LF
+ };
+
+ enum {
+ SC_CP_DBCS,
+ SC_CP_UTF8
+ };
+
+ enum {
+ SC_MARK_CIRCLE,
+ SC_MARK_ROUNDRECT,
+ SC_MARK_ARROW,
+ SC_MARK_SMALLRECT,
+ SC_MARK_SHORTARROW,
+ SC_MARK_EMPTY,
+ SC_MARK_ARROWDOWN,
+ SC_MARK_MINUS,
+ SC_MARK_PLUS,
+ SC_MARK_VLINE,
+ SC_MARK_LCORNER,
+ SC_MARK_TCORNER,
+ SC_MARK_BOXPLUS,
+ SC_MARK_BOXPLUSCONNECTED,
+ SC_MARK_BOXMINUS,
+ SC_MARK_BOXMINUSCONNECTED,
+ SC_MARK_LCORNERCURVE,
+ SC_MARK_TCORNERCURVE,
+ SC_MARK_CIRCLEPLUS,
+ SC_MARK_CIRCLEPLUSCONNECTED,
+ SC_MARK_CIRCLEMINUS,
+ SC_MARK_CIRCLEMINUSCONNECTED,
+ SC_MARK_BACKGROUND,
+ SC_MARK_DOTDOTDOT,
+ SC_MARK_ARROWS,
+ SC_MARK_PIXMAP,
+%If (TQScintilla_1_6 -)
+ SC_MARK_FULLRECT,
+%End
+ SC_MARK_CHARACTER
+ };
+
+ enum {
+ SC_MARKNUM_FOLDEREND,
+ SC_MARKNUM_FOLDEROPENMID,
+ SC_MARKNUM_FOLDERMIDTAIL,
+ SC_MARKNUM_FOLDERTAIL,
+ SC_MARKNUM_FOLDERSUB,
+ SC_MARKNUM_FOLDER,
+ SC_MARKNUM_FOLDEROPEN,
+ SC_MASK_FOLDERS
+ };
+
+ enum {
+ SC_MARGIN_SYMBOL,
+ SC_MARGIN_NUMBER,
+%If (TQScintilla_1_7 -)
+ SC_MARGIN_BACK,
+ SC_MARGIN_FORE,
+%End
+ };
+
+ enum {
+ STYLE_DEFAULT,
+ STYLE_LINENUMBER,
+ STYLE_BRACELIGHT,
+ STYLE_BRACEBAD,
+ STYLE_CONTROLCHAR,
+ STYLE_INDENTGUIDE,
+%If (TQScintilla_1_7 -)
+ STYLE_CALLTIP,
+%End
+ STYLE_LASTPREDEFINED,
+%If (TQScintilla_1_3 -)
+ STYLE_MAX
+%End
+ };
+
+ enum {
+ SC_CHARSET_ANSI,
+ SC_CHARSET_DEFAULT,
+ SC_CHARSET_BALTIC,
+ SC_CHARSET_CHINESEBIG5,
+ SC_CHARSET_EASTEUROPE,
+ SC_CHARSET_GB2312,
+ SC_CHARSET_GREEK,
+ SC_CHARSET_HANGUL,
+ SC_CHARSET_MAC,
+ SC_CHARSET_OEM,
+ SC_CHARSET_RUSSIAN,
+ SC_CHARSET_SHIFTJIS,
+ SC_CHARSET_SYMBOL,
+ SC_CHARSET_TURKISH,
+ SC_CHARSET_JOHAB,
+ SC_CHARSET_HEBREW,
+ SC_CHARSET_ARABIC,
+ SC_CHARSET_VIETNAMESE,
+ SC_CHARSET_THAI,
+%If (TQScintilla_1_6 -)
+ SC_CHARSET_8859_15,
+%End
+ };
+
+ enum {
+ SC_CASE_MIXED,
+ SC_CASE_UPPER,
+ SC_CASE_LOWER
+ };
+
+ enum {
+ INDIC_MAX,
+ INDIC_PLAIN,
+ INDIC_SQUIGGLE,
+ INDIC_TT,
+ INDIC_DIAGONAL,
+ INDIC_STRIKE,
+%If (TQScintilla_1_2 -)
+ INDIC_HIDDEN,
+%End
+%If (TQScintilla_1_3 -)
+ INDIC_BOX,
+%End
+%If (TQScintilla_1_7 -)
+ INDIC_ROUNDBOX,
+%End
+ INDIC0_MASK,
+ INDIC1_MASK,
+ INDIC2_MASK,
+ INDICS_MASK
+ };
+
+ enum {
+ SC_PRINT_NORMAL,
+ SC_PRINT_INVERTLIGHT,
+ SC_PRINT_BLACKONWHITE,
+ SC_PRINT_COLOURONWHITE,
+ SC_PRINT_COLOURONWHITEDEFAULTBG
+ };
+
+ enum {
+ SCFIND_WHOLEWORD,
+ SCFIND_MATCHCASE,
+ SCFIND_WORDSTART,
+ SCFIND_REGEXP,
+ SCFIND_POSIX
+ };
+
+ enum {
+ SC_FOLDLEVELBASE,
+ SC_FOLDLEVELWHITEFLAG,
+ SC_FOLDLEVELHEADERFLAG,
+ SC_FOLDLEVELBOXHEADERFLAG,
+ SC_FOLDLEVELBOXFOOTERFLAG,
+ SC_FOLDLEVELCONTRACTED,
+ SC_FOLDLEVELUNINDENT,
+ SC_FOLDLEVELNUMBERMASK
+ };
+
+ enum
+ {
+ SC_FOLDFLAG_BOX,
+ SC_FOLDFLAG_LINEBEFORE_EXPANDED,
+ SC_FOLDFLAG_LINEBEFORE_CONTRACTED,
+ SC_FOLDFLAG_LINEAFTER_EXPANDED,
+ SC_FOLDFLAG_LINEAFTER_CONTRACTED,
+ SC_FOLDFLAG_LEVELNUMBERS
+ };
+
+ enum {
+ SC_TIME_FOREVER
+ };
+
+ enum {
+ SC_WRAP_NONE,
+ SC_WRAP_WORD,
+%If (TQScintilla_1_6 -)
+ SC_WRAP_CHAR,
+%End
+ };
+
+ enum {
+ SC_CACHE_NONE,
+ SC_CACHE_CARET,
+ SC_CACHE_PAGE,
+ SC_CACHE_DOCUMENT
+ };
+
+ enum {
+ EDGE_NONE,
+ EDGE_LINE,
+ EDGE_BACKGROUND
+ };
+
+ enum {
+ SC_CURSORNORMAL,
+ SC_CURSORWAIT
+ };
+
+ enum {
+ VISIBLE_SLOP,
+ VISIBLE_STRICT
+ };
+
+ enum {
+ CARET_SLOP,
+ CARET_STRICT,
+ CARET_JUMPS,
+ CARET_EVEN
+ };
+
+ enum {
+ SC_MOD_INSERTTEXT,
+ SC_MOD_DELETETEXT,
+ SC_MOD_CHANGESTYLE,
+ SC_MOD_CHANGEFOLD,
+ SC_PERFORMED_USER,
+ SC_PERFORMED_UNDO,
+ SC_PERFORMED_REDO,
+%If (TQScintilla_1_6 -)
+ SC_MULTISTEPUNDOREDO,
+%End
+ SC_LASTSTEPINUNDOREDO,
+ SC_MOD_CHANGEMARKER,
+ SC_MOD_BEFOREINSERT,
+ SC_MOD_BEFOREDELETE,
+%If (TQScintilla_1_6 -)
+ SC_MULTILINEUNDOREDO,
+%End
+ SC_MODEVENTMASKALL
+ };
+
+ enum {
+ SCK_DOWN,
+ SCK_UP,
+ SCK_LEFT,
+ SCK_RIGHT,
+ SCK_HOME,
+ SCK_END,
+ SCK_PRIOR,
+ SCK_NEXT,
+ SCK_DELETE,
+ SCK_INSERT,
+ SCK_ESCAPE,
+ SCK_BACK,
+ SCK_TAB,
+ SCK_RETURN,
+ SCK_ADD,
+ SCK_SUBTRACT,
+ SCK_DIVIDE
+ };
+
+ enum {
+%If (TQScintilla_1_7 -)
+ SCMOD_NORM,
+%End
+ SCMOD_SHIFT,
+ SCMOD_CTRL,
+ SCMOD_ALT
+ };
+
+ enum {
+ SCLEX_CONTAINER,
+ SCLEX_NULL,
+ SCLEX_PYTHON,
+ SCLEX_CPP,
+ SCLEX_HTML,
+ SCLEX_XML,
+ SCLEX_PERL,
+ SCLEX_SQL,
+ SCLEX_VB,
+ SCLEX_PROPERTIES,
+ SCLEX_ERRORLIST,
+ SCLEX_MAKEFILE,
+ SCLEX_BATCH,
+ SCLEX_LATEX,
+ SCLEX_LUA,
+ SCLEX_DIFF,
+ SCLEX_CONF,
+ SCLEX_PASCAL,
+ SCLEX_AVE,
+ SCLEX_ADA,
+ SCLEX_LISP,
+ SCLEX_RUBY,
+ SCLEX_EIFFEL,
+ SCLEX_EIFFELKW,
+ SCLEX_TCL,
+ SCLEX_NNCRONTAB,
+ SCLEX_BULLANT,
+ SCLEX_VBSCRIPT,
+ SCLEX_ASP,
+ SCLEX_PHP,
+ SCLEX_BAAN,
+ SCLEX_MATLAB,
+%If (TQScintilla_1_2 -)
+ SCLEX_SCRIPTOL,
+%End
+ SCLEX_ASM,
+ SCLEX_CPPNOCASE,
+ SCLEX_FORTRAN,
+ SCLEX_F77,
+ SCLEX_CSS,
+ SCLEX_POV,
+%If (TQScintilla_1_1 -)
+ SCLEX_LOUT,
+ SCLEX_ESCRIPT,
+%End
+%If (TQScintilla_1_2 -)
+ SCLEX_PS,
+ SCLEX_NSIS,
+ SCLEX_MMIXAL,
+%End
+%If (TQScintilla_1_3 -)
+ SCLEX_CLW,
+ SCLEX_CLWNOCASE,
+ SCLEX_LOT,
+ SCLEX_YAML,
+ SCLEX_TEX,
+ SCLEX_METAPOST,
+ SCLEX_POWERBASIC,
+ SCLEX_FORTH,
+ SCLEX_ERLANG,
+ SCLEX_OCTAVE,
+ SCLEX_MSSQL,
+ SCLEX_VERILOG,
+ SCLEX_KIX,
+ SCLEX_GUI4CLI,
+ SCLEX_SPECMAN,
+ SCLEX_AU3,
+ SCLEX_APDL,
+ SCLEX_BASH,
+%End
+%If (TQScintilla_1_5 -)
+ SCLEX_ASN1,
+ SCLEX_VHDL,
+%End
+%If (TQScintilla_1_6 -)
+ SCLEX_CAML,
+ SCLEX_BLITZBASIC,
+ SCLEX_PUREBASIC,
+ SCLEX_HASKELL,
+ SCLEX_PHPSCRIPT,
+ SCLEX_TADS3,
+ SCLEX_REBOL,
+ SCLEX_SMALLTALK,
+ SCLEX_FLAGSHIP,
+ SCLEX_CSOUND,
+%End
+%If (TQScintilla_1_7 -)
+ SCLEX_FREEBASIC,
+ SCLEX_INNOSETUP,
+ SCLEX_OPAL,
+ SCLEX_SPICE,
+%End
+ };
+
+ TQextScintillaBase(TQWidget * /TransferThis/,const char *,
+ WFlags = 0);
+
+%ConvertToSubClassCode
+ static struct class_graph {
+ const char *name;
+ sipWrapperType **type;
+ int yes, no;
+ } graph[] = {
+ {sipName_TQextScintillaLexer, &sipClass_TQextScintillaLexer, 3, 1},
+ {sipName_TQextScintillaBase, &sipClass_TQextScintillaBase, 15, 2},
+ {sipName_TQextScintillaMacro, &sipClass_TQextScintillaMacro, -1, -1},
+#if TQSCINTILLA_VERSION >= 0x010300
+ {sipName_TQextScintillaLexerPerl, &sipClass_TQextScintillaLexerPerl, -1, 4},
+#else
+ {NULL, NULL, -1, 4},
+#endif
+#if TQSCINTILLA_VERSION >= 0x010100
+ {sipName_TQextScintillaLexerHTML, &sipClass_TQextScintillaLexerHTML, -1, 5},
+#else
+ {NULL, NULL, -1, 5},
+#endif
+#if TQSCINTILLA_VERSION >= 0x010500
+ {sipName_TQextScintillaLexerRuby, &sipClass_TQextScintillaLexerRuby, -1, 6},
+#else
+ {NULL, NULL, -1, 6},
+#endif
+ {sipName_TQextScintillaLexerCPP, &sipClass_TQextScintillaLexerCPP, 11, 7},
+ {sipName_TQextScintillaLexerPython, &sipClass_TQextScintillaLexerPython, -1, 8},
+#if TQSCINTILLA_VERSION >= 0x010100
+ {sipName_TQextScintillaLexerSQL, &sipClass_TQextScintillaLexerSQL, -1, 9},
+#else
+ {NULL, NULL, -1, 9},
+#endif
+#if TQSCINTILLA_VERSION >= 0x010400
+ {sipName_TQextScintillaLexerBash, &sipClass_TQextScintillaLexerBash, -1, 10},
+#else
+ {NULL, NULL, -1, 10},
+#endif
+#if TQSCINTILLA_VERSION >= 0x010500
+ {sipName_TQextScintillaLexerLua, &sipClass_TQextScintillaLexerLua, -1, -1},
+#else
+ {NULL, NULL, -1, -1},
+#endif
+ {sipName_TQextScintillaLexerIDL, &sipClass_TQextScintillaLexerIDL, -1, 12},
+ {sipName_TQextScintillaLexerJavaScript, &sipClass_TQextScintillaLexerJavaScript, -1, 13},
+ {sipName_TQextScintillaLexerCSharp, &sipClass_TQextScintillaLexerCSharp, -1, 14},
+ {sipName_TQextScintillaLexerJava, &sipClass_TQextScintillaLexerJava, -1, -1},
+ {sipName_TQextScintilla, &sipClass_TQextScintilla, -1, -1},
+ };
+
+ int i = 0;
+
+ sipClass = NULL;
+
+ do
+ {
+ struct class_graph *cg = &graph[i];
+
+ if (cg->name != NULL && sipCpp->inherits(cg->name))
+ {
+ sipClass = *cg->type;
+ i = cg->yes;
+ }
+ else
+ i = cg->no;
+ }
+ while (i >= 0);
+%End
+
+%If (TQScintilla_1_3 -)
+ TQextScintillaBase *pool();
+%End
+
+ long SendScintilla(unsigned int,unsigned long = 0,long = 0);
+ long SendScintilla(unsigned int,unsigned long,const char *);
+ long SendScintilla(unsigned int,const char *);
+ long SendScintilla(unsigned int,const char *,const char *);
+ long SendScintilla(unsigned int,long);
+ //long SendScintilla(unsigned int,int);
+ long SendScintilla(unsigned int,long,long,char *);
+ long SendScintilla(unsigned int,unsigned long,const TQColor &);
+ long SendScintilla(unsigned int,const TQColor &);
+ long SendScintilla(unsigned int,unsigned long,TQPainter *,const TQRect &,
+ long,long);
+ long SendScintilla(unsigned int,unsigned long,const TQPixmap *);
+
+ virtual TQSize sizeHint() const;
+%If (TQScintilla_1_5 -)
+ TQWidget *viewport() const;
+%End
+
+signals:
+ void TQSCN_SELCHANGED(bool);
+
+ void SCEN_CHANGE();
+
+%If (TQScintilla_1_6 -)
+ void SCN_AUTOCSELECTION(const char *,int);
+%End
+ void SCN_CHARADDED(int);
+ void SCN_CALLTIPCLICK(int);
+ void SCN_DOUBLECLICK();
+ void SCN_DWELLEND(int,int,int);
+ void SCN_DWELLSTART(int,int,int);
+ void SCN_HOTSPOTCLICK(int,int);
+ void SCN_HOTSPOTDOUBLECLICK(int,int);
+ void SCN_MACRORECORD(unsigned int,unsigned long,long);
+ void SCN_MARGINCLICK(int,int,int);
+ void SCN_MODIFIED(int,int,const char *,int,int,int,int,int);
+ void SCN_MODIFYATTEMPTRO();
+ void SCN_NEEDSHOWN(int,int);
+ void SCN_PAINTED();
+ void SCN_SAVEPOINTLEFT();
+ void SCN_SAVEPOINTREACHED();
+ void SCN_STYLENEEDED(int);
+ void SCN_UPDATEUI();
+ void SCN_USERLISTSELECTION(const char *,int);
+ void SCN_ZOOM();
+
+protected:
+ bool eventFilter(TQObject *,TQEvent *);
+ virtual void keyPressEvent(TQKeyEvent *);
+ virtual void focusInEvent(TQFocusEvent *);
+ virtual void focusOutEvent(TQFocusEvent *);
+ virtual bool focusNextPrevChild(bool);
+%If (TQScintilla_1_5 -)
+ virtual void startDrag();
+%End
+
+private:
+ TQextScintillaBase(const TQextScintillaBase &);
+};
diff --git a/sip/tqtext/tqextscintillacommand.sip b/sip/tqtext/tqextscintillacommand.sip
new file mode 100644
index 0000000..77dfb56
--- /dev/null
+++ b/sip/tqtext/tqextscintillacommand.sip
@@ -0,0 +1,44 @@
+// This is the SIP interface definition for TQextScintillaCommand.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+class TQextScintillaCommand
+{
+%TypeHeaderCode
+#include <tqextscintillacommand.h>
+%End
+
+public:
+ void setKey(int);
+ void setAlternateKey(int);
+ int key() const;
+ int alternateKey() const;
+ static bool validKey(int);
+ TQString description() const;
+
+private:
+ TQextScintillaCommand(TQextScintilla *,int,int,const char *);
+ TQextScintillaCommand(const TQextScintillaCommand &);
+};
diff --git a/sip/tqtext/tqextscintillacommandset.sip b/sip/tqtext/tqextscintillacommandset.sip
new file mode 100644
index 0000000..b472345
--- /dev/null
+++ b/sip/tqtext/tqextscintillacommandset.sip
@@ -0,0 +1,52 @@
+// This is the SIP interface definition for the TQextScintillaCommandSet.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+class TQextScintillaCommandSet
+{
+%TypeHeaderCode
+#include <tqextscintillacommandset.h>
+%End
+
+public:
+ bool readSettings(TQSettings &,const char * = "/Scintilla");
+ bool writeSettings(TQSettings &,const char * = "/Scintilla");
+
+%If (TQScintilla_1_4 -)
+ TQPtrList<TQextScintillaCommand> &commands();
+%End
+%If (- TQScintilla_1_4)
+ const TQPtrList<TQextScintillaCommand> &commands() const;
+%End
+
+%If (TQScintilla_1_4 -)
+ void clearKeys();
+ void clearAlternateKeys();
+%End
+
+private:
+ TQextScintillaCommandSet(TQextScintilla *);
+ TQextScintillaCommandSet(const TQextScintillaCommandSet &);
+};
diff --git a/sip/tqtext/tqextscintilladocument.sip b/sip/tqtext/tqextscintilladocument.sip
new file mode 100644
index 0000000..9c656b8
--- /dev/null
+++ b/sip/tqtext/tqextscintilladocument.sip
@@ -0,0 +1,42 @@
+// This is the SIP interface definition for TQextScintillaDocument.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+%If (TQScintilla_1_3 -)
+
+class TQextScintillaDocument
+{
+%TypeHeaderCode
+#include <tqextscintilladocument.h>
+%End
+
+public:
+ TQextScintillaDocument();
+ virtual ~TQextScintillaDocument();
+
+ TQextScintillaDocument(const TQextScintillaDocument &);
+};
+
+%End
diff --git a/sip/tqtext/tqextscintillalexer.sip b/sip/tqtext/tqextscintillalexer.sip
new file mode 100644
index 0000000..b13b14d
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexer.sip
@@ -0,0 +1,80 @@
+// This is the SIP interface definition for TQextScintillaLexer.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+class TQextScintillaLexer : TQObject
+{
+%TypeHeaderCode
+#include <tqextscintillalexer.h>
+%End
+
+public:
+ TQextScintillaLexer(TQObject * /TransferThis/ = 0,const char * = 0);
+
+ virtual const char *language() const = 0;
+ virtual const char *lexer() const = 0;
+ int autoIndentStyle();
+ virtual TQColor color(int) const;
+ virtual bool eolFill(int) const;
+ virtual TQFont font(int) const;
+ virtual const char *keywords(int) const;
+ virtual TQString description(int) const = 0;
+ virtual TQColor paper(int) const;
+ virtual TQFont defaultFont() const;
+%If (TQScintilla_1_7 -)
+ virtual TQColor defaultColor() const;
+ virtual TQColor defaultPaper() const;
+%End
+ virtual void refreshProperties();
+ bool readSettings(TQSettings &,const char * = "/Scintilla");
+ bool writeSettings(TQSettings &,const char * = "/Scintilla") const;
+
+public slots:
+ virtual void setAutoIndentStyle(int);
+ virtual void setColor(const TQColor &,int = -1);
+ virtual void setDefaultFont(const TQFont &);
+%If (TQScintilla_1_7 -)
+ virtual void setDefaultColor(const TQColor &);
+ virtual void setDefaultPaper(const TQColor &);
+%End
+ virtual void setEolFill(bool,int = -1);
+ virtual void setFont(const TQFont &,int = -1);
+ virtual void setPaper(const TQColor &,int = -1);
+
+signals:
+ void colorChanged(const TQColor &,int);
+ void eolFillChanged(bool,int);
+ void fontChanged(const TQFont &,int);
+ void paperChanged(const TQColor &,int);
+ void propertyChanged(const char *,const char *);
+
+protected:
+ virtual bool readProperties(TQSettings &,const TQString &);
+ virtual bool writeProperties(TQSettings &,const TQString &) const;
+
+private:
+ TQextScintillaLexer(const TQextScintillaLexer &);
+
+};
diff --git a/sip/tqtext/tqextscintillalexerbash.sip b/sip/tqtext/tqextscintillalexerbash.sip
new file mode 100644
index 0000000..0a3b95c
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexerbash.sip
@@ -0,0 +1,80 @@
+// This is the SIP interface definition for TQextScintillaLexerBash.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+%If (TQScintilla_1_4 -)
+
+class TQextScintillaLexerBash : TQextScintillaLexer
+{
+%TypeHeaderCode
+#include <tqextscintillalexerbash.h>
+%End
+
+public:
+ enum {
+ Default,
+ Error,
+ Comment,
+ Number,
+ Keyword,
+ DoubleQuotedString,
+ SingleQuotedString,
+ Operator,
+ Identifier,
+ Scalar,
+ ParameterExpansion,
+ Backticks,
+ HereDocumentDelimiter,
+ SingleQuotedHereDocument
+ };
+
+ TQextScintillaLexerBash(TQObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ TQColor color(int) const;
+ bool eolFill(int) const;
+ TQFont font(int) const;
+ const char *keywords(int) const;
+ TQString description(int) const;
+ TQColor paper(int) const;
+
+ void refreshProperties();
+ bool foldComments() const;
+ bool foldCompact() const;
+
+public slots:
+ virtual void setFoldComments(bool);
+ virtual void setFoldCompact(bool);
+
+protected:
+ bool readProperties(TQSettings &,const TQString &);
+ bool writeProperties(TQSettings &,const TQString &) const;
+
+private:
+ TQextScintillaLexerBash(const TQextScintillaLexerBash &);
+};
+
+%End
diff --git a/sip/tqtext/tqextscintillalexerbatch.sip b/sip/tqtext/tqextscintillalexerbatch.sip
new file mode 100644
index 0000000..fa660f0
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexerbatch.sip
@@ -0,0 +1,62 @@
+// This is the SIP interface definition for TQextScintillaLexerBatch.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+%If (TQScintilla_1_6 -)
+
+class TQextScintillaLexerBatch : TQextScintillaLexer
+{
+%TypeHeaderCode
+#include <tqextscintillalexerbatch.h>
+%End
+
+public:
+ enum {
+ Default,
+ Comment,
+ Keyword,
+ Label,
+ HideCommandChar,
+ ExternalCommand,
+ Variable,
+ Operator
+ };
+
+ TQextScintillaLexerBatch(TQObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ TQColor color(int) const;
+ bool eolFill(int) const;
+ TQFont font(int) const;
+ const char *keywords(int) const;
+ TQString description(int) const;
+ TQColor paper(int) const;
+
+private:
+ TQextScintillaLexerBatch(const TQextScintillaLexerBatch &);
+};
+
+%End
diff --git a/sip/tqtext/tqextscintillalexercpp.sip b/sip/tqtext/tqextscintillalexercpp.sip
new file mode 100644
index 0000000..786893d
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexercpp.sip
@@ -0,0 +1,98 @@
+// This is the SIP interface definition for TQextScintillaLexerCPP.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+class TQextScintillaLexerCPP : TQextScintillaLexer
+{
+%TypeHeaderCode
+#include <tqextscintillalexercpp.h>
+%End
+
+public:
+ enum {
+%If (TQScintilla_1_1 -)
+ Default,
+%End
+ WhiteSpace,
+ Comment,
+ CommentLine,
+ CommentDoc,
+ Number,
+ Keyword,
+ DoubleQuotedString,
+ SingleQuotedString,
+ UUID,
+ PreProcessor,
+ Operator,
+ Identifier,
+ UnclosedString,
+ VerbatimString,
+ Regex,
+ CommentLineDoc,
+ KeywordSet2,
+ CommentDocKeyword,
+ CommentDocKeywordError,
+%If (TQScintilla_1_1 -)
+ GlobalClass,
+%End
+ };
+
+ TQextScintillaLexerCPP(TQObject * /TransferThis/ = 0,const char * = 0,
+ bool = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ TQColor color(int) const;
+ bool eolFill(int) const;
+ TQFont font(int) const;
+ const char *keywords(int) const;
+ TQString description(int) const;
+ TQColor paper(int) const;
+
+ void refreshProperties();
+%If (TQScintilla_1_1 -)
+ bool foldAtElse() const;
+%End
+ bool foldComments() const;
+ bool foldCompact() const;
+ bool foldPreprocessor() const;
+ bool stylePreprocessor() const;
+
+public slots:
+%If (TQScintilla_1_1 -)
+ virtual void setFoldAtElse(bool);
+%End
+ virtual void setFoldComments(bool);
+ virtual void setFoldCompact(bool);
+ virtual void setFoldPreprocessor(bool);
+ virtual void setStylePreprocessor(bool);
+
+protected:
+ bool readProperties(TQSettings &,const TQString &);
+ bool writeProperties(TQSettings &,const TQString &) const;
+
+private:
+ TQextScintillaLexerCPP(const TQextScintillaLexerCPP &);
+};
diff --git a/sip/tqtext/tqextscintillalexercsharp.sip b/sip/tqtext/tqextscintillalexercsharp.sip
new file mode 100644
index 0000000..cf5aafb
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexercsharp.sip
@@ -0,0 +1,47 @@
+// This is the SIP interface definition for TQextScintillaLexerCSharp.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+class TQextScintillaLexerCSharp : TQextScintillaLexerCPP
+{
+%TypeHeaderCode
+#include <tqextscintillalexercsharp.h>
+%End
+
+public:
+ TQextScintillaLexerCSharp(TQObject * /TransferThis/ = 0,
+ const char * = 0);
+
+ const char *language() const;
+ TQColor color(int) const;
+ bool eolFill(int) const;
+ TQFont font(int) const;
+ const char *keywords(int) const;
+ TQString description(int) const;
+ TQColor paper(int) const;
+
+private:
+ TQextScintillaLexerCSharp(const TQextScintillaLexerCSharp &);
+};
diff --git a/sip/tqtext/tqextscintillalexercss.sip b/sip/tqtext/tqextscintillalexercss.sip
new file mode 100644
index 0000000..adc5672
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexercss.sip
@@ -0,0 +1,81 @@
+// This is the SIP interface definition for TQextScintillaLexerCSS.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+%If (TQScintilla_1_6 -)
+
+class TQextScintillaLexerCSS : TQextScintillaLexer
+{
+%TypeHeaderCode
+#include <tqextscintillalexercss.h>
+%End
+
+public:
+ enum {
+ Default,
+ Tag,
+ ClassSelector,
+ PseudoClass,
+ UnknownPseudoClass,
+ Operator,
+ CSS1Property,
+ UnknownProperty,
+ Value,
+ Comment,
+ IDSelector,
+ Important,
+ AtRule,
+ DoubleQuotedString,
+ SingleQuotedString,
+ CSS2Property,
+ Attribute
+ };
+
+ TQextScintillaLexerCSS(TQObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ TQColor color(int) const;
+ TQFont font(int) const;
+ const char *keywords(int) const;
+ TQString description(int) const;
+
+ void refreshProperties();
+ bool foldComments() const;
+ bool foldCompact() const;
+
+public slots:
+ virtual void setFoldComments(bool);
+ virtual void setFoldCompact(bool);
+
+protected:
+ bool readProperties(TQSettings &,const TQString &);
+ bool writeProperties(TQSettings &,const TQString &) const;
+
+private:
+ TQextScintillaLexerCSS(const TQextScintillaLexerCSS &);
+};
+
+%End
diff --git a/sip/tqtext/tqextscintillalexerdiff.sip b/sip/tqtext/tqextscintillalexerdiff.sip
new file mode 100644
index 0000000..576c826
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexerdiff.sip
@@ -0,0 +1,57 @@
+// This is the SIP interface definition for TQextScintillaLexerDiff.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+%If (TQScintilla_1_6 -)
+
+class TQextScintillaLexerDiff : TQextScintillaLexer
+{
+%TypeHeaderCode
+#include <tqextscintillalexerdiff.h>
+%End
+
+public:
+ enum {
+ Default,
+ Comment,
+ Command,
+ Header,
+ Position,
+ LineRemoved,
+ LineAdded
+ };
+
+ TQextScintillaLexerDiff(TQObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ TQColor color(int) const;
+ TQString description(int) const;
+
+private:
+ TQextScintillaLexerDiff(const TQextScintillaLexerDiff &);
+};
+
+%End
diff --git a/sip/tqtext/tqextscintillalexerhtml.sip b/sip/tqtext/tqextscintillalexerhtml.sip
new file mode 100644
index 0000000..6133b98
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexerhtml.sip
@@ -0,0 +1,178 @@
+// This is the SIP interface definition for TQextScintillaLexerHTML.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+%If (TQScintilla_1_1 -)
+
+class TQextScintillaLexerHTML : TQextScintillaLexer
+{
+%TypeHeaderCode
+#include <tqextscintillalexerhtml.h>
+%End
+
+public:
+ enum {
+ Default,
+ Tag,
+ UnknownTag,
+ Attribute,
+ UnknownAttribute,
+ HTMLNumber,
+ HTMLDoubleQuotedString,
+ HTMLSingleQuotedString,
+ OtherInTag,
+ HTMLComment,
+ Entity,
+ XMLTagEnd,
+ XMLStart,
+ XMLEnd,
+ Script,
+ ASPAtStart,
+ ASPStart,
+ CDATA,
+ PHPStart,
+ HTMLValue,
+ ASPXCComment,
+ SGMLDefault,
+ SGMLCommand,
+ SGMLParameter,
+ SGMLDoubleQuotedString,
+ SGMLSingleQuotedString,
+ SGMLError,
+ SGMLSpecial,
+ SGMLEntity,
+ SGMLComment,
+ SGMLParameterComment,
+ SGMLBlockDefault,
+ JavaScriptStart,
+ JavaScriptDefault,
+ JavaScriptComment,
+ JavaScriptCommentLine,
+ JavaScriptCommentDoc,
+ JavaScriptNumber,
+ JavaScriptWord,
+ JavaScriptKeyword,
+ JavaScriptDoubleQuotedString,
+ JavaScriptSingleQuotedString,
+ JavaScriptSymbol,
+ JavaScriptUnclosedString,
+ JavaScriptRegex,
+ ASPJavaScriptStart,
+ ASPJavaScriptDefault,
+ ASPJavaScriptComment,
+ ASPJavaScriptCommentLine,
+ ASPJavaScriptCommentDoc,
+ ASPJavaScriptNumber,
+ ASPJavaScriptWord,
+ ASPJavaScriptKeyword,
+ ASPJavaScriptDoubleQuotedString,
+ ASPJavaScriptSingleQuotedString,
+ ASPJavaScriptSymbol,
+ ASPJavaScriptUnclosedString,
+ ASPJavaScriptRegex,
+ VBScriptStart,
+ VBScriptDefault,
+ VBScriptComment,
+ VBScriptNumber,
+ VBScriptKeyword,
+ VBScriptString,
+ VBScriptIdentifier,
+ VBScriptUnclosedString,
+ ASPVBScriptStart,
+ ASPVBScriptDefault,
+ ASPVBScriptComment,
+ ASPVBScriptNumber,
+ ASPVBScriptKeyword,
+ ASPVBScriptString,
+ ASPVBScriptIdentifier,
+ ASPVBScriptUnclosedString,
+ PythonStart,
+ PythonDefault,
+ PythonComment,
+ PythonNumber,
+ PythonDoubleQuotedString,
+ PythonSingleQuotedString,
+ PythonKeyword,
+ PythonTripleSingleQuotedString,
+ PythonTripleDoubleQuotedString,
+ PythonClassName,
+ PythonFunctionMethodName,
+ PythonOperator,
+ PythonIdentifier,
+ ASPPythonStart,
+ ASPPythonDefault,
+ ASPPythonComment,
+ ASPPythonNumber,
+ ASPPythonDoubleQuotedString,
+ ASPPythonSingleQuotedString,
+ ASPPythonKeyword,
+ ASPPythonTripleSingleQuotedString,
+ ASPPythonTripleDoubleQuotedString,
+ ASPPythonClassName,
+ ASPPythonFunctionMethodName,
+ ASPPythonOperator,
+ ASPPythonIdentifier,
+ PHPDefault,
+ PHPDoubleQuotedString,
+ PHPSingleQuotedString,
+ PHPKeyword,
+ PHPNumber,
+ PHPVariable,
+ PHPComment,
+ PHPCommentLine,
+ PHPDoubleQuotedVariable,
+ PHPOperator
+ };
+
+ TQextScintillaLexerHTML(TQObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ TQColor color(int) const;
+ bool eolFill(int) const;
+ TQFont font(int) const;
+ const char *keywords(int) const;
+ TQString description(int) const;
+ TQColor paper(int) const;
+
+ void refreshProperties();
+ bool foldCompact() const;
+ bool foldPreprocessor() const;
+ bool caseSensitiveTags() const;
+
+public slots:
+ virtual void setFoldCompact(bool);
+ virtual void setFoldPreprocessor(bool);
+ virtual void setCaseSensitiveTags(bool);
+
+protected:
+ bool readProperties(TQSettings &,const TQString &);
+ bool writeProperties(TQSettings &,const TQString &) const;
+
+private:
+ TQextScintillaLexerHTML(const TQextScintillaLexerHTML &);
+};
+
+%End
diff --git a/sip/tqtext/tqextscintillalexeridl.sip b/sip/tqtext/tqextscintillalexeridl.sip
new file mode 100644
index 0000000..8ae2a83
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexeridl.sip
@@ -0,0 +1,43 @@
+// This is the SIP interface definition for TQextScintillaLexerIDL.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+class TQextScintillaLexerIDL : TQextScintillaLexerCPP
+{
+%TypeHeaderCode
+#include <tqextscintillalexeridl.h>
+%End
+
+public:
+ TQextScintillaLexerIDL(TQObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ TQColor color(int) const;
+ const char *keywords(int) const;
+ TQString description(int) const;
+
+private:
+ TQextScintillaLexerIDL(const TQextScintillaLexerIDL &);
+};
diff --git a/sip/tqtext/tqextscintillalexerjava.sip b/sip/tqtext/tqextscintillalexerjava.sip
new file mode 100644
index 0000000..7ffb790
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexerjava.sip
@@ -0,0 +1,41 @@
+// This is the SIP interface definition for TQextScintillaLexerJava.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+class TQextScintillaLexerJava : TQextScintillaLexerCPP
+{
+%TypeHeaderCode
+#include <tqextscintillalexerjava.h>
+%End
+
+public:
+ TQextScintillaLexerJava(TQObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *keywords(int) const;
+
+private:
+ TQextScintillaLexerJava(const TQextScintillaLexerJava &);
+};
diff --git a/sip/tqtext/tqextscintillalexerjavascript.sip b/sip/tqtext/tqextscintillalexerjavascript.sip
new file mode 100644
index 0000000..0624788
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexerjavascript.sip
@@ -0,0 +1,47 @@
+// This is the SIP interface definition for TQextScintillaLexerJavaScript.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+class TQextScintillaLexerJavaScript : TQextScintillaLexerCPP
+{
+%TypeHeaderCode
+#include <tqextscintillalexerjavascript.h>
+%End
+
+public:
+ TQextScintillaLexerJavaScript(TQObject * /TransferThis/ = 0,
+ const char * = 0);
+
+ const char *language() const;
+ TQColor color(int) const;
+ bool eolFill(int) const;
+ TQFont font(int) const;
+ const char *keywords(int) const;
+ TQString description(int) const;
+ TQColor paper(int) const;
+
+private:
+ TQextScintillaLexerJavaScript(const TQextScintillaLexerJavaScript &);
+};
diff --git a/sip/tqtext/tqextscintillalexerlua.sip b/sip/tqtext/tqextscintillalexerlua.sip
new file mode 100644
index 0000000..3a70a01
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexerlua.sip
@@ -0,0 +1,79 @@
+// This is the SIP interface definition for TQextScintillaLexerLua.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+%If (TQScintilla_1_5 -)
+
+class TQextScintillaLexerLua : TQextScintillaLexer
+{
+%TypeHeaderCode
+#include <tqextscintillalexerlua.h>
+%End
+
+public:
+ enum {
+ Default,
+ Comment,
+ LineComment,
+ Number,
+ Keyword,
+ String,
+ Character,
+ LiteralString,
+ Preprocessor,
+ Operator,
+ Identifier,
+ UnclosedString,
+ BasicFunctions,
+ StringTableMathsFunctions,
+ CoroutinesIOSystemFacilities
+ };
+
+ TQextScintillaLexerLua(TQObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ TQColor color(int) const;
+ bool eolFill(int) const;
+ TQFont font(int) const;
+ const char *keywords(int) const;
+ TQString description(int) const;
+ TQColor paper(int) const;
+
+ void refreshProperties();
+ bool foldCompact() const;
+
+public slots:
+ virtual void setFoldCompact(bool);
+
+protected:
+ bool readProperties(TQSettings &,const TQString &);
+ bool writeProperties(TQSettings &,const TQString &) const;
+
+private:
+ TQextScintillaLexerLua(const TQextScintillaLexerLua &);
+};
+
+%End
diff --git a/sip/tqtext/tqextscintillalexermakefile.sip b/sip/tqtext/tqextscintillalexermakefile.sip
new file mode 100644
index 0000000..d15259e
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexermakefile.sip
@@ -0,0 +1,60 @@
+// This is the SIP interface definition for TQextScintillaLexerMakefile.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+%If (TQScintilla_1_6 -)
+
+class TQextScintillaLexerMakefile : TQextScintillaLexer
+{
+%TypeHeaderCode
+#include <tqextscintillalexermakefile.h>
+%End
+
+public:
+ enum {
+ Default,
+ Comment,
+ Preprocessor,
+ Variable,
+ Operator,
+ Target,
+ Error
+ };
+
+ TQextScintillaLexerMakefile(TQObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ TQColor color(int) const;
+ bool eolFill(int) const;
+ TQFont font(int) const;
+ TQString description(int) const;
+ TQColor paper(int) const;
+
+private:
+ TQextScintillaLexerMakefile(const TQextScintillaLexerMakefile &);
+};
+
+%End
diff --git a/sip/tqtext/tqextscintillalexerperl.sip b/sip/tqtext/tqextscintillalexerperl.sip
new file mode 100644
index 0000000..e63e71b
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexerperl.sip
@@ -0,0 +1,96 @@
+// This is the SIP interface definition for TQextScintillaLexerPerl.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+%If (TQScintilla_1_3 -)
+
+class TQextScintillaLexerPerl : TQextScintillaLexer
+{
+%TypeHeaderCode
+#include <tqextscintillalexerperl.h>
+%End
+
+public:
+ enum {
+ Default,
+ Error,
+ Comment,
+ POD,
+ Number,
+ Keyword,
+ DoubleQuotedString,
+ SingleQuotedString,
+ Operator,
+ Identifier,
+ Scalar,
+ Array,
+ Hash,
+ SymbolTable,
+ Regex,
+ Substitution,
+ Backticks,
+ DataSection,
+ HereDocumentDelimiter,
+ SingleQuotedHereDocument,
+ DoubleQuotedHereDocument,
+ BacktickHereDocument,
+ QuotedStringQ,
+ QuotedStringQQ,
+ QuotedStringQX,
+ QuotedStringQR,
+ QuotedStringQW,
+%If (TQScintilla_1_6 -)
+ PODVerbatim,
+%End
+ };
+
+ TQextScintillaLexerPerl(TQObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ TQColor color(int) const;
+ bool eolFill(int) const;
+ TQFont font(int) const;
+ const char *keywords(int) const;
+ TQString description(int) const;
+ TQColor paper(int) const;
+
+ void refreshProperties();
+ bool foldComments() const;
+ bool foldCompact() const;
+
+public slots:
+ virtual void setFoldComments(bool);
+ virtual void setFoldCompact(bool);
+
+protected:
+ bool readProperties(TQSettings &,const TQString &);
+ bool writeProperties(TQSettings &,const TQString &) const;
+
+private:
+ TQextScintillaLexerPerl(const TQextScintillaLexerPerl &);
+};
+
+%End
diff --git a/sip/tqtext/tqextscintillalexerpov.sip b/sip/tqtext/tqextscintillalexerpov.sip
new file mode 100644
index 0000000..f4f87ad
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexerpov.sip
@@ -0,0 +1,85 @@
+// This is the SIP interface definition for TQextScintillaLexerPOV.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+%If (TQScintilla_1_6 -)
+
+class TQextScintillaLexerPOV : TQextScintillaLexer
+{
+%TypeHeaderCode
+#include <tqextscintillalexerpov.h>
+%End
+
+public:
+ enum {
+ Default,
+ Comment,
+ CommentLine,
+ Number,
+ Operator,
+ Identifier,
+ String,
+ UnclosedString,
+ Directive,
+ BadDirective,
+ ObjectsCSGAppearance,
+ TypesModifiersItems,
+ PredefinedIdentifiers,
+ PredefinedFunctions,
+ KeywordSet6,
+ KeywordSet7,
+ KeywordSet8
+ };
+
+ TQextScintillaLexerPOV(TQObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ TQColor color(int) const;
+ bool eolFill(int) const;
+ TQFont font(int) const;
+ const char *keywords(int) const;
+ TQString description(int) const;
+ TQColor paper(int) const;
+
+ void refreshProperties();
+ bool foldComments() const;
+ bool foldCompact() const;
+ bool foldDirectives() const;
+
+public slots:
+ virtual void setFoldComments(bool);
+ virtual void setFoldCompact(bool);
+ virtual void setFoldDirectives(bool);
+
+protected:
+ bool readProperties(TQSettings &,const TQString &);
+ bool writeProperties(TQSettings &,const TQString &) const;
+
+private:
+ TQextScintillaLexerPOV(const TQextScintillaLexerPOV &);
+};
+
+%End
diff --git a/sip/tqtext/tqextscintillalexerproperties.sip b/sip/tqtext/tqextscintillalexerproperties.sip
new file mode 100644
index 0000000..b3be195
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexerproperties.sip
@@ -0,0 +1,68 @@
+// This is the SIP interface definition for TQextScintillaLexerProperties.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+%If (TQScintilla_1_6 -)
+
+class TQextScintillaLexerProperties : TQextScintillaLexer
+{
+%TypeHeaderCode
+#include <tqextscintillalexerproperties.h>
+%End
+
+public:
+ enum {
+ Default,
+ Comment,
+ Section,
+ Assignment,
+ DefaultValue
+ };
+
+ TQextScintillaLexerProperties(TQObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ TQColor color(int) const;
+ bool eolFill(int) const;
+ TQFont font(int) const;
+ TQString description(int) const;
+ TQColor paper(int) const;
+
+ void refreshProperties();
+ bool foldCompact() const;
+
+public slots:
+ virtual void setFoldCompact(bool);
+
+protected:
+ bool readProperties(TQSettings &,const TQString &);
+ bool writeProperties(TQSettings &,const TQString &) const;
+
+private:
+ TQextScintillaLexerProperties(const TQextScintillaLexerProperties &);
+};
+
+%End
diff --git a/sip/tqtext/tqextscintillalexerpython.sip b/sip/tqtext/tqextscintillalexerpython.sip
new file mode 100644
index 0000000..d14a51d
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexerpython.sip
@@ -0,0 +1,94 @@
+// This is the SIP interface definition for TQextScintillaLexerPython.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+class TQextScintillaLexerPython : TQextScintillaLexer
+{
+%TypeHeaderCode
+#include <tqextscintillalexerpython.h>
+%End
+
+public:
+ enum {
+%If (TQScintilla_1_1 -)
+ Default,
+%End
+ WhiteSpace,
+ Comment,
+ Number,
+ DoubleQuotedString,
+ SingleQuotedString,
+ Keyword,
+ TripleSingleQuotedString,
+ TripleDoubleQuotedString,
+ ClassName,
+ FunctionMethodName,
+ Operator,
+ Identifier,
+ CommentBlock,
+ UnclosedString,
+%If (TQScintilla_1_7 -)
+ HighlightedIdentifier,
+ Decorator,
+%End
+ };
+
+ enum IndentationWarning {
+ NoWarning,
+ Inconsistent,
+ TabsAfterSpaces,
+ Spaces,
+ Tabs
+ };
+
+ TQextScintillaLexerPython(TQObject * /TransferThis/ = 0,
+ const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ TQColor color(int) const;
+ bool eolFill(int) const;
+ TQFont font(int) const;
+ const char *keywords(int) const;
+ TQString description(int) const;
+ TQColor paper(int) const;
+ void refreshProperties();
+
+ bool foldComments() const;
+ bool foldQuotes() const;
+ IndentationWarning indentationWarning() const;
+
+public slots:
+ virtual void setFoldComments(bool);
+ virtual void setFoldQuotes(bool);
+ virtual void setIndentationWarning(IndentationWarning);
+
+protected:
+ bool readProperties(TQSettings &,const TQString &);
+ bool writeProperties(TQSettings &,const TQString &) const;
+
+private:
+ TQextScintillaLexerPython(const TQextScintillaLexerPython &);
+};
diff --git a/sip/tqtext/tqextscintillalexerruby.sip b/sip/tqtext/tqextscintillalexerruby.sip
new file mode 100644
index 0000000..257aad2
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexerruby.sip
@@ -0,0 +1,128 @@
+// This is the SIP interface definition for TQextScintillaLexerRuby.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+%If (TQScintilla_1_5 -)
+
+class TQextScintillaLexerRuby : TQextScintillaLexer
+{
+%TypeHeaderCode
+#include <tqextscintillalexerruby.h>
+%End
+
+public:
+%If (TQScintilla_1_7 -)
+ enum {
+ Default,
+ Comment,
+ POD,
+ Number,
+ Keyword,
+ DoubleQuotedString,
+ SingleQuotedString,
+ ClassName,
+ FunctionMethodName,
+ Operator,
+ Identifier,
+ Regex,
+ Global,
+ Symbol,
+ ModuleName,
+ InstanceVariable,
+ ClassVariable,
+ Backticks,
+ DataSection,
+ HereDocumentDelimiter,
+ HereDocument,
+ PercentStringq,
+ PercentStringQ,
+ PercentStringx,
+ PercentStringr,
+ PercentStringw,
+ DemotedKeyword,
+ Stdin,
+ Stdout,
+ Stderr
+ };
+%End
+%If (- TQScintilla_1_7)
+ enum {
+ Default,
+ WhiteSpace,
+ Comment,
+ Number,
+ DoubleQuotedString,
+ SingleQuotedString,
+ Keyword,
+ TripleDoubleQuotedString,
+ ClassName,
+ FunctionMethodName,
+ Operator,
+ Identifier,
+ CommentBlock,
+ UnclosedString
+ };
+
+ enum IndentationWarning {
+ NoWarning,
+ Inconsistent,
+ TabsAfterSpaces,
+ Spaces,
+ Tabs
+ };
+%End
+
+ TQextScintillaLexerRuby(TQObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ TQColor color(int) const;
+ bool eolFill(int) const;
+ TQFont font(int) const;
+ const char *keywords(int) const;
+ TQString description(int) const;
+ TQColor paper(int) const;
+%If (- TQScintilla_1_7)
+ void refreshProperties();
+
+ IndentationWarning indentationWarning() const;
+%End
+
+public slots:
+%If (- TQScintilla_1_7)
+ virtual void setIndentationWarning(IndentationWarning);
+%End
+
+protected:
+%If (- TQScintilla_1_7)
+ bool readProperties(TQSettings &,const TQString &);
+ bool writeProperties(TQSettings &,const TQString &) const;
+%End
+
+private:
+ TQextScintillaLexerRuby(const TQextScintillaLexerRuby &);
+};
+
+%End
diff --git a/sip/tqtext/tqextscintillalexersql.sip b/sip/tqtext/tqextscintillalexersql.sip
new file mode 100644
index 0000000..418351f
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexersql.sip
@@ -0,0 +1,105 @@
+// This is the SIP interface definition for TQextScintillaLexerSQL.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+%If (TQScintilla_1_1 -)
+
+class TQextScintillaLexerSQL : TQextScintillaLexer
+{
+%TypeHeaderCode
+#include <tqextscintillalexersql.h>
+%End
+
+public:
+ enum {
+ Default,
+ Comment,
+%If (TQScintilla_1_6 -)
+ CommentLine,
+ CommentDoc,
+%End
+ LineComment, // Obsolete.
+ Number,
+ Keyword,
+%If (TQScintilla_1_6 -)
+ DoubleQuotedString,
+%End
+ SingleQuotedString,
+%If (TQScintilla_1_6 -)
+ PlusKeyword,
+ PlusPrompt,
+%End
+ Operator,
+ Identifier,
+%If (TQScintilla_1_6 -)
+ PlusComment,
+ CommentLineHash,
+ CommentDocKeyword,
+ CommentDocKeywordError,
+ KeywordSet5,
+ KeywordSet6,
+ KeywordSet7,
+ KeywordSet8,
+%End
+ };
+
+ TQextScintillaLexerSQL(TQObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ TQColor color(int) const;
+%If (TQScintilla_1_6 -)
+ bool eolFill(int) const;
+%End
+ TQFont font(int) const;
+ const char *keywords(int) const;
+ TQString description(int) const;
+%If (TQScintilla_1_6 -)
+ TQColor paper(int) const;
+
+ void refreshProperties();
+ bool foldComments() const;
+ bool foldCompact() const;
+ bool backslashEscapes() const;
+%End
+
+public slots:
+%If (TQScintilla_1_6 -)
+ virtual void setFoldComments(bool);
+ virtual void setFoldCompact(bool);
+ virtual void setBackslashEscapes(bool);
+%End
+
+protected:
+%If (TQScintilla_1_6 -)
+ bool readProperties(TQSettings &,const TQString &);
+ bool writeProperties(TQSettings &,const TQString &) const;
+%End
+
+private:
+ TQextScintillaLexerSQL(const TQextScintillaLexerSQL &);
+};
+
+%End
diff --git a/sip/tqtext/tqextscintillalexertex.sip b/sip/tqtext/tqextscintillalexertex.sip
new file mode 100644
index 0000000..24f42fe
--- /dev/null
+++ b/sip/tqtext/tqextscintillalexertex.sip
@@ -0,0 +1,57 @@
+// This is the SIP interface definition for TQextScintillaLexerTeX.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+%If (TQScintilla_1_6 -)
+
+class TQextScintillaLexerTeX : TQextScintillaLexer
+{
+%TypeHeaderCode
+#include <tqextscintillalexertex.h>
+%End
+
+public:
+ enum {
+ Default,
+ Special,
+ Group,
+ Symbol,
+ Command,
+ Text
+ };
+
+ TQextScintillaLexerTeX(TQObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ TQColor color(int) const;
+ const char *keywords(int) const;
+ TQString description(int) const;
+
+private:
+ TQextScintillaLexerTeX(const TQextScintillaLexerTeX &);
+};
+
+%End
diff --git a/sip/tqtext/tqextscintillamacro.sip b/sip/tqtext/tqextscintillamacro.sip
new file mode 100644
index 0000000..e29ab1f
--- /dev/null
+++ b/sip/tqtext/tqextscintillamacro.sip
@@ -0,0 +1,49 @@
+// This is the SIP interface definition for TQextScintillaMacro.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+class TQextScintillaMacro : TQObject
+{
+%TypeHeaderCode
+#include <tqextscintillamacro.h>
+%End
+
+public:
+ TQextScintillaMacro(TQextScintilla * /TransferThis/,const char * = 0);
+ TQextScintillaMacro(const TQCString &,TQextScintilla * /TransferThis/,
+ const char * = 0);
+
+ void clear();
+ bool load(const TQCString &);
+ TQCString save() const;
+
+public slots:
+ virtual void play();
+ virtual void startRecording();
+ virtual void endRecording();
+
+private:
+ TQextScintillaMacro(const TQextScintillaMacro &);
+};
diff --git a/sip/tqtext/tqextscintillaprinter.sip b/sip/tqtext/tqextscintillaprinter.sip
new file mode 100644
index 0000000..b5ee0d6
--- /dev/null
+++ b/sip/tqtext/tqextscintillaprinter.sip
@@ -0,0 +1,45 @@
+// This is the SIP interface definition for TQextScintillaPrinter.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+// The documentation is in the main documentation file because SIP isn't clever
+// enough to handle the resulting %Timeline complexity.
+
+
+class TQextScintillaPrinter : TQPrinter
+{
+%TypeHeaderCode
+#include <tqextscintillaprinter.h>
+%End
+
+public:
+ TQextScintillaPrinter(TQPrinter::PrinterMode = TQPrinter::ScreenResolution);
+
+ virtual void formatPage(TQPainter &,bool,TQRect &,int);
+ virtual int printRange(TQextScintillaBase *,int = -1,int = -1);
+ int magnification() const;
+ virtual void setMagnification(int);
+ TQextScintilla::WrapMode wrapMode() const;
+ virtual void setWrapMode(TQextScintilla::WrapMode);
+
+private:
+ TQextScintillaPrinter(const TQextScintillaPrinter &);
+};
diff --git a/sip/tqtext/tqtextmod.sip b/sip/tqtext/tqtextmod.sip
new file mode 100644
index 0000000..dc57de3
--- /dev/null
+++ b/sip/tqtext/tqtextmod.sip
@@ -0,0 +1,107 @@
+// This is the SIP interface definition for the tqtext module of PyTQt.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyTQt.
+//
+// This copy of PyTQt is free software; you can redistribute it and/or modify it
+// under the terms of the GNU General Public License as published by the Free
+// Software Foundation; either version 2, or (at your option) any later
+// version.
+//
+// PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+// details.
+//
+// You should have received a copy of the GNU General Public License along with
+// PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+%Module PyTQt.tqtext 4
+
+%Import tqt/tqtmod.sip
+
+%Include copying.sip
+
+
+// The TQScintilla versions.
+%Timeline {TQScintilla_1_1 TQScintilla_1_2 TQScintilla_1_3 TQScintilla_1_4
+ TQScintilla_1_5 TQScintilla_1_6 TQScintilla_1_7}
+
+
+const unsigned TQSCINTILLA_VERSION;
+const char *TQSCINTILLA_VERSION_STR;
+const char *TQSCINTILLA_BUILD;
+
+
+%Include tqextscintillaapis.sip
+%Include tqextscintillabase.sip
+%Include tqextscintilla.sip
+%Include tqextscintillacommand.sip
+%Include tqextscintillacommandset.sip
+%Include tqextscintilladocument.sip
+%Include tqextscintillalexer.sip
+%Include tqextscintillalexerbash.sip
+%Include tqextscintillalexerbatch.sip
+%Include tqextscintillalexercpp.sip
+%Include tqextscintillalexercsharp.sip
+%Include tqextscintillalexercss.sip
+%Include tqextscintillalexerdiff.sip
+%Include tqextscintillalexerhtml.sip
+%Include tqextscintillalexeridl.sip
+%Include tqextscintillalexerjava.sip
+%Include tqextscintillalexerjavascript.sip
+%Include tqextscintillalexerlua.sip
+%Include tqextscintillalexermakefile.sip
+%Include tqextscintillalexerperl.sip
+%Include tqextscintillalexerpov.sip
+%Include tqextscintillalexerproperties.sip
+%Include tqextscintillalexerpython.sip
+%Include tqextscintillalexerruby.sip
+%Include tqextscintillalexersql.sip
+%Include tqextscintillalexertex.sip
+%Include tqextscintillamacro.sip
+%Include tqextscintillaprinter.sip
+
+
+// The build file template.
+
+%Makefile tqtext.pro.in
+# The project file for the tqtext module.
+#
+# Copyright (c) 2007
+# Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+#
+# This file is part of PyTQt.
+#
+# This copy of PyTQt is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the Free
+# Software Foundation; either version 2, or (at your option) any later
+# version.
+#
+# PyTQt is supplied in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+# details.
+#
+# You should have received a copy of the GNU General Public License along with
+# PyTQt; see the file LICENSE. If not, write to the Free Software Foundation,
+# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+TEMPLATE = lib
+TARGET = @BLX_TARGET_LIB@
+DESTDIR = @PYTQT_MODDIR@
+CONFIG += @BLX_CONFIG_LIB@ @PYTQT_WARN@
+INCLUDEPATH = @BLX_INCLUDEPATH@ @PYTQT_TQSCINTILLA_INC@
+DEFINES = @BLX_DEFINES@ TQEXTSCINTILLA_DLL
+LIBS += @PYTQT_TQT_MODULE@ @PYTQT_TQSCINTILLA_LIB@ @BLX_LIBS@
+macx:QMAKE_LFLAGS += -framework Python
+
+SOURCES = $B
+
+HEADERS = $H
+%End