void () { EdtInvocationManager.invokeLaterIfNeeded(() -> { if (!myDisposed) { myConsole.performWhenNoDeferredOutput(() -> { final AbstractTestProxy currentProxyOrRoot = getCurrentProxyOrRoot(); if (currentProxyOrRoot != null && !currentProxyOrRoot.isInProgress()) { //do not scroll to any mark during run myConsole.scrollTo(myMarkOffset); } }); } }); }