Only in the full version of Eddie:
A specialty of Eddie is the possibility to let loose any number of
search/replace configurations (rules
) simultaneously on a text.
Only with the aid of this mechanism can one define complex tools that
undertake a complete refining of a raw text at one go, or perform
other, quite individual tasks.
Eddie always handles a list of search/replace rules with their
associated options, a so-called search/replace setup. One rule of the
setup is displayed near the top of the window at a time, and may be
edited. If the Multi
button is switched off then Eddie will
work with this rule only, but if you activate Multi
then Eddie
will obey all defined rules simultaneously.
The options Mark text
and In blocks only
are set
globally and do not change when a new setup is loaded or when changing
to another search/replace rule. All other options can be configured
separately for each rule.
The name of the current search/replace rule is shown near the top of the window. This name only serves for documentation purposes and has no effect on the actual operation. At the right of the name field there are arrows for scrolling through the list. A click on the name line opens a dialog box in which you may create new rules or delete or resort existing ones. The small box at the left of the name permits selection and deselection of search/replace rules. Deselected settings will not be made use of in the search/replace process. In this way it is possible to use only some of the loaded search/replace text simultaneously.
Furthermore there are also two icons for the loading and saving of search/replace setups. During loading Eddie gives you the choice of adding items to the setup already present, or of replacing it.
In replaced text tooswitch setting of each individual search/replace rule. The following applies:
In replaced text tooactive, things look a little different: If only searching (not replacing) took place, then the search simply continues. This makes it possible for two found text passages to overlap each other. Thus for instance the first rule could find a part of the text with several words. The search-text of a second rule that has the
In replaced text toooption active later finds the spaces between these words. With
In replaced text tooswitched off, after the first match Eddie would continue the search directly after the first passage found.
In replaced text toorecursion switched on. Now a different search-text may provide a match, which may again trigger a repeat of the process via replacement with recursion switched on. Due to this behaviour you can define various search/replace rules that interlock as they work their way through the text. The text will be reconstructed by one rule and passed on to the next for further changes.