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
 Un/comment Block bug
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

bugfix
Tomato Guru

Germany
324 Posts

Posted - Mar 28 2005 :  09:11:52 AM  Show Profile
Hi,

trying to block comment this line doesnt work.

char *xPath = "root/*";

Only "uncomment block" menu item is enabled and when exectued it results in:

char *xPath = "root";

Pretty annoying when doing xml w/ XPath:)


VA_X.dll file version 10.1.1299.0
Licensed to:
VA X: [email protected] (1-user license) Support ends 2005.07.17
VA.NET 7.1:
VAOpsWin.dll version 1.2.0.4
DevEnv.exe version 7.10.3077.0
msenv.dll version 2.0.1332.0
Font: Courier New 13(Pixels)
Comctl32.dll version 5.82.2800.1106
WindowsNT 5.1 Build 2600 Service Pack 1
Single processor

Platform: Xbox
Stable Includes:
F:\\Develop\\MSXenonSDK\\Include\\Xbox;

Library Includes:
F:\\Develop\\MSXenonSDK\\Source;

Other Includes:


http://www.mf-sd.de

support
Whole Tomato Software

5566 Posts

Posted - Mar 28 2005 :  10:30:54 AM  Show Profile
We can reproduce the problem you describe. "Comment" is not enabled in our context menu if your selection contains a comment symbol.

We have a newer feature you might like. Enable "Surround selection" in our options dialog, select your line and press * to comment in block style. Learn more at:

http://www.wholetomato.com/products/features/surround.html?more=yes
Go to Top of Page

bugfix
Tomato Guru

Germany
324 Posts

Posted - Mar 28 2005 :  10:57:07 AM  Show Profile
thx, this almost seems to do the trick.
its still buggy tho.. spaces are inserted so one is forced to use "Surround selection" feature to uncomment the block.

e.g.
"root/*" -> "root/* "

"root/*/" -> "root/ * /"

http://www.mf-sd.de
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Mar 28 2005 :  11:48:59 AM  Show Profile
VA X is trying to prevent nested block comments. It's not smart enough to realize your comment markers are embedded in a string.

case=541

Select and press / to comment in line style.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000