When I click on a line in the Editor and scroll the mouse cursor up or down, MATLAB automatically selects and highlights across lines as in the screenhot enclosed. This started to happen only recently. I wonder if this has anything to do with the latest macOS update 15.1 or the latest MATLAB update 224b.

 採用された回答

Snoopy
Snoopy 2024 年 11 月 25 日

0 投票

Technical Support's reply: "Unfortunately, this behavior is not a bug. This is an enhancement and intentional change made in R2024a to make the MATLAB Editor behave similarly to other source code editors (e.g. in VS Code this is called "Scroll Beyond Last Line"). The idea is to be able to write at the end of the file without the content shifting all the time on the screen. Currently, there is no way to disable it." My response: "This doesn’t sonse to me at all. I don’t have anything to write there and hence all the time I have to scroll more than I am supposed to."

1 件のコメント

Amy
Amy 2025 年 7 月 11 日
Hi Snoopy, it sounds like you are talking about two separate issues here:
  1. In your original post, you mentioned that using a Magic Mouse and scrolling unexpectedly selects text. We have received another report of this, it is definitely not intentional, and we are looking into it.
  2. In your answer, you seem to be referring to the ability to scroll past the last line of code in the Editor. It is true that this is the intended behavior, but this isn't related in any way to the first issue with the Magic Mouse.

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

その他の回答 (2 件)

Adam Danz
Adam Danz 2024 年 11 月 22 日

0 投票

Ensure that your mouse button isn't stuck. I haven't seen this issue but if it continues to occur after closing and reopening MATLAB and after you've ruled out any mouse issues, feel free to contact tech support.

3 件のコメント

Snoopy
Snoopy 2024 年 11 月 22 日
編集済み: Snoopy 2024 年 11 月 23 日
Thanks for replying. I restarted the computer. The issue is still there. I reported it at tech support. Update: Tech support says, with the Magic Mouse, this is a known issue. This is utterly disturbing. Anyone using a magic mouse on a macOS should be having the same problem. That should be thousands of people. I wonder how all these people can wait until the next release.
Austin
Austin 2025 年 1 月 22 日
編集済み: Austin 2025 年 1 月 22 日
I'm having the exact same issue, and it's really annoying. Here's my set-up: I'm using R2024a Update 6 and running macOS Sequoia 15.2 on a Mac Mini M1 with a Magic Mouse. Whenever I scroll in the editor, it automically highlights lines of text above or below where my cursor is depening on the direction I scroll. It's extremely annoying! I haven't found a solution yet but hoping one comes soon....
Snoopy
Snoopy 2025 年 1 月 22 日
I submitted a complaint to the technical support. My impression is that a fix will not be rolled out on its own but will be part of the next release. Which is a lot of waiting. I am surporsed how MATLAB can roll out a release with such a serious bug. There must be hunderds of people who should be experiencing this problem. I do not know if MATLAB monitors this forum but it might be worth to submit the same complaint so that MATLAB gets to know that it is affecting users.

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

Snoopy
Snoopy 2024 年 11 月 25 日

0 投票

Why not make this optinal. I do not get what this huge white space is for...

カテゴリ

ヘルプ センター および File ExchangeDesktop についてさらに検索

タグ

質問済み:

2024 年 11 月 22 日

コメント済み:

Amy
2025 年 7 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by