annotate runtime/delmenu.vim @ 30735:09a61a174259 v9.0.0702

patch 9.0.0702: incomplete testing cursor position with 'linebreak' set Commit: https://github.com/vim/vim/commit/30c0c467d6cc2a7af960ccb9002b50115b0e55cf Author: zeertzjq <zeertzjq@outlook.com> Date: Sun Oct 9 11:44:28 2022 +0100 patch 9.0.0702: incomplete testing cursor position with 'linebreak' set Problem: Incomplete testing cursor position after change with 'linebreak' set. Solution: Add a test and move test cases together. (closes #11313)
author Bram Moolenaar <Bram@vim.org>
date Sun, 09 Oct 2022 12:45:05 +0200
parents 8f0ca93857a6
children 4027cefc2aab
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " This Vim script deletes all the menus, so that they can be redefined.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Warning: This also deletes all menus defined by the user!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Maintainer: Bram Moolenaar <Bram@vim.org>
18860
ec92ccff5c8b patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
5 " Last Change: 2019 Dec 10
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 aunmenu *
14952
405309f9dd13 patch 8.1.0487: no menus specifically for the terminal window
Bram Moolenaar <Bram@vim.org>
parents: 7
diff changeset
8 tlunmenu *
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
29601
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
10 if exists('#SetupLazyloadMenus')
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
11 au! SetupLazyloadMenus
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
12 augroup! SetupLazyloadMenus
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
13 endif
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
14
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
15 if exists('#buffer_list')
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
16 au! buffer_list
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
17 augroup! buffer_list
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
18 endif
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
19
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
20 if exists('#LoadBufferMenu')
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
21 au! LoadBufferMenu
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
22 augroup! LoadBufferMenu
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
23 endif
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
24
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
25 if exists('#spellmenu')
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
26 au! spellmenu
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
27 augroup! spellmenu
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
28 endif
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
29
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
30 if exists('#SpellPopupMenu')
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
31 au! SpellPopupMenu
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
32 augroup! SpellPopupMenu
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
33 endif
8f0ca93857a6 patch 9.0.0141: "delmenu" does not remove autocmmands
Bram Moolenaar <Bram@vim.org>
parents: 18860
diff changeset
34
18860
ec92ccff5c8b patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
35 unlet! g:did_install_default_menus
ec92ccff5c8b patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
36 unlet! g:did_install_syntax_menu
ec92ccff5c8b patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
37
ec92ccff5c8b patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
38 if exists('g:did_menu_trans')
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 menutrans clear
18860
ec92ccff5c8b patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
40 unlet g:did_menu_trans
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42
18860
ec92ccff5c8b patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
43 unlet! g:find_help_dialog
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44
18860
ec92ccff5c8b patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
45 unlet! g:menutrans_fileformat_choices
ec92ccff5c8b patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
46 unlet! g:menutrans_fileformat_dialog
ec92ccff5c8b patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
47 unlet! g:menutrans_help_dialog
ec92ccff5c8b patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
48 unlet! g:menutrans_no_file
ec92ccff5c8b patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
49 unlet! g:menutrans_path_dialog
ec92ccff5c8b patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
50 unlet! g:menutrans_set_lang_to
ec92ccff5c8b patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
51 unlet! g:menutrans_spell_add_ARG_to_word_list
ec92ccff5c8b patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
52 unlet! g:menutrans_spell_change_ARG_to
ec92ccff5c8b patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
53 unlet! g:menutrans_spell_ignore_ARG
ec92ccff5c8b patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
54 unlet! g:menutrans_tags_dialog
ec92ccff5c8b patch 8.1.2416: loading menus sets v:errmsg
Bram Moolenaar <Bram@vim.org>
parents: 18053
diff changeset
55 unlet! g:menutrans_textwidth_dialog
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 " vim: set sw=2 :