Is this a Matlab bug? The use of Ctrl + A to select all

18 ビュー (過去 30 日間)
Leon
Leon 2019 年 10 月 23 日
コメント済み: Leon 2019 年 10 月 23 日
I use Ctrl + A and then right click "smart indent" a lot.
Unfortunately, every time I do that, my cursor is moved to the very end of my script. This is very annoying, because I have tens of thousands of lines. Is there an easy way to make sure that when I apply Ctrl + A, my cursor will stay at my current location?
  9 件のコメント
Guillaume
Guillaume 2019 年 10 月 23 日
編集済み: Guillaume 2019 年 10 月 23 日
The best way to complain about this behaviour is indeed to raise a service request with Mathworks as per Daniel M's comment. I wouldn't hold my breath waiting for it to change, however the editor is constantly being improved so it may come as a result of other improvements.
In my opinion, Matlab's editor is indeed lacking compared to other code editors, including free ones.
As for this particular behaviour, I don't think there is a workaround at present, other than the bookmarking method mentioned, which is indeed awkward.
Leon
Leon 2019 年 10 月 23 日
Thanks!
I have created a bug report for this. Let's keep our fingers crossed.

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

回答 (1 件)

darova
darova 2019 年 10 月 23 日
You can add bookmark to return to your line. Crtl+F2 and just F2
Please accept my answer give me a vote
1234.png

カテゴリ

Help Center および File ExchangeGraphics Performance についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by