15.07.2013 Views

jgrasp handbook

jgrasp handbook

jgrasp handbook

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

18.8 Find Dialog / Page<br />

DRAFT, February 18, 2003, Page 95<br />

This is the dialog or page for find and replace in CSD windows. All CSD Windows in the virtual desktop<br />

share a common find page, the actions of which apply to the currently selected CSD Window in the<br />

desktop. Each CSD Window that is outside the desktop has its own find dialog.<br />

Find - the search text.<br />

Replace With - the replacement text.<br />

Case Sensitive - if off, the search will ignore case.<br />

Match<br />

Search<br />

Folds<br />

Plain Text - match the search text. A search will begin one character past the start of the previous<br />

match.<br />

Awk/Grep Reg. Exp - match extended awk/grep style regular expression. When on, "Find<br />

Backward" is not available. This mode is not available when Block Cut and Paste is on. Zerolength<br />

matches are ignored. A search will begin at the end of the previous match.<br />

Perl5 Reg. Exp. - match a Perl 5 regular expression. When on, "Find Backward" is not available.<br />

This mode is not available when Block Cut and Paste is on. Zero-length matches are ignored. A<br />

search will begin at the end of the previous match. If a search pattern contains no groups, the<br />

entire match will be selected. If it contains groups, at least one must be matched. The first match<br />

will be selected. For example, t(e)s(t) will select the "e" in "test". Zero-length groups are allowed.<br />

For example, t(\S*)est will move the cursor to the position before the "e" in "test" (it will select<br />

"nothing" before the "e"). See the perlre man page for a description of the pattern format.<br />

All Text - search all of the text.<br />

Tokens Only - search only for full tokens. For example, "test" will match only the identifier "test",<br />

not "test1" or an occurrence of "test" in a string or comment, and "12" will match the number "12",<br />

but not "127".<br />

Strings - search only within strings.<br />

Comments - search only within comments.<br />

Skip - if on, folded areas will be skipped.<br />

Stop - if on and the text is found in a folded area, the cursor will stop at the fold.<br />

Unfold - if on and the text is found in a folded area, the minimum amount of unfolding that will<br />

reveal the text will be done.<br />

Find - searches forward in the text.<br />

Find Backward - searches backward in the text.<br />

Replace - replaces the current selection with the replacement text.<br />

Replace All - replaces all occurrences of the search text with the replacement text. If the search or<br />

replace text contains a newline (spans multiple lines), or if regular expression mode is on, all folds will be<br />

removed.<br />

Replace All in Selection - replaces all occurrences of the search text that occur entirely within the current<br />

selection with the replacement text. If the search or replace text contains a newline (spans multiple lines),<br />

all folds within the selection will be removed.<br />

Replace Then Find - same as a "Replace" followed by a "Find".<br />

Find and Mark All - applies marks to all occurrences of the search text.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!