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
 Feature Requests
 Funny syntax coloring bug
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

znakeeye
Tomato Guru

379 Posts

Posted - Oct 31 2007 :  11:02:13 AM  Show Profile  Reply with Quote
I have turned on VAX syntax coloring in all possible ways.
std::string s = "int main() { int x = 0; // comment";

When debugging and hovering over this string variable, the tooltip is colorized!

feline
Whole Tomato Software

United Kingdom
18950 Posts

Posted - Oct 31 2007 :  12:19:43 PM  Show Profile  Reply with Quote
Would you believe its part of our plan to make the world a better place, by bringing unexpected joy and happiness into people's lives?

Which IDE are you using? No code highlighting for me in VS2005.

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

znakeeye
Tomato Guru

379 Posts

Posted - Oct 31 2007 :  12:38:42 PM  Show Profile  Reply with Quote
VS 2003 .NET.
It only seems to happen when I copy some source code to the clipboard and then set a breakpoint in my clipboard application where I fetch the text using GetClipboardData:
OpenClipboard(hWnd);
HANDLE hData = GetClipboardData(CF_TEXT);
std::string s = (char*)GlobalLock(hData);

If I hover the mouse over 's', my source code gets colorized.

PS. It's really frustrating that you can't upload screenshots here...
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18950 Posts

Posted - Nov 01 2007 :  11:16:44 AM  Show Profile  Reply with Quote
For screen shots, various members use free photo hosts, I have used http://photobucket.com/ in the past. Alternatively if you send us the picture via the form:

http://www.wholetomato.com/support/contact.asp

including this thread ID or URL in the description, so we can match it up, I will post the pictures to the thread for you.

This is a very simple forum, without a lot of fancy features, but it gets the job done - at least most of the time.

The colouring of tooltips, after a bit of fiddling around I was able to reproduce this. Very easy to reproduce with just the right bit of code:

case=9636

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