Edit Menu

Delisa Mason edited this page Aug 29, 2011 · 3 revisions

Getting the most out of the Edit Menu

The Edit Menu is easily the largest of the Redcar menus, and as such includes many options which are easy to miss. This is an overview of the major items.

###Tab Info. The Tab Info bar has options for modifying editing options for the current tab and language

  • What grammar to use
  • How many spaces are in a tab
  • Whether to use soft tabs or hard tabs
  • Whether to wrap words at the window's edge
  • Whether to grey out words outside of the margin
  • The margin width

###Line Tools. Line Tools includes a few 'advanced' editing options

  • Raise Region: raises the current or selected line(s) by one line
  • Lower Region: lowers the current or selected line(s) by one line
  • Replace Line: Replaces the current line with the contents of the clipboard
  • Clear Line: Clears all text from the current or selected line(s)
  • Trim Line: Removes all text in the current line after the cursor
  • Kill Line: Removes the current line, moving any following lines up by one
  • Duplicate Region: Duplicates the current line or selected line(s) below the current selection
  • Sort lines in Region: Sorts the selected lines alphabetically

###Selection. Text Selection

  • All: Select all text in the current document
  • Word: Select the current word
  • Line: Select the current line
  • Toggle Block Selection: toggle option to select several successive lines at once

###Document Navigation Moving the cursor to different parts of the current document

  • Goto Line: Move to a given line
  • Top: Move to first character in document
  • Bottom: Move to last character in document
  • Home: Move to the first non-whitespace character on the current line, or to beginning of line if only preceded by whitespace
  • End: Move to the last character of the current line
  • Backward Navigation: Move to the previous cursor position
  • Forward Navigation: Move to the next cursor position

###Formatting. Changing the appearance of the text

  • Convert Text menu: Change the case of the current word or selection to one of several common options
  • Align Assignments: Align the selected lines to form a column of '=' signs
  • Increase Indent: Increase the indentation of the current line or selected line(s)
  • Decrease Indent: Decrease the indentation of the current line or selected line(s)
  • Indent: Indent the current line or selected line(s) based on the auto-indentation strategy
  • Tidy File: Indent an entire file based on the auto indentation strategy

###Find. Finding text in the current document

  • Incremental Search: Dynamically search a document for text, updating on each character typed
  • Find...: Search and replace text in the current document using either plain text or Ruby regular expressions
  • Find Next: Highlight the next occurrence of the last search term in the current document
  • Find Previous: Highlight the previous occurrence of the last search term in the current document
  • Use Selection for Find: Use the currently selected text in the next find query
  • Use Selection for Replace: Use the currently selected text in the text replacement
  • Replace and Find: Find the next occurrence of the last search query or selection used for find. If matching text is selected, replace it with the last used text replacement string.

###Auto Complete Auto Complete completes the currently typed word based on other words beginning with the same characters in the current document. Repeatedly selecting it cycles through all available options.

Menu Auto Complete opens a menu of possible options for completing the current word, similar to Auto Complete

###Preferences All user options for various Redcar plugins are stored in the preferences menu (The Preferences menu item is in the standard Cocoa UI menu on OS X, and in the edit menu on Windows and Linux)

‹‹ Back to User's Guide