10.02.2013 Views

SlickEdit User Guide

SlickEdit User Guide

SlickEdit User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Sorting Text<br />

SORTING TEXT<br />

<strong>SlickEdit</strong>® uses a stable quicksort algorithm to sort text. It is recommended that at least half the text be in<br />

memory for best speed results. To sort text, from the main menu, click Tools > Sort. The Sort dialog box is<br />

displayed, as pictured below.<br />

The following options are available:<br />

• Type of sort - Choose the type of sort that you prefer from the following options:<br />

o Sort buffer - When this option is selected, the entire contents of the buffer that you are<br />

working in are sorted.<br />

o Sort on selection - When this option is selected, each line intersecting with the selection is<br />

sorted based on the selected column. Sort on selection and Sort within selection have the<br />

same effect except when sorting a block or column selection.<br />

o Sort within selection - When this option is selected, the selected text is sorted. Text outside a<br />

block or column selection is not moved. The Sort on selection and Sort within selection<br />

options have the same effect except when sorting a block or column selection.<br />

• Order - Choose Ascending or Descending. In an ascending sort, the lowest text item sorted is<br />

placed at the top.<br />

• Numeric sort - When this option is selected, a numeric comparison is performed.<br />

• Remove duplicate lines - When this option is selected, it removes adjacent lines that are<br />

identical. This option does not fully support column selection (it always compares complete lines).<br />

• Case sensitive - When this option is selected, the sort is case-sensitive.<br />

Sort Commands<br />

To use the command line for sorting, first activate the command line by pressing Esc. Sort command<br />

syntax is in the form SortCommand OptionLetter(s). The following sort commands are available:<br />

<strong>SlickEdit</strong>® <strong>User</strong> <strong>Guide</strong> 447

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!