|
Karsten Hopp |
53ee8b |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
53ee8b |
Subject: Patch 7.3.590
|
|
Karsten Hopp |
53ee8b |
Fcc: outbox
|
|
Karsten Hopp |
53ee8b |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
53ee8b |
Mime-Version: 1.0
|
|
Karsten Hopp |
53ee8b |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
53ee8b |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
53ee8b |
------------
|
|
Karsten Hopp |
53ee8b |
|
|
Karsten Hopp |
53ee8b |
Patch 7.3.590
|
|
Karsten Hopp |
53ee8b |
Problem: The '< and '> marks cannot be set directly.
|
|
Karsten Hopp |
53ee8b |
Solution: Allow setting '< and '>. (Christian Brabandt)
|
|
Karsten Hopp |
53ee8b |
Files: src/mark.c
|
|
Karsten Hopp |
53ee8b |
|
|
Karsten Hopp |
53ee8b |
|
|
Karsten Hopp |
53ee8b |
*** ../vim-7.3.589/src/mark.c 2011-02-25 15:11:17.000000000 +0100
|
|
Karsten Hopp |
53ee8b |
--- src/mark.c 2012-07-06 17:47:23.000000000 +0200
|
|
Karsten Hopp |
53ee8b |
***************
|
|
Karsten Hopp |
53ee8b |
*** 98,103 ****
|
|
Karsten Hopp |
53ee8b |
--- 98,116 ----
|
|
Karsten Hopp |
53ee8b |
return OK;
|
|
Karsten Hopp |
53ee8b |
}
|
|
Karsten Hopp |
53ee8b |
|
|
Karsten Hopp |
53ee8b |
+ #ifdef FEAT_VISUAL
|
|
Karsten Hopp |
53ee8b |
+ if (c == '<')
|
|
Karsten Hopp |
53ee8b |
+ {
|
|
Karsten Hopp |
53ee8b |
+ curbuf->b_visual.vi_start = *pos;
|
|
Karsten Hopp |
53ee8b |
+ return OK;
|
|
Karsten Hopp |
53ee8b |
+ }
|
|
Karsten Hopp |
53ee8b |
+ if (c == '>')
|
|
Karsten Hopp |
53ee8b |
+ {
|
|
Karsten Hopp |
53ee8b |
+ curbuf->b_visual.vi_end = *pos;
|
|
Karsten Hopp |
53ee8b |
+ return OK;
|
|
Karsten Hopp |
53ee8b |
+ }
|
|
Karsten Hopp |
53ee8b |
+ #endif
|
|
Karsten Hopp |
53ee8b |
+
|
|
Karsten Hopp |
53ee8b |
#ifndef EBCDIC
|
|
Karsten Hopp |
53ee8b |
if (c > 'z') /* some islower() and isupper() cannot handle
|
|
Karsten Hopp |
53ee8b |
characters above 127 */
|
|
Karsten Hopp |
53ee8b |
*** ../vim-7.3.589/src/version.c 2012-07-06 16:49:37.000000000 +0200
|
|
Karsten Hopp |
53ee8b |
--- src/version.c 2012-07-06 17:49:00.000000000 +0200
|
|
Karsten Hopp |
53ee8b |
***************
|
|
Karsten Hopp |
53ee8b |
*** 716,717 ****
|
|
Karsten Hopp |
53ee8b |
--- 716,719 ----
|
|
Karsten Hopp |
53ee8b |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
53ee8b |
+ /**/
|
|
Karsten Hopp |
53ee8b |
+ 590,
|
|
Karsten Hopp |
53ee8b |
/**/
|
|
Karsten Hopp |
53ee8b |
|
|
Karsten Hopp |
53ee8b |
--
|
|
Karsten Hopp |
53ee8b |
The primary purpose of the DATA statement is to give names to constants;
|
|
Karsten Hopp |
53ee8b |
instead of referring to pi as 3.141592653589793 at every appearance, the
|
|
Karsten Hopp |
53ee8b |
variable PI can be given that value with a DATA statement and used instead
|
|
Karsten Hopp |
53ee8b |
of the longer form of the constant. This also simplifies modifying the
|
|
Karsten Hopp |
53ee8b |
program, should the value of pi change.
|
|
Karsten Hopp |
53ee8b |
-- FORTRAN manual for Xerox Computers
|
|
Karsten Hopp |
53ee8b |
|
|
Karsten Hopp |
53ee8b |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
53ee8b |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
53ee8b |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
53ee8b |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|