Download CBL Text Editor (CBLe)

Transcript
SET Options
SET SCOPE
SET SCOPE takes effect at the View level.
Parameters:
ALL
Respect excluded lines for all CBLe commands.
DISPLAY
Execute CBLe commands against displayed line only. i.e. Ignore excluded lines.
Exceptions to this are SAVE, FILE and SORT which operate on all lines in the display, regardless of SCOPE setting.
Initially, SCOPE is DISPLAY
See Also:
EXTRACT
QUERY
ALL
SET DISPLAY
SET SELECT
SET SHADOW
SET SELECT
Syntax:
+- 1 ------------+
|
|
>>--+-------+- SELect --+- n -+--+----------------+--><
|
|
|
| |
|
+- SET -+
+- +n -+ +- group-target -+
|
|
+- -n -+
Description:
SELECT changes the selection level of all lines in the group-target area.
Every line of an edited file window is initially assigned a selection level of 0. The selection level of a line may be changed to any
number in the range 0 to 255.
SET DISPLAY and SET SCOPE DISPLAY rely on the selection level of lines to determine lines displayed and lines on which CBLe
commands will operate.
The selection level of a line may also be changed automatically by the ALL command and when using the X or S prefix area
command.
SET SELECT takes effect at the File level.
Parameters:
n
The selection level number set for all lines in the target area.
+n
The "+" (plus) and "-" (minus) prefix indicates that the current selection levels of lines in the target area
are to be incremented or decremented by the value n.
-n
If either of these result in a selection level less than 0 or greater than 255, then selection level set will be
0 or 255 respectively.
group-target
Group target condition defining the target area.
Example:
sel 8 /SELC/
Set selection level 8 to the focus line and lines up to, but not including, the first line to contain the string
"SELC".
select +1
Add 1 to the selection level of the focus line.
See Also:
EXTRACT
QUERY
ALL
SET DISPLAY
SET SCOPE
2009/07/16 12:25:40
CBL Text Editor (CBLe)
139