aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_vimdoc.py
diff options
context:
space:
mode:
authorbutwerenotthereyet <58348703+butwerenotthereyet@users.noreply.github.com>2020-01-09 07:31:16 -0800
committerJustin M. Keyes <justinkz@gmail.com>2020-01-09 07:31:16 -0800
commit29b1a4761a9fadfa9de05cfd9c8aad281fc29791 (patch)
tree13323f88bb92088628c594521b849a054f886d33 /scripts/gen_vimdoc.py
parent25afa10f9277dd6148a6abb3d7577c67f479fce2 (diff)
downloadrneovim-29b1a4761a9fadfa9de05cfd9c8aad281fc29791.tar.gz
rneovim-29b1a4761a9fadfa9de05cfd9c8aad281fc29791.tar.bz2
rneovim-29b1a4761a9fadfa9de05cfd9c8aad281fc29791.zip
tabpage: disallow go-to-previous in cmdline-win #11692
After cbc8d72fde4b19176028490934ff7a447afe523c 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.
Diffstat (limited to 'scripts/gen_vimdoc.py')
0 files changed, 0 insertions, 0 deletions