From 785f4769cd65fbee410e965ae07789b95da517cd Mon Sep 17 00:00:00 2001 From: "royqh1979@gmail.com" Date: Fri, 8 Oct 2021 22:40:11 +0800 Subject: [PATCH] work save --- RedPandaIDE/qsynedit/SynEdit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RedPandaIDE/qsynedit/SynEdit.cpp b/RedPandaIDE/qsynedit/SynEdit.cpp index e24f8cef..ab9bd1b5 100644 --- a/RedPandaIDE/qsynedit/SynEdit.cpp +++ b/RedPandaIDE/qsynedit/SynEdit.cpp @@ -534,13 +534,13 @@ BufferCoord SynEdit::getMatchingBracketEx(BufferCoord APoint) QStringList SynEdit::contents() { - QMutexLocker locker(&mMutex); + //QMutexLocker locker(&mMutex); return lines()->contents(); } QString SynEdit::text() { - QMutexLocker locker(&mMutex); + //QMutexLocker locker(&mMutex); return lines()->text(); }