Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Mathematica versions < 8, the FrontEnd has a very intelligent behavior:

  • On evaluation, it by default automatically scrolls down the Notebook window to the last printed Output cell but also allows a user to scroll the Notebook window up by hand and then does not scroll down the window again automatically.

  • If the user wishes to restore automatic scrolling it is sufficient to scroll down the window to the last currently printed Output cell and automatic scrolling will be restored.

I feel such behavior very comfortable. But in Mathematica 8 we have no such behavior by default. I found that it may be partially restored by setting

SetOptions[$FrontEnd, 
 EvaluationCompletionAction -> {"ScrollToOutput"}]

But then it is not possible to stop automatic scrolling by scrolling the window by hands. It is possible to restore the old scrolling behavior?


Through Mathematica 10.4 the old scrolling behavior has not been restored.

  • Have any new options come on line to control this?

  • Is there a hook to determine scroll position that might be used for a workaround?

  • Could PrintTemporary and/or Dynamic (which is active only when visible) be used to simulate the old behavior?

  • If the old behavior is simply not achievable what is the best alternative for a similar workflow?

share|improve this question
    
Welcome, Alexey! – Mr.Wizard Feb 18 '12 at 4:44
    
Actually, I found the old behaviour rather annoying. Quite distracting when you were editing and running evaluations at the same time. – Sjoerd C. de Vries Mar 17 '12 at 13:19
    
@Sjoerd With the old behavior we could not only edit the input during evaluation (as we can by default now) but also inspect already printed outputs from the running evaluation (by scrolling the page). And all of this without loosing automatic scrolling when we wish! I see no advantages in loosing this. – Alexey Popkov Mar 17 '12 at 19:09
1  
In Mathematica 10, it does not seem possible to peacefully write some code while it is evaluating. It keeps jumping back and forth between the code line I am writing and the end of the input part of the section that is being evaluated. Is there a way to normally work on the code while Mathematica 10 is evaluating part of the notebook? – Wizzerad Jan 29 at 3:05
1  
@Wizzerad I suggest you to ask the tech support about it because (as you see) no one here seems to know how to get tiny control on the FrontEnd behavior while evaluating. If you get a solution, please post it here - it will help others. – Alexey Popkov Jan 29 at 8:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.