forked from b4winckler/macvim
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1 tooltip category out of core text view
- Loading branch information
Tae Won Ha
committed
May 26, 2013
1 parent
e7c0c44
commit 0da33ab
Showing
4 changed files
with
74 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* 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 "MMCoreTextView.h" | ||
|
||
/* | ||
* MMCoreTextView+ToolTip | ||
* | ||
* Cocoa's tool tip interface does not allow changing the tool tip without the | ||
* user moving the mouse outside the view and then back again. This category | ||
* takes care of this problem. | ||
* | ||
* The tool tip code was borrowed from the Chromium project which in turn had | ||
* borrowed it from WebKit (copyright and comments are below). Some minor | ||
* changes were made to adapt the code to MacVim. | ||
*/ | ||
@interface MMCoreTextView (ToolTip) | ||
- (void)setToolTipAtMousePoint:(NSString *)string; | ||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters