Commit Graph

43 Commits

Author SHA1 Message Date
Bjorn Winckler a74e1fe57d Can now map to Tab with modifiers
git-svn-id: http://macvim.googlecode.com/svn/trunk@260 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-22 19:05:41 +00:00
Bjorn Winckler 5341d45b06 - Added sendMessageNow:data:timeout: method to MMVimController - At end of live resize, send resize message with above method and if that fails fit window to text storage
git-svn-id: http://macvim.googlecode.com/svn/trunk@257 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-22 14:24:37 +00:00
Bjorn Winckler 605acbb708 - Disabled MM_RESEND_LAST_FAILURE as it doesn't seem to work - Call resizeWindowToFit: when live resize ends, in case SetTextDimensions DO message was lost during live resize.
git-svn-id: http://macvim.googlecode.com/svn/trunk@241 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-18 14:32:31 +00:00
Bjorn Winckler fde03ae31e Removed 'wait' parameter from [MMVimController sendMessage:]
git-svn-id: http://macvim.googlecode.com/svn/trunk@238 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-17 19:43:57 +00:00
Bjorn Winckler 0d23ed571f - Mapping to Cmd-letter now works - Cmd-enter no longer inserts Ctrl-C
git-svn-id: http://macvim.googlecode.com/svn/trunk@234 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-17 15:05:34 +00:00
Bjorn Winckler 16145f3115 General cleanup
git-svn-id: http://macvim.googlecode.com/svn/trunk@232 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-09-13 19:27:20 +00:00
Bjorn Winckler bd8505d54f Convert NSAttributedString to NSString in insertText:
git-svn-id: http://macvim.googlecode.com/svn/trunk@221 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-30 18:31:10 +00:00
Bjorn Winckler 290847c707 Marked text field is hidden whenever window loses focus
git-svn-id: http://macvim.googlecode.com/svn/trunk@212 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-29 12:03:22 +00:00
Bjorn Winckler 0616ef9225 - Marked text is displayed in a popup window - When calculating the size of a partial cursor, use the size of a cell instead of the size of the glyph under the cursor (if the glyph is wide the cursor becomes twice too wide) - performKeyEquivalent: is disabled, now uses the superclass implementation
git-svn-id: http://macvim.googlecode.com/svn/trunk@211 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-29 10:50:11 +00:00
Bjorn Winckler 19d29d252a Update the selected range whenver the cursor position changes.
git-svn-id: http://macvim.googlecode.com/svn/trunk@208 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-27 18:07:16 +00:00
Bjorn Winckler 20c400959b git-svn-id: http://macvim.googlecode.com/svn/trunk@206 96c4425d-ca35-0410-94e5-3396d5c13a8f 2007-08-27 14:24:59 +00:00
Bjorn Winckler c66692f0a6 Mouse moved events not sent unless a window is key.
git-svn-id: http://macvim.googlecode.com/svn/trunk@205 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-27 14:10:33 +00:00
Bjorn Winckler 5bc6d68fa3 The font panel is updated when the font changes.
git-svn-id: http://macvim.googlecode.com/svn/trunk@200 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-26 14:07:04 +00:00
Bjorn Winckler d3cf683553 Size of partial cursor is determined by shape_table instead of having a fixed size of 2 pixels.
git-svn-id: http://macvim.googlecode.com/svn/trunk@198 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-26 11:22:55 +00:00
Bjorn Winckler 4ebf957309 Fixed various bugs related to insertion point drawing
git-svn-id: http://macvim.googlecode.com/svn/trunk@195 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-25 20:07:01 +00:00
Bjorn Winckler a62901521e Manual drawing of the insertion point (now also works in replace mode)
git-svn-id: http://macvim.googlecode.com/svn/trunk@189 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-24 20:34:41 +00:00
Bjorn Winckler 6352ff194c Drag timer interval calculation now works as intended
git-svn-id: http://macvim.googlecode.com/svn/trunk@186 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-24 07:07:32 +00:00
Bjorn Winckler 19da3b8d4b Change algorithm for computing drag timer interval
git-svn-id: http://macvim.googlecode.com/svn/trunk@185 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-24 06:43:32 +00:00
Bjorn Winckler f4be07f6ad Added autoscrolling whilst dragging the mouse
git-svn-id: http://macvim.googlecode.com/svn/trunk@184 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-23 18:58:37 +00:00
Bjorn Winckler 0301e9bad8 - Now possible to have 'openFiles' events to open the files in tabs in the topmost window by enabling MMOpenFilesInTabsKey user deafult - Removed MMStatuslineOffKey user default
git-svn-id: http://macvim.googlecode.com/svn/trunk@182 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-23 16:20:09 +00:00
Bjorn Winckler fdc0627d4d Mouse cursor is set to arrow when outside text view
git-svn-id: http://macvim.googlecode.com/svn/trunk@181 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-23 07:38:58 +00:00
Bjorn Winckler 4b62116002 Added mouse shape support
git-svn-id: http://macvim.googlecode.com/svn/trunk@180 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-22 18:51:49 +00:00
Bjorn Winckler 49506e8e99 Dragging text-clippings onto window now pastes text instead of trying to open file.
git-svn-id: http://macvim.googlecode.com/svn/trunk@177 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-22 16:22:32 +00:00
Bjorn Winckler 6a500c45ba - Ctrl-C is passed on to Vim and handled there (does not send SIGINT) - Cmd-. no longer sends SIGINT
git-svn-id: http://macvim.googlecode.com/svn/trunk@175 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-22 15:56:31 +00:00
Bjorn Winckler 0592ddc98f Showing arrow cursor instead of ibeam cursor
git-svn-id: http://macvim.googlecode.com/svn/trunk@167 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-20 17:53:44 +00:00
Bjorn Winckler 3c50385282 - Request/reply timeout set on root connection object - Check for unresponsive Vim processes in applicationShouldTerminate: and present alert if any are detectd - Send SIGINT to all Vim processes in applicationWillTerminate: - Started adding support for 'enc' (set MM_ENABLE_CONV in MacVim.h) - Cmd-. sends SIGINT to Vim - Use @try/@catch for starRegisterToPasteboard: calls - Removed starRegisterFromPasteboard: message
git-svn-id: http://macvim.googlecode.com/svn/trunk@163 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-19 14:47:17 +00:00
Bjorn Winckler e4813adad0 Fixed out of range exception in insertText:
git-svn-id: http://macvim.googlecode.com/svn/trunk@150 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-17 09:11:31 +00:00
Bjorn Winckler b3ff443cd4 Ctrl-C is intercepted in MacVim and sends SIGINT to Vim process.
git-svn-id: http://macvim.googlecode.com/svn/trunk@149 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-17 07:22:52 +00:00
Bjorn Winckler 5e9bd1011d Keypad enter no longer conflicts with Ctrl-C (fixing Ctrl-C bug)
git-svn-id: http://macvim.googlecode.com/svn/trunk@137 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-08-14 17:18:25 +00:00
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 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 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 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 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 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 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 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 2bb270f60c - Added support for Distributed Objects, as an alternative to NSPortMessage for communicating between processes (MM_USE_DO=0 to disable in MacVim.h) - MMWindowController, MMTextView does not communicate directly with backend anymore, instead they have to go through MMVimController sendMessage:data:wait:. - If window is closed by clicking the red button, Vim now displays a message if a buffer has been modified.
git-svn-id: http://macvim.googlecode.com/svn/trunk@20 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-28 20:19:20 +00:00
Bjorn Winckler 9ed9a9f105 Initial import
git-svn-id: http://macvim.googlecode.com/svn/trunk@5 96c4425d-ca35-0410-94e5-3396d5c13a8f
2007-07-25 07:09:26 +00:00