Mercurial > vim
view src/proto/main.pro @ 8993:2085167ab1b0 v7.4.1782
commit https://github.com/vim/vim/commit/fca66003053f8c0da5161d1fe4b75b3a389934b5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 23 15:30:09 2016 +0200
patch 7.4.1782
Problem: strcharpart() does not work properly with some multi-byte
characters.
Solution: Use mb_cptr2len() instead of mb_char2len(). (Hirohito Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 23 Apr 2016 15:45:04 +0200 |
parents | 21b0a39d13ed |
children | 43b8570abbec |
line wrap: on
line source
/* main.c */ void main_loop(int cmdwin, int noexmode); void getout_preserve_modified(int exitval); void getout(int exitval); int process_env(char_u *env, int is_viminit); void mainerr_arg_missing(char_u *str); void time_push(void *tv_rel, void *tv_start); void time_pop(void *tp); void time_msg(char *mesg, void *tv_start); void server_to_input_buf(char_u *str); char_u *eval_client_expr_to_string(char_u *expr); char_u *serverConvert(char_u *client_enc, char_u *data, char_u **tofree); int toF_TyA(int c); int fkmap(int c); void conv_to_pvim(void); void conv_to_pstd(void); char_u *lrswap(char_u *ibuf); char_u *lrFswap(char_u *cmdbuf, int len); char_u *lrF_sub(char_u *ibuf); int cmdl_fkmap(int c); int F_isalpha(int c); int F_isdigit(int c); int F_ischar(int c); void farsi_fkey(cmdarg_T *cap); int arabic_shape(int c, int *ccp, int *c1p, int prev_c, int prev_c1, int next_c); /* vim: set ft=c : */