settings.gml

来自「开放源码的编译器open watcom 1.6.0版的源代码」· GML 代码 · 共 793 行 · 第 1/2 页

GML
793
字号

:SETCMD parm=dist.hardtab
This controls the distance between tabs when a file is displayed.  The
default is 8 (4 on QNX).

:SETCMD parm=fname.historyfile
If the history file is defined, your command and search history is
saved across editing sessions in the file &cmd_parm.
:PERIOD.

:SETCMD parm=size.insertcursortype
Sets the size of the cursor when inserting text in &tinsmode
:PERIOD.
Values for &cmd_parm
are 0 to 100 (0=full size, 100=thin).

:SETCMD parm=str.magicstring
If
:KEYWORD.magic
is not set, then the characters specified in &parm1 are NOT treated
as magic characters by the regular expression handler, and must be
escaped to have special meaning.
:BLANKLINE.
Magic characters are:
:MONO.^$.[()|?+*\~@

:SETCMD parm=numcmds.maxclhistory
&edname keeps a history of commands entered at the &cmdline
:PERIOD.
&cmd_parm sets the number of commands kept in the history.

:SETCMD parm=kbytes.maxemsk
Sets the maximum number of kilobytes of EMS memory to be used
by &edname (DOS real-mode version only).
:BLANKLINE.
This option can only be set during editor initialization.

:SETCMD parm=numfiltercmds.maxfilterhistory
&edname keeps a history of the filter commands entered.
&cmd_parm sets the number of filter commands kept in the history.

:SETCMD parm=numsearchcmds.maxfindhistory
&edname keeps a history of search commands entered.  &cmd_parm sets the
number of search commands kept in the history.

:SETCMD parm=maxlne.maxlinelen
This parameter controls the maximum line length allowed by &edname.
:PERIOD.
The default value is 512 bytes.  Any lines longer than &cmd_parm
are broken up into multiple lines.

:SETCMD parm=num.maxpush
Controls the number of pushed file positions that will be remembered.
Once more than &parm1
:KEYWORD.push
or
:KEYWORD.tag
commands have been issued, the first pushed positions are lost.

:SETCMD parm=n.maxswapk
Sets the maximum number of kilobytes of disk space to be used for
temporary storage by &edname
:PERIOD.
:BLANKLINE.
This option can only be set during editor initialization.

:SETCMD parm=kbytes.maxxmsk
Sets the maximum number of kilobytes of XMS memory to be used
by &edname (DOS real-mode version only).
:BLANKLINE.
This option can only be set during editor initialization.

:SETCMD parm=lines.pagelinesexposed
Sets the number of lines of context left exposed when a page up/down
is done.  For example, if &cmd_parm is set to 1, then when a page down
key is pressed, the bottom line of the file will be visible at the
top of the new page.

:SETCMD parm=size.overstrikecursortype
Sets the size of the cursor when in overstriking text in
:KEYWORD.text insertion mode
:PERIOD.
Values for &cmd_parm are 0 to 100 (0=full size, 100=thin).

:SETCMD parm=rdx.radix
Sets the radix (base) of the results of using the
&cmdline command
:KEYWORD.eval
:PERIOD.
The default is base 10.

:SETCMD parm=nsp.shiftwidth
Sets the number of spaces inserted/deleted by the shift operators ('>'
and '<'), ^D and ^T in text insertion mode, and by
:KEYWORD.autoindent
and
:KEYWORD.cmode
when they are indenting.

:SETCMD parm=kbytes.stackk
Sets the size (in kilobytes) of the stack used by &edname.
:PERIOD.
The minimum is 10.  This can be set higher if you plan on using
nested scripts that go deeper than 4 or 5 levels.
:BLANKLINE.
This option can only be set during editor initialization.

:SETCMD parm=sects.statussections
The controls the appearance of the bars in the status window.  A list
of distances (in pixels) is given.  This distance is measured from the
start of the status window.  Each section may have something put in it
via the
:KEYWORD.statusstring
:BLANKLINE.
&guionly.

:SETCMD parm=str.statusstring
This controls what is displayed in the status window.  Any characters
may be in this string.  Additionally, the dollar sign ('$') is a special
character.  It is used in combination with other characters to represent
special values:
:UL.
:LI.$<n>C
current column number.  If <n> is specified (a number), then the column
number will be padded with spaces so that the it occupies <n> characters.
:LI.$D
current date
:LI.$H
current hint text from menus or toolbar (GUI editors only)
:LI.$<n>L
current line number.  If <n> is specified (a number), then the line
number will be padded with spaces so that the it occupies <n> characters.
:LI.$M
current mode the editor is in
:LI.$T
current time
:LI.$n
skip to next line in status window (character mode editors only)
:LI.$$
replaced with a '$'
:LI.$c
replaced with a comma ','
:LI.$[
skip to next block in the status window (GUI editors only)
:LI.$|
text will be centered (within current block for GUI editors)
:LI.$>
text will be right-justified (within current block for GUI editors)
:LI.$<
text will be left-justified (within current block for GUI editors)
:eUL.
A number may precede the L or the C, to indicate the amount of
space that the string should occupy; for example,
$6L  will cause the line number to always occupy at least 6 spaces.
:BLANKLINE.
The string may be surrounded by quotes if spaces are being used.
The default status string setting for character mode editors is:
:ILLUST.
set statusstring="L:$6L$nC:$6C"
:eILLUST.
For GUI editors, the default status string setting is:
:ILLUST.
set statusstring = "Ln:$5L$[Col:$3C$[Mode: $M$[$|$T$[$H"
:eILLUST.

:SETCMD parm=string.shellprompt
This setting controls what the prompt at the command line will be
after using the
:KEYWORD.shell
command.

:SETCMD parm=nsp.tabamount
Sets the number of spaces inserted when the tab key is pressed in
a text insertion mode.  If
:KEYWORD.realtabs
is set, these spaces will be changed into tabs, based on the setting of
:KEYWORD.hardtab
:PERIOD.

:SETCMD parm=fname.tagfilename
This defines the file name that &edname is to use to locate tags
in.  The default is the name
:ITALICS.tags
:PERIOD.

:SETCMD parm=dir.tmpdir
This is used to specify the directory where all temporary editor files
are to be created.
:ADDLINE.
This option can only be set during editor initialization.

:SETCMD parm=str.word
This defines the word used by &edname.
:PERIOD.
&cmd_parm is a group of character pairs.
Each pair defines a range; e.g. 09az defines the characters 0 through 9
and a thorough z.
Any character in
the ranges defined by
&cmd_parm is considered part of a word.
:BLANKLINE.
The default for &cmd_long is "__09AZaz".
:BLANKLINE.
The word will be delimited by
white space (spaces or tabs) and all characters not in the ranges
defined by &cmd_parm.
:PERIOD.

:SETCMD parm=margin.wrapmargin
If &cmd_long is set to a non-zero value, then word wrapping is enabled.
As text is entered, the position of the cursor is monitored.  Once the
cursor gets within &cmd_parm characters of the right margin, the current
word is moved to a new line.

:eSETLIST

:SUBSECT.Mouse Control
:SETLIST.

:SETCMD parm=ticks.mousedclickspeed
Sets the number of ticks between the first mouse button depress and
the second mouse button depress for the action to count as a double-click.
A tick is approximately 1/18 of a second.
:BLANKLINE.
&charonly.

:SETCMD parm=ticks.mouserepeatdelay
Sets the number of ticks between when a mouse button is depressed and
when the button starts to "repeat".
A tick is approximately 1/18 of a second.
:BLANKLINE.
&charonly.

:SETCMD parm=speed.mousespeed
Sets the speed of the mouse. &cmd_parm may be in the range 0-31
(0 is the fastest, 31 is the slowest).
:BLANKLINE.
&charonly.

:SETCMD parm=str.wordalt
This defines the alternate word used when double clicking the mouse.
&cmd_parm is defined in the same fashion as for the
:KEYWORD.word
setting.
:BLANKLINE.
The default for &cmd_long is "::..\\__09AZaz".
:eSETLIST.
:eSUBSECT.

:SUBSECT.Window Control
:SETLIST.
:SETCMD parm=height.buttonheight
Sets the height (in pixels) of the tools on the toolbar.
:BLANKLINE.
&guionly.

:SETCMD parm=height.buttonwidth
Sets the width (in pixels) of the tools on the toolbar.
:BLANKLINE.
&guionly.

:SETCMD parm=x.clockx
Sets the x-coordinate of where the clock is to be displayed, if
:KEYWORD.clock
is enabled.
:BLANKLINE.
&charonly.

:SETCMD parm=y.clocky
Sets the y-coordinate of where the clock is to be displayed, if
:KEYWORD.clock
is enabled.
:BLANKLINE.
&charonly.

:SETCMD parm=col.currentstatuscolumn
Controls which column current status information is displayed in on the
the menu bar, if
:KEYWORD.currentstatus
is enabled.
:BLANKLINE.
&charonly.

:SETCMD parm=ticks.cursorblinkrate
Controls the speed at which the cursor blinks at.
:BLANKLINE.
&guionly.

:SETCMD parm=str.gadgetstring
This string controls the characters that are used to draw the gadgets
on the border. The characters in the string are used as follows:
:OL compact.
:LI.top left corner of edit window
:LI.top right corner of edit window
:LI.bottom left corner of edit window
:LI.bottom right corner of edit window
:LI.left side of edit window
:LI.top and bottom of edit window
:LI.left side of file name on top of border of edit window
:LI.right side of file name on top of border of edit window
:LI.cursor up gadget on scroll bar
:LI.cursor down gadget on scroll bar
:LI.right side of edit window (scroll bar area)
:LI.scroll thumb
:eOL.
:BLANKLINE.
&charonly.

:SETCMD parm=clr.inactivewindowcolor
Sets the foreground color of an edit window border when it is inactive
(not the current edit window).  &cmd_parm may be 0-15, or one of
the previously defined color keywords.
:BLANKLINE.
&charonly.

:SETCMD parm=n.maxtilecolors
Controls the number of tile colors for tiled windows (when using the
:KEYWORD.tile
command).
:BLANKLINE.
&charonly.

:SETCMD parm=x.maxwindowtilex
Defines the maximum number of windows that may be tiled together
in the x direction when using the
:KEYWORD.tile
command.
:BLANKLINE.
&charonly.

:SETCMD parm=y.maxwindowtiley
Defines the maximum number of windows that may be tiled together
in the y direction when using the
:KEYWORD.tile
command.
:BLANKLINE.
&charonly.

:SETCMD parm=attr.movecolor
Controls the color attributes of an edit window border when the
window is being moved (either by using the mouse or by
using the
:KEYWORD.movewin
command).
The attribute is composed of a foreground and a background color,
(16*background+ foreground gives &cmd_parm).
:BLANKLINE.
&charonly.

:SETCMD parm=attr.resizecolor
Controls the color attributes of an edit window border when the
window is being resized (either by using the mouse or by
using the
:KEYWORD.resize
command).
The attribute is composed of a foreground and a background color,
(16*background+ foreground gives &cmd_parm).
:BLANKLINE.
&charonly.

:SETCMD parm=x.spinx
Sets the x-coordinate of where the busy spinner is displayed, if
:KEYWORD.spinning
is enabled.
:BLANKLINE.
&charonly.

:SETCMD parm=y.spiny
Sets the y-coordinate of where the busy spinner is displayed, if
:KEYWORD.spinning
is enabled.
:BLANKLINE.
&charonly.

:SETCMD parm='n fg bg'.tilecolor
Sets tile area
:CMDPARM.<n>
to have the foreground color
:CMDPARM.<fg>
and the background color
:CMDPARM.<bg>
:PERIOD.
:BLANKLINE
The tile area
:CMDPARM.<n>
must be in the range 1 to
:KEYWORD.maxtilecolors
:PERIOD.
:BLANKLINE
The colors may be in the range 0-15, or one of
the previously defined color keywords.
:BLANKLINE.
&charonly.

:eSETLIST.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?