![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/819364/image.png)
Why MATLAB 2021b LiveScript has large left margin column?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have updated from 2021a to 2021b, and I found the editor has some unacceptable feature:
Both livescript and script editor has a really large and ugly margin which is definitely not functional.
Does this large border have any purpose or just a bug?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/813914/image.png)
Compared with 2021a, you can see the difference.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/813919/image.png)
0 commentaires
Réponse acceptée
Navya Singam
le 1 Déc 2021
Hi,
The extra space in the left margin of the R2021b MATLAB is because of the addition of the "Run to Here" button in R2021b version.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/819364/image.png)
"Run to Here" button appears on hovering beside the line number. The changes/ additions to the latest versions of MATLAB are captured in the release notes.
You may refer to the Debug MATLAB Code Files documentation to know more about the usage of "Run to Here" button.
3 commentaires
Jonathan Kwang
le 9 Déc 2021
The space where Run to here used to be located in the Live Editor was repurposed for the single click to select line feature in R2021b where you can click with your mouse in that region of the Live Editor and the line of code next to it will be selected.
If you'd like to reduce the size of the margin, you can hide the Run to Here space in the margin by right clicking in the margin and unchecking the "Show Run To Here Margin" context menu item.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/828080/image.png)
SK
le 20 Mai 2024
Modifié(e) : SK
le 20 Mai 2024
This behaviour is not only in the live editor, it is there in the regular editor as well. It would be nice if that whitespace had a different shade to distinguish it from the rest of the file. I not only agree with the OP that it is ugly but it is also inconvenient since you expect that you can backspace upto the start of the whitespace only to have the line prematurely deleted.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Environment and Settings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!