T O P I C R E V I E W |
smeuser |
Posted - Sep 24 2007 : 1:10:13 PM Found a small problem with Autotext and Undo with C++/VAX 1559, VS 2005 SP1:
Open a blank project (C++) Create a empty cpp File. Type some text Save it Now select the text and press (for example) # The selected text is surrounded by #ifdef _DEBUG {$selected} #endif Now use Undo to undo the Autotext operation: 1. You have to press undo multiple times until the change is undone 2. Since you have saved your text, VS shows now, that you text file is not changed (No asterisk in the files name). If you now press any navigation key (line up), the file is marked as changed. The second point is a little bit annoying if you work much with readonly files, as VS will now always ask, if you want to save the file under a new name (close the file, and reopen and it's okay).
VA_X.dll file version 10.3.1559.0 built 2007.07.06 Licensed to: VA X: [email protected] (1-user license) Support ends 2008.07.12 VAOpsWin.dll version 1.3.2.4 VATE.dll version 1.0.5.8 DevEnv.exe version 8.0.50727.762 msenv.dll version 8.0.50727.762 Font: Courier New 13(Pixels) Comctl32.dll version 6.0.2900.2982 Windows XP 5.1 Build 2600 Service Pack 2 2 processors
Platform: Win32 Stable Includes: D:\\Programme\\Microsoft Visual Studio 8\\VC\\include; D:\\Programme\\Microsoft Visual Studio 8\\VC\\atlmfc\\include; D:\\Programme\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\include; D:\\Programme\\Microsoft Visual Studio 8\\SDK\\v2.0\\include;
Library Includes: Q:\\trolltech\\qt-win-commercial-4.3.1include\\QtCore; D:\\Programme\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfc; D:\\Programme\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfcm; D:\\Programme\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\atl; D:\\Programme\\Microsoft Visual Studio 8\\VC\\crt\\src;
Other Includes:
|
3 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Sep 25 2007 : 10:44:54 AM I am glad you have found the problem. |
smeuser |
Posted - Sep 24 2007 : 1:54:30 PM Ups, sorry. I have found the problem. It's our own AddIn which fiddles with the editor in the background. Since I had seen it only together with the Autotext, I have not thought of disabling our AddIn. Sorry, for the false problem report.
|
feline |
Posted - Sep 24 2007 : 1:43:16 PM I cannot reproduce either problem using VS2005 and VA 1561.
I am using a C++ console project, which I told the IDE to create as an empty project.
When I trigger a single undo in my cpp file the autotext surround operation is undone immediately, and the file is now listed as no longer modified, since it is back to its original saved state. |
|
|