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.
尝试重新安装它,如果不起作用,请查看您的键盘快捷键,也许您有一些奇怪的快捷键绑定使插入符号移动。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.