This is an old revision of the document!
Find and Replace
In addition to common features used in find/replace dialog has following:
- History combo boxes with last typed items;
Options
- Match Whole Word - if set, only matches that surrounded by delimiters will be collected. Can not be combined with Regular Expression Mode.
- Regular Expression - indicates that Find What contains regular expression pattern and results in regular expression search. Can not be combined with Match Whole Word or Fuzzy mode. If Regular Expression is turned on, you can use helper menu, right side to Find What field, with most common regular expression commands.
- Match case - if set, editor performs case sensitive search.
- Fuzzy Mode search - allows you to use approximate text search in Find dialog. Fuzziness of the algorithm can be controlled by XML flag.
- Search Up - sets direction of search Up → backward, otherwise forward.
- Wrap Search - if enabled, editor continue search to cursor position after reaching end/start of the document (depends on Search Up flag). Default is ON.
- Extend Selection - if set, editor will extend current selection till found match position (start or end of match depends on search direction).
- Search Collapsed Text - if set, editor will search also in folded/collapsed areas of the text. If not set, collapsed areas will be skipped. Default is ON.
Search Only In
This option sets match filters that allow you to limit search only for some specific code areas as: search only in comments, search only in code, only in strings etc. By default the search scope set to Everywhere, that indicates → no filters.
- Everywhere - do not limit search to some code areas
- Code - search only in code (opposite to Text)
- Text - search only in text, as comments, strings, documentation etc
- Normal - search only in not “syntax highlighted” text, for example variables etc
- Comment - search only in comments
- Number - search only among numbers
- String - search only inside of strings
- Formatting Tags - search only in Formatting tags
Search Favorites
In addition to history combo boxes for Find What and Replace With fields, you can save current search options as Favorite. The action is available under Favorites button right side to Find What field.
Result Output
- Find Window - editor outputs all found matches in Search Output window. May be disabled, if Search Results plugin will be disabled in Tools→Options→Plugins.
- New Document - editor outputs all found matches in new document.
- Count Only - editor just counts matches, but do not collect them.
Result Options
- Mark Search Results in Text - highlight all matches in document with highlight color.
- Bookmark Found Lines - sets unnamed bookmarks to all lines in document, where match is found. You can operate than on bookmarked lines using dedicated command for working with bookmarks (Edit→Bookmarked Lines).
- Close when Finished - closes search dialog automatically when search is finished
Status area on the bottom of the search dialog shows information message in-place (matches count, not found etc) in addition to displaying in main window status bar.
