Commit Graph

1435 Commits

Author SHA1 Message Date
Bjorn Winckler d0aa271e7a Shift-tab no longer treated as Ctrl-Y (fixes Ctrl-Y bug)
git-svn-id: http://macvim.googlecode.com/svn/trunk@136 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-14 16:42:10 +00:00
Bjorn Winckler 9487df63bf Command queue if flushed more often so that there are no long pauses of (seeming) inactivity when Vim is doing lengthy processing.
git-svn-id: http://macvim.googlecode.com/svn/trunk@135 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-14 15:51:24 +00:00
Bjorn Winckler c5e9d5d505 Cell width is rounded to an integer (fixes bug where window is too wide)
git-svn-id: http://macvim.googlecode.com/svn/trunk@129 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-12 11:12:56 +00:00
Bjorn Winckler c098f82deb The system vimrc is now copied to the right directory.
git-svn-id: http://macvim.googlecode.com/svn/trunk@128 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-11 17:59:18 +00:00
Bjorn Winckler 3a54b3e0f4 Syntax highlighting enabled by default
git-svn-id: http://macvim.googlecode.com/svn/trunk@127 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-11 17:58:53 +00:00
Bjorn Winckler 15f99f17de Removed some items from the toolbar so that all items were visible at the default window size.
git-svn-id: http://macvim.googlecode.com/svn/trunk@126 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-11 17:53:52 +00:00
Bjorn Winckler 37c3229d44 Now possible to have space and flexible space in toolbar (by creating items which math '-space.*-' and '-flexspace.*-' respectively).
git-svn-id: http://macvim.googlecode.com/svn/trunk@125 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-11 17:50:05 +00:00
Bjorn Winckler fb36ef1acd The wrong command line arguments were specified when launching MacVim.
git-svn-id: http://macvim.googlecode.com/svn/trunk@124 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-11 17:48:34 +00:00
Bjorn Winckler 6e8f33c766 Added system vimrc to project
git-svn-id: http://macvim.googlecode.com/svn/trunk@123 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-11 14:23:56 +00:00
Bjorn Winckler d0a09a8cfe This file is long since obsolete (Colors.plist is used instead)
git-svn-id: http://macvim.googlecode.com/svn/trunk@122 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-11 14:22:26 +00:00
Bjorn Winckler a2fa2f99ed - Moved user default keys to MacVim.[h|m] - Renamed user defaults to the same name as their keys (minus "Key" at the end) - Window top left point autosave is now a string instead of a dictionary
git-svn-id: http://macvim.googlecode.com/svn/trunk@121 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-11 11:48:08 +00:00
Bjorn Winckler 4834afb74a Added support for ':popup' command.
git-svn-id: http://macvim.googlecode.com/svn/trunk@120 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-11 11:20:16 +00:00
Bjorn Winckler 4e599646f1 - MMTextStorage ensures that all glyphs have the same width (or twice that, for wide chars) - MMTypesetter only has to make all line fragments the same height, no glyph placement is necessary anymore - MMTextStorage cleaned up now that cell size is fixed across fonts
git-svn-id: http://macvim.googlecode.com/svn/trunk@119 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-10 20:13:57 +00:00
Bjorn Winckler 4588872456 Removed 'centerglyphs' user default
git-svn-id: http://macvim.googlecode.com/svn/trunk@118 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-10 20:09:41 +00:00
Bjorn Winckler 959c39dac1 The flags '<' and 'C' in cpoptions are cleared and restored, so that mappings with <CR> in them work.
git-svn-id: http://macvim.googlecode.com/svn/trunk@117 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-10 14:22:52 +00:00
Bjorn Winckler 8155d80455 Ctrl-click is translated to right click (for people with one button mice). This behaviour can be disabled by setting user default 'translatectrlclick' to 0.
git-svn-id: http://macvim.googlecode.com/svn/trunk@116 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-10 13:46:49 +00:00
Bjorn Winckler 1b28266622 - Added support for popup menus - Adding a submenu to a popup menu now places the submenu under the popup menu instead of under the main menu (bug)
git-svn-id: http://macvim.googlecode.com/svn/trunk@115 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-10 13:28:59 +00:00
Bjorn Winckler 556bf0a410 Disabled NSTextView's popup menus
git-svn-id: http://macvim.googlecode.com/svn/trunk@114 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-10 10:24:28 +00:00
Bjorn Winckler b3c22363a4 - Default baselineoffset changed to -1 - Added user default 'centerglyphs' for nicer looking proportional fonts (disabled by default)
git-svn-id: http://macvim.googlecode.com/svn/trunk@113 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-10 10:10:52 +00:00
Bjorn Winckler 0813d7c5c2 Only bypass interpretKeyEvents: if Ctrl is held on key down (fixes bug where alt-e, e, did not produce e-acute).
git-svn-id: http://macvim.googlecode.com/svn/trunk@112 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-09 19:30:30 +00:00
Bjorn Winckler 9b9a6096ed Key down events in which Ctrl, Alt, or Command is held are immediately sent off to Vim instead of to interpretKeyEvents:. This is an attempt to bypass Key Bindings in Cocoa, since some key bindings cause several doCommandBySelector: messages to be sent (which means the key gets repeated). This fixed the CTRL-O bug in insert mode.
git-svn-id: http://macvim.googlecode.com/svn/trunk@111 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-09 18:25:16 +00:00
Bjorn Winckler ddc4ed0b35 - First window autosaves its position - Safari-like window cascading support (cascade from key window)
git-svn-id: http://macvim.googlecode.com/svn/trunk@110 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-09 17:48:17 +00:00
Bjorn Winckler d355ab4b00 Hides end-of-line characters
git-svn-id: http://macvim.googlecode.com/svn/trunk@109 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-09 11:19:08 +00:00
Bjorn Winckler ba058d45a9 - All user default key variables end with 'key' - Added user default keys: typesetter, cellwidthmultiplier, baselineoffset - Cell width calculations based on widht of 'm' (so that 'cellwidthmultiplier' is the width of a cell in em-units)
git-svn-id: http://macvim.googlecode.com/svn/trunk@108 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-09 10:22:52 +00:00
Bjorn Winckler be3881c8f9 Changing font via font panel now sets 'guifont' as well.
git-svn-id: http://macvim.googlecode.com/svn/trunk@107 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-09 09:24:29 +00:00
Bjorn Winckler 846d11d79c Added support for font panel.
git-svn-id: http://macvim.googlecode.com/svn/trunk@106 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-09 09:12:47 +00:00
Bjorn Winckler a15c9110c0 Added custom typesetter (better wide-font support, can typeset proportional fonts)
git-svn-id: http://macvim.googlecode.com/svn/trunk@105 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-08 19:18:16 +00:00
Bjorn Winckler 656dcdea12 Added MMTypesetter.[m|h] to project.
git-svn-id: http://macvim.googlecode.com/svn/trunk@104 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-08 19:16:05 +00:00
Bjorn Winckler 4c3331492b Code cleanup
git-svn-id: http://macvim.googlecode.com/svn/trunk@103 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-08 12:40:30 +00:00
Bjorn Winckler e12a38b992 - Added processCommandQueueDidFinish notification to MMWindowController - Window resizing is delayed until processCommandQueueDidFinish (no more need for performSelectionOnMainThread:::)
git-svn-id: http://macvim.googlecode.com/svn/trunk@102 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-08 12:00:17 +00:00
Bjorn Winckler 6c59edb93e Code cleanup.
git-svn-id: http://macvim.googlecode.com/svn/trunk@101 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-08 09:58:41 +00:00
Bjorn Winckler ff164a8637 If only one file is dropped, use ':drop' instead of ':tab drop' (this works better when a directory is dropped).
git-svn-id: http://macvim.googlecode.com/svn/trunk@100 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-08 09:07:30 +00:00
Bjorn Winckler c659ac0f36 Modified default menus (which only show if no window has been opened)
git-svn-id: http://macvim.googlecode.com/svn/trunk@99 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-08 09:06:24 +00:00
Bjorn Winckler ed5935d1c8 Added Services menu entries
git-svn-id: http://macvim.googlecode.com/svn/trunk@98 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-08 09:05:42 +00:00
Bjorn Winckler 84494a00bd - Added services menu support with some simple provider messages - MMVimController observer registration moved from MMVimController init to MMWindowController windowDidLoad - Text system initialized in MMWindowController init instead of awakeFromNib
git-svn-id: http://macvim.googlecode.com/svn/trunk@96 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-07 19:23:05 +00:00
Bjorn Winckler b91bd4afc9 More active & pending
git-svn-id: http://macvim.googlecode.com/svn/trunk@95 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-06 19:09:33 +00:00
Bjorn Winckler be7c3da504 Updated outdate information
git-svn-id: http://macvim.googlecode.com/svn/trunk@94 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-06 19:09:09 +00:00
Bjorn Winckler 0306e0edf0 Added support for dropping text on window.
git-svn-id: http://macvim.googlecode.com/svn/trunk@93 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-06 18:52:11 +00:00
Bjorn Winckler 00d4006beb Added menukeyequiv for "Tools.Older List" and "Tools.Newer List".
git-svn-id: http://macvim.googlecode.com/svn/trunk@92 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-06 18:50:29 +00:00
Bjorn Winckler 397c6a926f Replaced "Close Tab" and "Close Window" with "Close" which maps to ":q".
git-svn-id: http://macvim.googlecode.com/svn/trunk@91 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-06 13:32:27 +00:00
Bjorn Winckler 31d4006d77 Added rudimentary support for drag and drop of files on window.
git-svn-id: http://macvim.googlecode.com/svn/trunk@90 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-06 13:23:35 +00:00
Bjorn Winckler 7249a58d74 Tab selection messages are ignored; selection is done when tabline updates.
git-svn-id: http://macvim.googlecode.com/svn/trunk@89 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-06 13:22:50 +00:00
Bjorn Winckler 0351dd2f05 Fixed tab selection bug where the wrong tab would get opened if multiple files were dragged onto the Vim dock icon.
git-svn-id: http://macvim.googlecode.com/svn/trunk@88 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-06 13:21:43 +00:00
Bjorn Winckler c732707423 Two more active, one pending.
git-svn-id: http://macvim.googlecode.com/svn/trunk@87 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-05 18:54:08 +00:00
Bjorn Winckler 9495317748 No longer uses stringWithFormat: when creating emptyRowString (%255c does not work as a format string).
git-svn-id: http://macvim.googlecode.com/svn/trunk@86 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-05 18:53:39 +00:00
Bjorn Winckler ed22b4bb40 More active
git-svn-id: http://macvim.googlecode.com/svn/trunk@83 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-05 12:06:04 +00:00
Bjorn Winckler 8377ea3c5f - Removed unused stuff - No default bindings for next/prev window
git-svn-id: http://macvim.googlecode.com/svn/trunk@82 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-05 12:05:45 +00:00
Bjorn Winckler 189ba53edf Moved 'activateIgnoringOtherApps:' call to 'connectBackend:'.
git-svn-id: http://macvim.googlecode.com/svn/trunk@81 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-05 11:24:47 +00:00
Bjorn Winckler 5e3b3d9a7a - Tabline is automatically sized (set up in Interface Builder) - When tabline hidden a baseline is shown
git-svn-id: http://macvim.googlecode.com/svn/trunk@80 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-04 20:19:22 +00:00
Bjorn Winckler 39e8f87d4a Toolbar baseline separator always hidden.
git-svn-id: http://macvim.googlecode.com/svn/trunk@79 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-04 20:17:03 +00:00