[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kate] [Bug 335591] New: There is no way to reverse the effect of "Fold Toplevel Nodes"
From:       Cristian Tibirna <tibirna () kde ! org>
Date:       2014-05-30 13:30:11
Message-ID: bug-335591-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=335591

            Bug ID: 335591
           Summary: There is no way to reverse the effect of "Fold
                    Toplevel Nodes"
    Classification: Unclassified
           Product: kate
           Version: 3.13.1
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: folding
          Assignee: kwrite-bugs-null@kde.org
          Reporter: tibirna@kde.org

In Kate->View->Code Folding, there is "Fold Toplevel Nodes", the only folding
command with a default shortcut. This shortcut is chosen to be Ctrl+Shift+-,
which is very easy to hit by mistake, while e.g. tuning the font size with
Ctrl+- and Ctrl++ shortcuts.

Unfortunately, there is no way to undo/reverse the effect of folding all
toplevel nodes, apart from going and unfolding manually each and every toplevel
node. In a typical Python code file, for example, this could mean tens of
tedious mouse positionings and clicks.

The documentation (for which btw. kate 3.13 is still that of that of kate 3.11)
states "Click on the right pointing triangle to expand all toplevel regions"
which is at least confusiong (*which* right pointing triangle?) if not
sarcastic.

Fortunately, quitting kate, restarting it and reopening the same document
brings back the unfolded file, "thanks" to bug 316184.

Reproducible: Always

Steps to Reproduce:
1. Open a document with many toplevel nodes (e.g. a Python module file)
2. Hit "Ctrl+Shift+-" (default shortcut) or click View->Code Folding->Fold
Toplevel Nodes
3. Try to unfold everything.
Actual Results:  
There is no way to unfold all toplevel nodes with one single command. One has
to go and unfold each node, one at a time.

Expected Results:  
There should exist a "Unfold Toplevel Nodes" action.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic