Returns the text tab next closest to a given glyph location within the given parameters.
- macOS 10.4+
The location at which to start searching.
The direction in which to search.
The maximum location for the search.
The text tab next closest to
glyph, indexing in
direction but not beyond
The typesetter calls this method whenever it finds a tab character. To determine the width to advance the next glyph, the typesetter examines the
NSParagraph object's tab array and the default tab interval.