Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Type Ctrl+F or Ctrl+H to open the Find and Replace dialog box:

  • Enter the text that you wish to find in the Find What textbox.
  • Enter the text that you wish to replace the found text with in the Replace With textbox.
  • To limit your search to an exact case match, check the Match Case checkbox. Otherwise, text will match regardless of case.
  • To limit your search to whole word matches, check the Match Whole Word checkbox. Otherwise, text will match in partial words.
  • To search from the current cursor position to the top of the file, check the Search Up checkbox. Otherwise, the search will be from the current cursor position to the end of the file.
  • To search hidden text, check the Search Hidden Text checkbox. Otherwise, only text in currently expanded regions will be searched.
  • To search only currently-selected text, check the Search in Selection checkbox. Otherwise, all text from the cursor position to the start or end of the file will be searched.
  • To mark found or replaced text in the left margin, check the Mark with Bookmarks checkbox

  • To search using regular expressions, check the Use checkbox and select Regular Expressions. You can use the following regular expression syntax:

.

Any single character

*

Zero or more

+

One or more

^

Beginning of line

$

End of line

\b

Word boundary

\s

White space

\n

Line break

[]

Any one character in the set

[^]

Any one character not in the set

|

Or

\

Escape special character

  • To search using wildcards, check the Use checkbox and select Wildcards. You can use the following wildcard syntax:

*

Zero or more of any character

?

Any one character

#

Any single digit

[]

Any one character in the set

[^]

Any one character not in the set

  • To find the next match in the file, click the Find Next button.
  • To replace the next match in the file, click the Replace button.
  • To replace all matches in the file, click the Replace All button.
  • To insert bookmarks at all matches in the file, click the Mark All button.
  • To close the dialog box, click the Close button.

This feature is only available in the Professional Edition of CodeSmith.

  • No labels