Inherits from NSObject
Declared in ExCommand.h

Overview

A generated ex command.

Tasks

Properties

addr1

First range address.

@property (nonatomic, assign, readwrite) ExAddress *addr1

Declared In

ExCommand.h

addr2

Second range address.

@property (nonatomic, assign, readwrite) ExAddress *addr2

Declared In

ExCommand.h

append

YES if >> flag specified.

@property (nonatomic, readwrite) BOOL append

Declared In

ExCommand.h

arg

Extra argument string.

@property (nonatomic, assign, readwrite) NSString *arg

Declared In

ExCommand.h

caret

If set, specifies final location of caret after command returns.

@property (nonatomic, readwrite) NSInteger caret

Declared In

ExCommand.h

count

Count argument.

@property (nonatomic, assign, readwrite) NSInteger count

Declared In

ExCommand.h

filter

YES if filtering (as in :read !ls or :write !wc).

@property (nonatomic, readwrite) BOOL filter

Declared In

ExCommand.h

force

YES if ! flag specified.

@property (nonatomic, readwrite) BOOL force

Declared In

ExCommand.h

line

Resolved target line number.

@property (nonatomic, readwrite) NSUInteger line

Discussion

This is an absolute line number.

Declared In

ExCommand.h

lineAddress

Target line address.

@property (nonatomic, assign, readwrite) ExAddress *lineAddress

Declared In

ExCommand.h

lineRange

Resolved line range of affected text.

@property (nonatomic, readwrite) NSRange lineRange

Discussion

lineRange.location specifies a line number, and lineRange.lenght number of affected lines.

Declared In

ExCommand.h

mapping

The mapping that describes the action.

@property (nonatomic, readonly) ExMapping *mapping

Declared In

ExCommand.h

naddr

Number of addresses given in the range.

@property (nonatomic, readwrite) NSUInteger naddr

Declared In

ExCommand.h

nextCommand

Next ex command separated with a bar (|).

@property (nonatomic, assign, readwrite) ExCommand *nextCommand

Declared In

ExCommand.h

options

Regular expression option string for :s command.

@property (nonatomic, assign, readwrite) NSString *options

Declared In

ExCommand.h

pattern

Regular expression pattern.

@property (nonatomic, assign, readwrite) NSString *pattern

Declared In

ExCommand.h

plus_command

Ex command string for the + argument (as in :edit +cmd file).

@property (nonatomic, assign, readwrite) NSString *plus_command

Declared In

ExCommand.h

range

Resolved character range of affected text.

@property (nonatomic, readwrite) NSRange range

Declared In

ExCommand.h

reg

Destination register, or 0 if none specified.

@property (nonatomic, readwrite) unichar reg

Declared In

ExCommand.h

replacement

Replacement template string for :s command.

@property (nonatomic, assign, readwrite) NSString *replacement

Declared In

ExCommand.h

Instance Methods

message:

Return a message to caller.

- (void)message:(NSString *)message

Parameters

message

The message to display.

Discussion

The last message will be shown in the ex command line after command returns.

Declared In

ExCommand.h