Visio 2013失去语法高亮 [英] Visio 2013 looses syntax highlightening
问题描述
我在visio 2013中粘贴代码snipplet。最初粘贴代码,保留语法高亮(即使它是PasteSpecial - > RTF)
Im pasting code snipplets in visio 2013. Originally pasting code, preserved the syntax highlightening (even if it is PasteSpecial -> RTF)
虽然我正在使用它,但我无法强制使用visio 2013来保持粘贴代码snipplet的语法高亮。它保留了粘贴文本的间距。
While Im wrting it, I cannot force visio 2013 anymore to preserve the syntax highlightening of a pasted code snipplet. It preserves though the spacing of the pasted text.
任何建议,为什么没有保留它以及如何强制它保存它?
Any suggestions, why it is not preserved and how to force it to preserve it?
推荐答案
Hi Heinrich,
Hi Heinrich,
请尝试以下方法作为解决方法:
Please try the following method as a workaround:
1。使用保留源格式将代码粘贴到Word 2013。
1. Pasting the code to Word 2013 with Keep Source Formatting.
2。从Word 2013复制代码,然后使用"选择性粘贴"将其粘贴到Visio 2013>格式化文本(RTF)
2. Copy the code from Word 2013, then paste it to Visio 2013 with Paste Special > Formatted Text (RTF)
3。然后粘贴的代码将显示为原始颜色的Visio Shape。例如:
3. Then the pasted code would be displayed as Visio Shape with original color. For example:
希望它能在你身边发挥作用。
Hope it works in your side.
最好的问候,
Winnie Liang
Best Regards,
Winnie Liang
这篇关于Visio 2013失去语法高亮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!