Inherits from NSObject
Conforms to NSCopying
Declared in ViScope.h

Overview

A scope covering a range of characters.

Tasks

Other Methods

Matching scope selectors

Properties

range

The range of characters this scope covers.

@property (nonatomic, readwrite) NSRange range

Declared In

ViScope.h

Instance Methods

bestMatch:

Returns the best matching scope selector.

- (NSString *)bestMatch:(NSArray *)scopeSelectors

Parameters

scopeSelectors

An array of scope selectors to match.

Return Value

The scope selector with the highest matching rank.

Declared In

ViScope.h

match:

Match against a scope selector.

- (u_int64_t)match:(NSString *)scopeSelector

Parameters

scopeSelector

The scope selector.

Declared In

ViScope.h