Avoid infinite loop in "Toggle Contained Nodes" action
ClosedPublic

Authored by loh.tar on May 8 2019, 4:51 AM.

Details

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.

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped
loh.tar created this revision.May 8 2019, 4:51 AM
Restricted Application added projects: Kate, Frameworks. · View Herald TranscriptMay 8 2019, 4:51 AM
Restricted Application added subscribers: kde-frameworks-devel, kwrite-devel. · View Herald Transcript
loh.tar requested review of this revision.May 8 2019, 4:51 AM
cullmann accepted this revision.May 8 2019, 5:39 PM
cullmann added a subscriber: cullmann.

Ok ;=)
Thanks for quick fix.

This revision is now accepted and ready to land.May 8 2019, 5:39 PM
This revision was automatically updated to reflect the committed changes.