SlickEdit Community

Archived Beta Discussions => SlickEdit 201x Beta Discussions => SlickEdit 2018 v23 Beta Discussion => Topic started by: jmfrouin on October 03, 2018, 03:49:57 PM

Title: Code Folding
Post by: jmfrouin on October 03, 2018, 03:49:57 PM
Hi,
I know this is a long time subject of discussions, I know SE didn't support code folding, but selective display instead.
I haven't found a solution to enable it on all source code, so I have to go menu -> View -> Selective Display. And finally click on OK.
There is no way to enable it by default ? it's very very useful to fold an if, a while or something else :)
Thanks
Title: Re: Code Folding
Post by: Dan on October 03, 2018, 03:56:14 PM
Bind the command "selective-display" to a key.
Title: Re: Code Folding
Post by: jmfrouin on October 03, 2018, 03:59:23 PM
Ok, but I think about a way to execute it, on .XXX file for example ?
But thanks, mapping is a good workaround
Title: Re: Code Folding
Post by: Dennis on October 03, 2018, 05:59:06 PM
Document > [Lang] Options... > View > Selective Display on file open

You may want to also enable Selective Display bracketing if you haven't already.  (Tools > Options > Appearance > General > Selective Display )
Title: Re: Code Folding
Post by: jmfrouin on October 03, 2018, 07:50:30 PM
It was set, but didn't apply automaticaly
Title: Re: Code Folding
Post by: b on October 03, 2018, 08:07:12 PM
This is exactly what I was observing in my discussion thread.

https://community.slickedit.com/index.php/topic,16515.0.html
and https://community.slickedit.com/index.php/topic,16510.0.html
Title: Re: Code Folding
Post by: jmfrouin on October 03, 2018, 08:09:49 PM
Agree with b :D