Entering a newline from the middle of a tag
Oxygen general issues.
-
- Posts: 7
- Joined: Thu Mar 26, 2009 11:56 pm
Entering a newline from the middle of a tag
Hi,
I looked in the help, but I can't find any keyboard shortcut for entering a newline while in the middle of a tag without moving the tag.
For example, let say you've just type the following
<tag>Blah|</tag>
^ curser here
When you type <tag>, Oxygen automatically inserts </tag> and so all you need to type is blah, right? OK, so now I want to move to insert a linefeed, but I want </tag> to stay where it is.
In TextMate, you can press cmd-Enter and it will insert a linefeed but leave the text after the curser on the existing line.
I can't see how to do that in Oxygen. That is, I have to move the curser to the end of the line and then hit enter. Is that the only way to do it, or am I missing something?
Thanks,
Mark
I looked in the help, but I can't find any keyboard shortcut for entering a newline while in the middle of a tag without moving the tag.
For example, let say you've just type the following
<tag>Blah|</tag>
^ curser here
When you type <tag>, Oxygen automatically inserts </tag> and so all you need to type is blah, right? OK, so now I want to move to insert a linefeed, but I want </tag> to stay where it is.
In TextMate, you can press cmd-Enter and it will insert a linefeed but leave the text after the curser on the existing line.
I can't see how to do that in Oxygen. That is, I have to move the curser to the end of the line and then hit enter. Is that the only way to do it, or am I missing something?
Thanks,
Mark
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Entering a newline from the middle of a tag
Post by sorin_ristache »
Hello,
Yes, that is the only way to do it. We will consider adding a shortcut like CMD-Enter for inserting a newline at the end of the current line and moving the cursor to the next line.
Regards,
Sorin
Yes, that is the only way to do it. We will consider adding a shortcut like CMD-Enter for inserting a newline at the end of the current line and moving the cursor to the next line.
Regards,
Sorin
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Entering a newline from the middle of a tag
Hello Mark,
Oxygen 11 (available in a few weeks) will have the Insert new line after action available either from the contextual menu -> Source submenu or with the Cmd+Alt+Enter shortcut which can be configured from the Menu shortcut keys preferences page.
Regards,
Radu
Oxygen 11 (available in a few weeks) will have the Insert new line after action available either from the contextual menu -> Source submenu or with the Cmd+Alt+Enter shortcut which can be configured from the Menu shortcut keys preferences page.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 1
- Joined: Tue Oct 06, 2009 8:40 pm
- Contact:
Re: Entering a newline from the middle of a tag
Post by ericdeko411 »
This is great news. I hope it's coming good for the release.Radu wrote:Hello Mark,
Oxygen 11 (available in a few weeks) will have the Insert new line after action available either from the contextual menu -> Source submenu or with the Cmd+Alt+Enter shortcut which can be configured from the Menu shortcut keys preferences page.
Regards,
Radu
Cheers!
Eric Deko
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Entering a newline from the middle of a tag
Hi,
An Oxygen 11 beta announcement is available here:
http://www.oxygenxml.com/pipermail/oxyg ... 02720.html
so you can try it out.
Regards,
Radu
An Oxygen 11 beta announcement is available here:
http://www.oxygenxml.com/pipermail/oxyg ... 02720.html
so you can try it out.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Entering a newline from the middle of a tag
Hi,
What XML vocabulary are you using.
Usually when publishing from XML content, the text gets normalized, new lines are replaced with a space.
XML is based on semantics so usually to have a new line in the output you should start a new paragraph (use a paragraph element if your vocabulary has one).
Regards,
Radu
What XML vocabulary are you using.
Usually when publishing from XML content, the text gets normalized, new lines are replaced with a space.
XML is based on semantics so usually to have a new line in the output you should start a new paragraph (use a paragraph element if your vocabulary has one).
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 2
- Joined: Mon Feb 15, 2016 9:12 am
Re: Entering a newline from the middle of a tag
Hi Radu,
The XML version is as follows:
<li>Run the following command to make the <filepath>abc.bin</filepath> file,
executable: <lines><codeph>zyx</codeph></lines></li>
In the PDF output there is a wide spacing between "command:" and "abc./def" akin to two new line tags. A newline tagadds just one space hence it is better than adding <p> tag.
Is there way to add a new line tag in Oxygen Editor 17.0 ?
The XML version is as follows:
<li>Run the following command to make the <filepath>abc.bin</filepath> file,
executable: <lines><codeph>zyx</codeph></lines></li>
In the PDF output there is a wide spacing between "command:" and "abc./def" akin to two new line tags. A newline tagadds just one space hence it is better than adding <p> tag.
Is there way to add a new line tag in Oxygen Editor 17.0 ?
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Entering a newline from the middle of a tag
Hi,
I will assume you are editing DITA documents, is this correct?
There is no default way in DITA to specify that in a certain place of the XML text content a hard line break should be added.
You could probably create an output customization for this. So maybe you could try to register on the Yahoo DITA Users List and ask for help there:
https://groups.yahoo.com/neo/groups/dita-users/info
Regards,
Radu
I will assume you are editing DITA documents, is this correct?
There is no default way in DITA to specify that in a certain place of the XML text content a hard line break should be added.
You could probably create an output customization for this. So maybe you could try to register on the Yahoo DITA Users List and ask for help there:
https://groups.yahoo.com/neo/groups/dita-users/info
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)
- ↳ 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