Added PythonEditor plugin

Contains lexical highlighter, indenter and file wizard.
Icon loaded from theme, if possible.
Class wizard will be added later since it needs to extend libUtils.

Change-Id: If723867c01e9be83371424e406d116805c88c2b0
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Sergey Shambir
2013-01-14 23:11:10 +04:00
committed by hjk
parent e5b304c808
commit 04b9d7614e
27 changed files with 2349 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
TEMPLATE = lib
TARGET = PythonEditor
include(../../qtcreatorplugin.pri)
# dependencies
include(../../plugins/coreplugin/coreplugin.pri)
include(../../plugins/texteditor/texteditor.pri)
include(../../plugins/cpptools/cpptools.pri)
DEFINES += \
PYEDITOR_LIBRARY
OTHER_FILES += PythonEditor.pluginspec.in \
pythoneditor.mimetypes.xml
RESOURCES += \
pythoneditorplugin.qrc
HEADERS += \
pythoneditor_global.h \
pythoneditorplugin.h \
pythoneditorfactory.h \
pythoneditor.h \
pythoneditorwidget.h \
pythoneditorconstants.h \
wizard/pythonfilewizard.h \
tools/pythonhighlighter.h \
tools/pythonindenter.h \
tools/lexical/pythonformattoken.h \
tools/lexical/pythonscanner.h \
tools/lexical/sourcecodestream.h
SOURCES += \
pythoneditorplugin.cpp \
pythoneditorfactory.cpp \
pythoneditor.cpp \
pythoneditorwidget.cpp \
wizard/pythonfilewizard.cpp \
tools/pythonhighlighter.cpp \
tools/pythonindenter.cpp \
tools/lexical/pythonscanner.cpp