Each SectionRecord has its own NSTextStorage, knows its origin and how tall it is, and can borrow an NSLayoutManager for drawing and hit testing.
Definition in file SectionRecord.h.
#import <Cocoa/Cocoa.h>
Include dependency graph for SectionRecord.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| class | SectionRecord |
| Vertical text component for TallTextView. More... | |
Enumerations | |
| enum | DragSelectionMode { selCharacterMode, selWordMode, selLineMode, selDragMode, selDidDragMode } |
| How selections of text should grow. More... | |
|
|
How selections of text should grow. Mouse-down events are asynchronous affairs, so TallText keeps a selection mode to indicate what sort of mouse-down is currently in effect. Selection can be grown by the appropriate unit in the case of multiple clicks, and drag-and-drop of displayed text can be detected.
Definition at line 20 of file SectionRecord.h. |
1.4.4