aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_tabpage.vim
Commit message (Collapse)AuthorAge
* vim-patch:8.2.0866: not enough tests for buffer writingzeertzjq2022-11-05
| | | | | | | | Problem: Not enough tests for buffer writing. Solution: Add more tests. Use CheckRunVimInTerminal in more places. (Yegappan Lakshmanan, closes vim/vim#6167) https://github.com/vim/vim/commit/494e9069cb32620f7688a7cb128a3feff827639e
* vim-patch:8.2.1022: various parts of code not covered by testszeertzjq2022-11-04
| | | | | | | | | | Problem: Various parts of code not covered by tests. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6300) https://github.com/vim/vim/commit/845e0ee59430eac07e74b6cb92020e420d17953d Omit test_iminsert.vim: the commit that created this file was N/A. Omit test_viminfo.vim: the added tests are N/A.
* vim-patch:8.2.1799: some Normal mode commands not fully testedzeertzjq2022-08-15
| | | | | | | | Problem: Some Normal mode commands not fully tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#7073) https://github.com/vim/vim/commit/d1ad99b65470d3e754f6a0588a6b0dc2214a1eab Cherry-pick test_registers.vim change from patch 8.2.0644.
* vim-patch:8.2.1280: Ex command error cannot contain an argumentzeertzjq2022-08-07
| | | | | | | | | Problem: Ex command error cannot contain an argument. Solution: Add ex_errmsg() and translate earlier. Use e_trailing_arg where possible. https://github.com/vim/vim/commit/8930caaa1a283092aca81fdbc3fcf15c7eadb197 Remove duplicate test file 062_tab_pages_spec.lua
* vim-patch:8.2.1061: insufficient testing for src/window.c (#19384)zeertzjq2022-07-16
| | | | | | | Problem: Insufficient testing for src/window.c. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6345) https://github.com/vim/vim/commit/5d3c9f8c2a0fc29ba4ac8e0f052378b64d9e3dd3 Cherry-pick test_tagjump.vim changes from patch 8.1.2373.
* vim-patch:8.2.0270: some code not covered by testszeertzjq2022-07-12
| | | | | | Problem: Some code not covered by tests. Solution: Add test cases. (Yegappan Lakshmanan, closes vim/vim#5649) https://github.com/vim/vim/commit/bc2b71d44a0b90b6aeb3534a76912fccbe5577df
* vim-patch:8.2.1413: previous tab page not usable from an Ex commandSean Dewar2022-03-14
| | | | | | | | | | | | | Problem: Previous tab page not usable from an Ex command. Solution: Add the "#" argument for :tabnext et al. (Yegappan Lakshmanan, closes vim/vim#6677) https://github.com/vim/vim/commit/94f4ffa7704921a3634e56b878e6dc362bc3d508 Do not rename old_curtab to prev_tp in win_new_tabpage, this can be confused with the previous tabpage (`:tabprevious`). Cherry-pick ex_errmsg from v8.2.1280. https://github.com/vim/vim/commit/8930caaa1a283092aca81fdbc3fcf15c7eadb197
* vim-patch:8.2.1401: cannot jump to the last used tabpageSean Dewar2022-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot jump to the last used tabpage. Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes vim/vim#6661, neovim #11626) https://github.com/vim/vim/commit/62a232506d06f6d1b3b7271801c907d6294dfe84 Nvim implemented this feature before Vim, but Vim made some useful changes (e.g: beeping on failure). Port the changes to closer match Vim (also makes porting future patches easier). Also note that because CHECK_CMDWIN was added to goto_tabpage_tp, there is no need to do the extra work with tabpage_index and goto_tabpage inside goto_tabpage_lastused to fix cmdwin issues any more (#11692). Note that while goto_tabpage_tp doesn't check for textlock like goto_tabpage does, it shouldn't matter as it is already checked for earlier. Add tags for <C-Tab> to tabpage.txt, and refer to <C-Tab> over CTRL-Tab to be consistent with other docs like the patch. Remove mention of "previous tabpage" (it can be confused with the tabpage to the left, e.g: `:tabprevious`). Similarly, don't rename old_curtab to last_tab in enter_tabpage (it might be confused with the right-most tabpage, e.g: `:tablast`). Cherry-pick Test_tabpage change from v8.2.0634. https://github.com/vim/vim/commit/92b83ccfda7a1d654ccaaf161a9c8a8e01fbcf76
* feat(eval/method): partially port v8.1.1996Sean Dewar2021-11-26
| | | | | | | | | | | | | | | | Problem: More functions can be used as methods. Solution: Make various functions usable as a method. https://github.com/vim/vim/commit/aad222c9c9a1e4fe6ae5a1fe95bb084619be0e65 Partial port as this does not include eval.txt change for listener_add. Cherry-pick eval.txt changes for: - bufadd from v8.1.1626: https://github.com/vim/vim/commit/5ca1ac373ae62b37152cb6f85916b402eda520a5 - setloclist and setqflist headers from: https://github.com/vim/vim/commit/b0d45e7f5354375edd02afafde3bd37dac1515ff Correct eval.txt typo for settabwinvar method call (matches latest Vim).
* vim-patch:8.1.1193: typos and small problems in test filesJan Edmund Lazo2021-03-30
| | | | | | | | | Problem: Typos and small problems in test files. Solution: Small improvements. https://github.com/vim/vim/commit/037c54f261818439755d56e318da068f97997fb5 Include unmerged patch v8.0.1200 changes because this patch depends on `set beloff=all` removed in 1 test.
* vim-patch:8.2.1025: tabpage menu and tabline not sufficiently testedJan Edmund Lazo2020-12-23
| | | | | | | | | Problem: Tabpage menu and tabline not sufficiently tested. Solution: Add tests. (Yegappan Lakshmanan, closes vim/vim#6307) https://github.com/vim/vim/commit/8c524f76ebd43f006e765534765b595de7095f12 Cherry-pick Test_entering_digraph() from patch v8.2.1022. Cherry-pick :CheckGui from patch v8.1.1826.
* vim-patch:8.2.0116: BufEnter autocmd not triggered on ":tab drop"Jan Edmund Lazo2020-12-23
| | | | | | | | | | | | | | | Problem: BufEnter autocmd not triggered on ":tab drop". (Andy Stewart) Solution: Decrement autocmd_no_enter for the last file. (closes vim/vim#1660, closes vim/vim#5473) https://github.com/vim/vim/commit/c10b521628f2b073fa231defa26f23937c91724d N/A patches for version.c: vim-patch:8.1.1805: au_did_filetype is declared twice Problem: Au_did_filetype is declared twice. Solution: Remove it from autocmd.c. (closes vim/vim#4767) https://github.com/vim/vim/commit/6cd57d44669c02af9195f5601b882edd435b47e8
* test/old: cherry-pick patch v8.1.1955 changes for test_trycatch.vimJan Edmund Lazo2020-12-11
|
* vim-patch:8.1.1581: shared functions for testing are disorganisedJan Edmund Lazo2020-05-03
| | | | | | Problem: Shared functions for testing are disorganised. Solution: Group finctions in script files. (Ozaki Kiichi, closes vim/vim#4573) https://github.com/vim/vim/commit/7a39dd7f00239059ce34660611589b26126a550c
* tabpage: :tabs indicates previous tabpage's curwinWe're Yet2020-01-19
|
* vim-patch:8.1.1483: skipped tests are not properly listedDaniel Hahler2019-08-22
| | | | | | | | | | Problem: Skipped tests are not properly listed. Solution: Throw a "Skipped" exception instead of using ":finish" or ":return". https://github.com/vim/vim/commit/5d30ff19648d2ff0696cea97582b902f6a4ec0ba Skips quite some (N/A) tests. vim-patch:8.1.0503: missing change to diff test (included in cf1ffa916)
* vim-patch:8.1.1286: running tests leaves XTest_tabpage_cmdheight file behindJan Edmund Lazo2019-05-06
| | | | | | Problem: Running tests leaves XTest_tabpage_cmdheight file behind. Solution: Delete the right file. (closes vim/vim#4350) https://github.com/vim/vim/commit/4fa06870e5d347c30fe55290dab87e494c8aa06a
* vim-patch:8.1.1242: no cmdline redraw when tabpages have different 'cmdheight'Jan Edmund Lazo2019-05-02
| | | | | | | Problem: No cmdline redraw when tabpages have different 'cmdheight'. Solution: redraw the command line when 'cmdheight' changes when switching tabpages. (closes vim/vim#4321) https://github.com/vim/vim/commit/0fef0aeb1ca6c85df0a656a70b6ca49c34563c89
* vim-patch:8.1.0794: white space before " -Ntabmove" causes problemsJan Edmund Lazo2019-05-02
| | | | | | Problem: White space before " -Ntabmove" causes problems. Solution: Skip whitespace. (Ozaki Kiichi, closes vim/vim#3841) https://github.com/vim/vim/commit/82a12468bd023f5cdc5d27182bedef7881514643
* vim-patch:8.0.1508: the :drop command is not always availableJan Edmund Lazo2018-08-16
| | | | | | Problem: The :drop command is not always available. Solution: Include :drop in all builds. (Yasuhiro Matsumoto, closes vim/vim#2639) https://github.com/vim/vim/commit/5a656864a0610547da28e0c8c1649ecd1d782948
* vim-patch:8.1.0241: effect of ":tabmove N" is not clearJan Edmund Lazo2018-08-08
| | | | | | | Problem: Effect of ":tabmove N" is not clear. Solution: Add a test that shows the behavior. (Christian Brabandt, closes vim/vim#3288) https://github.com/vim/vim/commit/7cc596547a582e7bc18d91312eb674906ebdc5c2
* vim-patch:8.1.0009: tabpages insufficiently testedJan Edmund Lazo2018-08-08
| | | | | | Problem: Tabpages insufficiently tested. Solution: Add more test coverage. (Dominique Pelle, closes vim/vim#2934) https://github.com/vim/vim/commit/dbe8869c41a3b3309207a434c17db295d358e873
* vim-patch:8.0.1222: test functions interfere with each otherJustin M. Keyes2018-02-11
| | | | | | | Problem: Test functions interfere with each other. Solution: Cleanup tab pages, windows and buffers. Reset option. https://github.com/vim/vim/commit/ce11de87e26e1420703242f8e07b4fd69c4032ba
* vim-patch:8.0.0700: segfault with QuitPre autocommand closes the windowJustin M. Keyes2018-02-11
| | | | | | | | Problem: Segfault with QuitPre autocommand closes the window. (Marek) Solution: Check that the window pointer is still valid. (Christian Brabandt, closes vim/vim#1817) https://github.com/vim/vim/commit/0ea5070d79c8a13fb2403280a72f968495b0fab7
* vim-patch:8.0.0259Justin M. Keyes2017-03-22
| | | | | | | Problem: Tab commands do not handle count correctly. (Ken Hamada) Solution: Add ADDR_TABS_RELATIVE. (Hirohito Higashi) https://github.com/vim/vim/commit/2f72c70657129c16e6b0e413752a775c804f02f8
* vim-patch:7.4.2339Justin M. Keyes2017-03-22
| | | | | | | Problem: Tab page test fails when run as fake root. Solution: Check 'buftype' instead of 'filetype'. (James McCoy, closes vim/vim#1042) https://github.com/vim/vim/commit/100f5c90f4d4fb40bc3aeabc35192db371f5988f
* vim-patch:8.0.0032Justin M. Keyes2017-03-22
| | | | | | | Problem: Tests may change the input file when something goes wrong. Solution: Avoid writing the input file. https://github.com/vim/vim/commit/3e8474dd50f64c998bb665ce852f584a58dede6b
* vim-patch:8.0.0110 (#5700)Justin M. Keyes2016-12-03
| | | | | | | | Closes #5616 Problem: Drop command doesn't use existing window. Solution: Check the window width properly. (Hirohito Higashi) https://github.com/vim/vim/commit/5a030a540f4157d5c9905e3564282c92b4dcec9a
* test: Add missing test from vim-patch:7.4.2312Justin M. Keyes2016-10-26
|
* vim-patch:7.4.2309Grzegorz Milka2016-10-23
| | | | | | | | Problem: Crash when doing tabnext in a BufUnload autocmd. (Dominique Pelle) Solution: When detecting that the tab page changed, don't just abort but delete the window where w_buffer is NULL. https://github.com/vim/vim/commit/11fbc2866ccc11b4dd1726abdaf582a78ef3f743
* vim-patch:7.4.2237Grzegorz Milka2016-10-23
| | | | | | | Problem: Can't use "." and "$" with ":tab". Solution: Support a range for ":tab". (Hirohito Higashi) https://github.com/vim/vim/commit/9b7f8ce9eb3cb704f8cc14ab659bf86b1d6dc13c
* vim-patch:7.4.2227 (#5521)Grzegorz2016-10-22
Problem: Tab page tests are old style. Solution: Change into new style tests. (Hirohito Higashi) https://github.com/vim/vim/commit/1381d791478ee77c8368b89a3d4954316bf839b5