Mercurial > vim
view runtime/tools/mve.awk @ 17194:f4c6c1bc5e41 v8.1.1596
patch 8.1.1596: when resizing the screen may draw popup in wrong position
commit https://github.com/vim/vim/commit/c2a43165004f944a909428e80700130745c08ed0
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 26 01:03:53 2019 +0200
patch 8.1.1596: when resizing the screen may draw popup in wrong position
Problem: When resizing the screen may draw popup in wrong position. (Masato
Nishihata)
Solution: Check the popup is not outside of the screen. (fixes #4592)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 26 Jun 2019 01:15:17 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
#!/usr/bin/nawk -f # # Change "nawk" to "awk" or "gawk" if you get errors. # # Make Vim Errors # Processes errors from cc for use by Vim's quick fix tools # specifically it translates the ---------^ notation to a # column number # BEGIN { FS="[:,]" } /^cfe/ { file=$3 msg=$5 split($4,s," ") line=s[2] } # You may have to substitute a tab character for the \t here: /^[\t-]*\^/ { p=match($0, ".*\\^" ) col=RLENGTH-2 printf("%s, line %d, col %d : %s\n", file,line,col,msg) }