Bug 344551 - codefolding for specified level
Summary: codefolding for specified level
Status: RESOLVED DUPLICATE of bug 344414
Alias: None
Product: kate
Classification: Applications
Component: folding (show other bugs)
Version: unspecified
Platform: Mageia RPMs All
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-25 08:15 UTC by Martin Schmitz
Modified: 2016-06-13 12:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schmitz 2015-02-25 08:15:22 UTC
Dear Developers,

I've already asked Christoph, and he wrote me to write this to the buglist:
I would apriciate codefolding on specified level. I.e.:

class my_class{
 function my_func_1(){
 ...
 ...
 ...
 }
 function my_func_2(){
 ...
 ...
 ...
 }
 function my_func_3(){
 ...
 ...
 ...
 }
}

...should become...

class my_class{
 function my_func_1(){
 function my_func_2(){
 function my_func_3(){
}

if a codefolding-mark [-] was clicked in front of "function my_func_1(){"

Best if:

> Mouse left:   - fold actual level (as it work like now)
> Mouse middle: - codefolding for specified level (as decribed above)
> Mouse right:  - fold specified level and all sublevels in it

At the moment, testbuffer is inserted, when clicking [-] with mouse-middle, even that you are outside of the code-area.

Hope you integrate it in Kate :-)

Cheers Martin

(quotation from Christoph)
"Ich denke, Interesse ist schon da, die Frage ist nur, ob es jemand einbaut ;=)"


Reproducible: Always
Comment 1 Dominik Haumann 2016-06-13 12:28:25 UTC
*** This bug has been marked as a duplicate of bug 344414 ***