space key when space insignificant
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 72
- Joined: Thu Mar 26, 2015 4:57 pm
space key when space insignificant
Post by steve.cuzner »
Given this example from https://www.oxygenxml.com/doc/versions/ ... ?hl=spaces
Code: Select all
<p>The file is located in <i>HOME</i>/<i>USER</i>/hello.
This is a <strong>big</strong>
<emphasis>deal</emphasis>.
</p>
As the documentation says, the multiple space characters following </strong> > 1 are insignificant. In the author view, is it possible to know that an additional space would be insignificant and disable the space key to prevent the introduction of insignificant space?In this example, whitespace should not be introduced around the i tags as it would introduce extra significant whitespace into the document. The space between the end </strong> tag and the beginning <emphasis> tag should be normalized to a single space, not zero spaces.
-
- Posts: 9450
- Joined: Fri Jul 09, 2004 5:18 pm
Re: space key when space insignificant
Hi Steve,
I understand, this makes sense, we already have an internal issue for it and I added your feedback to it.
Actually at some point we tried to implement this behavior of disallowing entering consecutive white spaces in elements which are not space-preserve and one situation where this would be annoying would be when you have two words like this {code}word1| word3{code} with the caret placed after the "word1" and you want to insert a space and then insert "word2". But the application would prohibit inserting a space because you would have two consecutive spaces between the words, but that would be a temporary step until the tech writer inserts the text. How would you see this issue handled by the application?
Regards,
Radu
I understand, this makes sense, we already have an internal issue for it and I added your feedback to it.
Actually at some point we tried to implement this behavior of disallowing entering consecutive white spaces in elements which are not space-preserve and one situation where this would be annoying would be when you have two words like this {code}word1| word3{code} with the caret placed after the "word1" and you want to insert a space and then insert "word2". But the application would prohibit inserting a space because you would have two consecutive spaces between the words, but that would be a temporary step until the tech writer inserts the text. How would you see this issue handled by the application?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 72
- Joined: Thu Mar 26, 2015 4:57 pm
Re: space key when space insignificant
Post by steve.cuzner »
I would expect that if you are after word1 and before the space, if you type the space bar the cursor would advance to between the space and word3 which would allow you to start typing word2. This would require you to add a new space between word2 and word3, but that would be a natural action for a writer in my opinion.
-
- Posts: 9450
- Joined: Fri Jul 09, 2004 5:18 pm
Re: space key when space insignificant
Hi Steve,
About this remark:
Regards,
Radu
About this remark:
So the cursor would be moved right to the beginning of word3? As a writer I would be inclined to add one more space and then move the cursor to the left before typing because I would not want the word I'm typing to be joined with word3.if you type the space bar the cursor would advance to between the space and word3
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
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