diff --git a/src/MacVim/MMTextView.h b/src/MacVim/MMTextView.h index 040af3011a..6a88b4ee82 100644 --- a/src/MacVim/MMTextView.h +++ b/src/MacVim/MMTextView.h @@ -40,6 +40,7 @@ fraction:(int)percent color:(NSColor *)color; - (void)hideMarkedTextField; - (void)performBatchDrawWithData:(NSData *)data; +- (void)setMouseShape:(int)shape; // // MMTextStorage methods diff --git a/src/MacVim/MMTextView.m b/src/MacVim/MMTextView.m index 6c4ac53558..8a573243a5 100644 --- a/src/MacVim/MMTextView.m +++ b/src/MacVim/MMTextView.m @@ -328,6 +328,12 @@ enum { #endif } +- (void)setMouseShape:(int)shape +{ + mouseShape = shape; + [self setCursor]; +} + - (NSFont *)font { return [(MMTextStorage*)[self textStorage] font]; @@ -1101,12 +1107,6 @@ enum { // The font panel is updated whenever the font is set. } -- (void)setMouseShape:(int)shape -{ - mouseShape = shape; - [self setCursor]; -} - @end // MMTextView