Patch 7.3.590
Problem:    The '< and '> marks cannot be set directly.
Solution:   Allow setting '< and '>. (Christian Brabandt)
Files:      src/mark.c


*** ../vim-7.3.589/src/mark.c   2011-02-25 15:11:17.000000000 +0100
--- src/mark.c  2012-07-06 17:47:23.000000000 +0200
***************
*** 98,103 ****
--- 98,116 ----
        return OK;
      }
  
+ #ifdef FEAT_VISUAL
+     if (c == '<')
+     {
+       curbuf->b_visual.vi_start = *pos;
+       return OK;
+     }
+     if (c == '>')
+     {
+       curbuf->b_visual.vi_end = *pos;
+       return OK;
+     }
+ #endif
+ 
  #ifndef EBCDIC
      if (c > 'z')          /* some islower() and isupper() cannot handle
                                characters above 127 */
*** ../vim-7.3.589/src/version.c        2012-07-06 16:49:37.000000000 +0200
--- src/version.c       2012-07-06 17:49:00.000000000 +0200
***************
*** 716,717 ****
--- 716,719 ----
  {   /* Add new patch number below this line */
+ /**/
+     590,
  /**/

-- 
The primary purpose of the DATA statement is to give names to constants;
instead of referring to pi as 3.141592653589793 at every appearance, the
variable PI can be given that value with a DATA statement and used instead
of the longer form of the constant.  This also simplifies modifying the
program, should the value of pi change.
        -- FORTRAN manual for Xerox Computers

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui