Popular recipes by Glenn Jenkins http://code.activestate.com/recipes/users/4174057/2010-05-30T21:47:36-07:00ActiveState Code RecipesSort file (with unique option) (JavaScript) 2010-05-30T21:47:36-07:00Glenn Jenkinshttp://code.activestate.com/recipes/users/4174057/http://code.activestate.com/recipes/577247-sort-file-with-unique-option/ <p style="color: grey"> JavaScript recipe 577247 by <a href="/recipes/users/4174057/">Glenn Jenkins</a> (<a href="/recipes/tags/file/">file</a>, <a href="/recipes/tags/komodo/">komodo</a>, <a href="/recipes/tags/sort/">sort</a>, <a href="/recipes/tags/unique/">unique</a>). </p> <p>This will sort the lines in the current document into alphabetical order. It doesn't apply any special rule (so 5 will come <em>after</em> 42).</p> <p>On running, it asks if you want a unique sort (Cancel for no, Ok for yes), in which case it'll remove duplicate lines.</p> Go to nth character (JavaScript) 2010-05-27T13:44:00-07:00Glenn Jenkinshttp://code.activestate.com/recipes/users/4174057/http://code.activestate.com/recipes/577246-go-to-nth-character/ <p style="color: grey"> JavaScript recipe 577246 by <a href="/recipes/users/4174057/">Glenn Jenkins</a> (<a href="/recipes/tags/character/">character</a>, <a href="/recipes/tags/goto/">goto</a>, <a href="/recipes/tags/komodo/">komodo</a>). </p> <p>Pops up a dialogue box to ask you for a character number (position), validates it, then moves the cursor to the character at that position in the current document.</p> <p>Useful for eg a SQL statement where you have an "error at character 3456"</p>