Sorting text

Post a reply

:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review

Expand view Topic review: Sorting text

Re: Sorting text

Post by robert » Tue Nov 27, 2012 3:29 am

Sure, via Macros -> Sort Lines. This is a sample JavaScript macro and requires Java 6 or newer to work.

You can see how it's implemented, so you can use it as an example to create your own macros, via Macros -> Edit Macros -> Double-clicking on "Sort Lines", and clicking the "Edit Script" button in the popup menu. This is the "live" copy of the script that is executed when you select the "Sort Lines" menu item.

Sorting text

Post by osullic » Mon Nov 26, 2012 2:19 pm


Is it possible to automatically sort lines of text alphabetically in RText?