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 件のコメント

dpb
dpb 2023 年 1 月 15 日
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...
Image Analyst
Image Analyst 2023 年 1 月 15 日
@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.
Image Analyst
Image Analyst 2023 年 1 月 15 日
Try changing something, like the color of the line or it's column number. If that doesn't work, then call tech support.
Snoopy
Snoopy 2023 年 1 月 15 日
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.
Image Analyst
Image Analyst 2023 年 1 月 16 日
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.
Snoopy
Snoopy 2023 年 1 月 16 日
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 ExchangeEntering 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