Right-hand text limit does not appear in script file

I have several script files. In some the right-hand text limit appears while in few others it does not. When I delete some code randomly (not any but at certain places), it appears. Is this a bug? My version is 2021b Update 3,

2 Comments

Absolutely no way anybody can make any sense of the above...for starters, what is the "right-hand text limit" and where does it appear?
Show us what you're talking about and provide a way to reproduce the problem...including the needed data file...
@dpb, it's a preferences setting. @Snoopy see my answer below.

Sign in to comment.

 Accepted Answer

Check your preferences
Home->Preferences->Editor/Debugger->Display->right hand text limit
and
Home->Preferences->Editor/Debugger->Language->Comment formatting
I believe the settings there should apply to all script files the same way.

5 Comments

I checked the first preference already. "Show line" is active. So the line is supposed to appear in all script files. But it does not and that was and is my question.
Try changing something, like the color of the line or it's column number. If that doesn't work, then call tech support.
I just tried. It does not help. Thanks for the suggestion but this should not be a legitimate solution too. I report this as a bug here. The tech support can pick it up from this thread.
Tech support does not monitor this forum. They will only know if you call or email them.
Perhaps it's a video adapter problem. Maybe try a different driver or try "opengl software". Or update your video adapter driver.
Thanks for informing that the tech support does not monitor this forum. If it was a video adaptor issue, the line would not have appeared in any script file but it does. Or, it would not have appeared in a same script file when I delete some code, I guess. I will contact tech support. Thank you for taking the time to respond in this thread.

Sign in to comment.

More Answers (0)

Categories

Asked:

on 15 Jan 2023

Commented:

on 16 Jan 2023

Community Treasure Hunt

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

Start Hunting!