Bug 344551

Summary: codefolding for specified level
Product: [Applications] kate Reporter: Martin Schmitz <Martin.Schmitz>
Component: foldingAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: All   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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 ***