##// END OF EJS Templates
Don't always call focus_cell in Cell.command_mode....
Don't always call focus_cell in Cell.command_mode. The focus_cell should only be called when a user enters command mode by pressing ESC. Calling focus_cell was causing jumps when command mode was entered through a mouse click.

File last commit:

r9190:20a102a5
r14073:54b48d95
Show More
embed_division.py
5 lines | 266 B | text/x-python | PythonLexer
"""This tests that future compiler flags are passed to the embedded IPython."""
from __future__ import division
from IPython import embed
embed(banner1='', header='check 1/2 == 0.5 in Python 2')
embed(banner1='', header='check 1/2 = 0 in Python 2', compile_flags=0)