VC ++会自行“撤消" !!! [英] VC++ 'undo'es on its own!!!

查看:82
本文介绍了VC ++会自行“撤消" !!!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从昨天开始,文本编辑器就自己做一些奇怪的事情!我更改了一些代码行,构建了项目,运行.exe以检查更改是否起作用,当我回到编辑器时,我更改的某些代码消失了!!!有时候会发生 例如50%的时间,并且还原的代码量也是随机的.在每次重建之前,我都按了CTRL + S的命令,但粉碎了1000次,但这似乎无济于事!

Since yesterday the text editor does weird things on its own! I change some lines of code, build the project, run the .exe to check if the changes work, and when I go back to the the editor, some of the code I have changed is gone!!! It happens sometimes, like 50% of times and the amount of code that is reverted is also random. I smash 1000 times CTRL + S before each rebuild but it doesn't seem to help!

 

WT *正在进行中?

WT* is going on??


可能问题必须与自动换行"有关.我关闭了吗?


Might the problem have to do something with "Word Wrap" which I turned off?

我可以重现该错误:我在一行中更改了一些代码,然后按"Home"键.瞧:我写的所有更改都消失了>:(

I can reproduce the error: I change some code in a line, then press the "Home"-key. Voila: All changes that I have written are gone >:(

推荐答案

是否有可能在Visual Studio中打开了同一文件的两个副本,并且正在对错误的一个进行编辑(这种情况发生在我身上有时)
Is it possible that you have two copies of the same file open in Visual Studio and are making edits to the wrong one (this happens to me on occasion)


这篇关于VC ++会自行“撤消" !!!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆