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);