Mercurial > vim
diff src/gui_mac.c @ 5735:50dbef5e774a v7.4.212
updated for version 7.4.212
Problem: Now that the +visual feature is always enabled the #ifdefs for it
are not useful.
Solution: Remove the checks for FEAT_VISUAL.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 23 Mar 2014 15:13:05 +0100 |
parents | 04736b4030ec |
children | 5f24d6d51333 |
line wrap: on
line diff
--- a/src/gui_mac.c +++ b/src/gui_mac.c @@ -1068,11 +1068,7 @@ HandleODocAE(const AppleEvent *theAEvent } */ - -#ifdef FEAT_VISUAL reset_VIsual(); -#endif - fnames = new_fnames_from_AEDesc(&theList, &numFiles, &error); if (error) @@ -1142,7 +1138,7 @@ HandleODocAE(const AppleEvent *theAEvent /* Update the screen display */ update_screen(NOT_VALID); -#ifdef FEAT_VISUAL + /* Select the text if possible */ if (gotPosition) { @@ -1160,7 +1156,7 @@ HandleODocAE(const AppleEvent *theAEvent VIsual.col = 0; } } -#endif + setcursor(); out_flush();