Question: How do I keep the format when copying text out of an avalonedit:TextEditor ? #214
Labels
No labels
Area-Accessibility
Area-Build
Area-CodeCompletion
Area-Document
Area-Documentation
Area-Editing
Area-Folding
Area-Highlighting
Area-i18n
Area-Indentation
Area-NetFx
Area-Rendering
Area-Search
Area-Snippets
dependencies
duplicate
Feedback Needed
help wanted
invalid
Issue-Bug
Issue-Discussion
Issue-Enhancement
Issue-Performance
Issue-Question
on-hold
Resolution-Answered
Resolution-By Design
Resolution-Duplicate
Resolution-Fixed
Resolution-Won't Fix
Up-for-Grabs
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-icsharpcode/AvalonEdit#214
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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