Author |
Topic |
|
Perry
Junior Member
China
10 Posts |
Posted - Jul 10 2004 : 11:05:40 AM
|
In VS .net, when copying text to clipboard and then copy it to word processors such as MS Word, the syntax coloring information is also copyed. In another word, the text copyed to Word is also colored. But the text colored by Enhance Syntax Coloring of VA is not copyed correctly with the coloring information. Is it possible to keep them with the same color in Word as in text editor window in VS .net?
And in VS 6, it is possible to copy text in RTF format with the help of VA, and the coloring information is OK. But the font information is not copyed correctly. So the font after copying is quite different from the one shown in the text editor window of VS 6. |
-++?+?+?+?+?+?-? +?+?+?-?+?+++?+? ... |
|
support
Whole Tomato Software
5566 Posts |
|
jpizzi
Tomato Guru
USA
642 Posts |
|
support
Whole Tomato Software
5566 Posts |
Posted - Jul 11 2004 : 11:33:20 PM
|
Good point about 1149 being in the private forum. Here is the relevant text:
VA sniffs the clipboard after MS has copied to it. For VC++ 6.0, we see only text in the clipboard. We parse the code in the clipboard and replace it with RTF. No problem. Similar setup for printing. The only problem we have is we lose context of code snippets, hence coloring can be off.
With VS.NET, MS puts HTML in the clipboard. We need to parse it, then the code embedded in it, and put either RTF or HTML back into the clipboard. The task is not impossible but bigger than in is VC++ 6.0. We just haven't gotten to it. Hence, when you copy or print, you see only the VS.NET colors, in HTML, in the clipboard or on your paper. |
Whole Tomato Software, Inc. |
|
|
WannabeeDeveloper
Tomato Guru
Germany
775 Posts |
Posted - Jul 12 2004 : 02:12:36 AM
|
Any chance that this feature (copy VAX-enhanced Colored Sourcecode into clipboard) will be implemented into VAX for VS .NET?
You don't need to say when, just if it is planned... |
|
Edited by - WannabeeDeveloper on Jul 12 2004 02:13:10 AM |
|
|
Perry
Junior Member
China
10 Posts |
Posted - Jul 12 2004 : 09:16:11 AM
|
Thanks.
And what about the font in VS 6? In fact, the font in the VS6 edit window is that such as Fixedsys or Terminal, but after copying to MS Word, the font is the default font in Word, such as Times New Roman. It seems that what VA does is monitoring the clipboard and color the text in it. Hence maybe it is possible to read the IDE settings to get the font name and size of the edit window and then make the text in the clipboard the same font. It would be quite convenient if it is so.
|
-++?+?+?+?+?+?-? +?+?+?-?+?+++?+? ... |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Jul 12 2004 : 2:04:08 PM
|
No chance for enhanced-color copying in VS.NET any time soon. Nowhere near the short list.
case=170
We will check into copying font to the clipboard for VC++ 6.0.
case=171 |
Whole Tomato Software, Inc. |
|
|
|
Topic |
|