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

SectionRecord.m File Reference

Go to the source code of this file.

Functions

void initialize ()
NSLayoutManager * sharedLayoutManager ()
void setSharedLayoutManager: (NSLayoutManager *manager)
NSTextContainer * sharedTextContainer ()
id initWithOrigin:content: (float yCoord,[content] NSAttributedString *initialContent)
id initWithOrigin: (float yCoord)
void dealloc ()
void appendAttributedString: (NSAttributedString *moreContent)
float origin ()
float height ()
float foot ()
BOOL containsDepth: (float depth)
NSTextStorage * content ()
void setContent: (NSTextStorage *newContent)
unsigned length ()
NSAttributedString * attributedSubstringFromRange: (NSRange range)
NSAttributedString * selectedAttributedString ()
NSColor * backgroundColor ()
void drawBackground: (NSRect backgroundArea)
BOOL pointWithinSelection: (NSPoint aPoint)
NSRect * selectionRects: (unsigned *howMany)
NSRect selectionUnionRect ()
void draw ()
void drawRect: (NSRect aRect)
id attribute:atPoint: (NSString *attrName,[atPoint] NSPoint aPoint)
void highlightFromPoint:toPoint:mode: (NSPoint startPoint,[toPoint] NSPoint endPoint,[mode] DragSelectionMode mode)
void unhighlight ()
NSString * wordAtPoint: (NSPoint aPoint)
void selectWordAtPoint: (NSPoint aPoint)
void selectLineAtPoint: (NSPoint aPoint)
float topOfLineWithDepth: (float depth)
void encodeWithCoder: (NSCoder *aCoder)
id initWithCoder: (NSCoder *aDecoder)
NSRange searchStringBackwards:ignoringCase: (NSString *target,[ignoringCase] BOOL ignoreCase)
NSRange searchStringForwards:ignoringCase: (NSString *target,[ignoringCase] BOOL ignoreCase)
BOOL selectString:backward:ignoringCase: (NSString *target,[backward] BOOL goBackFromSelection,[ignoringCase] BOOL ignoreCase)

Variables

implementation SectionRecord
static NSLayoutManager * 
sLayoutManager = nil
static NSTextContainer * sTextContainer = nil


Function Documentation

void appendAttributedString: NSAttributedString *  moreContent  )  [virtual]
 

Definition at line 70 of file SectionRecord.m.

References SectionRecord::height, SectionRecord::heightOfLastLine, and SectionRecord::length.

Here is the call graph for this function:

id attribute:atPoint: NSString *  attrName,
[atPoint] NSPoint  aPoint
[virtual]
 

Definition at line 323 of file SectionRecord.m.

References SectionRecord::origin.

Here is the call graph for this function:

NSAttributedString * attributedSubstringFromRange: NSRange  range  )  [virtual]
 

Definition at line 146 of file SectionRecord.m.

NSColor * backgroundColor  )  [virtual]
 

Definition at line 166 of file SectionRecord.m.

References SectionRecord::content, and SectionRecord::length.

Here is the call graph for this function:

BOOL containsDepth: float  depth  )  [virtual]
 

Definition at line 129 of file SectionRecord.m.

References SectionRecord::height, and SectionRecord::origin.

Referenced by TallTextView::adjustPageHeightNew:top:bottom:limit:, TallTextView::setEndOfSelection:, and TallTextView::setStartSelSection:.

Here is the call graph for this function:

NSTextStorage * content  )  [virtual]
 

Definition at line 134 of file SectionRecord.m.

References SectionRecord::content.

Referenced by PlacardView::drawRect:, and MyDocument::sendText:.

Here is the call graph for this function:

void dealloc  )  [virtual]
 

Definition at line 64 of file SectionRecord.m.

void draw  )  [virtual]
 

Definition at line 270 of file SectionRecord.m.

References SectionRecord::content, SectionRecord::height, SectionRecord::length, SectionRecord::origin, SectionRecord::selectionEnd, and SectionRecord::selectionStart.

Here is the call graph for this function:

void drawBackground: NSRect  backgroundArea  )  [virtual]
 

Definition at line 190 of file SectionRecord.m.

References SectionRecord::content, and SectionRecord::length.

Here is the call graph for this function:

void drawRect: NSRect  aRect  )  [virtual]
 

Definition at line 316 of file SectionRecord.m.

References SectionRecord::height, and SectionRecord::origin.

Here is the call graph for this function:

void encodeWithCoder: NSCoder *  aCoder  )  [virtual]
 

Definition at line 503 of file SectionRecord.m.

float foot  )  [virtual]
 

Definition at line 127 of file SectionRecord.m.

References SectionRecord::height, and SectionRecord::origin.

Referenced by IntegratedTSView::selectScreen:.

Here is the call graph for this function:

float height  )  [virtual]
 

Definition at line 126 of file SectionRecord.m.

References SectionRecord::height.

Referenced by TallTextView::appendAttributedString:, and TallTextView::resetCursorRects.

Here is the call graph for this function:

void highlightFromPoint:toPoint:mode: NSPoint  startPoint,
[toPoint] NSPoint  endPoint,
[mode] DragSelectionMode  mode
[virtual]
 

Definition at line 334 of file SectionRecord.m.

References SectionRecord::origin, selCharacterMode, SectionRecord::selectionEnd, SectionRecord::selectionStart, and selWordMode.

Here is the call graph for this function:

void initialize  )  [static, virtual]
 

Definition at line 19 of file SectionRecord.m.

References sLayoutManager, and sTextContainer.

id initWithCoder: NSCoder *  aDecoder  )  [virtual]
 

Definition at line 514 of file SectionRecord.m.

References SectionRecord::content, SectionRecord::selectionEnd, and SectionRecord::selectionStart.

Here is the call graph for this function:

id initWithOrigin: float  yCoord  )  [virtual]
 

Definition at line 49 of file SectionRecord.m.

References SectionRecord::content, SectionRecord::height, SectionRecord::heightOfLastLine, SectionRecord::origin, SectionRecord::selectionEnd, and SectionRecord::selectionStart.

Here is the call graph for this function:

id initWithOrigin:content: float  yCoord,
[content] NSAttributedString *  initialContent
[virtual]
 

Definition at line 41 of file SectionRecord.m.

References SectionRecord::initWithOrigin:.

Here is the call graph for this function:

unsigned length  )  [virtual]
 

Definition at line 144 of file SectionRecord.m.

Referenced by acceptASCII:length:(), checkTask:(), NSTextStorage(terminalExtensions)::copyLines:atLine:, NSTextStorage(terminalExtensions)::deleteLines:atLine:, AddressBookItem::emailAddress, NSTextStorage(terminalExtensions)::ensureRow:hasColumn:, NSTextStorage(terminalExtensions)::ensureRow:hasColumn:withAttributes:, IntegratedTSView::enterTextFromPasteboard:, NSData(ContentTest)::hasASCIIPrefix:, NSData(ContentTest)::hasASCIISuffix:, NSString(lineRange)::index:atRow:column:, TerminfoDict::initWithTerminfo:, IntegratedTSView::markedRange, IntegratedTSView::menuForEvent:, NSTextStorage(terminalExtensions)::placeString:atRow:column:withAttributes:, DefaultLineFilter::processData:, NSTextStorage(terminalExtensions)::rangeOfFirstURLInRange:, NSString(lineRange)::rangeOfLine:, NSString(lineRange)::rangeOfLines:, TerminfoDict::readCompletionNotice:, PTYTask::readThread:, TextFileFilter::rendition, NSMutableAttributedString(attrSubstitution)::replaceAttribute:target:withValue:, NSTextStorage(terminalExtensions)::replaceCharacter:atRow:column:withAttributes:, PreferenceController::sampleBackground:, PreferenceController::sampleForeground:, TallTextView::setAttributedString:, FindPanelController::setFindString:, MyDocument::terminalScreen:printsBuffer:, TextStorageTestCase::testEnsureRowHasColumnNoop, and PTYTask(streamTasks)::writeData:.

float origin  )  [virtual]
 

Definition at line 125 of file SectionRecord.m.

References SectionRecord::origin.

Referenced by IntegratedTSView::selectScreen:.

Here is the call graph for this function:

BOOL pointWithinSelection: NSPoint  aPoint  )  [virtual]
 

Definition at line 209 of file SectionRecord.m.

NSRange searchStringBackwards:ignoringCase: NSString *  target,
[ignoringCase] BOOL  ignoreCase
[virtual]
 

Definition at line 535 of file SectionRecord.m.

References SectionRecord::selectionStart.

NSRange searchStringForwards:ignoringCase: NSString *  target,
[ignoringCase] BOOL  ignoreCase
[virtual]
 

Definition at line 549 of file SectionRecord.m.

References SectionRecord::content, and SectionRecord::length.

Here is the call graph for this function:

NSAttributedString * selectedAttributedString  )  [virtual]
 

Definition at line 151 of file SectionRecord.m.

References SectionRecord::selectionEnd, and SectionRecord::selectionStart.

NSRect * selectionRects: unsigned *  howMany  )  [virtual]
 

Definition at line 227 of file SectionRecord.m.

References SectionRecord::origin, SectionRecord::selectionEnd, and SectionRecord::selectionStart.

Here is the call graph for this function:

NSRect selectionUnionRect  )  [virtual]
 

Definition at line 253 of file SectionRecord.m.

void selectLineAtPoint: NSPoint  aPoint  )  [virtual]
 

Definition at line 462 of file SectionRecord.m.

References SectionRecord::origin, SectionRecord::selectionEnd, SectionRecord::selectionStart, and sLayoutManager.

Here is the call graph for this function:

BOOL selectString:backward:ignoringCase: NSString *  target,
[backward] BOOL  goBackFromSelection,
[ignoringCase] BOOL  ignoreCase
[virtual]
 

Definition at line 560 of file SectionRecord.m.

References SectionRecord::selectionEnd, and SectionRecord::selectionStart.

void selectWordAtPoint: NSPoint  aPoint  )  [virtual]
 

Definition at line 429 of file SectionRecord.m.

References SectionRecord::origin, SectionRecord::selectionEnd, SectionRecord::selectionStart, and sLayoutManager.

Here is the call graph for this function:

void setContent: NSTextStorage *  newContent  )  [virtual]
 

Definition at line 136 of file SectionRecord.m.

References SectionRecord::content.

Here is the call graph for this function:

void setSharedLayoutManager: NSLayoutManager *  manager  )  [static, virtual]
 

Definition at line 30 of file SectionRecord.m.

References sLayoutManager.

NSLayoutManager * sharedLayoutManager  )  [static, virtual]
 

Definition at line 28 of file SectionRecord.m.

References sLayoutManager.

Referenced by TallTextView::becomeFirstResponder.

NSTextContainer * sharedTextContainer  )  [static, virtual]
 

Definition at line 39 of file SectionRecord.m.

References sTextContainer.

float topOfLineWithDepth: float  depth  )  [virtual]
 

Definition at line 480 of file SectionRecord.m.

References SectionRecord::origin.

Here is the call graph for this function:

void unhighlight  )  [virtual]
 

Definition at line 392 of file SectionRecord.m.

References SectionRecord::selectionEnd, and SectionRecord::selectionStart.

NSString * wordAtPoint: NSPoint  aPoint  )  [virtual]
 

Definition at line 398 of file SectionRecord.m.

References SectionRecord::origin, and sLayoutManager.

Here is the call graph for this function:


Variable Documentation

implementation SectionRecord static NSLayoutManager* sLayoutManager = nil
 

Definition at line 14 of file SectionRecord.m.

Referenced by initialize(), selectLineAtPoint:(), selectWordAtPoint:(), setSharedLayoutManager:(), sharedLayoutManager(), and wordAtPoint:().

NSTextContainer* sTextContainer = nil [static]
 

Definition at line 15 of file SectionRecord.m.

Referenced by initialize(), and sharedTextContainer().


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