You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have a question related to the formatting of the texteditor control. I have highlighted some SQL Code using some xshd. I changed the font family to "consolas" by adding the fontfamily attribute in the xml control. When I copy the text of the texteditor and paste it into Word, the font family will not be transfered over to word, the colors however will. I also created a TypeFace with the consolas font and changed it trough a DocumentColorizingTransformer (similar to here: https://stackoverflow.com/questions/23186060/avalonedit-is-it-possible-to-highlight-this-syntax/23251990#23251990)
But that didn't help either. The font changed in the texteditor, but did not transfer over to word.
Can someone help me in solving this? I want to copy the text out of the texteditor and I want to keep the font family and the colors (preferable also the font size).
Thank you
The text was updated successfully, but these errors were encountered:
Hello,
I have a question related to the formatting of the texteditor control. I have highlighted some SQL Code using some xshd. I changed the font family to "consolas" by adding the fontfamily attribute in the xml control. When I copy the text of the texteditor and paste it into Word, the font family will not be transfered over to word, the colors however will. I also created a TypeFace with the consolas font and changed it trough a DocumentColorizingTransformer (similar to here: https://stackoverflow.com/questions/23186060/avalonedit-is-it-possible-to-highlight-this-syntax/23251990#23251990)
But that didn't help either. The font changed in the texteditor, but did not transfer over to word.
Can someone help me in solving this? I want to copy the text out of the texteditor and I want to keep the font family and the colors (preferable also the font size).
Thank you
The text was updated successfully, but these errors were encountered: