How to remove space between code and editor's left side

Recently, when I created a new script and saved it as a Matlab code file, I realized that all the lines of my code start with an indentation wich I can't get rid of. The image below shows the problem. I have already tried turning the Smart Indent on and off and decreasing the code's indentation, none of that worked.

Antworten (1)

Mario Malic
Mario Malic am 29 Aug. 2020

0 Stimmen

I think that's default, I have just checked options, and there is not such option to reduce that "whitespace", which exists, I believe for visual reasons.

1 Kommentar

That whitespace also contains the code folding indicators, as you can see from lines 24-27 in the picture.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020a

Kommentiert:

am 29 Aug. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by