neovim/test/functional/ui
Matthew Malcomson d25649fa01 undo: :earlier, g-: Set b_u_seq_cur correctly. (#6016)
Previously alternate branches were not accounted for properly, with this
change g- after an undo to a branch point works.

The current sequence number b_u_seq_cur is used in undo_time(), in
u_doit() this was calculated by subtracting one from the curhead
sequence number.

The curhead header entry represents the change that was just undone, so
the sequence number we want is that of the change we have moved to. This
is the sequence number of the undo head that is the uh_next element of
this curhead. That sequence number is not always one less than the
curhead sequence number -- there may have been an alternate branch at
this point.

Instead of subtracting one, we now directly find the sequence number of
curhead->uh_next.
2017-01-31 05:46:55 +01:00
..
bufhl_spec.lua api: Establish API naming convention. (#5344) 2016-09-17 06:30:36 +02:00
highlight_spec.lua api: Establish API naming convention. (#5344) 2016-09-17 06:30:36 +02:00
inccommand_spec.lua undo: :earlier, g-: Set b_u_seq_cur correctly. (#6016) 2017-01-31 05:46:55 +01:00
input_spec.lua Mark some functional tests as pending in Windows 2016-08-26 08:21:41 +01:00
mouse_spec.lua test: skip_fragile(), TEST_SKIP_FRAGILE 2017-01-04 04:24:18 +01:00
output_spec.lua test: Fix broken test. 2017-01-24 14:25:50 +01:00
quickfix_spec.lua highlight: Added QuickFixLine highlight group 2016-08-17 17:48:15 -04:00
screen_basic_spec.lua Merge pull request #5963 from jamessan/screen-expect-clarity 2017-01-18 15:16:07 -05:00
screen.lua coverity/133845: Negative array index read. (FP) 2017-01-23 15:49:37 +01:00
searchhl_spec.lua Mark some functional tests as pending in Windows 2016-08-26 08:21:41 +01:00
sign_spec.lua Mark some functional tests as pending in Windows 2016-08-26 08:21:41 +01:00
syntax_conceal_spec.lua build: Target luacheck HEAD. 2016-11-17 00:55:39 +01:00
wildmode_spec.lua Mark some functional tests as pending in Windows 2016-08-26 08:21:41 +01:00