Format and indent breaks lines in attributes
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 3
- Joined: Sat Feb 29, 2020 10:32 pm
Format and indent breaks lines in attributes
How can I avoid breaking lines within tags when using the Format and Indent function?
I have:
and the Format and Indent function produces:
An image of my settings are here:
https://imgur.com/8xMM9z7
I have:
Code: Select all
<foreign xml:lang="la">Politana</foreign>,
Code: Select all
<foreign
xml:lang="la">Politana</foreign>,
https://imgur.com/8xMM9z7
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Format and indent breaks lines in attributes
Hello,
You should disable "Break line before an attribute name" (default disabled).
Regards,
Adrian
You should disable "Break line before an attribute name" (default disabled).
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 3
- Joined: Sat Feb 29, 2020 10:32 pm
Re: Format and indent breaks lines in attributes
Hi Adrian,
Thanks for your reply. I did what you said, but still keep getting the same result.
See this animated git I just recorded:

https://imgur.com/vH4d5z1
Thanks for your reply. I did what you said, but still keep getting the same result.
See this animated git I just recorded:
https://imgur.com/vH4d5z1
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Format and indent breaks lines in attributes
Hi,
What version and build of Oxygen are you using (Help > About)?
That's actually a completely different example and result than what you've shown in your initial post. Tag still gets a line break, but not before the attribute.
I can't tell why this is happening. Please send us a sample (code snippet where this happens) file and the exported options file (Options > Export Global Options) to support@oxygenxml.com .
Regards,
Adrian
What version and build of Oxygen are you using (Help > About)?
That's actually a completely different example and result than what you've shown in your initial post. Tag still gets a line break, but not before the attribute.
I can't tell why this is happening. Please send us a sample (code snippet where this happens) file and the exported options file (Options > Export Global Options) to support@oxygenxml.com .
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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