Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Autotext and undo
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

smeuser
Senior Member

Germany
31 Posts

Posted - Sep 24 2007 :  1:10:13 PM  Show Profile  Reply with Quote
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:

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Sep 24 2007 :  1:43:16 PM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page

smeuser
Senior Member

Germany
31 Posts

Posted - Sep 24 2007 :  1:54:30 PM  Show Profile  Reply with Quote
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.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18943 Posts

Posted - Sep 25 2007 :  10:44:54 AM  Show Profile  Reply with Quote
I am glad you have found the problem.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000