Main Page | Modules | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

SectionRecord.h File Reference


Detailed Description

Vertical text component for TallTextView The TallTextView, a selectable and scrollable styled text view that accepts only tail-appends as modifications, consists internally of a visual stack of SectionRecords.

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...


Enumeration Type Documentation

enum DragSelectionMode
 

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.

Enumerator:
selCharacterMode  Select by character.
selWordMode  Select by word.
selLineMode  Select by line.
selDragMode  Mouse down in an existing selection, prepare for drag-and-drop.
selDidDragMode  Drag-and-drop in progress.

Definition at line 20 of file SectionRecord.h.


Generated on Fri Sep 30 12:01:11 2005 for Crescat by  doxygen 1.4.4