Previous topic | Next topic

Documentation / User interface / Main window

Main window

The main window is divided into 2 tabs: Search and Replace. On the Search tab, you can view the found phrase in context: the lower pane shows you the lines where the phrase was found. On Replace tab, you can preview the result of replacement. The left column lists the occurrences found in your files; the right column shows the same lines after replacement.

In the main window, you can enter the phrase to search for and to replace with. If you have selected Regular expressions mode, you can use metacharacters in the search pattern.

Search modes

Browse for files

By pressing the Browse button, you can select the folder to search in.

File masks. When you select a folder, the program adds file mask *.* (all files) to the folder path, for example, C:\My Documents\*.*. You can enter a different mask in the field, e.g., *.txt to find all text files. If you want to specify several masks or files in one folder, use | to separate them. For example, use C:\Site\*.txt|*.htm|*.html to search in text and HTML files stored in the C:\Site folder.

If you select several files in Explorer, then run Aba from context menu, the Browse button show you not the folder selection dialog, but the file selection dialog. You can select several files in this dialog by holding Ctrl key and clicking the files to select.

The drop-down list shows you the last 20 directories that you searched in. You can select a folder from this list to search in it again.

You can also select the files in Explorer and run Aba from context menu.

Results pane

In the center of the window, there is a pane that displays the results of your search. Right-click a found file to perform various operations with it (copy or cut the file, view its properties). Press Enter or double-click a file to open it.

On the Replace tab, you can check and uncheck the small boxes to select the occurrences that you want to replace. If you want to select only a few occurrences, press Clear All button first, then click the boxes near the occurrences that you want to replace.

To check and uncheck boxes from keyboard, press Space button. You can also press Insert button to check a box and move to next box (it's similar to selecting files in Norton Commander).

Context view pane

The lower pane on the Search tab is called “context view pane”. It shows you the lines of the file where the text was found.

You can list the file with arrow keys, Page Down, Page Up, Home, and End keys.

To select some text, use left mouse button. The context menu allows you to copy the selected text to clipboard and to select all text in the file. (You can also use Ctrl+C and Ctrl+A keys for this purpose.)

Status bar

The status bar displays the number of files and matches found. Also shown are the total numbers of files searched and skipped. This information is often useful for troubleshooting. For example, if the number of files searched is zero, the folder you selected may be empty, or the file mask you entered may be too restrictive. The skipped files are binary files that have the extensions listed in the Options dialog.

The right part of the status bar shows the name of the selected file and its encoding. Sometimes there are a lot of matches in one file, and its name is scrolled out of the screen. In this case, you can look for the file name in status bar. Encoding information is useful for troubleshooting.

Questions and answers about the interface

Why the Replace button is disabled (gray)?

The Replace button is disabled in the following cases:

What does the “Too many matches found” message mean?

If you enter some frequent search pattern, you will get a plenty of matches, most of which will be useless for you.

For example, you want to search for the word English in a large folder and type the first letter, E. You will immediately get thousands of matches, because the letter E is the most frequent letter in English text. These matches may take gigabytes of memory and greatly slow down your computer. They are also useless, because you usually don't want to search for one letter in your files.

That is why Aba introduces a limit on the number of matches. By default, the limit is 1024 matches. If there are more matches in your files, the search will be paused until you click Search for more button. This simple measure limits the amount of RAM used by Aba and improves the performance of the program.

If you have enough amount of memory installed, you can increase the limit in the Options dialog.


Previous topic | Next topic