com.raelity.jvi
Interface ColonCommandFlags

All Known Implementing Classes:
ColonCommands.BangAction, ColonCommands.ColonAction, Options.SetCommand

public interface ColonCommandFlags

Flags used to direct ":" command parsing. Only some of these are used.


Field Summary
static int BANG
          allow a ! after the command name (--USED--)
static int BUFNAME
          accepts buffer name
static int COUNT
          allow count in argument, after command
static int DFLALL
          default file range is 1,$
static int EDITCMD
          has "+command" argument
static int EXTRA
          allow extra args after command name
static int FILE1
          1 file allowed, defaults to current file
static int FILES
          multiple extra files allowed
static int NAMEDF
          1 file allowed, defaults to ""
static int NAMEDFS
          multiple files allowed, default is ""
static int NEEDARG
          argument required
static int NODFL
          dont default to the current file name
static int NOPARSE
          don't parse command into words, arg1 is one big line.
static int NOSPC
          no spaces allowed in the extra part
static int NOTADR
          num before command is not an address
static int NOTRLCOM
          no trailing comment allowed
static int RANGE
          allow a linespecs
static int REGSTR
          allow "x for register designation
static int TRLBAR
          check for trailing vertical bar
static int USECTRLV
          do not remove CTRL-V from argument
static int WORD1
          one extra word allowed
static int XFILE
          expand wildcards in extra part
static int ZEROR
          zero line number allowed
 

Field Detail

RANGE

static final int RANGE
allow a linespecs

See Also:
Constant Field Values

BANG

static final int BANG
allow a ! after the command name (--USED--)

See Also:
Constant Field Values

EXTRA

static final int EXTRA
allow extra args after command name

See Also:
Constant Field Values

XFILE

static final int XFILE
expand wildcards in extra part

See Also:
Constant Field Values

NOSPC

static final int NOSPC
no spaces allowed in the extra part

See Also:
Constant Field Values

DFLALL

static final int DFLALL
default file range is 1,$

See Also:
Constant Field Values

NODFL

static final int NODFL
dont default to the current file name

See Also:
Constant Field Values

NEEDARG

static final int NEEDARG
argument required

See Also:
Constant Field Values

TRLBAR

static final int TRLBAR
check for trailing vertical bar

See Also:
Constant Field Values

REGSTR

static final int REGSTR
allow "x for register designation

See Also:
Constant Field Values

COUNT

static final int COUNT
allow count in argument, after command

See Also:
Constant Field Values

NOTRLCOM

static final int NOTRLCOM
no trailing comment allowed

See Also:
Constant Field Values

ZEROR

static final int ZEROR
zero line number allowed

See Also:
Constant Field Values

USECTRLV

static final int USECTRLV
do not remove CTRL-V from argument

See Also:
Constant Field Values

NOTADR

static final int NOTADR
num before command is not an address

See Also:
Constant Field Values

EDITCMD

static final int EDITCMD
has "+command" argument

See Also:
Constant Field Values

BUFNAME

static final int BUFNAME
accepts buffer name

See Also:
Constant Field Values

FILES

static final int FILES
multiple extra files allowed

See Also:
Constant Field Values

WORD1

static final int WORD1
one extra word allowed

See Also:
Constant Field Values

FILE1

static final int FILE1
1 file allowed, defaults to current file

See Also:
Constant Field Values

NAMEDF

static final int NAMEDF
1 file allowed, defaults to ""

See Also:
Constant Field Values

NAMEDFS

static final int NAMEDFS
multiple files allowed, default is ""

See Also:
Constant Field Values

NOPARSE

static final int NOPARSE
don't parse command into words, arg1 is one big line.

See Also:
Constant Field Values