How to keep editor scrollbar from selecting text?

4 次查看(过去 30 天)
I installed R2023a on a new mac, and now this very annoying new behavior: if I grab the scrollbar to drag up or down the script, it selects all the text between start and end scrolling points. This can't be intended, how to stop it?

回答(1 个)

Vishnu
Vishnu 2023-7-12
You might have enabled "Scroll Selection", to disable it, follow these steps:
  1. Go to the "Home" tab in the MATLAB toolbar.
  2. Click on "Preferences" to open the Preferences dialog.
  3. In the Preferences dialog, select "Editor/Debugger" from the left-hand side panel.
  4. Under the "Editor" section, click on "Scrolling" to expand the options.
  5. Uncheck the box next to "Scroll Selection" to disable this feature.
  6. Click "Apply" and then "OK" to save the changes and close the Preferences dialog.
  3 个评论
Joshua Diamond
Joshua Diamond 2023-12-5
I have the same problem, and likewise @Vishnu's comment didn't work for me.
andrew haun
andrew haun 2023-12-6
Oh Hey, I think I solved it a couple of months ago, though I forgot about my comment here.
In my case, I changed a setting in the OS "Appearance" tab, i.e. not a Matlab but a Mac setting. "Show scroll bars" was set to "When scrolling" - I changed it to "Always" and this fixed this scroll-select problem. I just double-checked it.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by