Get the most out of your Robelle Tools
Specifying a Line Range, Without Using Line Numbers
One of the little-known features of Qedit commands is their ability to use strings as a rangelist. Use them in any command that accepts a rangelist, and then that command will be applied only to lines containing that string. Strings can be delimited by quotes, or by any of the following special characters: | ~ _ ! # > &:. You can further qualify strings if you use window options on the string being searched.
Deleting all lines with the string superfluous.
Deleting all lines without the string superfluous.
Change bug to undocumented feature, but only on those lines that have the string unexplained.
Delete all blank lines.
Find the next occurrence of the string .font that starts in the first column.
List all occurrences of Frank, but not in words such as Frankenstein.
By default, Qedit searches for matches to a string. Specifying (NOMATCH) reverses this logic. Likewise, string searches can be restricted to particular columns (10/40), or to a caseless search (UPSHIFT).
If the string represents a pattern, this should be specified with valid pattern characters:
@ anything, including nothing
# single numeric digit
? single alphanumeric digit
~ zero or more spaces
How Can I Beautify My Text in Qedit?
Qedit has two very nice features for word processing: the Justify command to flow text into even paragraphs, and the Spell command to check the spelling of words in your text (MPE only). These two features can come in handy when you are writing program documentation and quick memos or emails.
Here is an example of the Justify command:
Use the Justify command to reformat it into paragraphs that are up to 53 columns wide, squaring off both margins and putting two spaces after periods:
/justify both margin 53 two on 10/15
Now lets check the spelling of our Pulitzer prize-winning text:
The Spell command has highlighted the mistakes which we need to correct by hand. Problem: we dont know the correct spelling of assistance. Solution: the Word commands sound-alike search (denoted by !).
Copyright The 3000 NewsWire.