Programmer's WorkBench (pwb.hlp) (
Table of Contents;
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Search Menu, Find Command Details
◄Summary► ◄Up► ◄Contents► ◄Index► ◄Back►
─────Programmer's WorkBench─────────────────────────────────────────────────
Find Text
To enter a tab character or other control character in the Find
Text box, use the Quote function («quote»).
See: Quote, ◄Inserting ASCII Characters►
Log Search
When you turn on Log Search, PWB logs the results of a search in
the Search Results window. When running in a multithreaded
environment, the search is performed in the background.
You must choose Files (see below) after you turn on Log Search,
even if you want to search only the current file. Browse the
results by choosing Next Match, Previous Match, and Goto Match
from the Search menu.
See: ◄Window menu, PWB Windows, Search Results►
◄Search menu, Next Match► ◄Search menu, Previous Match►
◄Search menu, Goto Match►
Regular Expression
When you turn on Regular Expression, PWB searches for the text
pattern you type in the Find Text box.
PWB displays the current regular-expression syntax in parentheses
after the Regular Expression option. The current syntax is
determined by the Unixre switch.
See: Unixre, ◄Regular Expressions►
Files
The Files button is available only when you have selected Log
Search.
To find text or a regular expression in multiple files:
1. Turn on Log Search and any other search options you want.
2. Choose Files.
PWB displays the Search in Selected Files dialog box where
you can build a list of files and wildcards to scan.
See: ◄Search in Selected Files►
3. Choose OK.
PWB immediately starts the search and does not return to the
Find dialog box.
To stop a foreground search, press CTRL+BREAK. To stop a background
search, choose Cancel Search or execute the _pwbcancelsearch macro
(«_pwbcancelsearch»).
See: _pwbcancelsearch, ◄Search menu, Cancel Search►
-♦-