The screen shot at right shows Simredo's Edit functions. These functions are describe briefly below.
As you make changes to a text, Simredo keeps an internal record of each change. The Undo function will remove the last changes made, in reverse order. Redo will put those same changes back.
For example, suppose you typed '1234'. Activating Undo will remove the '4'. Activating Undo again will remove the '3', and so on. Redo will put the '3' back. A second Redo will put the '4' back.
You can activate Undo and Redo from the Edit menu, or you can type the Control-key sequences Ctrl‑z and Ctrl‑y respectively.
To cut or copy a section of text, it must first be selected (= highlighted). There are two ways to do this. One is to hold the left mouse button down while dragging the cursor across the text to select. The other is to hold the Shift-key down while typing the arrow keys on the keyboard. Simredo highlights selected text with a bluish background, like this.
Once the text is selected, it can be cut or copied. The Cut function removes the selected text from the document and places it into a storage area called the clipboard. Copy also places selected text into the clipboard, but it doesn't remove it from the document.
The Paste function inserts text from the clipboard into the document at the cursor position.
There are three ways to activate the Cut, Copy, and Paste functions. They can be selected from the Edit menu, or activated with Control-key sequences (Ctrl‑x = Cut, Ctrl‑c = Copy, Ctrl‑v = Paste), or by clicking on the icon buttons in the toolbar.
These three icon buttons represent: a pair of scissors cutting paper, a copied text, and a bottle of paste.
It's possible to select an entire document by placing the cursor at the top and dragging it to the bottom, but it's much easier to use the 'Select all' function. This can be activated from the Edit menu, with Ctrl‑a, or by clicking on the toolbar button shown at right.
There are three ways to open the search dialogue: by selecting 'Search' from the Edit menu, by clicking ont the icon of the binoculars in the toolbar, or by typing Ctrl‑f. To open a second or third search dialogue, simply repeat.
Each dialogue has a text field for entering the text to search, a check-box to indicate whether the distinction between upper and lower case matters, and two arrow buttons, for searching up and down. Instead of clicking on athe arrow buttons, you can type Ctrl‑n and Ctrl‑b. Simredo will search up or down for the word which is in the first visible search dialogue.
When the search function succeeds in finding a text, it highlights it. (See 'pigeon' in the screen shot at left.)
The Search function recognizes three common backslash codes:
To find a line which begins with the word
thylacine, search on
\nthylacine, which represents 'new line' +
The Replace function (Search/Replace) has been much improved in version 4.7. It's now possible to open the dialogue from the tool bar, by clicking the icon button at right. In addition, up to 4 Replace dialogues can be opened at the same time. Simply click on the button again.
The Replace dialogue is shown at right.
To replace all occurrences of a text string in a document, enter the text to change into the Old field; enter the replacement text into the New field; click on 'Replace All'. The example at right replaces all occurrences of 'honor' with 'honour', and displays the number of replacements made at the bottom. If you decide to change back, click on the blue arrow button on the right: the old text becomes 'honour' and the new text becomes 'honor'.
If instead of blindly replacing every occurrence of a text string, you want to check each replacement, you can use the 'Find Next' and 'Replace One' buttons. First move your cursor to the top of the document, or the position you wish to start from. Click on 'Find Next' or 'Replace One' to search for the first occurrence of the 'old' text. If Simredo finds an occurrence, it will highlight it. To replace the highlighted text with the new text, click on 'Replace One'. To continue searching without changing the highlighted text, click on 'Find Next'.
As with the Search function, Replace recognizes three backslash codes:
\t. If, for example, you
want to remove all carriage returns from a document, enter
in the Old text field, leave the New text field empty, and click on
To put an angle bracket
> at the beginning of every line,
\n in Old,
\n> in New, then click on
'Replace All'. (Of course, this will leave the first line unchanged.)