remove debug output

This commit is contained in:
Roy Qu 2022-01-24 21:46:38 +08:00
parent ee9db9cdfd
commit 0e620381d3
1 changed files with 0 additions and 9 deletions

View File

@ -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"<<mParser.get()<<mFilename<<mInProject;
parseFile(mParser,mFilename,mInProject);
}