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/16 17:30] – [Result Options] 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 ===== | ||
Scope in which search shall be done (search types). List of available scopes is dynamic and depends on current editor state and installed plugins. | Scope in which search shall be done (search types). List of available scopes is dynamic and depends on current editor state and installed plugins. | ||
- | * Document | + | |
- | * Block | + | |
- | * Selection | + | |
- | * Open Documents | + | |
- | * Files | + | |
- | * File Directory | + | <note tip>To search in multiple directories, |
- | * Recent Files | + | |
- | * Favorite Directories | + | |
- | * Bookmarked Lines | + | |
- | * FTP Site | + | |
- | * Project | + | |
+ | * **Project** - search in current project. Only available if [[plugins: | ||
Depending on selected scope, search dialog can be extended with additional settings specific for selected search type (scope). | Depending on selected scope, search dialog can be extended with additional settings specific for selected search type (scope). | ||
- | |||
===== Options ===== | ===== Options ===== | ||
* **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 54: | Line 54: | ||
===== Search Favorites ===== | ===== 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. | 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. | ||
Line 63: | 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.</ |