summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_menu.vim
AgeCommit message (Collapse)Author
2024-07-04patch 9.1.0525: Right release selects immediately when pum is truncated.v9.1.0525zeertzjq
Problem: Right release selects immediately when pum is truncated. Solution: Use pum_height instead of pum_size when checking click row. Don't place it above mouse row when there is more space below. (zeertzjq) fixes: #15101 closes: #15102 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-04-23patch 9.0.1480: using popup menu may leave text in the command linev9.0.1480Luuk van Baal
Problem: Using popup menu may leave text in the command line. Solution: Clear the command line if the popup menu covered it. (Luuk van Baal, closes #12286)
2023-04-14patch 9.0.1453: typos in source code and testsv9.0.1453Dominique Pelle
Problem: Typos in source code and tests. Solution: Fi the typos. (Dominique Pellé, closes #12217)
2022-12-17patch 9.0.1066: test function name is wrongv9.0.1066zeertzjq
Problem: Test function name is wrong. Solution: Rename to what is actually being tested. (closes #11712)
2022-11-13patch 9.0.0874: using freed memory when executing unmenu at more promptv9.0.0874Bram Moolenaar
Problem: Using freed memory when executing unmenu at the more prompt. Solution: Do not clear menus while listing them. (closes #11439)
2022-10-10patch 9.0.0713: <amatch> of MenuPopup event is expanded like a file namev9.0.0713zeertzjq
Problem: <amatch> of MenuPopup event is expanded like a file name. Solution: Do not expand <amatch> for MenuPopup. (closes #11328)
2022-08-05patch 9.0.0141: "delmenu" does not remove autocmmandsv9.0.0141zeertzjq
Problem: "delmenu" does not remove autocmmands. Running menu test function alone fails. Solution: Delete autocommands Make sure there is at least one menu. (closes #10848)
2022-06-29patch 9.0.0009: going past the end of a menu item with only modifierv9.0.0009Bram Moolenaar
Problem: Going past the end of a menu item with only modifier. Solution: Check for NUL.
2021-09-30patch 8.2.3459: Vim9: need more tests for empty string argumentsv8.2.3459Yegappan Lakshmanan
Problem: Vim9: need more tests for empty string arguments. Solution: Add more tests. Also use empty argument with menu_info() to get the top-level menu names. (Yegappan Lakshmanan, closes #8925)
2020-12-18patch 8.2.2160: various typosv8.2.2160Bram Moolenaar
Problem: Various typos. Solution: Fix spelling mistakes. (closes #7494)
2020-08-12patch 8.2.1432: various inconsistencies in test filesv8.2.1432Bram Moolenaar
Problem: Various inconsistencies in test files. Solution: Add modelines where they were missing. Use Check commands instead of silently skipping over tests. Adjust indents and comments. (Ken Takata, closes #6695)
2020-07-11patch 8.2.1183: assert_fails() checks the last error messagev8.2.1183Bram Moolenaar
Problem: assert_fails() checks the last error message. Solution: Check the first error, it is more relevant. Fix all the tests that rely on the old behavior.
2020-04-26patch 8.2.0644: insufficient testing for invalid function argumentsv8.2.0644Bram Moolenaar
Problem: Insufficient testing for invalid function arguments. Solution: Add more tests. (Yegappan Lakshmanan, closes #5988)
2020-03-29patch 8.2.0478: new buffers are not added to the Buffers menuv8.2.0478Bram Moolenaar
Problem: New buffers are not added to the Buffers menu. Solution: Turn number into string. (Yee Cheng Chin, closes #5864)
2020-03-19patch 8.2.0413: buffer menu does not handle special buffers properlyv8.2.0413Bram Moolenaar
Problem: Buffer menu does not handle special buffers properly. Solution: Keep a dictionary with buffer names to reliably keep track of entries. Also trigger BufFilePre and BufFilePost for command-line and terminal buffers when the name changes.
2020-03-15patch 8.2.0385: menu functionality insufficiently testedv8.2.0385Bram Moolenaar
Problem: Menu functionality insufficiently tested. Solution: Add tests. Add menu_info(). (Yegappan Lakshmanan, closes #5760)
2020-02-25patch 8.2.0316: ex_getln.c code has insufficient test coveragev8.2.0316Bram Moolenaar
Problem: ex_getln.c code has insufficient test coverage. Solution: Add more tests. Fix a problem. (Yegappan Lakshmanan, closes #5693)
2019-12-27patch 8.2.0049: command line completion not fully testedv8.2.0049Bram Moolenaar
Problem: Command line completion not fully tested. Solution: Add more test cases. Make help sorting stable. (Dominique Pelle, closes #5402)
2019-12-10patch 8.1.2416: loading menus sets v:errmsgv8.1.2416Bram Moolenaar
Problem: Loading menus sets v:errmsg. Solution: Avoid setting v:errmsg and add a test for that. (Jason Franklin)
2019-06-15patch 8.1.1544: some balloon tests don't run when they canv8.1.1544Bram Moolenaar
Problem: Some balloon tests don't run when they can. Solution: Split GUI balloon tests off into a separate file. (Ozaki Kiichi, closes #4538) Change the feature check into a command for consistency.
2019-06-13patch 8.1.1524: tests are silently skippedv8.1.1524Bram Moolenaar
Problem: Tests are silently skipped. Solution: Throw an exception for skipped tests in more places.
2019-05-05patch 8.1.1274: after :unmenu can still execute the menu with :emenuv8.1.1274Bram Moolenaar
Problem: After :unmenu can still execute the menu with :emenu. Solution: Do not execute a menu that was disabled for the specified mode.
2018-10-19patch 8.1.0487: no menus specifically for the terminal windowv8.1.0487Bram Moolenaar
Problem: No menus specifically for the terminal window. Solution: Add :tlmenu. (Yee Cheng Chin, closes #3439) Add a menu test.
2017-03-18patch 8.0.0478: tests use assert_true(0) and assert_false(1) to report errorsv8.0.0478Bram Moolenaar
Problem: Tests use assert_true(0) and assert_false(1) to report errors. Solution: Use assert_report().
2017-03-04patch 8.0.0413: menu test fails on MS-Windows using gvimv8.0.0413Bram Moolenaar
Problem: Menu test fails on MS-Windows using gvim. Solution: First delete the English menus.
2017-03-04patch 8.0.0412: menu test fails on MS-Windowsv8.0.0412Bram Moolenaar
Problem: Menu test fails on MS-Windows. Solution: Use a menu entry with only ASCII characters.
2017-03-04patch 8.0.0411: menu translations don't match when case is changed.v8.0.0411Bram Moolenaar
Problem: We can't change the case in menu entries, it breaks translations. Solution: Ignore case when looking up a menu translation.
2016-01-03patch 7.4.1046v7.4.1046Bram Moolenaar
Problem: No test coverage for menus. Solution: Load the standard menus and check there is no error.