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

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.

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

 채택된 답변

Image Analyst
Image Analyst 2023년 1월 15일

0 개 추천

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

Snoopy
Snoopy 2023년 1월 15일
편집: Snoopy 2023년 1월 15일
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.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Entering Commands에 대해 자세히 알아보기

질문:

2023년 1월 15일

댓글:

2023년 1월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by