|
Karsten Hopp |
1c8bb9 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
1c8bb9 |
Subject: Patch 7.4.079
|
|
Karsten Hopp |
1c8bb9 |
Fcc: outbox
|
|
Karsten Hopp |
1c8bb9 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
1c8bb9 |
Mime-Version: 1.0
|
|
Karsten Hopp |
1c8bb9 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
1c8bb9 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
1c8bb9 |
------------
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
Patch 7.4.079
|
|
Karsten Hopp |
1c8bb9 |
Problem: A script cannot detect whether 'hlsearch' highlighting is actually
|
|
Karsten Hopp |
1c8bb9 |
displayed.
|
|
Karsten Hopp |
1c8bb9 |
Solution: Add the "v:hlsearch" variable. (ZyX)
|
|
Karsten Hopp |
1c8bb9 |
Files: src/runtime/doc/eval.txt, src/eval.c, src/ex_docmd.c,
|
|
Karsten Hopp |
1c8bb9 |
src/option.c, src/screen.c, src/search.c, src/tag.c, src/vim.h,
|
|
Karsten Hopp |
1c8bb9 |
src/testdir/test101.in, src/testdir/test101.ok,
|
|
Karsten Hopp |
1c8bb9 |
src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
|
|
Karsten Hopp |
1c8bb9 |
src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
|
|
Karsten Hopp |
1c8bb9 |
src/testdir/Make_vms.mms, src/testdir/Makefile
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
diff: ../vim-7.4.078/src/runtime/doc/eval.txt: No such file or directory
|
|
Karsten Hopp |
1c8bb9 |
diff: src/runtime/doc/eval.txt: No such file or directory
|
|
Karsten Hopp |
1c8bb9 |
*** ../vim-7.4.078/src/eval.c 2013-11-05 07:12:59.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
--- src/eval.c 2013-11-08 04:11:46.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 356,361 ****
|
|
Karsten Hopp |
1c8bb9 |
--- 356,362 ----
|
|
Karsten Hopp |
1c8bb9 |
{VV_NAME("mouse_col", VAR_NUMBER), 0},
|
|
Karsten Hopp |
1c8bb9 |
{VV_NAME("operator", VAR_STRING), VV_RO},
|
|
Karsten Hopp |
1c8bb9 |
{VV_NAME("searchforward", VAR_NUMBER), 0},
|
|
Karsten Hopp |
1c8bb9 |
+ {VV_NAME("hlsearch", VAR_NUMBER), 0},
|
|
Karsten Hopp |
1c8bb9 |
{VV_NAME("oldfiles", VAR_LIST), 0},
|
|
Karsten Hopp |
1c8bb9 |
{VV_NAME("windowid", VAR_NUMBER), VV_RO},
|
|
Karsten Hopp |
1c8bb9 |
};
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 871,876 ****
|
|
Karsten Hopp |
1c8bb9 |
--- 872,878 ----
|
|
Karsten Hopp |
1c8bb9 |
hash_add(&compat_hashtab, p->vv_di.di_key);
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
set_vim_var_nr(VV_SEARCHFORWARD, 1L);
|
|
Karsten Hopp |
1c8bb9 |
+ set_vim_var_nr(VV_HLSEARCH, 1L);
|
|
Karsten Hopp |
1c8bb9 |
set_reg_var(0); /* default for v:register is not 0 but '"' */
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
#ifdef EBCDIC
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 20613,20618 ****
|
|
Karsten Hopp |
1c8bb9 |
--- 20615,20627 ----
|
|
Karsten Hopp |
1c8bb9 |
v->di_tv.vval.v_number = get_tv_number(tv);
|
|
Karsten Hopp |
1c8bb9 |
if (STRCMP(varname, "searchforward") == 0)
|
|
Karsten Hopp |
1c8bb9 |
set_search_direction(v->di_tv.vval.v_number ? '/' : '?');
|
|
Karsten Hopp |
1c8bb9 |
+ #ifdef FEAT_SEARCH_EXTRA
|
|
Karsten Hopp |
1c8bb9 |
+ else if (STRCMP(varname, "hlsearch") == 0)
|
|
Karsten Hopp |
1c8bb9 |
+ {
|
|
Karsten Hopp |
1c8bb9 |
+ no_hlsearch = !v->di_tv.vval.v_number;
|
|
Karsten Hopp |
1c8bb9 |
+ redraw_all_later(SOME_VALID);
|
|
Karsten Hopp |
1c8bb9 |
+ }
|
|
Karsten Hopp |
1c8bb9 |
+ #endif
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
return;
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
*** ../vim-7.4.078/src/ex_docmd.c 2013-07-24 15:09:37.000000000 +0200
|
|
Karsten Hopp |
1c8bb9 |
--- src/ex_docmd.c 2013-11-08 04:17:01.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 11389,11395 ****
|
|
Karsten Hopp |
1c8bb9 |
ex_nohlsearch(eap)
|
|
Karsten Hopp |
1c8bb9 |
exarg_T *eap UNUSED;
|
|
Karsten Hopp |
1c8bb9 |
{
|
|
Karsten Hopp |
1c8bb9 |
! no_hlsearch = TRUE;
|
|
Karsten Hopp |
1c8bb9 |
redraw_all_later(SOME_VALID);
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
--- 11389,11395 ----
|
|
Karsten Hopp |
1c8bb9 |
ex_nohlsearch(eap)
|
|
Karsten Hopp |
1c8bb9 |
exarg_T *eap UNUSED;
|
|
Karsten Hopp |
1c8bb9 |
{
|
|
Karsten Hopp |
1c8bb9 |
! SET_NO_HLSEARCH(TRUE);
|
|
Karsten Hopp |
1c8bb9 |
redraw_all_later(SOME_VALID);
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
*** ../vim-7.4.078/src/option.c 2013-11-06 05:26:08.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
--- src/option.c 2013-11-08 04:17:32.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 7811,7817 ****
|
|
Karsten Hopp |
1c8bb9 |
/* when 'hlsearch' is set or reset: reset no_hlsearch */
|
|
Karsten Hopp |
1c8bb9 |
else if ((int *)varp == &p_hls)
|
|
Karsten Hopp |
1c8bb9 |
{
|
|
Karsten Hopp |
1c8bb9 |
! no_hlsearch = FALSE;
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
#endif
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
--- 7811,7817 ----
|
|
Karsten Hopp |
1c8bb9 |
/* when 'hlsearch' is set or reset: reset no_hlsearch */
|
|
Karsten Hopp |
1c8bb9 |
else if ((int *)varp == &p_hls)
|
|
Karsten Hopp |
1c8bb9 |
{
|
|
Karsten Hopp |
1c8bb9 |
! SET_NO_HLSEARCH(FALSE);
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
#endif
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
*** ../vim-7.4.078/src/screen.c 2013-07-13 12:23:00.000000000 +0200
|
|
Karsten Hopp |
1c8bb9 |
--- src/screen.c 2013-11-08 04:17:48.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 7447,7453 ****
|
|
Karsten Hopp |
1c8bb9 |
{
|
|
Karsten Hopp |
1c8bb9 |
/* don't free regprog in the match list, it's a copy */
|
|
Karsten Hopp |
1c8bb9 |
vim_regfree(shl->rm.regprog);
|
|
Karsten Hopp |
1c8bb9 |
! no_hlsearch = TRUE;
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
shl->rm.regprog = NULL;
|
|
Karsten Hopp |
1c8bb9 |
shl->lnum = 0;
|
|
Karsten Hopp |
1c8bb9 |
--- 7447,7453 ----
|
|
Karsten Hopp |
1c8bb9 |
{
|
|
Karsten Hopp |
1c8bb9 |
/* don't free regprog in the match list, it's a copy */
|
|
Karsten Hopp |
1c8bb9 |
vim_regfree(shl->rm.regprog);
|
|
Karsten Hopp |
1c8bb9 |
! SET_NO_HLSEARCH(TRUE);
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
shl->rm.regprog = NULL;
|
|
Karsten Hopp |
1c8bb9 |
shl->lnum = 0;
|
|
Karsten Hopp |
1c8bb9 |
*** ../vim-7.4.078/src/search.c 2013-11-07 04:46:43.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
--- src/search.c 2013-11-08 04:18:57.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 289,295 ****
|
|
Karsten Hopp |
1c8bb9 |
/* If 'hlsearch' set and search pat changed: need redraw. */
|
|
Karsten Hopp |
1c8bb9 |
if (p_hls)
|
|
Karsten Hopp |
1c8bb9 |
redraw_all_later(SOME_VALID);
|
|
Karsten Hopp |
1c8bb9 |
! no_hlsearch = FALSE;
|
|
Karsten Hopp |
1c8bb9 |
#endif
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
--- 289,295 ----
|
|
Karsten Hopp |
1c8bb9 |
/* If 'hlsearch' set and search pat changed: need redraw. */
|
|
Karsten Hopp |
1c8bb9 |
if (p_hls)
|
|
Karsten Hopp |
1c8bb9 |
redraw_all_later(SOME_VALID);
|
|
Karsten Hopp |
1c8bb9 |
! SET_NO_HLSEARCH(FALSE);
|
|
Karsten Hopp |
1c8bb9 |
#endif
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 333,339 ****
|
|
Karsten Hopp |
1c8bb9 |
spats[1] = saved_spats[1];
|
|
Karsten Hopp |
1c8bb9 |
last_idx = saved_last_idx;
|
|
Karsten Hopp |
1c8bb9 |
# ifdef FEAT_SEARCH_EXTRA
|
|
Karsten Hopp |
1c8bb9 |
! no_hlsearch = saved_no_hlsearch;
|
|
Karsten Hopp |
1c8bb9 |
# endif
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
--- 333,339 ----
|
|
Karsten Hopp |
1c8bb9 |
spats[1] = saved_spats[1];
|
|
Karsten Hopp |
1c8bb9 |
last_idx = saved_last_idx;
|
|
Karsten Hopp |
1c8bb9 |
# ifdef FEAT_SEARCH_EXTRA
|
|
Karsten Hopp |
1c8bb9 |
! SET_NO_HLSEARCH(saved_no_hlsearch);
|
|
Karsten Hopp |
1c8bb9 |
# endif
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 1148,1154 ****
|
|
Karsten Hopp |
1c8bb9 |
if (no_hlsearch && !(options & SEARCH_KEEP))
|
|
Karsten Hopp |
1c8bb9 |
{
|
|
Karsten Hopp |
1c8bb9 |
redraw_all_later(SOME_VALID);
|
|
Karsten Hopp |
1c8bb9 |
! no_hlsearch = FALSE;
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
#endif
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
--- 1148,1154 ----
|
|
Karsten Hopp |
1c8bb9 |
if (no_hlsearch && !(options & SEARCH_KEEP))
|
|
Karsten Hopp |
1c8bb9 |
{
|
|
Karsten Hopp |
1c8bb9 |
redraw_all_later(SOME_VALID);
|
|
Karsten Hopp |
1c8bb9 |
! SET_NO_HLSEARCH(FALSE);
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
#endif
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 5561,5567 ****
|
|
Karsten Hopp |
1c8bb9 |
spats[idx].off.off = off;
|
|
Karsten Hopp |
1c8bb9 |
#ifdef FEAT_SEARCH_EXTRA
|
|
Karsten Hopp |
1c8bb9 |
if (setlast)
|
|
Karsten Hopp |
1c8bb9 |
! no_hlsearch = !hlsearch_on;
|
|
Karsten Hopp |
1c8bb9 |
#endif
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
--- 5561,5569 ----
|
|
Karsten Hopp |
1c8bb9 |
spats[idx].off.off = off;
|
|
Karsten Hopp |
1c8bb9 |
#ifdef FEAT_SEARCH_EXTRA
|
|
Karsten Hopp |
1c8bb9 |
if (setlast)
|
|
Karsten Hopp |
1c8bb9 |
! {
|
|
Karsten Hopp |
1c8bb9 |
! SET_NO_HLSEARCH(!hlsearch_on);
|
|
Karsten Hopp |
1c8bb9 |
! }
|
|
Karsten Hopp |
1c8bb9 |
#endif
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
}
|
|
Karsten Hopp |
1c8bb9 |
*** ../vim-7.4.078/src/tag.c 2013-09-05 12:06:26.000000000 +0200
|
|
Karsten Hopp |
1c8bb9 |
--- src/tag.c 2013-11-08 04:19:14.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 3330,3336 ****
|
|
Karsten Hopp |
1c8bb9 |
#ifdef FEAT_SEARCH_EXTRA
|
|
Karsten Hopp |
1c8bb9 |
/* restore no_hlsearch when keeping the old search pattern */
|
|
Karsten Hopp |
1c8bb9 |
if (search_options)
|
|
Karsten Hopp |
1c8bb9 |
! no_hlsearch = save_no_hlsearch;
|
|
Karsten Hopp |
1c8bb9 |
#endif
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
/* Return OK if jumped to another file (at least we found the file!). */
|
|
Karsten Hopp |
1c8bb9 |
--- 3330,3338 ----
|
|
Karsten Hopp |
1c8bb9 |
#ifdef FEAT_SEARCH_EXTRA
|
|
Karsten Hopp |
1c8bb9 |
/* restore no_hlsearch when keeping the old search pattern */
|
|
Karsten Hopp |
1c8bb9 |
if (search_options)
|
|
Karsten Hopp |
1c8bb9 |
! {
|
|
Karsten Hopp |
1c8bb9 |
! SET_NO_HLSEARCH(save_no_hlsearch);
|
|
Karsten Hopp |
1c8bb9 |
! }
|
|
Karsten Hopp |
1c8bb9 |
#endif
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
/* Return OK if jumped to another file (at least we found the file!). */
|
|
Karsten Hopp |
1c8bb9 |
*** ../vim-7.4.078/src/vim.h 2013-08-02 16:02:27.000000000 +0200
|
|
Karsten Hopp |
1c8bb9 |
--- src/vim.h 2013-11-08 04:16:57.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 1864,1872 ****
|
|
Karsten Hopp |
1c8bb9 |
#define VV_MOUSE_COL 51
|
|
Karsten Hopp |
1c8bb9 |
#define VV_OP 52
|
|
Karsten Hopp |
1c8bb9 |
#define VV_SEARCHFORWARD 53
|
|
Karsten Hopp |
1c8bb9 |
! #define VV_OLDFILES 54
|
|
Karsten Hopp |
1c8bb9 |
! #define VV_WINDOWID 55
|
|
Karsten Hopp |
1c8bb9 |
! #define VV_LEN 56 /* number of v: vars */
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
#ifdef FEAT_CLIPBOARD
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
--- 1864,1873 ----
|
|
Karsten Hopp |
1c8bb9 |
#define VV_MOUSE_COL 51
|
|
Karsten Hopp |
1c8bb9 |
#define VV_OP 52
|
|
Karsten Hopp |
1c8bb9 |
#define VV_SEARCHFORWARD 53
|
|
Karsten Hopp |
1c8bb9 |
! #define VV_HLSEARCH 54
|
|
Karsten Hopp |
1c8bb9 |
! #define VV_OLDFILES 55
|
|
Karsten Hopp |
1c8bb9 |
! #define VV_WINDOWID 56
|
|
Karsten Hopp |
1c8bb9 |
! #define VV_LEN 57 /* number of v: vars */
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
#ifdef FEAT_CLIPBOARD
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 2246,2249 ****
|
|
Karsten Hopp |
1c8bb9 |
--- 2247,2256 ----
|
|
Karsten Hopp |
1c8bb9 |
/* Character used as separated in autoload function/variable names. */
|
|
Karsten Hopp |
1c8bb9 |
#define AUTOLOAD_CHAR '#'
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
+ #ifdef FEAT_EVAL
|
|
Karsten Hopp |
1c8bb9 |
+ # define SET_NO_HLSEARCH(flag) no_hlsearch = (flag); set_vim_var_nr(VV_HLSEARCH, !no_hlsearch)
|
|
Karsten Hopp |
1c8bb9 |
+ #else
|
|
Karsten Hopp |
1c8bb9 |
+ # define SET_NO_HLSEARCH(flag) no_hlsearch = (flag)
|
|
Karsten Hopp |
1c8bb9 |
+ #endif
|
|
Karsten Hopp |
1c8bb9 |
+
|
|
Karsten Hopp |
1c8bb9 |
#endif /* VIM__H */
|
|
Karsten Hopp |
1c8bb9 |
*** ../vim-7.4.078/src/testdir/test101.in 2013-11-08 04:28:49.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
--- src/testdir/test101.in 2013-11-08 04:11:46.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 0 ****
|
|
Karsten Hopp |
1c8bb9 |
--- 1,45 ----
|
|
Karsten Hopp |
1c8bb9 |
+ Test for v:hlsearch vim: set ft=vim :
|
|
Karsten Hopp |
1c8bb9 |
+
|
|
Karsten Hopp |
1c8bb9 |
+ STARTTEST
|
|
Karsten Hopp |
1c8bb9 |
+ :" Last abc: Q
|
|
Karsten Hopp |
1c8bb9 |
+ :so small.vim
|
|
Karsten Hopp |
1c8bb9 |
+ :new
|
|
Karsten Hopp |
1c8bb9 |
+ :call setline(1, repeat(['aaa'], 10))
|
|
Karsten Hopp |
1c8bb9 |
+ :set hlsearch nolazyredraw
|
|
Karsten Hopp |
1c8bb9 |
+ :let r=[]
|
|
Karsten Hopp |
1c8bb9 |
+ :command -nargs=0 -bar AddR :call add(r, [screenattr(1, 1), v:hlsearch])
|
|
Karsten Hopp |
1c8bb9 |
+ /aaa
|
|
Karsten Hopp |
1c8bb9 |
+ :AddR
|
|
Karsten Hopp |
1c8bb9 |
+ :nohlsearch
|
|
Karsten Hopp |
1c8bb9 |
+ :AddR
|
|
Karsten Hopp |
1c8bb9 |
+ :let v:hlsearch=1
|
|
Karsten Hopp |
1c8bb9 |
+ :AddR
|
|
Karsten Hopp |
1c8bb9 |
+ :let v:hlsearch=0
|
|
Karsten Hopp |
1c8bb9 |
+ :AddR
|
|
Karsten Hopp |
1c8bb9 |
+ :set hlsearch
|
|
Karsten Hopp |
1c8bb9 |
+ :AddR
|
|
Karsten Hopp |
1c8bb9 |
+ :let v:hlsearch=0
|
|
Karsten Hopp |
1c8bb9 |
+ :AddR
|
|
Karsten Hopp |
1c8bb9 |
+ n:AddR
|
|
Karsten Hopp |
1c8bb9 |
+ :let v:hlsearch=0
|
|
Karsten Hopp |
1c8bb9 |
+ :AddR
|
|
Karsten Hopp |
1c8bb9 |
+ /
|
|
Karsten Hopp |
1c8bb9 |
+ :AddR
|
|
Karsten Hopp |
1c8bb9 |
+ :let r1=r[0][0]
|
|
Karsten Hopp |
1c8bb9 |
+ :" I guess it is not guaranteed that screenattr outputs always the same character
|
|
Karsten Hopp |
1c8bb9 |
+ :call map(r, 'v:val[1].":".(v:val[0]==r1?"highlighted":"not highlighted")')
|
|
Karsten Hopp |
1c8bb9 |
+ :try
|
|
Karsten Hopp |
1c8bb9 |
+ : let v:hlsearch=[]
|
|
Karsten Hopp |
1c8bb9 |
+ :catch
|
|
Karsten Hopp |
1c8bb9 |
+ : call add(r, matchstr(v:exception,'^Vim(let):E\d\+:'))
|
|
Karsten Hopp |
1c8bb9 |
+ :endtry
|
|
Karsten Hopp |
1c8bb9 |
+ :bwipeout!
|
|
Karsten Hopp |
1c8bb9 |
+ :$put=r
|
|
Karsten Hopp |
1c8bb9 |
+ :call garbagecollect(1)
|
|
Karsten Hopp |
1c8bb9 |
+ :"
|
|
Karsten Hopp |
1c8bb9 |
+ :/^start:/,$wq! test.out
|
|
Karsten Hopp |
1c8bb9 |
+ :" vim: et ts=4 isk-=\:
|
|
Karsten Hopp |
1c8bb9 |
+ :call getchar()
|
|
Karsten Hopp |
1c8bb9 |
+ ENDTEST
|
|
Karsten Hopp |
1c8bb9 |
+
|
|
Karsten Hopp |
1c8bb9 |
+ start:
|
|
Karsten Hopp |
1c8bb9 |
*** ../vim-7.4.078/src/testdir/test101.ok 2013-11-08 04:28:49.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
--- src/testdir/test101.ok 2013-11-08 04:11:46.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 0 ****
|
|
Karsten Hopp |
1c8bb9 |
--- 1,11 ----
|
|
Karsten Hopp |
1c8bb9 |
+ start:
|
|
Karsten Hopp |
1c8bb9 |
+ 1:highlighted
|
|
Karsten Hopp |
1c8bb9 |
+ 0:not highlighted
|
|
Karsten Hopp |
1c8bb9 |
+ 1:highlighted
|
|
Karsten Hopp |
1c8bb9 |
+ 0:not highlighted
|
|
Karsten Hopp |
1c8bb9 |
+ 1:highlighted
|
|
Karsten Hopp |
1c8bb9 |
+ 0:not highlighted
|
|
Karsten Hopp |
1c8bb9 |
+ 1:highlighted
|
|
Karsten Hopp |
1c8bb9 |
+ 0:not highlighted
|
|
Karsten Hopp |
1c8bb9 |
+ 1:highlighted
|
|
Karsten Hopp |
1c8bb9 |
+ Vim(let):E706:
|
|
Karsten Hopp |
1c8bb9 |
*** ../vim-7.4.078/src/testdir/Make_amiga.mak 2013-11-07 03:25:51.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
--- src/testdir/Make_amiga.mak 2013-11-08 04:22:13.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 34,40 ****
|
|
Karsten Hopp |
1c8bb9 |
test81.out test82.out test83.out test84.out test88.out \
|
|
Karsten Hopp |
1c8bb9 |
test89.out test90.out test91.out test92.out test93.out \
|
|
Karsten Hopp |
1c8bb9 |
test94.out test95.out test96.out test97.out test98.out \
|
|
Karsten Hopp |
1c8bb9 |
! test99.out test100.out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
.SUFFIXES: .in .out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
--- 34,40 ----
|
|
Karsten Hopp |
1c8bb9 |
test81.out test82.out test83.out test84.out test88.out \
|
|
Karsten Hopp |
1c8bb9 |
test89.out test90.out test91.out test92.out test93.out \
|
|
Karsten Hopp |
1c8bb9 |
test94.out test95.out test96.out test97.out test98.out \
|
|
Karsten Hopp |
1c8bb9 |
! test99.out test100.out test101.out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
.SUFFIXES: .in .out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 151,153 ****
|
|
Karsten Hopp |
1c8bb9 |
--- 151,154 ----
|
|
Karsten Hopp |
1c8bb9 |
test98.out: test98.in
|
|
Karsten Hopp |
1c8bb9 |
test99.out: test99.in
|
|
Karsten Hopp |
1c8bb9 |
test100.out: test100.in
|
|
Karsten Hopp |
1c8bb9 |
+ test101.out: test101.in
|
|
Karsten Hopp |
1c8bb9 |
*** ../vim-7.4.078/src/testdir/Make_dos.mak 2013-11-07 03:25:51.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
--- src/testdir/Make_dos.mak 2013-11-08 04:22:17.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 33,39 ****
|
|
Karsten Hopp |
1c8bb9 |
test84.out test85.out test86.out test87.out test88.out \
|
|
Karsten Hopp |
1c8bb9 |
test89.out test90.out test91.out test92.out test93.out \
|
|
Karsten Hopp |
1c8bb9 |
test94.out test95.out test96.out test98.out test99.out \
|
|
Karsten Hopp |
1c8bb9 |
! test100.out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
SCRIPTS32 = test50.out test70.out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
--- 33,39 ----
|
|
Karsten Hopp |
1c8bb9 |
test84.out test85.out test86.out test87.out test88.out \
|
|
Karsten Hopp |
1c8bb9 |
test89.out test90.out test91.out test92.out test93.out \
|
|
Karsten Hopp |
1c8bb9 |
test94.out test95.out test96.out test98.out test99.out \
|
|
Karsten Hopp |
1c8bb9 |
! test100.out test101.out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
SCRIPTS32 = test50.out test70.out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
*** ../vim-7.4.078/src/testdir/Make_ming.mak 2013-11-07 03:25:51.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
--- src/testdir/Make_ming.mak 2013-11-08 04:22:19.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 53,59 ****
|
|
Karsten Hopp |
1c8bb9 |
test84.out test85.out test86.out test87.out test88.out \
|
|
Karsten Hopp |
1c8bb9 |
test89.out test90.out test91.out test92.out test93.out \
|
|
Karsten Hopp |
1c8bb9 |
test94.out test95.out test96.out test98.out test99.out \
|
|
Karsten Hopp |
1c8bb9 |
! test100out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
SCRIPTS32 = test50.out test70.out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
--- 53,59 ----
|
|
Karsten Hopp |
1c8bb9 |
test84.out test85.out test86.out test87.out test88.out \
|
|
Karsten Hopp |
1c8bb9 |
test89.out test90.out test91.out test92.out test93.out \
|
|
Karsten Hopp |
1c8bb9 |
test94.out test95.out test96.out test98.out test99.out \
|
|
Karsten Hopp |
1c8bb9 |
! test100out test101.out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
SCRIPTS32 = test50.out test70.out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
*** ../vim-7.4.078/src/testdir/Make_os2.mak 2013-11-07 03:25:51.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
--- src/testdir/Make_os2.mak 2013-11-08 04:22:21.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 35,41 ****
|
|
Karsten Hopp |
1c8bb9 |
test81.out test82.out test83.out test84.out test88.out \
|
|
Karsten Hopp |
1c8bb9 |
test89.out test90.out test91.out test92.out test93.out \
|
|
Karsten Hopp |
1c8bb9 |
test94.out test95.out test96.out test98.out test99.out \
|
|
Karsten Hopp |
1c8bb9 |
! test100.out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
.SUFFIXES: .in .out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
--- 35,41 ----
|
|
Karsten Hopp |
1c8bb9 |
test81.out test82.out test83.out test84.out test88.out \
|
|
Karsten Hopp |
1c8bb9 |
test89.out test90.out test91.out test92.out test93.out \
|
|
Karsten Hopp |
1c8bb9 |
test94.out test95.out test96.out test98.out test99.out \
|
|
Karsten Hopp |
1c8bb9 |
! test100.out test101.out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
.SUFFIXES: .in .out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
*** ../vim-7.4.078/src/testdir/Make_vms.mms 2013-11-07 03:25:51.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
--- src/testdir/Make_vms.mms 2013-11-08 04:22:23.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 4,10 ****
|
|
Karsten Hopp |
1c8bb9 |
# Authors: Zoltan Arpadffy, <arpadffy@polarhome.com>
|
|
Karsten Hopp |
1c8bb9 |
# Sandor Kopanyi, <sandor.kopanyi@mailbox.hu>
|
|
Karsten Hopp |
1c8bb9 |
#
|
|
Karsten Hopp |
1c8bb9 |
! # Last change: 2013 Nov 07
|
|
Karsten Hopp |
1c8bb9 |
#
|
|
Karsten Hopp |
1c8bb9 |
# This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64.
|
|
Karsten Hopp |
1c8bb9 |
# Edit the lines in the Configuration section below to select.
|
|
Karsten Hopp |
1c8bb9 |
--- 4,10 ----
|
|
Karsten Hopp |
1c8bb9 |
# Authors: Zoltan Arpadffy, <arpadffy@polarhome.com>
|
|
Karsten Hopp |
1c8bb9 |
# Sandor Kopanyi, <sandor.kopanyi@mailbox.hu>
|
|
Karsten Hopp |
1c8bb9 |
#
|
|
Karsten Hopp |
1c8bb9 |
! # Last change: 2013 Nov 08
|
|
Karsten Hopp |
1c8bb9 |
#
|
|
Karsten Hopp |
1c8bb9 |
# This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64.
|
|
Karsten Hopp |
1c8bb9 |
# Edit the lines in the Configuration section below to select.
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 79,85 ****
|
|
Karsten Hopp |
1c8bb9 |
test82.out test83.out test84.out test88.out test89.out \
|
|
Karsten Hopp |
1c8bb9 |
test90.out test91.out test92.out test93.out test94.out \
|
|
Karsten Hopp |
1c8bb9 |
test95.out test96.out test97.out test98.out test99.out \
|
|
Karsten Hopp |
1c8bb9 |
! test100.out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
# Known problems:
|
|
Karsten Hopp |
1c8bb9 |
# Test 30: a problem around mac format - unknown reason
|
|
Karsten Hopp |
1c8bb9 |
--- 79,85 ----
|
|
Karsten Hopp |
1c8bb9 |
test82.out test83.out test84.out test88.out test89.out \
|
|
Karsten Hopp |
1c8bb9 |
test90.out test91.out test92.out test93.out test94.out \
|
|
Karsten Hopp |
1c8bb9 |
test95.out test96.out test97.out test98.out test99.out \
|
|
Karsten Hopp |
1c8bb9 |
! test100.out test101.out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
# Known problems:
|
|
Karsten Hopp |
1c8bb9 |
# Test 30: a problem around mac format - unknown reason
|
|
Karsten Hopp |
1c8bb9 |
*** ../vim-7.4.078/src/testdir/Makefile 2013-11-07 03:25:51.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
--- src/testdir/Makefile 2013-11-08 04:22:26.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 30,36 ****
|
|
Karsten Hopp |
1c8bb9 |
test84.out test85.out test86.out test87.out test88.out \
|
|
Karsten Hopp |
1c8bb9 |
test89.out test90.out test91.out test92.out test93.out \
|
|
Karsten Hopp |
1c8bb9 |
test94.out test95.out test96.out test97.out test98.out \
|
|
Karsten Hopp |
1c8bb9 |
! test99.out test100.out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
SCRIPTS_GUI = test16.out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
--- 30,36 ----
|
|
Karsten Hopp |
1c8bb9 |
test84.out test85.out test86.out test87.out test88.out \
|
|
Karsten Hopp |
1c8bb9 |
test89.out test90.out test91.out test92.out test93.out \
|
|
Karsten Hopp |
1c8bb9 |
test94.out test95.out test96.out test97.out test98.out \
|
|
Karsten Hopp |
1c8bb9 |
! test99.out test100.out test101.out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
SCRIPTS_GUI = test16.out
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
*** ../vim-7.4.078/src/version.c 2013-11-08 03:15:39.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
--- src/version.c 2013-11-08 04:11:08.000000000 +0100
|
|
Karsten Hopp |
1c8bb9 |
***************
|
|
Karsten Hopp |
1c8bb9 |
*** 740,741 ****
|
|
Karsten Hopp |
1c8bb9 |
--- 740,743 ----
|
|
Karsten Hopp |
1c8bb9 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
1c8bb9 |
+ /**/
|
|
Karsten Hopp |
1c8bb9 |
+ 79,
|
|
Karsten Hopp |
1c8bb9 |
/**/
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
--
|
|
Karsten Hopp |
1c8bb9 |
Corn oil comes from corn and olive oil comes from olives, so where
|
|
Karsten Hopp |
1c8bb9 |
does baby oil come from?
|
|
Karsten Hopp |
1c8bb9 |
|
|
Karsten Hopp |
1c8bb9 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
1c8bb9 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
1c8bb9 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
1c8bb9 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|