Mercurial > vim
annotate src/testdir/gui_init.vim @ 14579:23d6d9e9ae3e v8.1.0303
patch 8.1.0303: line2byte() is wrong for last line with 'noeol'
commit https://github.com/vim/vim/commit/c26f7c60532a37a2bf0a5e69aa81081b440dfc38
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 20 22:53:04 2018 +0200
patch 8.1.0303: line2byte() is wrong for last line with 'noeol'
Problem: line2byte() is wrong for last line with 'noeol' and 'nofixeol'.
Solution: Fix off-by-one error. (Shane Harper, closes https://github.com/vim/vim/issues/3351)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 20 Aug 2018 23:00:06 +0200 |
parents | d8a550329a97 |
children | 9849df834f1d |
rev | line source |
---|---|
10944
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 " gvimrc for test_gui_init.vim |
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 |
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 if has('gui_athena') || has('gui_motif') || has('gui_gtk2') || has('gui_gtk3') |
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
4 set guiheadroom=0 |
11119
d8a550329a97
patch 8.0.0447: getting font name does not work on X11
Christian Brabandt <cb@256bit.org>
parents:
10944
diff
changeset
|
5 set guioptions+=p |
10944
4e2cdce4576c
patch 8.0.0361: GUI initialisation is not sufficiently tested
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
6 endif |