How to keep editor scrollbar from selecting text?

조회 수: 6 (최근 30일)
andrew haun
andrew haun 2023년 7월 11일
편집: Walter Roberson 2025년 8월 21일
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.
  댓글 수: 5
TrevorR
TrevorR 2025년 8월 21일
@andrew haun Thanks that worked
Walter Roberson
Walter Roberson 2025년 8월 21일
편집: Walter Roberson 2025년 8월 21일
This is what the preferences section looks like on MATLAB R2023a for MacOS:
As you can see, the Editor section of Editor/Debugger has no "Scrolling" or "Scroll Selection"
The Windows R2023a preferences are the same, just with slightly different decorations.
I do not recall there ever having been a "Scroll Selection" preference.
I think you used an AI system to answer, without checking the validity of the answer yourself.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Entering Commands에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by