work save
This commit is contained in:
parent
71a728a868
commit
51a3b5bb82
|
@ -17,10 +17,10 @@
|
||||||
#include "HighlighterManager.h"
|
#include "HighlighterManager.h"
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include "highlighter/cpp.h"
|
#include "qsynedit/highlighter/cpp.h"
|
||||||
#include "highlighter/asm.h"
|
#include "qsynedit/highlighter/asm.h"
|
||||||
#include "highlighter/glsl.h"
|
#include "qsynedit/highlighter/glsl.h"
|
||||||
#include "Constants.h"
|
#include "qsynedit/Constants.h"
|
||||||
#include "colorscheme.h"
|
#include "colorscheme.h"
|
||||||
|
|
||||||
HighlighterManager highlighterManager;
|
HighlighterManager highlighterManager;
|
||||||
|
|
|
@ -23,9 +23,9 @@
|
||||||
#include <QColor>
|
#include <QColor>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QPair>
|
#include <QPair>
|
||||||
#include "SynEdit.h"
|
#include "qsynedit/SynEdit.h"
|
||||||
#include "compiler/compilerinfo.h"
|
#include "compiler/compilerinfo.h"
|
||||||
#include "utils.h"
|
#include "qt_utils/utils.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* use the following command to get gcc's default bin/library folders:
|
* use the following command to get gcc's default bin/library folders:
|
||||||
|
|
|
@ -18,47 +18,47 @@ msvc {
|
||||||
DEFINES += NOMINMAX
|
DEFINES += NOMINMAX
|
||||||
}
|
}
|
||||||
|
|
||||||
SOURCES += CodeFolding.cpp \
|
SOURCES += qsynedit/CodeFolding.cpp \
|
||||||
Constants.cpp \
|
qsynedit/Constants.cpp \
|
||||||
KeyStrokes.cpp \
|
qsynedit/KeyStrokes.cpp \
|
||||||
MiscClasses.cpp \
|
qsynedit/MiscClasses.cpp \
|
||||||
MiscProcs.cpp \
|
qsynedit/MiscProcs.cpp \
|
||||||
SynEdit.cpp \
|
qsynedit/SynEdit.cpp \
|
||||||
TextBuffer.cpp \
|
qsynedit/TextBuffer.cpp \
|
||||||
TextPainter.cpp \
|
qsynedit/TextPainter.cpp \
|
||||||
exporter/synexporter.cpp \
|
qsynedit/exporter/synexporter.cpp \
|
||||||
exporter/synhtmlexporter.cpp \
|
qsynedit/exporter/synhtmlexporter.cpp \
|
||||||
exporter/synrtfexporter.cpp \
|
qsynedit/exporter/synrtfexporter.cpp \
|
||||||
highlighter/asm.cpp \
|
qsynedit/highlighter/asm.cpp \
|
||||||
highlighter/base.cpp \
|
qsynedit/highlighter/base.cpp \
|
||||||
highlighter/composition.cpp \
|
qsynedit/highlighter/composition.cpp \
|
||||||
highlighter/cpp.cpp \
|
qsynedit/highlighter/cpp.cpp \
|
||||||
highlighter/glsl.cpp \
|
qsynedit/highlighter/glsl.cpp \
|
||||||
Search.cpp \
|
qsynedit/Search.cpp \
|
||||||
SearchBase.cpp \
|
qsynedit/SearchBase.cpp \
|
||||||
SearchRegex.cpp \
|
qsynedit/SearchRegex.cpp \
|
||||||
Types.cpp
|
qsynedit/Types.cpp
|
||||||
|
|
||||||
HEADERS += Search.h \
|
HEADERS += qsynedit/Search.h \
|
||||||
SearchBase.h \
|
qsynedit/SearchBase.h \
|
||||||
SearchRegex.h \
|
qsynedit/SearchRegex.h \
|
||||||
CodeFolding.h \
|
qsynedit/CodeFolding.h \
|
||||||
Constants.h \
|
qsynedit/Constants.h \
|
||||||
KeyStrokes.h \
|
qsynedit/KeyStrokes.h \
|
||||||
MiscClasses.h \
|
qsynedit/MiscClasses.h \
|
||||||
MiscProcs.h \
|
qsynedit/MiscProcs.h \
|
||||||
SynEdit.h \
|
qsynedit/SynEdit.h \
|
||||||
TextBuffer.h \
|
qsynedit/TextBuffer.h \
|
||||||
TextPainter.h \
|
qsynedit/TextPainter.h \
|
||||||
Types.h \
|
qsynedit/Types.h \
|
||||||
exporter/synexporter.h \
|
qsynedit/exporter/synexporter.h \
|
||||||
exporter/synhtmlexporter.h \
|
qsynedit/exporter/synhtmlexporter.h \
|
||||||
exporter/synrtfexporter.h \
|
qsynedit/exporter/synrtfexporter.h \
|
||||||
highlighter/asm.h \
|
qsynedit/highlighter/asm.h \
|
||||||
highlighter/base.h \
|
qsynedit/highlighter/base.h \
|
||||||
highlighter/composition.h \
|
qsynedit/highlighter/composition.h \
|
||||||
highlighter/cpp.h \
|
qsynedit/highlighter/cpp.h \
|
||||||
highlighter/glsl.h \
|
qsynedit/highlighter/glsl.h \
|
||||||
|
|
||||||
INCLUDEPATH += ../redpanda_qt_utils
|
INCLUDEPATH += ../redpanda_qt_utils
|
||||||
LIBS += -lredpand_qt_utils
|
LIBS += -lredpand_qt_utils
|
|
@ -21,7 +21,7 @@
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include "MiscClasses.h"
|
#include "MiscClasses.h"
|
||||||
#include "redpanda_utils.h"
|
#include "qt_utils/utils.h"
|
||||||
|
|
||||||
namespace QSynedit {
|
namespace QSynedit {
|
||||||
//****************************************************************************
|
//****************************************************************************
|
|
@ -15,7 +15,7 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include "TextBuffer.h"
|
#include "TextBuffer.h"
|
||||||
#include "redpanda_utils.h"
|
#include "qt_utils/utils.h"
|
||||||
#include <QDataStream>
|
#include <QDataStream>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QTextCodec>
|
#include <QTextCodec>
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
#include "SynEdit.h"
|
#include "SynEdit.h"
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include "charsetinfo.h"
|
#include "qt_utils/charsetinfo.h"
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
namespace QSynedit {
|
namespace QSynedit {
|
|
@ -26,7 +26,7 @@
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include "MiscProcs.h"
|
#include "MiscProcs.h"
|
||||||
#include "Types.h"
|
#include "Types.h"
|
||||||
#include "redpanda_utils.h"
|
#include "qt_utils/utils.h"
|
||||||
|
|
||||||
namespace QSynedit {
|
namespace QSynedit {
|
||||||
enum SynEditStringFlag {
|
enum SynEditStringFlag {
|
|
@ -14,7 +14,7 @@
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#include "redpanda_utils.h"
|
#include "qt_utils/utils.h"
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QByteArray>
|
#include <QByteArray>
|
||||||
#include <QDir>
|
#include <QDir>
|
|
@ -14,8 +14,8 @@
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
#ifndef REDPANDA_UTILS_H
|
#ifndef REDPANDA_QT_UTILS_H
|
||||||
#define REDPANDA_UTILS_H
|
#define REDPANDA_QT_UTILS_H
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <functional>
|
#include <functional>
|
|
@ -20,8 +20,8 @@ msvc {
|
||||||
DEFINES += NOMINMAX
|
DEFINES += NOMINMAX
|
||||||
}
|
}
|
||||||
|
|
||||||
SOURCES += redpanda_utils.cpp \
|
SOURCES += qt_utils/utils.cpp \
|
||||||
charsetinfo.cpp
|
qt_utils/charsetinfo.cpp
|
||||||
|
|
||||||
HEADERS += redpanda_utils.h \
|
HEADERS += qt_utils/utils.h \
|
||||||
charsetinfo.h
|
qt_utils/charsetinfo.h
|
||||||
|
|
Loading…
Reference in New Issue