InsertMemeNameHere
InsertMemeNameHere

Reputation: 2433

Visual Studio 2010 text editor buggy caret

I've had VS 2010 installed for about a year, and it's been running fine up until around a month ago.

Ever more frequently, and for no immediately deducible reason, the text editor starts moving the caret to weird places when I type "::", ".", "->", and the like.

I've done a resetsettings to no avail.

Any ideas?

EDIT - More detail:

When typing "::", the caret will jump to the beginning of the line, or somewhere in the middle of the first symbol on that line.

When completing a pair of "<>", if there are any nested occurrences thereof, the last ">" is deleted or justified. For example:

welcome_mat<
    tuba<
        yip<int>,
        orange<float> // <- after typing newline here...
    > // <- this was the original closing ">" for "welcome_mat" (I didn't type a ">" yet)
// ^---- caret is now here

I usually close my templates when I type them, but when arranging multiple arguments, I place them vertically and tend to close them after filling them out. This doesn't happen on single lines.

Upvotes: 0

Views: 162

Answers (1)

vandamon taigi
vandamon taigi

Reputation: 30

Try to reinstall it , if that doesn't work look at your keyboard shortcuts maybe you have some wierd shortcuts binds that make the caret move.

Upvotes: 1

Related Questions