Inherits from NSObject
Declared in ViRegisterManager.h

Overview

Register manager

The register manager handles the content of registers.

There are a number of special registers:

  • " — The unnamed register. This is the default register.
  • + or * — The Mac OS clipboard.
  • % — The URL of the current document.
  • # — The URL of the alternate document.
  • / — The last search term.
  • : — The last entered ex command.
  • _ (underscore) — The null register; anything stored in this register is discarded.

Tasks

Class Methods

sharedManager

Returns the global shared register manager.

+ (id)sharedManager

Declared In

ViRegisterManager.h

Instance Methods

contentOfRegister:

Returns the global shared register manager.

- (NSString *)contentOfRegister:(unichar)regName

Parameters

regName

The name of the register.

Declared In

ViRegisterManager.h

nameOfRegister:

Returns a description of a register.

- (NSString *)nameOfRegister:(unichar)regName

Parameters

regName

The name of the register.

Declared In

ViRegisterManager.h

setContent:ofRegister:

Set the content string of a register.

- (void)setContent:(NSString *)content ofRegister:(unichar)regName

Parameters

content

The content of the register being set.

regName

The name of the register.

Uppercase register A to Z causes the content to be appended.

Declared In

ViRegisterManager.h