1 /* vi:set ts=8 sts=4 sw=4 ft=objc:
3 * VIM - Vi IMproved by Bram Moolenaar
4 * MacVim GUI port by Bjorn Winckler
6 * Do ":help uganda" in Vim to read copying and usage conditions.
7 * Do ":help credits" in Vim to see a list of people who contributed.
8 * See README.txt for an overview of the Vim source code.
11 #import <Cocoa/Cocoa.h>
14 @interface MMTextView
: NSTextView
{
15 BOOL shouldDrawInsertionPoint
;
16 NSEvent
*lastMouseDownEvent
;
17 NSTrackingRectTag trackingRectTag
;
24 int insertionPointRow
;
25 int insertionPointColumn
;
26 int insertionPointShape
;
27 int insertionPointFraction
;
28 NSTextField
*markedTextField
;
31 - (NSEvent
*)lastMouseDownEvent
;
32 - (void)setShouldDrawInsertionPoint
:(BOOL
)on
;
33 - (void)drawInsertionPointAtRow
:(int)row column
:(int)col shape
:(int)shape
34 fraction
:(int)percent color
:(NSColor
*)color
;
35 - (void)hideMarkedTextField
;