loh.tar created this revision. loh.tar added a reviewer: KTextEditor. Herald added projects: Kate, Frameworks. Herald added subscribers: kde-frameworks-devel, kwrite-devel. loh.tar requested review of this revision.
TEST PLAN Try and empty folding range like ktexteditor/src/utils/kateconfig.cpp:634 Where... KateRendererConfig::~KateRendererConfig() { } ...cause the hassle Each part of this patch solve the issue of its own, but I'm unsure which way to go. I think it shouldn't be a folding range offered in such a case, will look at it later. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D21078 AFFECTED FILES src/document/katebuffer.cpp src/view/kateview.cpp To: loh.tar, #ktexteditor Cc: kwrite-devel, kde-frameworks-devel, #ktexteditor, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann