Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
editing:search:find_replace [2014/07/17 14:18] – [Scope] admin | editing:search:find_replace [2018/01/10 18:42] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
{{ : | {{ : | ||
- | HippoEDIT has combined Find and Replace dialog, which can be used for search and replace operations. The switch between dialog styles optimized for search or replace | + | HippoEDIT has a combined Find and Replace dialog, which can be used for search and replace operations. The switch between dialog styles |
**Find What** - in this field shall be entered text/ | **Find What** - in this field shall be entered text/ | ||
Line 9: | Line 9: | ||
**Replace With** - here placed text to replace pattern from //Find What// | **Replace With** - here placed text to replace pattern from //Find What// | ||
- | Both fields implemented using history combo boxes that remember your latest queries | + | Both fields implemented using history combo boxes that remember your last searches |
===== Scope ===== | ===== Scope ===== | ||
Line 19: | Line 19: | ||
* **Open Documents** - search among all open files. Active if any file is open.\\ {{: | * **Open Documents** - search among all open files. Active if any file is open.\\ {{: | ||
* **Files** - search in files in specified directory.\\ {{: | * **Files** - search in files in specified directory.\\ {{: | ||
+ | <note tip>To search in multiple directories, | ||
* **File Directory** - search in directory of current file.\\ {{: | * **File Directory** - search in directory of current file.\\ {{: | ||
* **Recent Files** - search among recent files. Can be checked in // | * **Recent Files** - search among recent files. Can be checked in // | ||
Line 30: | Line 31: | ||
* **Match Whole Word** - if set, only matches that surrounded by delimiters will be collected. Can not be combined with //Regular Expression Mode// | * **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// | * **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// | ||
- | * **Match Case** - if set, editor performs case sensitive search. | + | * **Match Case** - if set, editor performs |
- | * **Fuzzy Mode** search - allows you to use approximate text search in Find dialog. Fuzziness of the algorithm can be controlled by [[options:xml: | + | * **Fuzzy Mode** search - allows you to use approximate text search in Find dialog. Fuzziness of the algorithm can be controlled by [[options:XML: |
* **Search Up** - sets direction of search Up -> backward, otherwise forward. | * **Search Up** - sets direction of search Up -> backward, otherwise forward. | ||
- | * **Wrap Search** - if enabled, editor | + | * **Wrap Search** - if enabled, editor |
- | * **Extend Selection** - if set, editor will extend current selection till found match position (start or end of match depends on search direction). | + | * **Extend Selection** - if set, the editor will extend current selection till found match position (start or end of the match depends on search direction). |
- | * **Search Collapsed Text** - if set, editor will search also in folded/ | + | * **Search Collapsed Text** - if set, the editor will search also in folded/ |
- | <note tip>You can notice //Regular Expression// | + | <note tip>You can notice //Regular Expression// |
===== Search Only In ===== | ===== 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. | + | 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 // | By default the search scope set to // | ||
Line 65: | Line 66: | ||
===== Result Options ===== | ===== Result Options ===== | ||
- | * **Mark Search Results in Text** - highlight all matches in document with highlight color. | + | * **Mark Search Results in Text** - highlight all matches in the document with the 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 (// | + | * **Bookmark Found Lines** - sets unnamed bookmarks to all lines in the document, where a match is found. You can operate than on bookmarked lines using dedicated command for working with bookmarks (// |
* **Close when Finished** - closes search dialog automatically when search is finished | * **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 [[view: | + | //Status area// on the bottom of the search dialog shows information message in-place (matches count, not found etc) in addition to displaying in the main window [[view: |
- | <note tip>The best search speed can be achieved by using //Match Case// search and all other flags disabled (except | + | <note tip>The best search speed can be achieved by using //Match Case// search and all other flags disabled (except //Wrap Search// |
- | <note tip>If you **paste** text with white space in input field in Search dialog you would be informed with warning information message in status bar.</ | + | <note tip>If you **paste** text with white space in input field in Search dialog you will be informed with a warning information message in status bar.</ |