From 8c1f9593630932e527e3b46d7fdc84f13ebce9a4 Mon Sep 17 00:00:00 2001 From: royqh1979 Date: Mon, 20 Sep 2021 16:03:24 +0800 Subject: [PATCH] minor fix --- RedPandaIDE/qsynedit/SynEdit.cpp | 2 +- RedPandaIDE/qsynedit/SynEdit.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RedPandaIDE/qsynedit/SynEdit.cpp b/RedPandaIDE/qsynedit/SynEdit.cpp index ec778f1a..12c3b44c 100644 --- a/RedPandaIDE/qsynedit/SynEdit.cpp +++ b/RedPandaIDE/qsynedit/SynEdit.cpp @@ -4144,7 +4144,7 @@ void SynEdit::setUseCodeFolding(bool value) } } -SynEditCodeFolding &SynEdit::codeFolding() const +SynEditCodeFolding &SynEdit::codeFolding() { return mCodeFolding; } diff --git a/RedPandaIDE/qsynedit/SynEdit.h b/RedPandaIDE/qsynedit/SynEdit.h index 649653c7..8f0b0430 100644 --- a/RedPandaIDE/qsynedit/SynEdit.h +++ b/RedPandaIDE/qsynedit/SynEdit.h @@ -301,7 +301,7 @@ public: bool useCodeFolding() const; void setUseCodeFolding(bool value); - SynEditCodeFolding & codeFolding() const; + SynEditCodeFolding & codeFolding(); QString lineText() const; void setLineText(const QString s);