Stringdelimiters

Qedit 5.7 for HP-UX

Home Previous Next


Stringdelimiters

Set Stringdelimiters POSIX | "DelimiterList"

(Initially: |\~%:'")

The initial list indicates the characters that can be used as valid delimiters.

The single quote (') is removed from the list if Set Decimal is enabled (On). Quote characters (") are always valid delimiters (i.e., they cannot be removed from the list).

From full-screen mode's homeline, a tilde always represents the most recently accessed line number. If the tilde is removed from the delimiter list, it also becomes a reference in line-mode to full-screen's mode most recently accessed line.

The delimiter list itself must be enclosed between a pair of valid delimiters. The new delimiters must be chosen from the initial list. If you do not remember what the initial list is, simply enter the Set String command with a letter or a numeric digit as a list. For example,

/Set String "a"
Error:  Not an acceptable quote char: a
        select from |\~%:'"

You can reduce the list to just a few characters. If you want to reduce it to just a colon (:) and a number sign (#), enter:

Set String ":#"

From that point on, only quotes, colons and number signs can surround a string.

/List "filename"
/Find #procedure#
/Delete :badline:
/Change 1/7 \oldtext\ @       {this is invalid now}

The Posix option allows you to easily bring the delimiter list down to three characters: quotation marks ("), a backslash (\) and a colon (:). This option is useful when working with file names that contain a lot of special characters. It reduces the number of parsing errors.

There is no easy way to bring the defaults back. You have to enter the Set String command with all the characters in the initial list.


Home Previous Next