How do I disable the automatic line wrapping in the editor?

206 Ansichten (letzte 30 Tage)
Doug Ivers
Doug Ivers am 5 Mai 2017
Kommentiert: DGM am 22 Jun. 2022
In the prefs, I set the "right-hand text limit" to 150, but the editor still auto wraps at about half that.

Akzeptierte Antwort

Adam
Adam am 5 Mai 2017
Do you mean comments? Code doesn't auto-wrap at all as far as I am aware
There is another under Editor/Debugger -> Language -> Comment formatting
that controls the wrapping of comments in code.

Weitere Antworten (1)

André Novaes
André Novaes am 21 Jun. 2022
On Matlab Online:
Choose HOME tab > Preferences > Editor/Debugger > Display > Right-hand text limit > Placement (change the number of 'columns').
  1 Kommentar
DGM
DGM am 22 Jun. 2022
The RH text limit is just a visual guideline. At least in older versions, it doesn't cause any wrapping. Wrapping is controlled under Language > Comment Formatting settings.
I don't know if that's still true in the new editor, though. If the online version is different, I'd imagine the new editor is also different.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by