Indent == 2 spaces, but oXygen inserts 4 spaces...
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 88
- Joined: Wed Feb 11, 2015 11:25 pm
- Location: San Francisco, California USA
- Contact:
Indent == 2 spaces, but oXygen inserts 4 spaces...
For:
In Preferences -> Editor -> Format -> Indent -> Indent size I have specified 2. And (re-)applied that setting, then clicked OK.
But in all structured text files, Format and Indent inserts 4 spaces.
I've opened the same structured text files in a programmer's editor. I can apply the desired indent of 2 spaces there...
Any ideas?
- oXygen XML editor 21.1, build 2019120214
- OpenJDK Runtime Environment (build 1.8.0_232-8u232-b09-0ubuntu1~16.04.1-b09)
- Linux Mint 18.3, 32-bit
In Preferences -> Editor -> Format -> Indent -> Indent size I have specified 2. And (re-)applied that setting, then clicked OK.
But in all structured text files, Format and Indent inserts 4 spaces.
I've opened the same structured text files in a programmer's editor. I can apply the desired indent of 2 spaces there...
Any ideas?
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Indent == 2 spaces, but oXygen inserts 4 spaces...
Hi Riley,
In the Preferences->Editor / Format page there is a "Detect indent on open" checkbox. Maybe you can uncheck that and afterwards use the format and indent again.
Regards,
Radu
In the Preferences->Editor / Format page there is a "Detect indent on open" checkbox. Maybe you can uncheck that and afterwards use the format and indent again.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 88
- Joined: Wed Feb 11, 2015 11:25 pm
- Location: San Francisco, California USA
- Contact:
Re: Indent == 2 spaces, but oXygen inserts 4 spaces...
Thanks Radu.
That fixed it. Good "trick" to know...
Cheers & thanks 'gain,
Riley
SFO
That fixed it. Good "trick" to know...
Cheers & thanks 'gain,
Riley
SFO
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