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
;
33 - (NSEvent
*)lastMouseDownEvent
;
34 - (void)setShouldDrawInsertionPoint
:(BOOL
)on
;
35 - (void)setPreEditRow
:(int)row column
:(int)col
;
36 - (void)drawInsertionPointAtRow
:(int)row column
:(int)col shape
:(int)shape
37 fraction
:(int)percent color
:(NSColor
*)color
;
38 - (void)hideMarkedTextField
;