SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Did you know? => Topic started by: Lisa on February 19, 2008, 02:56:27 pm

Title: Aligning Selections
Post by: Lisa on February 19, 2008, 02:56:27 pm
If you just want to do some quick manual formatting of plain text files or text between
 tags, you can use one of the selection alignment commands*:

>
  • align_selection_left - Aligns text within a selection to the left. This works for character, line, and block selections. You can select text with one of the commands select_char (F8), select_line (Ctrl+L), or select_block (Ctrl+B).

  • align_selection_right - Aligns text within a selection to the right. The text must be a block selection (select_block or Ctrl+B).

  • align_selection_center - Centers text within a selection. The text must be a block selection (select_block or Ctrl+B).

*Remember, to open the SlickEdit command line, press Esc (in CUA emulation) or click in the message area with the mouse.