Why MATLAB 2021b LiveScript has large left margin column?

3 ビュー (過去 30 日間)
kan wu
kan wu 2021 年 11 月 26 日
コメント済み: Jonathan Kwang 2021 年 12 月 9 日
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?
Compared with 2021a, you can see the difference.

採用された回答

Navya Singam
Navya Singam 2021 年 12 月 1 日
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.
"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.
  2 件のコメント
kan wu
kan wu 2021 年 12 月 1 日
Hi, thanks for your reply. "Run to here" is actually not a new feature which just showed up in R2021b.
As shown in R2021a version below, the Run to here button was inside the editor besides the codes (this way saved the margin space). It was not build in the margin, which is totally not necessary.
Ugly is ugly. Bug is bug. Bad design is bad design, and no excuses.
Jonathan Kwang
Jonathan Kwang 2021 年 12 月 9 日
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.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by