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
 String Literals input should be highlighted
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tiancovici
Junior Member

19 Posts

Posted - Oct 08 2019 :  08:12:15 AM  Show Profile  Reply with Quote
When creating a set of characters in C++
We can avoid escaping sequence characters by using string literal.

R"()"

It would be more ideal if the color of the string itself would be different than the constructor of it






feline
Whole Tomato Software

United Kingdom
18724 Posts

Posted - Oct 18 2019 :  09:35:57 AM  Show Profile  Reply with Quote
This colouring is actually coming from the IDE its self, and doesn't have anything to do with VA.

Thinking about this, I can see why this should be like this, but also why you should not colour the constructor. The constructor is actually part of the string, it is what allows you do have the string this way, so you need to take it with you when you copy or cut the string, so from this point of view keeping it the same colour makes a degree of sense.

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