IDE Window: Find

From Lazarus wiki
Revision as of 16:05, 9 May 2006 by Mattias2 (talk | contribs)
Jump to navigationJump to search

If this dialog is invoked by Ctrl+F or by Search > Find then it the replace buttons and options are disabled.

If this dialog is invoked by Ctrl+R or by Search > Replace then the replace options will be enabled.

  • Text to Find
  • Replace With

The above two comboboxes contain the last searched texts and replace patterns. Cursor Down will go back in history and fetch the last text to find.

Hint: You can choose, whether the IDE starts the dialog with the word at the cursor in the source editor or with a blank field in Environment -> Editor Options -> General -> Find text at cursor

Options

  • Case sensitive - distinguish lower case and upper case (a and A)
  • Whole words only - The found text must start at a word start and end at a word end
  • Regular Expressions - see IDE regular expressions
  • Multi line - not implemented yet
  • Prompt on replace - ask before replacing (only enabled if replacing)

Origin