Mercurial > vim
comparison src/vim.h @ 5796:f084024c0ddb v7.4.242
updated for version 7.4.242
Problem: getreg() does not distinguish between a NL used for a line break
and a NL used for a NUL character.
Solution: Add another argument to return a list. (ZyX)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 02 Apr 2014 19:55:10 +0200 |
parents | d2286df8719d |
children | 1bff71d20262 |
comparison
equal
deleted
inserted
replaced
5795:64e4633f0751 | 5796:f084024c0ddb |
---|---|
2257 /* Option types for various functions in option.c */ | 2257 /* Option types for various functions in option.c */ |
2258 #define SREQ_GLOBAL 0 /* Request global option */ | 2258 #define SREQ_GLOBAL 0 /* Request global option */ |
2259 #define SREQ_WIN 1 /* Request window-local option */ | 2259 #define SREQ_WIN 1 /* Request window-local option */ |
2260 #define SREQ_BUF 2 /* Request buffer-local option */ | 2260 #define SREQ_BUF 2 /* Request buffer-local option */ |
2261 | 2261 |
2262 /* Flags for get_reg_contents */ | |
2263 #define GREG_NO_EXPR 1 /* Do not allow expression register */ | |
2264 #define GREG_EXPR_SRC 2 /* Return expression itself for "=" register */ | |
2265 #define GREG_LIST 4 /* Return list */ | |
2266 | |
2262 /* Character used as separated in autoload function/variable names. */ | 2267 /* Character used as separated in autoload function/variable names. */ |
2263 #define AUTOLOAD_CHAR '#' | 2268 #define AUTOLOAD_CHAR '#' |
2264 | 2269 |
2265 #ifdef FEAT_EVAL | 2270 #ifdef FEAT_EVAL |
2266 # define SET_NO_HLSEARCH(flag) no_hlsearch = (flag); set_vim_var_nr(VV_HLSEARCH, !no_hlsearch) | 2271 # define SET_NO_HLSEARCH(flag) no_hlsearch = (flag); set_vim_var_nr(VV_HLSEARCH, !no_hlsearch) |