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!