From 0e620381d34082f07cd9cc908bfe5428c724479e Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Mon, 24 Jan 2022 21:46:38 +0800 Subject: [PATCH] remove debug output --- RedPandaIDE/editor.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/RedPandaIDE/editor.cpp b/RedPandaIDE/editor.cpp index 5063c7fe..3b042902 100644 --- a/RedPandaIDE/editor.cpp +++ b/RedPandaIDE/editor.cpp @@ -94,17 +94,12 @@ Editor::Editor(QWidget *parent, const QString& filename, mCurrentHighlightedWord(), mSaving(false) { - qDebug()<<"inited1 "; mCurrentLineModified = false; mUseCppSyntax = pSettings->editor().defaultFileCpp(); if (mFilename.isEmpty()) { mFilename = tr("untitled")+QString("%1").arg(getNewFileNumber()); } - qDebug()<<"inited2 "; QFileInfo fileInfo(mFilename); - - qDebug()<<"inited3 "; - PSynHighlighter highlighter; if (!isNew) { loadFile(); @@ -117,8 +112,6 @@ Editor::Editor(QWidget *parent, const QString& filename, highlighter=highlighterManager.getCppHighlighter(); } - qDebug()<<"----------inited"; - if (highlighter) { setHighlighter(highlighter); setUseCodeFolding(true); @@ -1190,7 +1183,6 @@ void Editor::closeEvent(QCloseEvent *) void Editor::showEvent(QShowEvent */*event*/) { - qDebug()<<"show event"; if (pSettings->codeCompletion().clearWhenEditorHidden() && !inProject()) { initParser(); @@ -2435,7 +2427,6 @@ void Editor::reparse() if (highlighter()->language() != SynHighlighterLanguage::Cpp && highlighter()->language() != SynHighlighterLanguage::GLSL) return; - qDebug()<<"reparse"<