Patch 7.4.1900
Problem:    Using CTRL-] in the help on "{address}." doesn't work.
Solution:   Recognize an item in {}. (Hirohito Higashi, closes #814)
Files:      src/ex_cmds.c, src/testdir/test_help_tagjump.vim


*** ../vim-7.4.1899/src/ex_cmds.c       2016-04-14 13:51:16.207410946 +0200
--- src/ex_cmds.c       2016-06-04 22:24:10.093892662 +0200
***************
*** 6216,6221 ****
--- 6216,6224 ----
             */
            if (*s == '\'' && s > arg && *arg == '\'')
                break;
+           /* Also '{' and '}'. */
+           if (*s == '}' && s > arg && *arg == '{')
+               break;
          }
          *d = NUL;
  
*** ../vim-7.4.1899/src/testdir/test_help_tagjump.vim   2016-05-07 
22:28:49.416042829 +0200
--- src/testdir/test_help_tagjump.vim   2016-06-04 22:24:10.093892662 +0200
***************
*** 25,30 ****
--- 25,40 ----
    call assert_equal("help", &filetype)
    call assert_true(getline('.') =~ '\*arglistid()\*')
    helpclose
+ 
+   exec "help! 'autoindent'."
+   call assert_equal("help", &filetype)
+   call assert_true(getline('.') =~ "\\*'autoindent'\\*")
+   helpclose
+ 
+   exec "help! {address}."
+   call assert_equal("help", &filetype)
+   call assert_true(getline('.') =~ '\*{address}\*')
+   helpclose
  endfunc
  
  let s:langs = ['en', 'ab', 'ja']
*** ../vim-7.4.1899/src/version.c       2016-06-04 22:18:08.337897639 +0200
--- src/version.c       2016-06-04 22:31:15.885886805 +0200
***************
*** 755,756 ****
--- 755,758 ----
  {   /* Add new patch number below this line */
+ /**/
+     1900,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
48. You get a tatoo that says "This body best viewed with Netscape 3.1 or
    higher."

 /// 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui