Mercurial > vim
view ci/if_ver-1.vim @ 24709:9d304d363ab6 v8.2.2893
patch 8.2.2893: multi-byte text in popup title shows up wrong
Commit: https://github.com/vim/vim/commit/bc869874fedf094129831836f131c64f10d98854
Author: Ralf Schandl <rakus@users.noreply.github.com>
Date: Fri May 28 14:12:14 2021 +0200
patch 8.2.2893: multi-byte text in popup title shows up wrong
Problem: Multi-byte text in popup title shows up wrong.
Solution: Use the character width instead of the byte length. (Ralf Schandl,
closes #8267, closes #8264)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 28 May 2021 14:15:03 +0200 |
parents | 0878f0fd349b |
children |
line wrap: on
line source
" Print all interface versions for Ubuntu. Part 1. if 1 execute 'source' expand('<sfile>:h') .. '/if_ver-cmd.vim' echo "*** Interface versions ***\n" echo 'Lua:' PrintVer lua print(vim.lua_version, jit and "(LuaJIT)" or "") echo 'MzScheme:' PrintVer mzscheme (display (version)) echo 'Perl:' PrintVer perl print $^V echo 'Ruby:' PrintVer ruby print RUBY_VERSION echo 'Tcl:' PrintVer tcl puts [info patchlevel] echo 'Python 2:' PrintVer python print sys.version endif