1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Commands in help files are not highlighted.
12 Solution: Allow for commands in backticks. Adjust CTRL-] to remove the
17 *** ../vim-7.3.503/src/ex_cmds.c 2012-04-05 16:04:58.000000000 +0200
18 --- src/ex_cmds.c 2012-04-25 12:51:41.000000000 +0200
21 * and re-attach to buffer, perhaps.
23 if (curwin->w_s == &(curwin->w_buffer->b_s))
24 ! curwin->w_s = &(buf->b_s);
26 curwin->w_buffer = buf;
29 * and re-attach to buffer, perhaps.
31 if (curwin->w_s == &(curwin->w_buffer->b_s))
32 ! curwin->w_s = &(buf->b_s);
34 curwin->w_buffer = buf;
45 + if (d > IObuff + 2 && d[-1] == '`')
47 + /* remove the backticks from `command` */
48 + mch_memmove(IObuff, IObuff + 1, STRLEN(IObuff));
51 + else if (d > IObuff + 3 && d[-2] == '`' && d[-1] == ',')
53 + /* remove the backticks and comma from `command`, */
54 + mch_memmove(IObuff, IObuff + 1, STRLEN(IObuff));
57 + else if (d > IObuff + 4 && d[-3] == '`'
58 + && d[-2] == '\\' && d[-1] == '.')
60 + /* remove the backticks and dot from `command`\. */
61 + mch_memmove(IObuff, IObuff + 1, STRLEN(IObuff));
68 *** ../vim-7.3.503/src/version.c 2012-04-25 12:28:05.000000000 +0200
69 --- src/version.c 2012-04-25 12:46:43.000000000 +0200
73 { /* Add new patch number below this line */
79 TIM: That is not an ordinary rabbit ... 'tis the most foul cruel and
80 bad-tempered thing you ever set eyes on.
81 ROBIN: You tit. I soiled my armour I was so scared!
82 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
84 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
85 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
86 \\\ an exciting new programming language -- http://www.Zimbu.org ///
87 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///