Data Fields
exarg Struct Reference

Arguments used for Ex commands. More...

#include <ex_cmds_defs.h>

Data Fields

char * arg
 argument of the command More...
 
char ** args
 starting position of command arguments More...
 
size_t * arglens
 length of command arguments More...
 
size_t argc
 number of command arguments More...
 
char * nextcmd
 next command (NULL if none) More...
 
char * cmd
 the name of the command (except for :make) More...
 
char ** cmdlinep
 pointer to pointer of allocated cmdline More...
 
cmdidx_T cmdidx
 the index for the command More...
 
uint32_t argt
 flags for the command More...
 
int skip
 don't execute the command, only parse it More...
 
int forceit
 TRUE if ! present. More...
 
int addr_count
 the number of addresses given More...
 
linenr_T line1
 the first line number More...
 
linenr_T line2
 the second line number or count More...
 
cmd_addr_T addr_type
 type of the count/range More...
 
int flags
 extra flags after count: EXFLAG_ More...
 
char * do_ecmd_cmd
 +command arg to be used in edited file More...
 
linenr_T do_ecmd_lnum
 the line number in an edited file More...
 
int append
 TRUE with ":w >>file" command. More...
 
int usefilter
 TRUE with ":w !command" and ":r!command". More...
 
int amount
 number of '>' or '<' for shift command More...
 
int regname
 register name (NUL if none) More...
 
int force_bin
 0, FORCE_BIN or FORCE_NOBIN More...
 
int read_edit
 ++edit argument More...
 
int force_ff
 ++ff= argument (first char of argument) More...
 
int force_enc
 ++enc= argument (index in cmd[]) More...
 
int bad_char
 BAD_KEEP, BAD_DROP or replacement byte. More...
 
int useridx
 user command index More...
 
char * errmsg
 returned error message More...
 
LineGetter getline
 Function used to get the next line. More...
 
voidcookie
 argument for getline() More...
 
cstack_Tcstack
 condition stack for ":if" etc. More...
 
long verbose_save
 saved value of p_verbose More...
 
int save_msg_silent
 saved value of msg_silent More...
 
int did_esilent
 how many times emsg_silent was incremented More...
 
bool did_sandbox
 when true did sandbox++ More...
 

Detailed Description

Arguments used for Ex commands.

Field Documentation

◆ addr_count

int exarg::addr_count

the number of addresses given

◆ addr_type

cmd_addr_T exarg::addr_type

type of the count/range

◆ amount

int exarg::amount

number of '>' or '<' for shift command

◆ append

int exarg::append

TRUE with ":w >>file" command.

◆ arg

char* exarg::arg

argument of the command

◆ argc

size_t exarg::argc

number of command arguments

◆ arglens

size_t* exarg::arglens

length of command arguments

◆ args

char** exarg::args

starting position of command arguments

◆ argt

uint32_t exarg::argt

flags for the command

◆ bad_char

int exarg::bad_char

BAD_KEEP, BAD_DROP or replacement byte.

◆ cmd

char* exarg::cmd

the name of the command (except for :make)

◆ cmdidx

cmdidx_T exarg::cmdidx

the index for the command

◆ cmdlinep

char** exarg::cmdlinep

pointer to pointer of allocated cmdline

◆ cookie

void* exarg::cookie

argument for getline()

◆ cstack

cstack_T* exarg::cstack

condition stack for ":if" etc.

◆ did_esilent

int exarg::did_esilent

how many times emsg_silent was incremented

◆ did_sandbox

bool exarg::did_sandbox

when true did sandbox++

◆ do_ecmd_cmd

char* exarg::do_ecmd_cmd

+command arg to be used in edited file

◆ do_ecmd_lnum

linenr_T exarg::do_ecmd_lnum

the line number in an edited file

◆ errmsg

char* exarg::errmsg

returned error message

◆ flags

int exarg::flags

extra flags after count: EXFLAG_

◆ force_bin

int exarg::force_bin

0, FORCE_BIN or FORCE_NOBIN

◆ force_enc

int exarg::force_enc

++enc= argument (index in cmd[])

◆ force_ff

int exarg::force_ff

++ff= argument (first char of argument)

◆ forceit

int exarg::forceit

TRUE if ! present.

◆ getline

LineGetter exarg::getline

Function used to get the next line.

◆ line1

linenr_T exarg::line1

the first line number

◆ line2

linenr_T exarg::line2

the second line number or count

◆ nextcmd

char* exarg::nextcmd

next command (NULL if none)

◆ read_edit

int exarg::read_edit

++edit argument

◆ regname

int exarg::regname

register name (NUL if none)

◆ save_msg_silent

int exarg::save_msg_silent

saved value of msg_silent

◆ skip

int exarg::skip

don't execute the command, only parse it

◆ usefilter

int exarg::usefilter

TRUE with ":w !command" and ":r!command".

◆ useridx

int exarg::useridx

user command index

◆ verbose_save

long exarg::verbose_save

saved value of p_verbose


The documentation for this struct was generated from the following file: