- Fixed bug where tab bar controller never removed itself as an observer
[MacVim/jjgod.git] / MacVim.m
blob0d02be4e8a8a84879c99704b927acf5a7c2a2755
1 /* vi:set ts=8 sts=4 sw=4 ft=objc:
2  *
3  * VIM - Vi IMproved            by Bram Moolenaar
4  *                              MacVim GUI port by Bjorn Winckler
5  *
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.
9  */
11 #import "MacVim.h"
13 char *MessageStrings[] = 
15     "BadMsgID",
16     "CheckinMsgID",
17     "ConnectedMsgID",
18     "KillTaskMsgID",
19     "TaskExitedMsgID",
20     "OpenVimWindowMsgID",
21     "InsertTextMsgID",
22     "KeyDownMsgID",
23     "CmdKeyMsgID",
24     "BatchDrawMsgID",
25     "SelectTabMsgID",
26     "CloseTabMsgID",
27     "AddNewTabMsgID",
28     "DraggedTabMsgID",
29     "UpdateTabBarMsgID",
30     "ShowTabBarMsgID",
31     "HideTabBarMsgID",
32     "SetTextDimensionsMsgID",
33     "SetVimWindowTitleMsgID",
34     "ScrollWheelMsgID",
35     "MouseDownMsgID",
36     "MouseUpMsgID",
37     "MouseDraggedMsgID",
38     "BrowseForFileMsgID",
39     "BrowseForFileReplyMsgID",
40     "FlushQueueMsgID",
41     "UpdateInsertionPointMsgID",
42     "AddMenuMsgID",
43     "AddMenuItemMsgID",
44     "RemoveMenuItemMsgID",
45     "EnableMenuItemMsgID",
46     "ExecuteMenuMsgID",
47     "ShowToolbarMsgID",
48     "CreateScrollbarMsgID",
49     "DestroyScrollbarMsgID",
50     "ShowScrollbarMsgID",
51     "SetScrollbarPositionMsgID",
52     "SetScrollbarThumbMsgID",
53     "ScrollbarEventMsgID",
54     "SetFontMsgID",
55     "VimShouldCloseMsgID",
56     "SetDefaultColorsMsgID",
57     "ExecuteActionMsgID",
58     "DropFilesMsgID",
59     "DropStringMsgID",
60     "ShowPopupMenuMsgID",
66 // NSUserDefaults keys
67 NSString *MMNoWindowKey                 = @"MMNoWindow";
68 NSString *MMTabMinWidthKey              = @"MMTabMinWidth";
69 NSString *MMTabMaxWidthKey              = @"MMTabMaxWidth";
70 NSString *MMTabOptimumWidthKey          = @"MMTabOptimumWidth";
71 NSString *MMStatuslineOffKey            = @"MMStatuslineOff";
72 NSString *MMTextInsetLeftKey            = @"MMTextInsetLeft";
73 NSString *MMTextInsetRightKey           = @"MMTextInsetRight";
74 NSString *MMTextInsetTopKey             = @"MMTextInsetTop";
75 NSString *MMTextInsetBottomKey          = @"MMTextInsetBottom";
76 NSString *MMTerminateAfterLastWindowClosedKey
77                                         = @"MMTerminateAfterLastWindowClosed";
78 NSString *MMTypesetterKey               = @"MMTypesetter";
79 NSString *MMCellWidthMultiplierKey      = @"MMCellWidthMultiplier";
80 NSString *MMBaselineOffsetKey           = @"MMBaselineOffset";
81 NSString *MMTranslateCtrlClickKey       = @"MMTranslateCtrlClick";
82 NSString *MMTopLeftPointKey             = @"MMTopLeftPoint";