summaryrefslogtreecommitdiffstats
path: root/python/pyqt/sip/qtext
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit90825e2392b2d70e43c7a25b8a3752299a933894 (patch)
treee33aa27f02b74604afbfd0ea4f1cfca8833d882a /python/pyqt/sip/qtext
downloadtdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz
tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'python/pyqt/sip/qtext')
-rw-r--r--python/pyqt/sip/qtext/copying.sip51
-rw-r--r--python/pyqt/sip/qtext/qextscintilla.sip411
-rw-r--r--python/pyqt/sip/qtext/qextscintillaapis.sip42
-rw-r--r--python/pyqt/sip/qtext/qextscintillabase.sip1024
-rw-r--r--python/pyqt/sip/qtext/qextscintillacommand.sip44
-rw-r--r--python/pyqt/sip/qtext/qextscintillacommandset.sip52
-rw-r--r--python/pyqt/sip/qtext/qextscintilladocument.sip42
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexer.sip80
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexerbash.sip80
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexerbatch.sip62
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexercpp.sip98
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexercsharp.sip47
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexercss.sip81
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexerdiff.sip57
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexerhtml.sip178
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexeridl.sip43
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexerjava.sip41
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexerjavascript.sip47
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexerlua.sip79
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexermakefile.sip60
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexerperl.sip96
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexerpov.sip85
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexerproperties.sip68
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexerpython.sip94
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexerruby.sip128
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexersql.sip105
-rw-r--r--python/pyqt/sip/qtext/qextscintillalexertex.sip57
-rw-r--r--python/pyqt/sip/qtext/qextscintillamacro.sip49
-rw-r--r--python/pyqt/sip/qtext/qextscintillaprinter.sip45
-rw-r--r--python/pyqt/sip/qtext/qtextmod.sip107
30 files changed, 3453 insertions, 0 deletions
diff --git a/python/pyqt/sip/qtext/copying.sip b/python/pyqt/sip/qtext/copying.sip
new file mode 100644
index 00000000..463904b2
--- /dev/null
+++ b/python/pyqt/sip/qtext/copying.sip
@@ -0,0 +1,51 @@
+// This is the SIP file defining the PyQt license.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 PyQt.
+
+This copy of PyQt 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.
+
+PyQt 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
+PyQt; 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 pyqt-internal.sip
+%OptionalInclude pyqt-gpl.sip
+%OptionalInclude pyqt-commercial.sip
+%OptionalInclude pyqt-edu.sip
+%OptionalInclude pyqt-eval.sip
+%OptionalInclude pyqt-nc.sip
+%OptionalInclude pyqt-tkc.sip
diff --git a/python/pyqt/sip/qtext/qextscintilla.sip b/python/pyqt/sip/qtext/qextscintilla.sip
new file mode 100644
index 00000000..c03dc56b
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintilla.sip
@@ -0,0 +1,411 @@
+// This is the SIP interface definition for QextScintilla.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 QextScintilla : QextScintillaBase
+{
+%TypeHeaderCode
+#include <qextscintilla.h>
+%End
+
+public:
+ enum {
+ AiMaintain,
+ AiOpening,
+ AiClosing
+ };
+
+ enum AutoCompletionSource {
+ AcsDocument,
+ AcsAPIs,
+%If (QScintilla_1_7 -)
+ AcsAll,
+%End
+ };
+
+ enum BraceMatch {
+ NoBraceMatch,
+ StrictBraceMatch,
+ SloppyBraceMatch
+ };
+
+%If (QScintilla_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 (QScintilla_1_7 -)
+ WrapCharacter,
+%End
+ };
+
+%If (QScintilla_1_7 -)
+ enum WrapVisualFlag {
+ WrapFlagNone,
+ WrapFlagByText,
+ WrapFlagByBorder,
+ };
+%End
+
+ QextScintilla(QWidget * /TransferThis/ = 0,const char * = 0,
+ WFlags = 0);
+
+ bool autoCompletionCaseSensitivity();
+%If (QScintilla_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 (QScintilla_1_7 -)
+ void cancelList();
+%End
+ void clearRegisteredImages();
+ void convertEols(EolMode);
+%If (QScintilla_1_3 -)
+ QextScintillaDocument document();
+%End
+ void endUndoAction();
+
+%If (QScintilla_1_4 -)
+ QColor edgeColor();
+ int edgeColumn();
+ EdgeMode edgeMode();
+%End
+
+ EolMode eolMode();
+ bool eolVisibility();
+
+%If (QScintilla_1_7 -)
+ QColor color() const;
+ QColor paper() const;
+%End
+
+%If (QScintilla_1_6 -)
+ virtual bool findFirst(const QString &,bool,bool,bool,bool,bool = 1,
+ int = -1,int = -1,bool = 1);
+%End
+%If (- QScintilla_1_6)
+ virtual bool findFirst(const QString &,bool,bool,bool,bool,bool = 1,
+ int = -1,int = -1);
+%End
+ virtual bool findNext();
+
+%If (QScintilla_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 (QScintilla_1_7 -)
+ bool isCallTipActive();
+ bool isListActive();
+%End
+ bool isModified();
+ bool isReadOnly();
+ bool isRedoAvailable();
+ bool isUndoAvailable();
+ bool isUtf8();
+ int lineAt(const QPoint &);
+ int lineLength(int);
+ int lines();
+ int length();
+%If (QScintilla_1_7 -)
+ QextScintillaLexer *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 QPixmap *,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 (QScintilla_1_3 -)
+ virtual void recolor(int = 0,int = -1);
+%End
+ void registerImage(int,const QPixmap *);
+ virtual void replace(const QString &);
+ void resetFoldMarginColors();
+ void setFoldMarginColors(const QColor &,const QColor &);
+
+ void setAutoCompletionAPIs(QextScintillaAPIs * = 0);
+ void setAutoCompletionFillups(const char *);
+%If (QScintilla_1_7 -)
+ void setAutoCompletionFillupsEnabled(bool);
+ void setAutoCompletionStartCharacters(const char *);
+%End
+
+ void setCallTipsAPIs(QextScintillaAPIs * = 0);
+ void setCallTipsBackgroundColor(const QColor &);
+ void setCallTipsForegroundColor(const QColor &);
+ void setCallTipsHighlightColor(const QColor &);
+ void setCallTipsVisible(int);
+
+%If (QScintilla_1_3 -)
+ void setDocument(const QextScintillaDocument &);
+%End
+
+%If (QScintilla_1_4 -)
+ void setEdgeColor(const QColor &);
+ void setEdgeColumn(int);
+ void setEdgeMode(EdgeMode);
+%End
+
+%If (QScintilla_1_7 -)
+ virtual void setFont(const QFont &);
+%End
+
+ void setMarkerBackgroundColor(const QColor &,int = -1);
+ void setMarkerForegroundColor(const QColor &,int = -1);
+
+ void setMatchedBraceBackgroundColor(const QColor &);
+ void setMatchedBraceForegroundColor(const QColor &);
+ void setUnmatchedBraceBackgroundColor(const QColor &);
+ void setUnmatchedBraceForegroundColor(const QColor &);
+
+%If (QScintilla_1_7 -)
+ void setWrapVisualFlags(WrapVisualFlag,
+ WrapVisualFlag = QextScintilla::WrapFlagNone, int = 0);
+%End
+
+ QString selectedText();
+%If (QScintilla_1_7 -)
+ void showUserList(int, const QStringList &);
+%End
+ QextScintillaCommandSet *standardCommands() const;
+ bool tabIndents();
+ int tabWidth();
+ QString text();
+ QString text(int);
+%If (QScintilla_1_7 -)
+ int textHeight(int);
+%End
+ WhitespaceVisibility whitespaceVisibility();
+%If (QScintilla_1_4 -)
+ WrapMode wrapMode();
+%End
+
+public slots:
+ virtual void append(const QString &);
+%If (QScintilla_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 (QScintilla_1_7 -)
+ virtual void foldAll(bool = 0);
+%End
+%If (- QScintilla_1_7)
+ virtual void foldAll();
+%End
+ virtual void foldLine(int);
+ virtual void indent(int);
+%If (QScintilla_1_4 -)
+ virtual void insert(const QString &);
+%End
+ virtual void insertAt(const QString &,int,int);
+ virtual void moveToMatchingBrace();
+ virtual void paste();
+ virtual void redo();
+ virtual void removeSelectedText();
+%If (QScintilla_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 (QScintilla_1_3 -)
+ virtual void setCaretForegroundColor(const QColor &);
+ virtual void setCaretLineBackgroundColor(const QColor &);
+ virtual void setCaretLineVisible(bool);
+ virtual void setCaretWidth(int);
+%End
+%If (QScintilla_1_7 -)
+ virtual void setColor(const QColor &);
+%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 QColor &);
+ virtual void setIndentationGuidesForegroundColor(const QColor &);
+ virtual void setIndentationsUseTabs(bool);
+ virtual void setIndentationWidth(int);
+
+ virtual void setLexer(QextScintillaLexer * = 0);
+
+ virtual void setMarginsBackgroundColor(const QColor &);
+ virtual void setMarginsFont(const QFont &);
+ virtual void setMarginsForegroundColor(const QColor &);
+
+ 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 QString &);
+
+ virtual void setModified(bool);
+%If (QScintilla_1_7 -)
+ virtual void setPaper(const QColor &);
+%End
+ virtual void setReadOnly(bool);
+ virtual void setSelection(int,int,int,int);
+%If (QScintilla_1_3 -)
+ virtual void setSelectionBackgroundColor(const QColor &);
+ virtual void setSelectionForegroundColor(const QColor &);
+%End
+ virtual void setTabIndents(bool);
+ virtual void setTabWidth(int);
+ virtual void setText(const QString &);
+ virtual void setUtf8(bool);
+ virtual void setWhitespaceVisibility(WhitespaceVisibility);
+%If (QScintilla_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,Qt::ButtonState);
+ void modificationAttempted();
+ void modificationChanged(bool);
+ void selectionChanged();
+ void textChanged();
+%If (QScintilla_1_7 -)
+ void userListActivated(int, const QString &);
+%End
+
+private:
+ QextScintilla(const QextScintilla &);
+
+};
diff --git a/python/pyqt/sip/qtext/qextscintillaapis.sip b/python/pyqt/sip/qtext/qextscintillaapis.sip
new file mode 100644
index 00000000..ad388fbc
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillaapis.sip
@@ -0,0 +1,42 @@
+// This is the SIP interface definition for QextScintillaAPIs.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 QextScintillaAPIs
+{
+%TypeHeaderCode
+#include <qextscintillaapis.h>
+%End
+
+public:
+ QextScintillaAPIs();
+
+ void add(const QString &);
+ bool load(const QString &);
+ void clear();
+
+private:
+ QextScintillaAPIs(const QextScintillaAPIs &);
+};
diff --git a/python/pyqt/sip/qtext/qextscintillabase.sip b/python/pyqt/sip/qtext/qextscintillabase.sip
new file mode 100644
index 00000000..e14ccf67
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillabase.sip
@@ -0,0 +1,1024 @@
+// This is the SIP interface definition for QextScintillaBase.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 QextScintillaBase : QWidget
+{
+%TypeHeaderCode
+#include <qextscintillabase.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 (QScintilla_1_6 -)
+ SCI_AUTOCSETMAXWIDTH,
+ SCI_AUTOCGETMAXWIDTH,
+ SCI_AUTOCSETMAXHEIGHT,
+ SCI_AUTOCGETMAXHEIGHT,
+%End
+%If (QScintilla_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 (QScintilla_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 (QScintilla_1_1 -)
+ SCI_POSITIONBEFORE,
+ SCI_POSITIONAFTER,
+ SCI_COPYRANGE,
+ SCI_COPYTEXT,
+%End
+%If (QScintilla_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 (QScintilla_1_1 -)
+ SCI_LINECOPY,
+%End
+%If (QScintilla_1_6 -)
+ SCI_FINDCOLUMN,
+ SCI_GETCARETSTICKY,
+ SCI_SETCARETSTICKY,
+ SCI_TOGGLECARETSTICKY,
+%End
+%If (QScintilla_1_3 -)
+ SCI_SETWRAPVISUALFLAGS,
+ SCI_GETWRAPVISUALFLAGS,
+ SCI_SETWRAPVISUALFLAGSLOCATION,
+ SCI_GETWRAPVISUALFLAGSLOCATION,
+ SCI_SETWRAPSTARTINDENT,
+ SCI_GETWRAPSTARTINDENT,
+%End
+%If (QScintilla_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 (QScintilla_1_6 -)
+ SCI_LOADLEXERLIBRARY,
+ SCI_GETPROPERTY,
+ SCI_GETPROPERTYEXPANDED,
+ SCI_GETPROPERTYINT,
+%End
+%If (QScintilla_1_7 -)
+ SCI_GETSTYLEBITSNEEDED,
+%End
+ };
+
+%If (QScintilla_1_7 -)
+ enum
+ {
+ SC_ALPHA_TRANSPARENT,
+ SC_ALPHA_OPAQUE,
+ SC_ALPHA_NOALPHA,
+ };
+%End
+
+%If (QScintilla_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 (QScintilla_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 (QScintilla_1_7 -)
+ SC_MARGIN_BACK,
+ SC_MARGIN_FORE,
+%End
+ };
+
+ enum {
+ STYLE_DEFAULT,
+ STYLE_LINENUMBER,
+ STYLE_BRACELIGHT,
+ STYLE_BRACEBAD,
+ STYLE_CONTROLCHAR,
+ STYLE_INDENTGUIDE,
+%If (QScintilla_1_7 -)
+ STYLE_CALLTIP,
+%End
+ STYLE_LASTPREDEFINED,
+%If (QScintilla_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 (QScintilla_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 (QScintilla_1_2 -)
+ INDIC_HIDDEN,
+%End
+%If (QScintilla_1_3 -)
+ INDIC_BOX,
+%End
+%If (QScintilla_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 (QScintilla_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 (QScintilla_1_6 -)
+ SC_MULTISTEPUNDOREDO,
+%End
+ SC_LASTSTEPINUNDOREDO,
+ SC_MOD_CHANGEMARKER,
+ SC_MOD_BEFOREINSERT,
+ SC_MOD_BEFOREDELETE,
+%If (QScintilla_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 (QScintilla_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 (QScintilla_1_2 -)
+ SCLEX_SCRIPTOL,
+%End
+ SCLEX_ASM,
+ SCLEX_CPPNOCASE,
+ SCLEX_FORTRAN,
+ SCLEX_F77,
+ SCLEX_CSS,
+ SCLEX_POV,
+%If (QScintilla_1_1 -)
+ SCLEX_LOUT,
+ SCLEX_ESCRIPT,
+%End
+%If (QScintilla_1_2 -)
+ SCLEX_PS,
+ SCLEX_NSIS,
+ SCLEX_MMIXAL,
+%End
+%If (QScintilla_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 (QScintilla_1_5 -)
+ SCLEX_ASN1,
+ SCLEX_VHDL,
+%End
+%If (QScintilla_1_6 -)
+ SCLEX_CAML,
+ SCLEX_BLITZBASIC,
+ SCLEX_PUREBASIC,
+ SCLEX_HASKELL,
+ SCLEX_PHPSCRIPT,
+ SCLEX_TADS3,
+ SCLEX_REBOL,
+ SCLEX_SMALLTALK,
+ SCLEX_FLAGSHIP,
+ SCLEX_CSOUND,
+%End
+%If (QScintilla_1_7 -)
+ SCLEX_FREEBASIC,
+ SCLEX_INNOSETUP,
+ SCLEX_OPAL,
+ SCLEX_SPICE,
+%End
+ };
+
+ QextScintillaBase(QWidget * /TransferThis/,const char *,
+ WFlags = 0);
+
+%ConvertToSubClassCode
+ static struct class_graph {
+ char *name;
+ sipWrapperType **type;
+ int yes, no;
+ } graph[] = {
+ {sipName_QextScintillaLexer, &sipClass_QextScintillaLexer, 3, 1},
+ {sipName_QextScintillaBase, &sipClass_QextScintillaBase, 15, 2},
+ {sipName_QextScintillaMacro, &sipClass_QextScintillaMacro, -1, -1},
+#if QSCINTILLA_VERSION >= 0x010300
+ {sipName_QextScintillaLexerPerl, &sipClass_QextScintillaLexerPerl, -1, 4},
+#else
+ {NULL, NULL, -1, 4},
+#endif
+#if QSCINTILLA_VERSION >= 0x010100
+ {sipName_QextScintillaLexerHTML, &sipClass_QextScintillaLexerHTML, -1, 5},
+#else
+ {NULL, NULL, -1, 5},
+#endif
+#if QSCINTILLA_VERSION >= 0x010500
+ {sipName_QextScintillaLexerRuby, &sipClass_QextScintillaLexerRuby, -1, 6},
+#else
+ {NULL, NULL, -1, 6},
+#endif
+ {sipName_QextScintillaLexerCPP, &sipClass_QextScintillaLexerCPP, 11, 7},
+ {sipName_QextScintillaLexerPython, &sipClass_QextScintillaLexerPython, -1, 8},
+#if QSCINTILLA_VERSION >= 0x010100
+ {sipName_QextScintillaLexerSQL, &sipClass_QextScintillaLexerSQL, -1, 9},
+#else
+ {NULL, NULL, -1, 9},
+#endif
+#if QSCINTILLA_VERSION >= 0x010400
+ {sipName_QextScintillaLexerBash, &sipClass_QextScintillaLexerBash, -1, 10},
+#else
+ {NULL, NULL, -1, 10},
+#endif
+#if QSCINTILLA_VERSION >= 0x010500
+ {sipName_QextScintillaLexerLua, &sipClass_QextScintillaLexerLua, -1, -1},
+#else
+ {NULL, NULL, -1, -1},
+#endif
+ {sipName_QextScintillaLexerIDL, &sipClass_QextScintillaLexerIDL, -1, 12},
+ {sipName_QextScintillaLexerJavaScript, &sipClass_QextScintillaLexerJavaScript, -1, 13},
+ {sipName_QextScintillaLexerCSharp, &sipClass_QextScintillaLexerCSharp, -1, 14},
+ {sipName_QextScintillaLexerJava, &sipClass_QextScintillaLexerJava, -1, -1},
+ {sipName_QextScintilla, &sipClass_QextScintilla, -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 (QScintilla_1_3 -)
+ QextScintillaBase *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 QColor &);
+ long SendScintilla(unsigned int,const QColor &);
+ long SendScintilla(unsigned int,unsigned long,QPainter *,const QRect &,
+ long,long);
+ long SendScintilla(unsigned int,unsigned long,const QPixmap *);
+
+ virtual QSize sizeHint() const;
+%If (QScintilla_1_5 -)
+ QWidget *viewport() const;
+%End
+
+signals:
+ void QSCN_SELCHANGED(bool);
+
+ void SCEN_CHANGE();
+
+%If (QScintilla_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(QObject *,QEvent *);
+ virtual void keyPressEvent(QKeyEvent *);
+ virtual void focusInEvent(QFocusEvent *);
+ virtual void focusOutEvent(QFocusEvent *);
+ virtual bool focusNextPrevChild(bool);
+%If (QScintilla_1_5 -)
+ virtual void startDrag();
+%End
+
+private:
+ QextScintillaBase(const QextScintillaBase &);
+};
diff --git a/python/pyqt/sip/qtext/qextscintillacommand.sip b/python/pyqt/sip/qtext/qextscintillacommand.sip
new file mode 100644
index 00000000..148fdd67
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillacommand.sip
@@ -0,0 +1,44 @@
+// This is the SIP interface definition for QextScintillaCommand.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 QextScintillaCommand
+{
+%TypeHeaderCode
+#include <qextscintillacommand.h>
+%End
+
+public:
+ void setKey(int);
+ void setAlternateKey(int);
+ int key() const;
+ int alternateKey() const;
+ static bool validKey(int);
+ QString description() const;
+
+private:
+ QextScintillaCommand(QextScintilla *,int,int,const char *);
+ QextScintillaCommand(const QextScintillaCommand &);
+};
diff --git a/python/pyqt/sip/qtext/qextscintillacommandset.sip b/python/pyqt/sip/qtext/qextscintillacommandset.sip
new file mode 100644
index 00000000..ae1be22c
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillacommandset.sip
@@ -0,0 +1,52 @@
+// This is the SIP interface definition for the QextScintillaCommandSet.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 QextScintillaCommandSet
+{
+%TypeHeaderCode
+#include <qextscintillacommandset.h>
+%End
+
+public:
+ bool readSettings(QSettings &,const char * = "/Scintilla");
+ bool writeSettings(QSettings &,const char * = "/Scintilla");
+
+%If (QScintilla_1_4 -)
+ QPtrList<QextScintillaCommand> &commands();
+%End
+%If (- QScintilla_1_4)
+ const QPtrList<QextScintillaCommand> &commands() const;
+%End
+
+%If (QScintilla_1_4 -)
+ void clearKeys();
+ void clearAlternateKeys();
+%End
+
+private:
+ QextScintillaCommandSet(QextScintilla *);
+ QextScintillaCommandSet(const QextScintillaCommandSet &);
+};
diff --git a/python/pyqt/sip/qtext/qextscintilladocument.sip b/python/pyqt/sip/qtext/qextscintilladocument.sip
new file mode 100644
index 00000000..91081147
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintilladocument.sip
@@ -0,0 +1,42 @@
+// This is the SIP interface definition for QextScintillaDocument.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 (QScintilla_1_3 -)
+
+class QextScintillaDocument
+{
+%TypeHeaderCode
+#include <qextscintilladocument.h>
+%End
+
+public:
+ QextScintillaDocument();
+ virtual ~QextScintillaDocument();
+
+ QextScintillaDocument(const QextScintillaDocument &);
+};
+
+%End
diff --git a/python/pyqt/sip/qtext/qextscintillalexer.sip b/python/pyqt/sip/qtext/qextscintillalexer.sip
new file mode 100644
index 00000000..ed10f463
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexer.sip
@@ -0,0 +1,80 @@
+// This is the SIP interface definition for QextScintillaLexer.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 QextScintillaLexer : QObject
+{
+%TypeHeaderCode
+#include <qextscintillalexer.h>
+%End
+
+public:
+ QextScintillaLexer(QObject * /TransferThis/ = 0,const char * = 0);
+
+ virtual const char *language() const = 0;
+ virtual const char *lexer() const = 0;
+ int autoIndentStyle();
+ virtual QColor color(int) const;
+ virtual bool eolFill(int) const;
+ virtual QFont font(int) const;
+ virtual const char *keywords(int) const;
+ virtual QString description(int) const = 0;
+ virtual QColor paper(int) const;
+ virtual QFont defaultFont() const;
+%If (QScintilla_1_7 -)
+ virtual QColor defaultColor() const;
+ virtual QColor defaultPaper() const;
+%End
+ virtual void refreshProperties();
+ bool readSettings(QSettings &,const char * = "/Scintilla");
+ bool writeSettings(QSettings &,const char * = "/Scintilla") const;
+
+public slots:
+ virtual void setAutoIndentStyle(int);
+ virtual void setColor(const QColor &,int = -1);
+ virtual void setDefaultFont(const QFont &);
+%If (QScintilla_1_7 -)
+ virtual void setDefaultColor(const QColor &);
+ virtual void setDefaultPaper(const QColor &);
+%End
+ virtual void setEolFill(bool,int = -1);
+ virtual void setFont(const QFont &,int = -1);
+ virtual void setPaper(const QColor &,int = -1);
+
+signals:
+ void colorChanged(const QColor &,int);
+ void eolFillChanged(bool,int);
+ void fontChanged(const QFont &,int);
+ void paperChanged(const QColor &,int);
+ void propertyChanged(const char *,const char *);
+
+protected:
+ virtual bool readProperties(QSettings &,const QString &);
+ virtual bool writeProperties(QSettings &,const QString &) const;
+
+private:
+ QextScintillaLexer(const QextScintillaLexer &);
+
+};
diff --git a/python/pyqt/sip/qtext/qextscintillalexerbash.sip b/python/pyqt/sip/qtext/qextscintillalexerbash.sip
new file mode 100644
index 00000000..3a4099dc
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexerbash.sip
@@ -0,0 +1,80 @@
+// This is the SIP interface definition for QextScintillaLexerBash.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 (QScintilla_1_4 -)
+
+class QextScintillaLexerBash : QextScintillaLexer
+{
+%TypeHeaderCode
+#include <qextscintillalexerbash.h>
+%End
+
+public:
+ enum {
+ Default,
+ Error,
+ Comment,
+ Number,
+ Keyword,
+ DoubleQuotedString,
+ SingleQuotedString,
+ Operator,
+ Identifier,
+ Scalar,
+ ParameterExpansion,
+ Backticks,
+ HereDocumentDelimiter,
+ SingleQuotedHereDocument
+ };
+
+ QextScintillaLexerBash(QObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ QColor color(int) const;
+ bool eolFill(int) const;
+ QFont font(int) const;
+ const char *keywords(int) const;
+ QString description(int) const;
+ QColor paper(int) const;
+
+ void refreshProperties();
+ bool foldComments() const;
+ bool foldCompact() const;
+
+public slots:
+ virtual void setFoldComments(bool);
+ virtual void setFoldCompact(bool);
+
+protected:
+ bool readProperties(QSettings &,const QString &);
+ bool writeProperties(QSettings &,const QString &) const;
+
+private:
+ QextScintillaLexerBash(const QextScintillaLexerBash &);
+};
+
+%End
diff --git a/python/pyqt/sip/qtext/qextscintillalexerbatch.sip b/python/pyqt/sip/qtext/qextscintillalexerbatch.sip
new file mode 100644
index 00000000..f29f326a
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexerbatch.sip
@@ -0,0 +1,62 @@
+// This is the SIP interface definition for QextScintillaLexerBatch.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 (QScintilla_1_6 -)
+
+class QextScintillaLexerBatch : QextScintillaLexer
+{
+%TypeHeaderCode
+#include <qextscintillalexerbatch.h>
+%End
+
+public:
+ enum {
+ Default,
+ Comment,
+ Keyword,
+ Label,
+ HideCommandChar,
+ ExternalCommand,
+ Variable,
+ Operator
+ };
+
+ QextScintillaLexerBatch(QObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ QColor color(int) const;
+ bool eolFill(int) const;
+ QFont font(int) const;
+ const char *keywords(int) const;
+ QString description(int) const;
+ QColor paper(int) const;
+
+private:
+ QextScintillaLexerBatch(const QextScintillaLexerBatch &);
+};
+
+%End
diff --git a/python/pyqt/sip/qtext/qextscintillalexercpp.sip b/python/pyqt/sip/qtext/qextscintillalexercpp.sip
new file mode 100644
index 00000000..dab8cf28
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexercpp.sip
@@ -0,0 +1,98 @@
+// This is the SIP interface definition for QextScintillaLexerCPP.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 QextScintillaLexerCPP : QextScintillaLexer
+{
+%TypeHeaderCode
+#include <qextscintillalexercpp.h>
+%End
+
+public:
+ enum {
+%If (QScintilla_1_1 -)
+ Default,
+%End
+ WhiteSpace,
+ Comment,
+ CommentLine,
+ CommentDoc,
+ Number,
+ Keyword,
+ DoubleQuotedString,
+ SingleQuotedString,
+ UUID,
+ PreProcessor,
+ Operator,
+ Identifier,
+ UnclosedString,
+ VerbatimString,
+ Regex,
+ CommentLineDoc,
+ KeywordSet2,
+ CommentDocKeyword,
+ CommentDocKeywordError,
+%If (QScintilla_1_1 -)
+ GlobalClass,
+%End
+ };
+
+ QextScintillaLexerCPP(QObject * /TransferThis/ = 0,const char * = 0,
+ bool = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ QColor color(int) const;
+ bool eolFill(int) const;
+ QFont font(int) const;
+ const char *keywords(int) const;
+ QString description(int) const;
+ QColor paper(int) const;
+
+ void refreshProperties();
+%If (QScintilla_1_1 -)
+ bool foldAtElse() const;
+%End
+ bool foldComments() const;
+ bool foldCompact() const;
+ bool foldPreprocessor() const;
+ bool stylePreprocessor() const;
+
+public slots:
+%If (QScintilla_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(QSettings &,const QString &);
+ bool writeProperties(QSettings &,const QString &) const;
+
+private:
+ QextScintillaLexerCPP(const QextScintillaLexerCPP &);
+};
diff --git a/python/pyqt/sip/qtext/qextscintillalexercsharp.sip b/python/pyqt/sip/qtext/qextscintillalexercsharp.sip
new file mode 100644
index 00000000..94442480
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexercsharp.sip
@@ -0,0 +1,47 @@
+// This is the SIP interface definition for QextScintillaLexerCSharp.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 QextScintillaLexerCSharp : QextScintillaLexerCPP
+{
+%TypeHeaderCode
+#include <qextscintillalexercsharp.h>
+%End
+
+public:
+ QextScintillaLexerCSharp(QObject * /TransferThis/ = 0,
+ const char * = 0);
+
+ const char *language() const;
+ QColor color(int) const;
+ bool eolFill(int) const;
+ QFont font(int) const;
+ const char *keywords(int) const;
+ QString description(int) const;
+ QColor paper(int) const;
+
+private:
+ QextScintillaLexerCSharp(const QextScintillaLexerCSharp &);
+};
diff --git a/python/pyqt/sip/qtext/qextscintillalexercss.sip b/python/pyqt/sip/qtext/qextscintillalexercss.sip
new file mode 100644
index 00000000..eb02a09c
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexercss.sip
@@ -0,0 +1,81 @@
+// This is the SIP interface definition for QextScintillaLexerCSS.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 (QScintilla_1_6 -)
+
+class QextScintillaLexerCSS : QextScintillaLexer
+{
+%TypeHeaderCode
+#include <qextscintillalexercss.h>
+%End
+
+public:
+ enum {
+ Default,
+ Tag,
+ ClassSelector,
+ PseudoClass,
+ UnknownPseudoClass,
+ Operator,
+ CSS1Property,
+ UnknownProperty,
+ Value,
+ Comment,
+ IDSelector,
+ Important,
+ AtRule,
+ DoubleQuotedString,
+ SingleQuotedString,
+ CSS2Property,
+ Attribute
+ };
+
+ QextScintillaLexerCSS(QObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ QColor color(int) const;
+ QFont font(int) const;
+ const char *keywords(int) const;
+ QString description(int) const;
+
+ void refreshProperties();
+ bool foldComments() const;
+ bool foldCompact() const;
+
+public slots:
+ virtual void setFoldComments(bool);
+ virtual void setFoldCompact(bool);
+
+protected:
+ bool readProperties(QSettings &,const QString &);
+ bool writeProperties(QSettings &,const QString &) const;
+
+private:
+ QextScintillaLexerCSS(const QextScintillaLexerCSS &);
+};
+
+%End
diff --git a/python/pyqt/sip/qtext/qextscintillalexerdiff.sip b/python/pyqt/sip/qtext/qextscintillalexerdiff.sip
new file mode 100644
index 00000000..adfcb779
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexerdiff.sip
@@ -0,0 +1,57 @@
+// This is the SIP interface definition for QextScintillaLexerDiff.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 (QScintilla_1_6 -)
+
+class QextScintillaLexerDiff : QextScintillaLexer
+{
+%TypeHeaderCode
+#include <qextscintillalexerdiff.h>
+%End
+
+public:
+ enum {
+ Default,
+ Comment,
+ Command,
+ Header,
+ Position,
+ LineRemoved,
+ LineAdded
+ };
+
+ QextScintillaLexerDiff(QObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ QColor color(int) const;
+ QString description(int) const;
+
+private:
+ QextScintillaLexerDiff(const QextScintillaLexerDiff &);
+};
+
+%End
diff --git a/python/pyqt/sip/qtext/qextscintillalexerhtml.sip b/python/pyqt/sip/qtext/qextscintillalexerhtml.sip
new file mode 100644
index 00000000..6b591622
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexerhtml.sip
@@ -0,0 +1,178 @@
+// This is the SIP interface definition for QextScintillaLexerHTML.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 (QScintilla_1_1 -)
+
+class QextScintillaLexerHTML : QextScintillaLexer
+{
+%TypeHeaderCode
+#include <qextscintillalexerhtml.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
+ };
+
+ QextScintillaLexerHTML(QObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ QColor color(int) const;
+ bool eolFill(int) const;
+ QFont font(int) const;
+ const char *keywords(int) const;
+ QString description(int) const;
+ QColor 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(QSettings &,const QString &);
+ bool writeProperties(QSettings &,const QString &) const;
+
+private:
+ QextScintillaLexerHTML(const QextScintillaLexerHTML &);
+};
+
+%End
diff --git a/python/pyqt/sip/qtext/qextscintillalexeridl.sip b/python/pyqt/sip/qtext/qextscintillalexeridl.sip
new file mode 100644
index 00000000..cf1fe5a7
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexeridl.sip
@@ -0,0 +1,43 @@
+// This is the SIP interface definition for QextScintillaLexerIDL.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 QextScintillaLexerIDL : QextScintillaLexerCPP
+{
+%TypeHeaderCode
+#include <qextscintillalexeridl.h>
+%End
+
+public:
+ QextScintillaLexerIDL(QObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ QColor color(int) const;
+ const char *keywords(int) const;
+ QString description(int) const;
+
+private:
+ QextScintillaLexerIDL(const QextScintillaLexerIDL &);
+};
diff --git a/python/pyqt/sip/qtext/qextscintillalexerjava.sip b/python/pyqt/sip/qtext/qextscintillalexerjava.sip
new file mode 100644
index 00000000..8db6bd42
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexerjava.sip
@@ -0,0 +1,41 @@
+// This is the SIP interface definition for QextScintillaLexerJava.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 QextScintillaLexerJava : QextScintillaLexerCPP
+{
+%TypeHeaderCode
+#include <qextscintillalexerjava.h>
+%End
+
+public:
+ QextScintillaLexerJava(QObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *keywords(int) const;
+
+private:
+ QextScintillaLexerJava(const QextScintillaLexerJava &);
+};
diff --git a/python/pyqt/sip/qtext/qextscintillalexerjavascript.sip b/python/pyqt/sip/qtext/qextscintillalexerjavascript.sip
new file mode 100644
index 00000000..4b3c9a10
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexerjavascript.sip
@@ -0,0 +1,47 @@
+// This is the SIP interface definition for QextScintillaLexerJavaScript.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 QextScintillaLexerJavaScript : QextScintillaLexerCPP
+{
+%TypeHeaderCode
+#include <qextscintillalexerjavascript.h>
+%End
+
+public:
+ QextScintillaLexerJavaScript(QObject * /TransferThis/ = 0,
+ const char * = 0);
+
+ const char *language() const;
+ QColor color(int) const;
+ bool eolFill(int) const;
+ QFont font(int) const;
+ const char *keywords(int) const;
+ QString description(int) const;
+ QColor paper(int) const;
+
+private:
+ QextScintillaLexerJavaScript(const QextScintillaLexerJavaScript &);
+};
diff --git a/python/pyqt/sip/qtext/qextscintillalexerlua.sip b/python/pyqt/sip/qtext/qextscintillalexerlua.sip
new file mode 100644
index 00000000..fe05ea17
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexerlua.sip
@@ -0,0 +1,79 @@
+// This is the SIP interface definition for QextScintillaLexerLua.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 (QScintilla_1_5 -)
+
+class QextScintillaLexerLua : QextScintillaLexer
+{
+%TypeHeaderCode
+#include <qextscintillalexerlua.h>
+%End
+
+public:
+ enum {
+ Default,
+ Comment,
+ LineComment,
+ Number,
+ Keyword,
+ String,
+ Character,
+ LiteralString,
+ Preprocessor,
+ Operator,
+ Identifier,
+ UnclosedString,
+ BasicFunctions,
+ StringTableMathsFunctions,
+ CoroutinesIOSystemFacilities
+ };
+
+ QextScintillaLexerLua(QObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ QColor color(int) const;
+ bool eolFill(int) const;
+ QFont font(int) const;
+ const char *keywords(int) const;
+ QString description(int) const;
+ QColor paper(int) const;
+
+ void refreshProperties();
+ bool foldCompact() const;
+
+public slots:
+ virtual void setFoldCompact(bool);
+
+protected:
+ bool readProperties(QSettings &,const QString &);
+ bool writeProperties(QSettings &,const QString &) const;
+
+private:
+ QextScintillaLexerLua(const QextScintillaLexerLua &);
+};
+
+%End
diff --git a/python/pyqt/sip/qtext/qextscintillalexermakefile.sip b/python/pyqt/sip/qtext/qextscintillalexermakefile.sip
new file mode 100644
index 00000000..83c15b14
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexermakefile.sip
@@ -0,0 +1,60 @@
+// This is the SIP interface definition for QextScintillaLexerMakefile.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 (QScintilla_1_6 -)
+
+class QextScintillaLexerMakefile : QextScintillaLexer
+{
+%TypeHeaderCode
+#include <qextscintillalexermakefile.h>
+%End
+
+public:
+ enum {
+ Default,
+ Comment,
+ Preprocessor,
+ Variable,
+ Operator,
+ Target,
+ Error
+ };
+
+ QextScintillaLexerMakefile(QObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ QColor color(int) const;
+ bool eolFill(int) const;
+ QFont font(int) const;
+ QString description(int) const;
+ QColor paper(int) const;
+
+private:
+ QextScintillaLexerMakefile(const QextScintillaLexerMakefile &);
+};
+
+%End
diff --git a/python/pyqt/sip/qtext/qextscintillalexerperl.sip b/python/pyqt/sip/qtext/qextscintillalexerperl.sip
new file mode 100644
index 00000000..a8db0a11
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexerperl.sip
@@ -0,0 +1,96 @@
+// This is the SIP interface definition for QextScintillaLexerPerl.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 (QScintilla_1_3 -)
+
+class QextScintillaLexerPerl : QextScintillaLexer
+{
+%TypeHeaderCode
+#include <qextscintillalexerperl.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 (QScintilla_1_6 -)
+ PODVerbatim,
+%End
+ };
+
+ QextScintillaLexerPerl(QObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ QColor color(int) const;
+ bool eolFill(int) const;
+ QFont font(int) const;
+ const char *keywords(int) const;
+ QString description(int) const;
+ QColor paper(int) const;
+
+ void refreshProperties();
+ bool foldComments() const;
+ bool foldCompact() const;
+
+public slots:
+ virtual void setFoldComments(bool);
+ virtual void setFoldCompact(bool);
+
+protected:
+ bool readProperties(QSettings &,const QString &);
+ bool writeProperties(QSettings &,const QString &) const;
+
+private:
+ QextScintillaLexerPerl(const QextScintillaLexerPerl &);
+};
+
+%End
diff --git a/python/pyqt/sip/qtext/qextscintillalexerpov.sip b/python/pyqt/sip/qtext/qextscintillalexerpov.sip
new file mode 100644
index 00000000..862e48e8
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexerpov.sip
@@ -0,0 +1,85 @@
+// This is the SIP interface definition for QextScintillaLexerPOV.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 (QScintilla_1_6 -)
+
+class QextScintillaLexerPOV : QextScintillaLexer
+{
+%TypeHeaderCode
+#include <qextscintillalexerpov.h>
+%End
+
+public:
+ enum {
+ Default,
+ Comment,
+ CommentLine,
+ Number,
+ Operator,
+ Identifier,
+ String,
+ UnclosedString,
+ Directive,
+ BadDirective,
+ ObjectsCSGAppearance,
+ TypesModifiersItems,
+ PredefinedIdentifiers,
+ PredefinedFunctions,
+ KeywordSet6,
+ KeywordSet7,
+ KeywordSet8
+ };
+
+ QextScintillaLexerPOV(QObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ QColor color(int) const;
+ bool eolFill(int) const;
+ QFont font(int) const;
+ const char *keywords(int) const;
+ QString description(int) const;
+ QColor 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(QSettings &,const QString &);
+ bool writeProperties(QSettings &,const QString &) const;
+
+private:
+ QextScintillaLexerPOV(const QextScintillaLexerPOV &);
+};
+
+%End
diff --git a/python/pyqt/sip/qtext/qextscintillalexerproperties.sip b/python/pyqt/sip/qtext/qextscintillalexerproperties.sip
new file mode 100644
index 00000000..45c52e5f
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexerproperties.sip
@@ -0,0 +1,68 @@
+// This is the SIP interface definition for QextScintillaLexerProperties.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 (QScintilla_1_6 -)
+
+class QextScintillaLexerProperties : QextScintillaLexer
+{
+%TypeHeaderCode
+#include <qextscintillalexerproperties.h>
+%End
+
+public:
+ enum {
+ Default,
+ Comment,
+ Section,
+ Assignment,
+ DefaultValue
+ };
+
+ QextScintillaLexerProperties(QObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ QColor color(int) const;
+ bool eolFill(int) const;
+ QFont font(int) const;
+ QString description(int) const;
+ QColor paper(int) const;
+
+ void refreshProperties();
+ bool foldCompact() const;
+
+public slots:
+ virtual void setFoldCompact(bool);
+
+protected:
+ bool readProperties(QSettings &,const QString &);
+ bool writeProperties(QSettings &,const QString &) const;
+
+private:
+ QextScintillaLexerProperties(const QextScintillaLexerProperties &);
+};
+
+%End
diff --git a/python/pyqt/sip/qtext/qextscintillalexerpython.sip b/python/pyqt/sip/qtext/qextscintillalexerpython.sip
new file mode 100644
index 00000000..3a2bca5b
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexerpython.sip
@@ -0,0 +1,94 @@
+// This is the SIP interface definition for QextScintillaLexerPython.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 QextScintillaLexerPython : QextScintillaLexer
+{
+%TypeHeaderCode
+#include <qextscintillalexerpython.h>
+%End
+
+public:
+ enum {
+%If (QScintilla_1_1 -)
+ Default,
+%End
+ WhiteSpace,
+ Comment,
+ Number,
+ DoubleQuotedString,
+ SingleQuotedString,
+ Keyword,
+ TripleSingleQuotedString,
+ TripleDoubleQuotedString,
+ ClassName,
+ FunctionMethodName,
+ Operator,
+ Identifier,
+ CommentBlock,
+ UnclosedString,
+%If (QScintilla_1_7 -)
+ HighlightedIdentifier,
+ Decorator,
+%End
+ };
+
+ enum IndentationWarning {
+ NoWarning,
+ Inconsistent,
+ TabsAfterSpaces,
+ Spaces,
+ Tabs
+ };
+
+ QextScintillaLexerPython(QObject * /TransferThis/ = 0,
+ const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ QColor color(int) const;
+ bool eolFill(int) const;
+ QFont font(int) const;
+ const char *keywords(int) const;
+ QString description(int) const;
+ QColor 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(QSettings &,const QString &);
+ bool writeProperties(QSettings &,const QString &) const;
+
+private:
+ QextScintillaLexerPython(const QextScintillaLexerPython &);
+};
diff --git a/python/pyqt/sip/qtext/qextscintillalexerruby.sip b/python/pyqt/sip/qtext/qextscintillalexerruby.sip
new file mode 100644
index 00000000..77beba07
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexerruby.sip
@@ -0,0 +1,128 @@
+// This is the SIP interface definition for QextScintillaLexerRuby.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 (QScintilla_1_5 -)
+
+class QextScintillaLexerRuby : QextScintillaLexer
+{
+%TypeHeaderCode
+#include <qextscintillalexerruby.h>
+%End
+
+public:
+%If (QScintilla_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 (- QScintilla_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
+
+ QextScintillaLexerRuby(QObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ QColor color(int) const;
+ bool eolFill(int) const;
+ QFont font(int) const;
+ const char *keywords(int) const;
+ QString description(int) const;
+ QColor paper(int) const;
+%If (- QScintilla_1_7)
+ void refreshProperties();
+
+ IndentationWarning indentationWarning() const;
+%End
+
+public slots:
+%If (- QScintilla_1_7)
+ virtual void setIndentationWarning(IndentationWarning);
+%End
+
+protected:
+%If (- QScintilla_1_7)
+ bool readProperties(QSettings &,const QString &);
+ bool writeProperties(QSettings &,const QString &) const;
+%End
+
+private:
+ QextScintillaLexerRuby(const QextScintillaLexerRuby &);
+};
+
+%End
diff --git a/python/pyqt/sip/qtext/qextscintillalexersql.sip b/python/pyqt/sip/qtext/qextscintillalexersql.sip
new file mode 100644
index 00000000..85a5e191
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexersql.sip
@@ -0,0 +1,105 @@
+// This is the SIP interface definition for QextScintillaLexerSQL.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 (QScintilla_1_1 -)
+
+class QextScintillaLexerSQL : QextScintillaLexer
+{
+%TypeHeaderCode
+#include <qextscintillalexersql.h>
+%End
+
+public:
+ enum {
+ Default,
+ Comment,
+%If (QScintilla_1_6 -)
+ CommentLine,
+ CommentDoc,
+%End
+ LineComment, // Obsolete.
+ Number,
+ Keyword,
+%If (QScintilla_1_6 -)
+ DoubleQuotedString,
+%End
+ SingleQuotedString,
+%If (QScintilla_1_6 -)
+ PlusKeyword,
+ PlusPrompt,
+%End
+ Operator,
+ Identifier,
+%If (QScintilla_1_6 -)
+ PlusComment,
+ CommentLineHash,
+ CommentDocKeyword,
+ CommentDocKeywordError,
+ KeywordSet5,
+ KeywordSet6,
+ KeywordSet7,
+ KeywordSet8,
+%End
+ };
+
+ QextScintillaLexerSQL(QObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ QColor color(int) const;
+%If (QScintilla_1_6 -)
+ bool eolFill(int) const;
+%End
+ QFont font(int) const;
+ const char *keywords(int) const;
+ QString description(int) const;
+%If (QScintilla_1_6 -)
+ QColor paper(int) const;
+
+ void refreshProperties();
+ bool foldComments() const;
+ bool foldCompact() const;
+ bool backslashEscapes() const;
+%End
+
+public slots:
+%If (QScintilla_1_6 -)
+ virtual void setFoldComments(bool);
+ virtual void setFoldCompact(bool);
+ virtual void setBackslashEscapes(bool);
+%End
+
+protected:
+%If (QScintilla_1_6 -)
+ bool readProperties(QSettings &,const QString &);
+ bool writeProperties(QSettings &,const QString &) const;
+%End
+
+private:
+ QextScintillaLexerSQL(const QextScintillaLexerSQL &);
+};
+
+%End
diff --git a/python/pyqt/sip/qtext/qextscintillalexertex.sip b/python/pyqt/sip/qtext/qextscintillalexertex.sip
new file mode 100644
index 00000000..668fcd02
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillalexertex.sip
@@ -0,0 +1,57 @@
+// This is the SIP interface definition for QextScintillaLexerTeX.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 (QScintilla_1_6 -)
+
+class QextScintillaLexerTeX : QextScintillaLexer
+{
+%TypeHeaderCode
+#include <qextscintillalexertex.h>
+%End
+
+public:
+ enum {
+ Default,
+ Special,
+ Group,
+ Symbol,
+ Command,
+ Text
+ };
+
+ QextScintillaLexerTeX(QObject * /TransferThis/ = 0,const char * = 0);
+
+ const char *language() const;
+ const char *lexer() const;
+ QColor color(int) const;
+ const char *keywords(int) const;
+ QString description(int) const;
+
+private:
+ QextScintillaLexerTeX(const QextScintillaLexerTeX &);
+};
+
+%End
diff --git a/python/pyqt/sip/qtext/qextscintillamacro.sip b/python/pyqt/sip/qtext/qextscintillamacro.sip
new file mode 100644
index 00000000..45615af0
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillamacro.sip
@@ -0,0 +1,49 @@
+// This is the SIP interface definition for QextScintillaMacro.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 QextScintillaMacro : QObject
+{
+%TypeHeaderCode
+#include <qextscintillamacro.h>
+%End
+
+public:
+ QextScintillaMacro(QextScintilla * /TransferThis/,const char * = 0);
+ QextScintillaMacro(const QCString &,QextScintilla * /TransferThis/,
+ const char * = 0);
+
+ void clear();
+ bool load(const QCString &);
+ QCString save() const;
+
+public slots:
+ virtual void play();
+ virtual void startRecording();
+ virtual void endRecording();
+
+private:
+ QextScintillaMacro(const QextScintillaMacro &);
+};
diff --git a/python/pyqt/sip/qtext/qextscintillaprinter.sip b/python/pyqt/sip/qtext/qextscintillaprinter.sip
new file mode 100644
index 00000000..dce068b6
--- /dev/null
+++ b/python/pyqt/sip/qtext/qextscintillaprinter.sip
@@ -0,0 +1,45 @@
+// This is the SIP interface definition for QextScintillaPrinter.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; 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 QextScintillaPrinter : QPrinter
+{
+%TypeHeaderCode
+#include <qextscintillaprinter.h>
+%End
+
+public:
+ QextScintillaPrinter(QPrinter::PrinterMode = QPrinter::ScreenResolution);
+
+ virtual void formatPage(QPainter &,bool,QRect &,int);
+ virtual int printRange(QextScintillaBase *,int = -1,int = -1);
+ int magnification() const;
+ virtual void setMagnification(int);
+ QextScintilla::WrapMode wrapMode() const;
+ virtual void setWrapMode(QextScintilla::WrapMode);
+
+private:
+ QextScintillaPrinter(const QextScintillaPrinter &);
+};
diff --git a/python/pyqt/sip/qtext/qtextmod.sip b/python/pyqt/sip/qtext/qtextmod.sip
new file mode 100644
index 00000000..06024a64
--- /dev/null
+++ b/python/pyqt/sip/qtext/qtextmod.sip
@@ -0,0 +1,107 @@
+// This is the SIP interface definition for the qtext module of PyQt.
+//
+// Copyright (c) 2007
+// Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+//
+// This file is part of PyQt.
+//
+// This copy of PyQt 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.
+//
+// PyQt 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
+// PyQt; see the file LICENSE. If not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+
+%Module qtext 4
+
+%Import qt/qtmod.sip
+
+%Include copying.sip
+
+
+// The QScintilla versions.
+%Timeline {QScintilla_1_1 QScintilla_1_2 QScintilla_1_3 QScintilla_1_4
+ QScintilla_1_5 QScintilla_1_6 QScintilla_1_7}
+
+
+const unsigned QSCINTILLA_VERSION;
+const char *QSCINTILLA_VERSION_STR;
+const char *QSCINTILLA_BUILD;
+
+
+%Include qextscintillaapis.sip
+%Include qextscintillabase.sip
+%Include qextscintilla.sip
+%Include qextscintillacommand.sip
+%Include qextscintillacommandset.sip
+%Include qextscintilladocument.sip
+%Include qextscintillalexer.sip
+%Include qextscintillalexerbash.sip
+%Include qextscintillalexerbatch.sip
+%Include qextscintillalexercpp.sip
+%Include qextscintillalexercsharp.sip
+%Include qextscintillalexercss.sip
+%Include qextscintillalexerdiff.sip
+%Include qextscintillalexerhtml.sip
+%Include qextscintillalexeridl.sip
+%Include qextscintillalexerjava.sip
+%Include qextscintillalexerjavascript.sip
+%Include qextscintillalexerlua.sip
+%Include qextscintillalexermakefile.sip
+%Include qextscintillalexerperl.sip
+%Include qextscintillalexerpov.sip
+%Include qextscintillalexerproperties.sip
+%Include qextscintillalexerpython.sip
+%Include qextscintillalexerruby.sip
+%Include qextscintillalexersql.sip
+%Include qextscintillalexertex.sip
+%Include qextscintillamacro.sip
+%Include qextscintillaprinter.sip
+
+
+// The build file template.
+
+%Makefile qtext.pro.in
+# The project file for the qtext module.
+#
+# Copyright (c) 2007
+# Riverbank Computing Limited <info@riverbankcomputing.co.uk>
+#
+# This file is part of PyQt.
+#
+# This copy of PyQt 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.
+#
+# PyQt 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
+# PyQt; 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 = @PYQT_MODDIR@
+CONFIG += @BLX_CONFIG_LIB@ @PYQT_WARN@
+INCLUDEPATH = @BLX_INCLUDEPATH@ @PYQT_QSCINTILLA_INC@
+DEFINES = @BLX_DEFINES@ QEXTSCINTILLA_DLL
+LIBS += @PYQT_QT_MODULE@ @PYQT_QSCINTILLA_LIB@ @BLX_LIBS@
+macx:QMAKE_LFLAGS += -framework Python
+
+SOURCES = $B
+
+HEADERS = $H
+%End