Instance Method

drawInsertionPointInRect:color:turnedOn:

Draws or erases the insertion point.

Declaration

- (void)drawInsertionPointInRect:(NSRect)rect color:(NSColor *)color turnedOn:(BOOL)flag;

Parameters

aRect

The rectangle in which to draw the insertion point.

aColor

The color with which to draw the insertion point.

flag

YES to draw the insertion point, NO to erase it.

Discussion

The focus must be locked on the receiver when this method is invoked. You should not need to invoke this method directly.

See Also

Controlling Display

- setNeedsDisplayInRect:avoidAdditionalLayout:

Marks the receiver as requiring display.

shouldDrawInsertionPoint

A Boolean value that determines whether the receiver should draw its insertion point.

- drawViewBackgroundInRect:

Draws the background of the text view.

- setConstrainedFrameSize:

Attempts to set the frame size as if by user action.

- cleanUpAfterDragOperation

Releases the drag information still existing after the dragging session has completed.

- showFindIndicatorForRange:

Causes a temporary highlighting effect to appear around the visible portion (or portions) of the specified range.