Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type hints break cursor movement #1651

Closed
theotherphil opened this issue Aug 4, 2019 · 5 comments
Closed

Type hints break cursor movement #1651

theotherphil opened this issue Aug 4, 2019 · 5 comments

Comments

@theotherphil
Copy link
Contributor

theotherphil commented Aug 4, 2019

Moving the cursor one character right from here:

image

Moves the cursor here:

image

Typing in the new location results in text being added or removed where I'd like, but with the cursor in the wrong position. This is very confusing!

@lnicola
Copy link
Member

lnicola commented Aug 4, 2019

#1623

@theotherphil
Copy link
Contributor Author

Thanks. I'll just disable type hints for now then.

@lnicola
Copy link
Member

lnicola commented Aug 4, 2019

I initially thought they would annoy me, but they're pretty useful when looking at unfamiliar code. YMMV.

@theotherphil
Copy link
Contributor Author

I find them very useful when reading code (which was a pleasant surprise - I find similar annotations in C# to be distracting), but too much of a nuisance when editing it.

@matklad
Copy link
Member

matklad commented Aug 5, 2019

closing as a duplicate and an upstream issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants