Search, replace, move to selected elements of the document
The window is used for quick search and possible replacement of text and for moving to selected elements of the document. In the upper part of the window, there are elements that allow you to remember search templates and re-use them.
The lower part is divided into three tabs:
- Search
- Replace
- Go to the selected ...
Remember search templates
The feature of remembering search templates comes in handy when you often need to search for the same parts of text. The search template remembers the texts from the 'Find text' field (from Search tab ), and from the 'Find text' and 'Replace with' fields (from tabs Replace ).
The following elements are used to remember templates and re-use them:
Search templates
This is a list with the names of saved search templates. From it you can select the template you want to use. Add template to list
Click to add a search template to the list according to the current settings. Remove template from list
Click to remove the current search template from the list. Search
The "Search" tab allows you to quickly search for text in the currently open document.
To quickly call up the tool you can use the standard shortcut Ctrl+F, or use the "Find" button in the "Search" menu.
Find Text:
Enter the text you want to find in the document. You can use the drop-down list where recent search phrases are listed.
Settings - allows you to set options for the searched text
- Case-sensitive - check to make the search text case sensitive.
- Regular expressions - select to use regular expressions in the search text.
- Match whole words - check that the searched phrase must be a whole word, not a fragment of a longer word (e.g. when searching for the phrase 'mar', it will find all the words 'mar', but not 'marek').
Direction - allows you to specify the direction of the search relative to the current cursor (caret) position in the document
- Forward - the search will start from where the cursor is placed to the end of the document. When the end is reached, the program asks whether to search from the beginning of the document.
- Backward - the search will start from where the cursor was placed to the beginning of the document. After reaching the beginning, the program asks whether to search from the end of the document.
- Entire Document - the entire document will be searched from start to finish. If this option is selected, the options in the "Search" section are disabled.
Search - allows you to more precisely define the scope of the search in the document
- the entire document - the entire document will be searched,
- selected text - only the text selected in the editor will be searched.
- text from line... to line ... - searches for text within a specified range
Find
Click to start your search.
Replace
The "Replace" tab allows you to quickly replace the text in the currently open document.
To quickly call up the tool, you can use the standard shortcut Ctrl+R, or use the "Find and Replace" button in the "Search" menu.
Find Text:
Enter the text you want to find in the document for replacement. You can use the drop-down list that lists recent search phrases.
Replace with:
Enter the text you want the phrase you entered in the "Find Text" field to be converted to. You can use the drop-down list, which lists the most recently used phrases in this field. Additionally, you can use the carriage return and move to the next line symbols (entered together they simply mean 'end of line')
Settings - allows you to set options for the searched text
- Case-sensitive - check to make the search text case sensitive.
- Ask when replacing - check to enable or disable the replacement of the text when finding each phrase.
- Regular expressions - select to use regular expressions in the search text.
- Match whole words - check that the searched phrase must be a whole word, not a fragment of a longer word (e.g. when searching for the phrase 'mar', it will find all the words 'mar', but not 'marek').
Direction - allows you to specify the search direction
- Forward - the search will start from the beginning of the text, to the end,
- Backwards - the search started from the end of the text, to the beginning.
- Entire Document - the entire document will be searched from start to finish. If this option is selected, the options in the "Search" section are disabled.
Search - allows you to more precisely define the scope of the search in the document
- the entire document - the entire document will be searched,
- selected text - only the text selected in the editor will be searched.
- text from line... to line ... - searches for text within a specified range
Find next
Click to find the next occurrence of the search phrase.
Replace
Click to find and replace the found phrase with the text specified in the "Replace with" field.
Replace all
Click to find and replace all found phrases with the text specified in the "Replace with" field.
Go to the selected...
The tab allows you to quickly move to a selected section of the document:
- alabel - or anchor, that is, to an HTMLtag with a specific ID attribute
- bookmarks - to the place where the selected numbered bookmarkis set
- anamed tab - to the place where the selected named tabis set
- tasks to be performed - to where Tasks to be performed is set
- line number - to a specific line in the document
Go to
Click to navigate to the desired location in the document. The tool window will remain open. To edit the document, place the cursor at the desired location
Go and close
Click to move to the desired location in the document and close the tool window. The cursor will be positioned at the beginning of the row with the selected item.
When the text is found
At the bottom of the window is a group of switches responsible for the behavior of the search window when you click Find or Replace. You can choose for the cursor to be moved to the editor window after the action, leaving the search window open (Cursor to Editor). You can choose for the cursor to remain in the window (Cursor in Window) or for the search window to close and the cursor to be moved to the editor (Close Window).
|