diff --git a/RedPandaIDE/settingsdialog/editorcolorschemewidget.cpp b/RedPandaIDE/settingsdialog/editorcolorschemewidget.cpp index 1936a326..0787aecc 100644 --- a/RedPandaIDE/settingsdialog/editorcolorschemewidget.cpp +++ b/RedPandaIDE/settingsdialog/editorcolorschemewidget.cpp @@ -100,6 +100,7 @@ EditorColorSchemeWidget::EditorColorSchemeWidget(const QString& name, const QStr ui->editDemo->addSyntaxIssues(8, 9, 16, CompileIssueType::Warning, "[Warning] variable 'numbers' set but not used [-Wunused-but-set-variable]"); ui->editDemo->setCaretY(9); ui->editDemo->setActiveBreakpointFocus(10,false); + ui->editDemo->setCaretXY(QSynedit::BufferCoord{1,1}); ui->editDemo->reparseDocument(); ui->editDemo->invalidate(); onItemSelectionChanged();