Mercurial > vim
annotate READMEdir/Contents @ 33549:bfe07ef45143 v9.0.2022
patch 9.0.2022: getmousepos() returns wrong index for TAB char
Commit: https://github.com/vim/vim/commit/b583eda7031b1f6a3469a2537d0c10ca5fa5568e
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat Oct 14 11:32:28 2023 +0200
patch 9.0.2022: getmousepos() returns wrong index for TAB char
Problem: When clicking in the middle of a TAB, getmousepos() returns
the column of the next char instead of the TAB.
Solution: Break out of the loop when the vcol to find is inside current
char. Fix invalid memory access when calling virtcol2col() on
an empty line.
closes: #13321
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 14 Oct 2023 11:45:04 +0200 |
parents | f8116058ca76 |
children | 4635e43f2c6f |
rev | line source |
---|---|
8639
91286ec46e97
commit https://github.com/vim/vim/commit/4d581a826c54cecdde3001fdf0a5becf67e54cfd
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 Vim Vi IMproved. A clone of the UNIX text editor Vi. Very useful |
91286ec46e97
commit https://github.com/vim/vim/commit/4d581a826c54cecdde3001fdf0a5becf67e54cfd
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 for editing programs and other plain ASCII text. Full Vi |
91286ec46e97
commit https://github.com/vim/vim/commit/4d581a826c54cecdde3001fdf0a5becf67e54cfd
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 compatibility and includes all Ex commands. Extra features |
91286ec46e97
commit https://github.com/vim/vim/commit/4d581a826c54cecdde3001fdf0a5becf67e54cfd
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 above Vi: Multilevel undo, multiple windows, syntax |
91286ec46e97
commit https://github.com/vim/vim/commit/4d581a826c54cecdde3001fdf0a5becf67e54cfd
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
5 highlighting, command line history, folding, improved command |
91286ec46e97
commit https://github.com/vim/vim/commit/4d581a826c54cecdde3001fdf0a5becf67e54cfd
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 line editing, command typeahead display, command to display |
91286ec46e97
commit https://github.com/vim/vim/commit/4d581a826c54cecdde3001fdf0a5becf67e54cfd
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
7 yank buffers, possibility to edit binary files, file name |
91286ec46e97
commit https://github.com/vim/vim/commit/4d581a826c54cecdde3001fdf0a5becf67e54cfd
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
8 stack, support for Manx QuickFix and other compiler's error |
91286ec46e97
commit https://github.com/vim/vim/commit/4d581a826c54cecdde3001fdf0a5becf67e54cfd
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
9 messages, shows current file name in window title, on-line |
91286ec46e97
commit https://github.com/vim/vim/commit/4d581a826c54cecdde3001fdf0a5becf67e54cfd
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
10 help, rectangular cut/paste, etc., etc., etc... |
91286ec46e97
commit https://github.com/vim/vim/commit/4d581a826c54cecdde3001fdf0a5becf67e54cfd
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
11 |
29314 | 12 Version 9.0. Also runs under UNIX, MS-Windows, Mac, etc. |
13 vim90rt.tgz contains the documentation and syntax files. | |
14 vim90bin.tgz contains the binaries. | |
15 vim90src.tgz contains the sources. | |
8639
91286ec46e97
commit https://github.com/vim/vim/commit/4d581a826c54cecdde3001fdf0a5becf67e54cfd
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
16 Author: Bram Moolenaar et al. |
91286ec46e97
commit https://github.com/vim/vim/commit/4d581a826c54cecdde3001fdf0a5becf67e54cfd
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
17 |
91286ec46e97
commit https://github.com/vim/vim/commit/4d581a826c54cecdde3001fdf0a5becf67e54cfd
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
18 |
91286ec46e97
commit https://github.com/vim/vim/commit/4d581a826c54cecdde3001fdf0a5becf67e54cfd
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
19 Xxd Hex dumper and reader. Can be used to view files as hex, edit |
91286ec46e97
commit https://github.com/vim/vim/commit/4d581a826c54cecdde3001fdf0a5becf67e54cfd
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
20 them and write them back. Can also be used to patch files. |
91286ec46e97
commit https://github.com/vim/vim/commit/4d581a826c54cecdde3001fdf0a5becf67e54cfd
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
21 |
29314 | 22 Version 2022 Jan 14 |
8639
91286ec46e97
commit https://github.com/vim/vim/commit/4d581a826c54cecdde3001fdf0a5becf67e54cfd
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
23 Author: Juergen Weigert |