In 2021a and before, code folding in sections had a blank line separator, which I liked since it improved readability. Now in 2021b the code sections fold contiguously, and it's too dense:
%% here is a section header
x = 1;
y = 3;
%% and here is another section
z = 4;
If I'm in the MATLAB Editor with that code example, and collapse the first section, it looks like this:
%% here is a section header collapsed ...
%% and here is another section
z = 4;
whereas it used to look like this:
%% here is a section header collapsed ...
%% and here is another section
z = 4;
Is there any way to recover or workaround to the old appearance? Thanks!

 Akzeptierte Antwort

Chidvi Modala
Chidvi Modala am 18 Nov. 2021

0 Stimmen

Hi David,
I have heard that this issue is known and the concerned parties may be investigating further.

1 Kommentar

David De Lorenzo
David De Lorenzo am 18 Nov. 2021
Thanks, Chidvi! I appreciate the quick response & update. Best,
Dave.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Environment and Settings finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by