Page 1 of 1

Sort source action

Posted: Wed Sep 12, 2007 12:13 pm
by jelovirt
One could implement this as a plugin, but I'd like to see a common text editor feature that sorts selected lines in oXygen. The sort could use the Unicode code points of the characters as the line sort key.

Posted: Wed Sep 12, 2007 12:39 pm
by george
Hi,

Should that take into account white spaces or not?
What about markup?
What would be the common use cases for that?

On the other hand, are you aware of the sort support that oXygen provides in the Grid view? If you click on a table column then you have two sort actions in the contextual menu, Sort ascending and Sort descending that sort the table rows based on the data found in that column.

Does the above solve your use cases?

Best Regards,
George

Posted: Wed Sep 12, 2007 3:09 pm
by jelovirt
The most common use case I have is when editing non-XML documents, thus markup is not an issue for me. If the sort was to prompt for something, it could have a switch for ignoring whitespace, ignoring markup, key generation (code point, treat at number, natural sort order by language).