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
 multiline text helper
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Dusan
Whole Tomato Software

Slovakia
177 Posts

Posted - Jun 03 2013 :  04:25:36 AM  Show Profile  Reply with Quote
Would be fine to have a tool to make a multiline text:

VA could open text editor (Scintilla?) to write some text:
This editor could also support highlighting, so there could be switch for specific language (like in NotePad++).
After I write some text to it and press enter (or OK button):
from input (language set to SQL):
SELECT "Column1", "Column2"
FROM "TestTable"
WHERE "Column1" <> "Column2"

I like to get output (current language specific - example for C++):
"SELECT \\"Column1\\", \\"Column2\\""
"FROM \\"TestTable\\""
"WHERE \\"Column1\\" <> \\"Column2\\""


How about it?

Edited by - Dusan on Jun 03 2013 04:31:15 AM

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jun 03 2013 :  10:06:28 AM  Show Profile  Reply with Quote
If you have already written the block of text, then you can use an IDE macro to do the conversion. I worked out and posted a sample macro here, for converting the text into a VB string, but it should be easy enough to update:

http://support.wholetomato.com?W445

Unfortunately this won't work in VS2012, since VS2012 no longer offers IDE macros.

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