Aide MetaEditor

Find and replace

Find and replace

The MetaEditor search system allows you to quickly find necessary elements in a program text. All MetaEditor search commands are located in the Search menu:

  • Find Find... – open the search window. The same action is performed by pressing Ctrl+F.
  • Find Next Find Next – find the next item matching a search query. The same action is performed by pressing F3.
  • Find Previous Find Previous – find the previous item matching a search query. The same action is performed by pressing Shift+F3.
  • Replace Replace... – open a window to replace the found text. The same action is performed by pressing Ctrl+H.
  • Find in Files Find in Files... – open the search window by different files. The same action is performed by pressing Ctrl+Shift+F.
  • Go to Line Go to Line... – go to a line with a specified number.

Replace

The find/replace window features the following parameters and commands:

  • Find what – field to enter a search word or phrase.
  • Replace with – field to enter a word or phrase that is to replace detected elements.
  • Match whole word only – search by a particular word form: only words or phrases that exactly match the search query are found.
  • Match case – enable/disable case sensitivity when executing the search query.
  • Selected text only – enable/disable search and replacement only in a selected text fragment.
  • Search Up – enable search up from the current cursor position.
  • Find Next – move to the next found element. The same action is performed by pressing F3.
  • Replace – replace a detected element.
  • Replace All – replace all detected elements.
  • Cancel – close the window.

Find in Files

This type of search allows you to find code elements in multiple files at once, rather than in the current window only. Click Find in Files Find in Files... in the Search menu or press Ctrl+Shift+F.

Find in Files

The Find In Files window features the following parameters and commands:

  • Find what – field to enter a search word or phrase.
  • In files/file types – files the search is performed in. You can specify names of specific files separated by semicolons or file masks using the "*" symbol. For example, *.mq5 means searching all files with MQ5 extension.
  • In folder – folder the search is performed in. To select a folder, click Overview.
  • Match whole word only – search by a particular word form: only words or phrases that exactly match the search query are found.
  • Match case – enable/disable case sensitivity when executing the search query.
  • Look in subfolders – enable/disable search in all subfolders of a specified folder.
  • Find – perform a search on request.
  • Cancel – close the window.

Results of searching in files are displayed on the Search tab of the Toolbox window. If the search request yields no results, the appropriate message is displayed on the Search tab.