##// END OF EJS Templates
restore master behavior...
restore master behavior up arrow at the top line first goes to char 0, and only goes to the cell above if already on char 0. Same with down arrow on the bottom line: transition cursor to the end of the line, and only go down a cell if already at the end of the last line. this makes for an unhappy experience in code-mirror's vim mode for j and k keys, but we'll fix that in the next commit

File last commit:

r13347:54891794
r15835:dc3c98b8
Show More
tokenize2.py
9 lines | 160 B | text/x-python | PythonLexer
Thomas Kluyver
Now include patched copies of tokenize for Python 2 and 3.
r10110 """Load our patched versions of tokenize.
"""
import sys
if sys.version_info[0] >= 3:
Thomas Kluyver
Use explicit relative imports...
r13347 from ._tokenize_py3 import *
Thomas Kluyver
Now include patched copies of tokenize for Python 2 and 3.
r10110 else:
Thomas Kluyver
Use explicit relative imports...
r13347 from ._tokenize_py2 import *