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
 Surround Selection when # is pressed
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

thodgson
Junior Member

USA
14 Posts

Posted - Feb 22 2006 :  5:30:56 PM  Show Profile  Reply with Quote
Noticing odd behavior "surround select when # is pressed" option is enabled.

VAX Build 1440, will add an extra CRLF to the code.

So instead of:
#ifdef _DEBUG
BOOL CWatchItem::GetFailureHttpStatusActive()
{
return m_bFailureHttpStatusActive;
}
#endif // _DEBUG


I get:
#ifdef _DEBUG
BOOL CWatchItem::GetFailureHttpStatusActive()

{

return m_bFailureHttpStatusActive;

}
#endif // _DEBUG

Any way for me to correct this?

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Feb 23 2006 :  3:14:53 PM  Show Profile  Reply with Quote
which IDE? i do not get this bug when i try this. are your files UNIX format, or some other format? any other plugin's installed?

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

thodgson
Junior Member

USA
14 Posts

Posted - Feb 23 2006 :  3:19:53 PM  Show Profile  Reply with Quote
The IDE is VC++ 6.0

I have a few plug-ins that did not affect previous builds:
Ctrl+Tab Tab Highlighter Add-In
Inpek 7th world EnhancedWindowList
RestoreClassViewAddin
Visual Assist X Add-in
WndTabs
WndTabs SDK Sample Add-In


VA_X.dll file version 10.2.1440.0 built 2006.01.17
Licensed to:
VA X: tim1atexclamationsoft.com (2-user license) Support ends 2007.02.02
VA 6.0:
VAOpsWin.dll version 1.3.2.0
VATE.dll version 1.0.4.12
MSDev.exe version 6.0.8168.1
Devshl.dll version 6.0.8798.0
Devedit.pkg version 6.0.8447.0
Font: Courier -13(Pixels)
Comctl32.dll version 5.82.2900.2180
WindowsNT 5.1 Build 2600 Service Pack 2
Single processor

Platform: Win32 (x86)
Stable Includes:
C:\\Program Files\\Codejock Software\\MFC\\Xtreme ToolkitPro v9.80\\Source;
C:\\Program Files\\Codejock Software\\MFC\\Xtreme Toolkit Pro v9.70\\Source;
c:\\Program Files\\Microsoft SDK\\include;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio .NET\\FrameworkSDK\\include;
C:\\Program Files\\Common Files\\System\\ADO;
C:\\Program Files\\Codejock Software\\MFC\\Xtreme Toolkit Pro v9.70 RC2\\Source;
C:\\Program Files\\PowerTCP\\Winsock Tool\\Include;
C:\\Program Files\\IPWorks V6\\C++ Edition\\include;
C:\\Program Files\\Common Files\\Software FX Shared;

Library Includes:
C:\\Program Files\\Codejock Software\\MFC\\Xtreme ToolkitPro v9.80\\Source;
C:\\Program Files\\Codejock Software\\MFC\\Xtreme Toolkit Pro v9.70\\Source;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\SRC;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\MFC\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\ATL\\INCLUDE;
C:\\Program Files\\Microsoft Visual Studio\\VC98\\CRT\\SRC;

Other Includes:


Tim Hodgson
VP Software Development
ExclamationSoft
http://www.exclamationsoft.com
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Feb 23 2006 :  4:05:58 PM  Show Profile  Reply with Quote
WndTabs is widely used, so is unlikely to be a problem, since we probably would have heard about it before now.

trying this in VC6 with 1440 installed i still cannot reproduce this. can you try disabling all of the other plugins

IDE tools menu -> customize -> add-ins and macro files tab

and see if that makes any difference after restarting the IDE? what happens with select text and press * to surround with /* */ comments? what about pressing / to comment out with // comments?

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

thodgson
Junior Member

USA
14 Posts

Posted - Feb 23 2006 :  4:24:46 PM  Show Profile  Reply with Quote
Hi,

I disabled all plug-ins except for VAX and the problem still occurs. I have also tested on a different machine with the same plug-ins and a similar set-up and it occurs there too.

I've restarted the IDE, no luck.

The problem only happens with "#" surround select and not with "*" or "//".


Tim Hodgson
VP Software Development
ExclamationSoft
http://www.exclamationsoft.com

Edited by - thodgson on Feb 23 2006 4:25:16 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Feb 25 2006 :  7:18:41 PM  Show Profile  Reply with Quote
does this happen on all files? when you are trying this on different machines, are you testing on the same project?

can you create a new project and try this in the code that is created?

are the code files local or stored on some form of network drive? are there any UNIX or non windows OS's involved here?

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

thodgson
Junior Member

USA
14 Posts

Posted - Feb 28 2006 :  10:49:18 AM  Show Profile  Reply with Quote
It happens on all files.
I am testing the same project on different machines.
I created a new project and encountered the same behavior.
The code files are local.
There are no unix or non windows OS's involved. Both machines are Windows XP SP2.

Tim Hodgson
VP Software Development
ExclamationSoft
http://www.exclamationsoft.com
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Feb 28 2006 :  4:27:27 PM  Show Profile  Reply with Quote
i will email you via the forum, can you reply to the email with a test project or file attached? i will then try the same tests here on the same files.

to be honest i am not sure what to think. if it is not something odd about the files then this will point at your machines.

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

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Mar 12 2006 :  3:25:50 PM  Show Profile  Reply with Quote
i have received your email, thank you for that.

this is quite strange. i can reproduce this effect very easily with your test project, so i have returned to my original test project and done some more tests. some blocks of code show this effect, while other blocks of code do not, all in the same cpp file. i can see no obvious explanation or pattern here, but it is definitely happening.

case=1032

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

support
Whole Tomato Software

5566 Posts

Posted - Apr 14 2006 :  1:17:53 PM  Show Profile  Reply with Quote
Fixed in build 1445.
Go to Top of Page

thodgson
Junior Member

USA
14 Posts

Posted - Apr 14 2006 :  1:58:35 PM  Show Profile  Reply with Quote
Confirmed. Build 1445 corrects this issue. Thank you for fixing the problem.

Tim Hodgson
VP Software Development
ExclamationSoft
http://www.exclamationsoft.com
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