From 67850cfe48d974070eb5d799bb85d78866ab649d Mon Sep 17 00:00:00 2001 From: "royqh1979@gmail.com" Date: Sun, 3 Oct 2021 14:06:32 +0800 Subject: [PATCH] work save --- RedPandaIDE/mainwindow.ui | 12 +++++++++++- RedPandaIDE/qsynedit/TextBuffer.cpp | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/RedPandaIDE/mainwindow.ui b/RedPandaIDE/mainwindow.ui index 43494389..f3ff4471 100644 --- a/RedPandaIDE/mainwindow.ui +++ b/RedPandaIDE/mainwindow.ui @@ -288,7 +288,7 @@ QTabWidget::South - 2 + 4 @@ -806,6 +806,16 @@ + + + TODO + + + + + + + diff --git a/RedPandaIDE/qsynedit/TextBuffer.cpp b/RedPandaIDE/qsynedit/TextBuffer.cpp index 0fdaa9d3..fe7acfb5 100644 --- a/RedPandaIDE/qsynedit/TextBuffer.cpp +++ b/RedPandaIDE/qsynedit/TextBuffer.cpp @@ -230,7 +230,7 @@ void SynEditStringList::setContents(const QStringList &text) QStringList SynEditStringList::contents() { QStringList Result; - for (PSynEditStringRec& line:mList) { + foreach (const PSynEditStringRec& line, mList) { Result.append(line->fString); } return Result;