mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
a62901521e
git-svn-id: http://macvim.googlecode.com/svn/trunk@189 96c4425d-ca35-0410-94e5-3396d5c13a8f
34 lines
1.0 KiB
Objective-C
34 lines
1.0 KiB
Objective-C
/* vi:set ts=8 sts=4 sw=4 ft=objc:
|
|
*
|
|
* VIM - Vi IMproved by Bram Moolenaar
|
|
* MacVim GUI port by Bjorn Winckler
|
|
*
|
|
* Do ":help uganda" in Vim to read copying and usage conditions.
|
|
* Do ":help credits" in Vim to see a list of people who contributed.
|
|
* See README.txt for an overview of the Vim source code.
|
|
*/
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
@interface MMTextView : NSTextView {
|
|
BOOL shouldDrawInsertionPoint;
|
|
NSEvent *lastMouseDownEvent;
|
|
NSTrackingRectTag trackingRectTag;
|
|
BOOL isDragging;
|
|
BOOL isAutoscrolling;
|
|
int dragRow;
|
|
int dragColumn;
|
|
int dragFlags;
|
|
NSPoint dragPoint;
|
|
int insertionPointRow;
|
|
int insertionPointColumn;
|
|
int insertionPointShape;
|
|
}
|
|
|
|
- (NSEvent *)lastMouseDownEvent;
|
|
- (void)drawInsertionPointAtRow:(int)row column:(int)col shape:(int)shape
|
|
color:(NSColor *)color;
|
|
|
|
@end
|