Mercurial > vim
annotate runtime/compiler/hp_acc.vim @ 33575:8fc442c731ca v9.0.2032
patch 9.0.2032: cannot get mouse click pos for tab or virt text
Commit: https://github.com/vim/vim/commit/f5a94d5165bb9e390797da50a1fa7a87df3fbee4
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sun Oct 15 10:03:30 2023 +0200
patch 9.0.2032: cannot get mouse click pos for tab or virt text
Problem: Cannot accurately get mouse clicking position when clicking on
a TAB or with virtual text.
Solution: Add a "coladd" field to getmousepos() result.
closes: #13335
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 15 Oct 2023 10:15:05 +0200 |
parents | d1e4abe8342c |
children | e1df51f68736 |
rev | line source |
---|---|
7 | 1 " Vim compiler file |
2 " Compiler: HP aCC | |
3 " Maintainer: Matthias Ulrich <matthias-ulrich@web.de> | |
557 | 4 " URL: http://www.subhome.de/vim/hp_acc.vim |
3496
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
557
diff
changeset
|
5 " Last Change: 2012 Apr 30 |
7 | 6 " |
7 " aCC --version says: "HP ANSI C++ B3910B A.03.13" | |
8 " This compiler has been tested on: | |
9 " hp-ux 10.20, hp-ux 11.0 and hp-ux 11.11 (64bit) | |
10 " | |
11 " Tim Brown's aCC is: "HP ANSI C++ B3910B A.03.33" | |
12 " and it also works fine... | |
557 | 13 " |
14 " Now suggestions by aCC are supported (compile flag aCC +w). | |
15 " Thanks to Tim Brown again!! | |
16 " | |
7 | 17 |
18 if exists("current_compiler") | |
19 finish | |
20 endif | |
21 let current_compiler = "hp_acc" | |
3496
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
557
diff
changeset
|
22 let s:keepcpo= &cpo |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
557
diff
changeset
|
23 set cpo&vim |
7 | 24 |
25 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
26 command -nargs=* CompilerSet setlocal <args> | |
27 endif | |
28 | |
29 CompilerSet errorformat=%A%trror\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m, | |
557 | 30 \%A%tarning\ (suggestion)\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m\ %#, |
7 | 31 \%A%tarning\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m\ %#, |
32 \%Z\ \ \ \ %p^%.%#, | |
33 \%-C%.%# | |
34 | |
3496
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
557
diff
changeset
|
35 let &cpo = s:keepcpo |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
557
diff
changeset
|
36 unlet s:keepcpo |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
557
diff
changeset
|
37 |
7 | 38 " vim:ts=8:sw=4:cindent |