Line breaks in
Oxygen general issues.
-
- Posts: 159
- Joined: Mon Nov 24, 2014 1:49 pm
- Location: Greven/Germany
Line breaks in
Hi,
I have a very long command line with various $ask editor variables to model an Apache Ant based document wizard. The code works fine, but it is not very pretty formatted. Is there a trick to have line breaks and indentations in this window without creating an invalid command line?
Thanks
I have a very long command line with various $ask editor variables to model an Apache Ant based document wizard. The code works fine, but it is not very pretty formatted. Is there a trick to have line breaks and indentations in this window without creating an invalid command line?
Thanks
image.png
You do not have the required permissions to view the files attached to this post.
stefan-jung.org – Your DITA/DITA-OT XML consultant
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: Line breaks in
Post by alex_jitianu »
Hello,
You can put an $ask variable on multiple lines and use indentation, for example:
I should mention that it depends on Oxygen version, because in version 21.1 we introduced an improved engine for expanding and recognizing these variables. If you are running an older Oxygen version, the indentation support might be different.
The command line will not be affected because these variables are replaced with their value so there will be no new lines in the resulting command line.
Best regards,
Alex
You can put an $ask variable on multiple lines and use indentation, for example:
Code: Select all
${ask(
'message hello',
combobox,
(
'real_value1':'rendered_value1';
'real_valueN':'rendered_valueN'
),
'default')}
The command line will not be affected because these variables are replaced with their value so there will be no new lines in the resulting command line.
Best regards,
Alex
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