Sorting text in Oxygen
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 33
- Joined: Wed Oct 04, 2006 6:25 pm
Sorting text in Oxygen
Hi there,
It might not be very orthodox, but I tend to use Oxygen as my all-purpose editor, and that includes dealing with plain text. Sorry if someone is offended! One of the reasons is its great support for regular expressions.
One of the operations that I frequently need to do is to sort lists of items. For that (and , I really need to switch to another text editor or Excel, because I don't know how or whether it can be done in Oxygen. So hence the question: Can it?
Example. Input:
this
is
an
unsorted
list
Output:
an
is
list
this
unsorted
Thanks a lot!
Cheers, Manuel
It might not be very orthodox, but I tend to use Oxygen as my all-purpose editor, and that includes dealing with plain text. Sorry if someone is offended! One of the reasons is its great support for regular expressions.
One of the operations that I frequently need to do is to sort lists of items. For that (and , I really need to switch to another text editor or Excel, because I don't know how or whether it can be done in Oxygen. So hence the question: Can it?
Example. Input:
this
is
an
unsorted
list
Output:
an
is
list
this
unsorted
Thanks a lot!
Cheers, Manuel
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Sorting text in Oxygen
Hi,
I'm afraid that's not possible for plain text. For XML it's possible in Grid mode with tabular data structures.
If you have a bit of Java programming knowledge you could probably implement this yourself as an Oxygen plugin for the Text mode.
http://www.oxygenxml.com/oxygen_sdk.htm ... er_Plugins
There are some simple plugins that can serve as examples.
Regards,
Adrian
I'm afraid that's not possible for plain text. For XML it's possible in Grid mode with tabular data structures.
If you have a bit of Java programming knowledge you could probably implement this yourself as an Oxygen plugin for the Text mode.
http://www.oxygenxml.com/oxygen_sdk.htm ... er_Plugins
There are some simple plugins that can serve as examples.
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: 1
- Joined: Thu Jul 25, 2013 5:28 pm
Re: Sorting text in Oxygen
I'm in a similar position as the OP. For my job i spend a lot of time in Oxygen for XML related stuff, but since my job involves interfacing and translations, i also use it a lot for plain text.
For perl i'm able to create an external command that uses perltidy to check and format the script, but this acts only on the whole file. It would be great if you could use an external command on only the selected text. If Oxygen would actually allow me to define external commands, it would for me even replace emacs and vi completely.
For perl i'm able to create an external command that uses perltidy to check and format the script, but this acts only on the whole file. It would be great if you could use an external command on only the selected text. If Oxygen would actually allow me to define external commands, it would for me even replace emacs and vi completely.
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