IDE Window: Find in files/fr

From Lazarus wiki
Jump to navigationJump to search

Deutsch (de) English (en) suomi (fi) français (fr)

This dialog allows to setup search and replace patterns for searching in multiple files.

Setup the options and click the Find button at the bottom to start the search. A window will open showing the progress. It contains a button to abort the search, if it takes too long. When all files are searched the Search Results window will open.

  • Text to find
  • Replace - check this to enable the replace text field.

Options

  • Case sensitive - distinguish lower and uppercase (for example a and A)
  • Whole words only - Found text must start at a word start and end at a word end
  • Regular Expression - see IDE regular expressions.
  • Multiline pattern -

Where

  • search all files in project - search in all files, that belong to the current project
  • search all open files - search in all files open in the source editor
  • search in directories - search in a directory

Directory options

  • Directory - choose here the directory, where the search starts. Use the "..." button to the right to open a dialog to choose a directory.
  • File mask - define a mask for the files, that are searched. Only text files will be searched. Examples for masks are: "*.pas" or "*.pas;*.pp;*.inc". The combobox contain the last searched file masks.
  • Include sub directories - enabled this to search recursively in all sub directories.