Search menu

Find


Launches the Find dialog box.

The options are Match whole words only and Match case. You can also select in what direction the search should take place. If you click the Mark All button Source Edit will add a bookmark at every line where it finds the searched text.

Source Edit also supports some Regular expression code.

Regular expression syntax:

Wildcards:
  ? any character
  + one or more of any characters
  * zero or more of any characters

Sets of characters:
  Characters enclosed in square brackets will be treated as an option set.
  Character ranges may be specified with a - (e.g. [a-d])

Logical OR:
  Expressions can be ORed together by using the | pipe character

Parenthesized subexpressions:
  An expression may be enclosed within parentheses and will be treated as a unit

Escape characters:
  Sequences such as \t, etc. will be substituted for an equivalent single character.
  A double backslash \\ represents the backslash

More regular expressions.

Find next, Find previous

 
These commands will find the next (down) or previous (up) instance of the text specified in the Find dialog box.

Replace


Launches the Find and Replace dialog box.

The options are Match whole word and Match case. The Match case option will be used to only find text that matches the case you have entered in the Find text box. The text case in the Replace text box will matched unless you uncheck the Preserve Case option. You may search and replace text either in the entire buffer (the entire document) or in just the selected text. However only the Replace All button will be enabled if you do a Find and Replace in selected text.

Source Edit also supports some regular expressions.

Goto

This command will show the Go to line dialog box. Fill in a line number and hit OK to allow Source Edit to jump to the specified line number.

Find in Files, Replace in Files

Shows the Find/Replace in Files dialog boxes.



Find: The text to search for.
Replace: The text to replace the searched text with (replace dialog only).
In files: Filter for the files to search in. You can specify multiple filters if you separate them with ; semicolons.
Look in: The folder to start the search in.
Search subfolders: Also searches the subfolders of the Look in folder.
Match case: Match the case of the Find text you have specified.
Backup files before replacing text: Makes a backup of the files before replacing text. This backup file will have the same name as the original file with an additional .BAK extension (replace dialog only).
Search Result: Shows the search result. The file name, the path, and at what line number the searched text is found. By double clicking a line in the search result Source Edit will open the file and select the correct line. You can also export the result to the Output window and open the files from there.

If you use the Replace in Files dialog, the search must be completed before any replacement is done which makes it possible to cancel the action before any text is replaced.

Bookmarks

   

There are 4 different bookmark options on the Search menu.

Toggle bookmark: Set or remove a bookmark on the current line
Next bookmark: Jump to the next bookmark in the current file.
Previous bookmark: Jump to the previous bookmark in the current file.
Clear all bookmarks: Removes all bookmarks from the current file.

On the Settings page of the Options dialog box you have the ability to set the option that will persist bookmarks between sessions. When this option is set, all bookmarks that exist within a document will be automatically updated and restored upon reopening the file.

Function List

If you have specified a Function Pattern for the language you currently editing a document for, Source Edit will parse out all the functions or methods in the current document and show them on the "Function List" tab of the Output window. If you double click a function in the list Source Edit will jump to the correct line in the document. You can refresh the window using the context menu (right click). The functions will also be added to the Code Completion list.