clean up debug code

This commit is contained in:
royqh1979@gmail.com 2021-10-29 12:29:21 +08:00
parent 5aa91e1bc1
commit 1853332141
9 changed files with 1 additions and 9 deletions

View File

@ -7,7 +7,6 @@
#include <QProcess> #include <QProcess>
#include <QString> #include <QString>
#include <QTextCodec> #include <QTextCodec>
#include <QDebug>
#include <QTime> #include <QTime>
#include <QApplication> #include <QApplication>
#include "../editor.h" #include "../editor.h"

View File

@ -1,7 +1,6 @@
#include "compilermanager.h" #include "compilermanager.h"
#include "filecompiler.h" #include "filecompiler.h"
#include "stdincompiler.h" #include "stdincompiler.h"
#include <QDebug>
#include "../mainwindow.h" #include "../mainwindow.h"
#include "executablerunner.h" #include "executablerunner.h"
#include "utils.h" #include "utils.h"

View File

@ -5,7 +5,6 @@
#include <QApplication> #include <QApplication>
#include <QDir> #include <QDir>
#include <QTranslator> #include <QTranslator>
#include <QDebug>
#include <QStandardPaths> #include <QStandardPaths>
#include <QMessageBox> #include <QMessageBox>
#include <QStringList> #include <QStringList>

View File

@ -37,7 +37,6 @@
#include <QClipboard> #include <QClipboard>
#include <QMessageBox> #include <QMessageBox>
#include <QTextCodec> #include <QTextCodec>
#include <QDebug>
#include "cpprefacter.h" #include "cpprefacter.h"
#include <widgets/searchdialog.h> #include <widgets/searchdialog.h>

View File

@ -20,7 +20,6 @@
#include <QFileIconProvider> #include <QFileIconProvider>
#include <QMimeData> #include <QMimeData>
#include "settings.h" #include "settings.h"
#include <QDebug>
Project::Project(const QString &filename, const QString &name, QObject *parent) : Project::Project(const QString &filename, const QString &name, QObject *parent) :
QObject(parent), QObject(parent),

View File

@ -1,5 +1,4 @@
#include "KeyStrokes.h" #include "KeyStrokes.h"
#include <QDebug>
SynEditKeyStroke::SynEditKeyStroke() SynEditKeyStroke::SynEditKeyStroke()
{ {

View File

@ -1,6 +1,5 @@
#include "MiscClasses.h" #include "MiscClasses.h"
#include "algorithm" #include "algorithm"
#include <QDebug>
SynGutter::SynGutter(QObject *parent): SynGutter::SynGutter(QObject *parent):
QObject(parent) QObject(parent)

View File

@ -3,7 +3,6 @@
#include <QPainter> #include <QPainter>
#include <QTextStream> #include <QTextStream>
#include <algorithm> #include <algorithm>
#include <QDebug>
int minMax(int x, int mi, int ma) int minMax(int x, int mi, int ma)
{ {

View File

@ -973,7 +973,7 @@ void SynEditTextPainter::PaintLines()
if (bCurrentLine && edit->mInputPreeditString.length()>0) { if (bCurrentLine && edit->mInputPreeditString.length()>0) {
int startPos = edit->mHighlighter->getTokenPos()+1; int startPos = edit->mHighlighter->getTokenPos()+1;
int endPos = edit->mHighlighter->getTokenPos() + sToken.length(); int endPos = edit->mHighlighter->getTokenPos() + sToken.length();
qDebug()<<startPos<<":"<<endPos<<" - "+sToken+" - "<<edit->mCaretX<<":"<<edit->mCaretX+edit->mInputPreeditString.length(); //qDebug()<<startPos<<":"<<endPos<<" - "+sToken+" - "<<edit->mCaretX<<":"<<edit->mCaretX+edit->mInputPreeditString.length();
if (!(endPos < edit->mCaretX if (!(endPos < edit->mCaretX
|| startPos >= edit->mCaretX+edit->mInputPreeditString.length())) { || startPos >= edit->mCaretX+edit->mInputPreeditString.length())) {
if (!preeditAttr) { if (!preeditAttr) {