fixed PY-14462 In IPython notebook, after cell evaluation with Shift-Enter, focus should be on the next cell

This commit is contained in:
Ekaterina Tuzova
2014-12-25 18:21:39 +03:00
parent 58f4174fc6
commit 56f8bd2851
@@ -26,12 +26,13 @@ public abstract class IpnbRunCellBaseAction extends AnAction {
ApplicationManager.getApplication().runWriteAction(new Runnable() {
public void run() {
ipnbFilePanel.saveToFile();
ipnbFilePanel.selectNext(cell);
}
});
}
}, "Ipnb.runCell", new Object());
}
ipnbFilePanel.selectNext(cell);
}
ipnbFilePanel.revalidate();
ipnbFilePanel.repaint();