Instance Method

accessibilityRangeForLine:

Returns the range of characters in the specified line.

Required.

Declaration

- (NSRange)accessibilityRangeForLine:(NSInteger)line;

Parameters

line

The line number to be examined.

Return Value

The range of characters for the specified line number. If the line ends with a newline character, including the newline is preferred.

See Also

Configuring Text Elements

accessibilityInsertionPointLineNumber

The line number containing the insertion point.

Required.

accessibilityNumberOfCharacters

The number of characters in the text.

Required.

accessibilityPlaceholderValue

The placeholder value for this accessibility element.

Required.

accessibilitySelectedText

The currently selected text.

Required.

accessibilitySelectedTextRange

The range of the currently selected text.

Required.

accessibilitySelectedTextRanges

An array of NSValue ranges for the currently selected text.

Required.

accessibilitySharedCharacterRange

The range of characters displayed by the accessibility element.

Required.

accessibilitySharedTextUIElements

Other elements that share text with the accessibility element.

Required.

accessibilityVisibleCharacterRange

The range of visible characters in the document.

Required.

- accessibilityStringForRange:

Returns the substring for the specified range.

Required.

- accessibilityAttributedStringForRange:

Returns the attributed substring for the specified range of characters.

Required.

- accessibilityRTFForRange:

Returns the Rich Text Format (RTF) data that describes the specified range of characters.

Required.

- accessibilityFrameForRange:

Returns the rectangle enclosing the specified range of characters.

Required.

- accessibilityLineForIndex:

Returns the line number for the line holding the specified character index.

Required.

- accessibilityRangeForIndex:

Returns the range of characters for the glyph that includes the specified character.

Required.

- accessibilityStyleRangeForIndex:

Returns a range of characters that all have the same style as the specified character.

Required.

- accessibilityRangeForPosition:

Returns the range of characters for the glyph at the specified point.

Required.