How to turn off cmd+mouse wheel zoom in live editor Matlab

조회 수: 20 (최근 30일)
Pontus Vikstål
Pontus Vikstål 2019년 9월 10일
답변: Becky Galasso 2022년 1월 27일
As the title says; How can I turn off the feature that zooms in on the live editor when holding down the cmd button and using the mouse wheel on Mac. It is super annyoing and it happens multiple times that I by accident use the zoom function on my note book when working.

채택된 답변

Becky Galasso
Becky Galasso 2022년 1월 27일
Hi Pontus,
Starting in R2021b, it is now possible to disable zooming with the mouse wheel in the MATLAB Editor and Live Editor.
On the Home tab, in the Environment section, click Preferences. Select Editor/Debugger > Display, uncheck the “Enable zooming with Cmd+Scroll” option, and click Apply or OK. Holding the Command key while moving the mouse wheel should no longer zoom the MATLAB Editor or Live Editor.
You can also zoom in, zoom out, and return to the default zoom scale of the Editor in the Zoom section of the View tab. Please see the R2021b MATLAB Environment Release Notes for more information about zooming the Editor.

추가 답변 (2개)

Ian
Ian 2019년 10월 28일
편집: Ian 2019년 10월 28일
There is also a bug on the Mac OS version (2019b) where the scroll momentum left over after scrolling will cause the live script document to zoom if cmd is pressed before the momentum has dissipated. To reproduce this issue:
  1. Scroll the document. Release your fingers from the trackpad.
  2. Before the scroll momentum has dissipated, depress and hold Command.
  3. The document zooms (expected behaviour: the document does not zoom).
Turning off cmd+mouse wheel scrolling in live scripts would be suitable workaround to this bug, at least for me, because I find the mouse zoom shortcut minimally useful.
  댓글 수: 7
Brent F
Brent F 2021년 6월 19일
Still not fixed? Please let us disable this troublesome behavior!
Andy Fisher-Shin
Andy Fisher-Shin 2021년 11월 21일
It would be great to turn this off! It's incredibly annoying.

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


Payas Bahade
Payas Bahade 2019년 9월 19일
Hi Pontus,
Currently, it is not possible to disable the zoom shortcuts in MATLAB Live Editor. I have informed the concerned teams and the necessary actions will ensue.
  댓글 수: 5
Yuval Zukerman
Yuval Zukerman 2020년 8월 10일
I would say a workaround is available:
CMD+'+' and CMD+'-' will modify the zoom level and allow you to restore the live editor to the appropriate (default) text size.
Brent F
Brent F 2021년 6월 19일
It's a stretch calling that a "workaround", in that it requires multiple Cmd-+ keypresses every hour or so when Matlab goes haywire while using the Apple Magic mouse.

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

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by