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.

回答(1 个)
Mario Malic
2020-8-29
0 个投票
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 个评论
Steven Lord
2020-8-29
That whitespace also contains the code folding indicators, as you can see from lines 24-27 in the picture.
类别
在 帮助中心 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!