Add action to toggle folding of child ranges

Authored by loh.tar on Apr 20 2019, 11:15 AM.

Description

Add action to toggle folding of child ranges

Summary:

With this patch will all, and only, the nested foldings of a range
(un)folded by right mouse click on the left hand icon border.

The range itself kept untouched, not toggled.

However, for convenience toggle the right button also a range which
doesn't contain other folding ranges.

  • Described action is also available in "View->Code Folding" menu as "Toggle Contained Nodes"
  • Old two actions "Fold/Unfold Current Node" are replaced by "Toggle Current Node"

The noted bug report request a slightly different behavior, but I think
it's close enough to considered that as "fixed".

BUG: 344414
FIXED-IN: 5.58

Differential Revision: https://phabricator.kde.org/D20606

Details

Committed
loh.tarApr 20 2019, 11:24 AM
Differential Revision
D20606: Add action to toggle folding of child ranges
Parents
R39:f5f715ea1441: Add test for "Auto Reload Document" option
Branches
Unknown
Tags
Unknown