How do I disable the automatic line wrapping in the editor?
Show older comments
In the prefs, I set the "right-hand text limit" to 150, but the editor still auto wraps at about half that.
Accepted Answer
More Answers (1)
André Novaes
on 21 Jun 2022
2 votes
On Matlab Online:
Choose HOME tab > Preferences > Editor/Debugger > Display > Right-hand text limit > Placement (change the number of 'columns').
1 Comment
DGM
on 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.
Categories
Find more on Entering Commands in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!