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

Some documents open with flipped cursor and replace mode #31

Closed
richkzad opened this issue May 4, 2017 · 4 comments
Closed

Some documents open with flipped cursor and replace mode #31

richkzad opened this issue May 4, 2017 · 4 comments

Comments

@richkzad
Copy link

richkzad commented May 4, 2017

Sometimes certain C# files open in VS7 with the cursor looking like the insert cursor. Hitting Escape does nothing.

Even though I see the insert cursor, I appear to be in normal mode. hjkl move around the document.

When I go into insert mode with i, it acts as if I had just hit R. In other words, instead of inserting text, I'm replacing the text under the cursor.

It doesn't do this for all C# files I open. I don't know why, though. But it's very consistent. If I close all tabs, and re-open the files, the same files will have the same problem.

@nosami
Copy link
Owner

nosami commented May 4, 2017

I've seen this myself a few times but not sure how to reproduce. It's down to a change between XS and VS apis.

@nosami
Copy link
Owner

nosami commented May 4, 2017

What I need to do as an interim step is clear state when a tab is closed, but not sure how yet.

@nosami
Copy link
Owner

nosami commented May 7, 2017

To repro, change to insert mode, close the tab and reopen

@nosami
Copy link
Owner

nosami commented May 9, 2017

It seems that there was a different bug that had the same effect. For reasons that I haven't investigated, Initialize() was called twice. This was causing the caret mode to be toggled twice (back into insert mode)

Fixed in 0.16.9

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

2 participants