From kde-bugs-dist Fri May 30 13:30:11 2014 From: Cristian Tibirna Date: Fri, 30 May 2014 13:30:11 +0000 To: kde-bugs-dist Subject: [kate] [Bug 335591] New: There is no way to reverse the effect of "Fold Toplevel Nodes" Message-Id: X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=140145661505498 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.