| 1 | [:page:PageHeader][:toc:]
|
|---|
| 2 | + Incremental Search
|
|---|
| 3 |
|
|---|
| 4 | In order to start an incremental search in the left field of the status bar,
|
|---|
| 5 | just type [Ctrl-F] or [F3] while You are in a document.
|
|---|
| 6 |
|
|---|
| 7 | Now, being in incremental search mode anything you type becomes a search
|
|---|
| 8 | string, and as you type you are forwarded to any matches found in the current
|
|---|
| 9 | text.
|
|---|
| 10 |
|
|---|
| 11 | Type [Ctrl-F] or [F3] again, or type [Cursor-Down] or [Page-Down]
|
|---|
| 12 | in order to "Search Next". In order to "Search Backwards" just type
|
|---|
| 13 | [Shift-F3], [Cursor-Up] or [Page-Up]
|
|---|
| 14 |
|
|---|
| 15 | To exit incremental search mode type [Enter].
|
|---|
| 16 |
|
|---|
| 17 | Incremental search supports [regular expressions]. For example: To match the
|
|---|
| 18 | word "incremental" or the word "search" in this document, type:
|
|---|
| 19 |
|
|---|
| 20 | [Ctrl-F]
|
|---|
| 21 | incremental|search
|
|---|
| 22 | Then type [Ctrl-F] again to cycle through the matches.
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 | Further details of the behavior of incremental search:
|
|---|
| 26 |
|
|---|
| 27 | * [Ctrl-F] while text is selected in editor copies it to search
|
|---|
| 28 | field up to the first newline or up to 30 characters
|
|---|
| 29 | * [F3] starts search field with last search entered
|
|---|
| 30 | * Search starts at cursor position (1.8beta5 and prior started
|
|---|
| 31 | always at page beginning)
|
|---|
| 32 | * [Enter] terminates search and keeps last found text selected (if any)
|
|---|
| 33 | * [Esc] terminates search and goes back where search began
|
|---|
| 34 | * Clicking outside of the search field terminates search
|
|---|
| 35 | * If search pattern is found search field is green
|
|---|
| 36 | * If search pattern is not found search field is yellow
|
|---|
| 37 | * If search pattern is an invalid regex, color doesn't change
|
|---|
| 38 |
|
|---|
| 39 |
|
|---|
| 40 | In the options dialog, page "Searching" there is also an option
|
|---|
| 41 | "Delay before auto-close". Entering a number greater 0 denotes the
|
|---|
| 42 | number of seconds of inactivity before incremental search is closed
|
|---|
| 43 | automatically. 0 means "wait forever".
|
|---|
| 44 |
|
|---|
| 45 |
|
|---|
| 46 | [:page:PageFooter][icon: lens] |
|---|