neovim/test/functional/autocmd
butwerenotthereyet 29b1a4761a tabpage: disallow go-to-previous in cmdline-win #11692
After cbc8d72fde when editing
the command in the command editing window (q:, q/, q?) it was possible
to switch to the previous tab.  Doing so put Nvim in a bad state.
Moreover, switching tabs via the other available mechanisms (gt, gT,
<C-W>gt, <C-W>gT) is not possible when in the command editing window.

Here, the behavior is prevented.  It is no longer possible to switch to
the previous tab when editing the command in the command editing window.
The solution is to share code between gt, gT, and g<Tab>.  Specifically,
goto_tabpage_lastused now calls through goto_tabpage rather than
directly calling goto_tabpage_tp.  Doing so works well because all the
validation enjoyed by gt and gT is present in goto_tabpage.
2020-01-09 07:31:16 -08:00
..
autocmd_spec.lua test: Rename meth_pcall to pcall_err 2019-09-06 17:19:07 -07:00
bufenter_spec.lua tests: use runtime from build for doc/tags with :help (#10479) 2019-08-28 22:47:54 +02:00
cmdline_spec.lua doc: fix typos 2019-11-27 22:47:25 -08:00
cursorhold_spec.lua Fix missing CursorHoldI events (#3758) 2019-07-16 01:35:43 +02:00
cursormoved_spec.lua cursormoved: add tests for CursorMoved 2019-03-29 10:58:53 +01:00
dirchanged_spec.lua DirChanged: support <buffer> (#8140) 2018-03-16 07:29:20 +01:00
filetype_spec.lua tests: use runtime from build for doc/tags with :help (#10479) 2019-08-28 22:47:54 +02:00
signal_spec.lua events: add "Signal" event #9564 2019-02-04 02:39:05 +01:00
tabclose_spec.lua API: deprecate nvim_command_output 2019-12-02 20:52:06 -08:00
tabnew_spec.lua Windows: enable more tests 2017-01-13 01:17:12 +01:00
tabnewentered_spec.lua tabpage: disallow go-to-previous in cmdline-win #11692 2020-01-09 07:31:16 -08:00
termxx_spec.lua autocmds: TermEnter, TermLeave #8550 2019-09-14 15:54:19 -07:00
textyankpost_spec.lua TextYankPost: spurious/too-early dispatch during delete #10392 2019-07-29 00:50:11 +02:00