nikitakit / hydrogen-python

Python-specific plugin for hydrogen. Make Python coding in the Atom editor even more interactive!
https://atom.io/packages/hydrogen-python
MIT License
54 stars 20 forks source link

Incorrect cursor moving #16

Closed kylebarron closed 5 years ago

kylebarron commented 5 years ago

@mbroedl Using run-and-move-down moves the cursor incorrectly. This doesn't happen when hydrogen-python is deactivated.

hydrogen-python-incorrect-moving

The text is the following:

import re
import regex

# NOTE: Using regex for (?r) flag

from .code_manager import CodeManager

I'm using version 0.0.7 and my "code to expand" in the settings is:

else, elif, \}, \], \), except, plt\.(?!plot), fnote

But note that import regex isn't run in the gif; it's just that the cursor is moved too far.