Pasting into verbatim blocks
Are you missing a feature? Request its implementation here.
Pasting into verbatim blocks
Currently, when I paste text into a verbatim block (e.g. programlisting), oXygen re-aligns everything in the pasted block.
I'd like to see the whitespace preserved only when pasting into verbatim areas.
-David
I'd like to see the whitespace preserved only when pasting into verbatim areas.
-David
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
You can control this with the option "Indent on paste" in Preferences - Editor - Format. If this option is set to false the pasted block will not be realigned but the exact copied content will be preserved.
Regards,
Sorin
You can control this with the option "Indent on paste" in Preferences - Editor - Format. If this option is set to false the pasted block will not be realigned but the exact copied content will be preserved.
Regards,
Sorin
Hi David,
The next release of oXygen will provide an action for intenting the current element that will take into account the xml:space attribute and the list of elements for which spaces should be preserved. You should be able then to paste then call the format element action on the parent elemnent to format and indent the pasted content. Otherwise it is hard to implement the paste action itself to be aware of xml:space and of the spaces preserve elements list as the pasted content is any text in the document and can span multiple elements.
Best Regards,
George
The next release of oXygen will provide an action for intenting the current element that will take into account the xml:space attribute and the list of elements for which spaces should be preserved. You should be able then to paste then call the format element action on the parent elemnent to format and indent the pasted content. Otherwise it is hard to implement the paste action itself to be aware of xml:space and of the spaces preserve elements list as the pasted content is any text in the document and can span multiple elements.
Best Regards,
George
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service