필터 지우기
필터 지우기

Auto Scrolling in LiveScript output

조회 수: 12 (최근 30일)
Mason Turvey
Mason Turvey 2020년 10월 21일
편집: Bruce 2024년 5월 22일
I am currently writing a livescript for a genetic algorithm, and it outputs a text status showing every generation it completes. After about 50 lines of output, the text output region in the livescript becomes scrollable, however, every time another output is addded it automatically scrolls to the top of the output region instead of showing the latest output at the bottom, and whenever I scroll down in the output region to see the latest output, it ignores my mouse input and auto scrolls to the top, which is very annoying.
Is there any way to circumvent this behavior?
Yes, I could just use a normal .m file to run the program and view output in the command window, but I want the nice PDF layout from the .mlx format, so I'd like to figure this specific situation out.
  댓글 수: 2
Andreas
Andreas 2020년 11월 13일
Very interested in a solution for this specific issue as well!
Chris Kloppers
Chris Kloppers 2020년 12월 24일
I have the same issue :(

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

답변 (1개)

Jared MacDonald
Jared MacDonald 2021년 3월 2일
Hi Mason,
You can turn this off by right-clicking in the outputs area and selecting "Disable Synchronous Scrolling":
Jared
  댓글 수: 2
Bruce
Bruce 2024년 5월 22일
This does not work - I just tried it.
Bruce
Bruce 2024년 5월 22일
편집: Bruce 2024년 5월 22일
For the record, it disables a different anoying behaviour - scrolling to "corresponding" position in the code and output and it stops the cursor going to the top. But, it does not keep it at the bottom. Just leaves it where it is. Which is not much of an improvement.

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by