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 <QString>
#include <QTextCodec>
#include <QDebug>
#include <QTime>
#include <QApplication>
#include "../editor.h"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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