Problem: When splitting a window the changelist position is wrong.
Solution: Copy the changelist position. (Jacob Niehus)
test_listlbr.out \
test_listlbr_utf8.out \
test_qf_title.out \
+ test_changelist.out \
test_eval.out \
test_options.out
test_listlbr.out: test_listlbr.in
test_listlbr_utf8.out: test_listlbr_utf8.in
test_qf_title.out: test_qf_title.in
+test_changelist.out: test_changelist.in
test_eval.out: test_eval.in
test_options.out: test_options.in
test_listlbr.out \
test_listlbr_utf8.out \
test_qf_title.out \
+ test_changelist.out \
test_eval.out \
test_options.out
test_listlbr.out \
test_listlbr_utf8.out \
test_qf_title.out \
+ test_changelist.out \
test_eval.out \
test_options.out
test100.out test101.out test102.out test103.out test104.out \
test105.out test106.out test107.out \
test_autoformat_join.out \
+ test_changelist.out \
test_eval.out \
test_breakindent.out \
test_listlbr.out \
# Authors: Zoltan Arpadffy, <arpadffy@polarhome.com>
# Sandor Kopanyi, <sandor.kopanyi@mailbox.hu>
#
-# Last change: 2014 Jul 23
+# Last change: 2014 Jul 30
#
# This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64.
# Edit the lines in the Configuration section below to select.
test_listlbr.out \
test_listlbr_utf8.out \
test_qf_title.out \
+ test_changelist.out \
test_eval.out \
test_options.out
test_listlbr.out \
test_listlbr_utf8.out \
test_qf_title.out \
+ test_changelist.out \
test_eval.out \
test_options.out
--- /dev/null
+Test changelist position after splitting window
+Set 'undolevels' to make changelist for sourced file
+
+STARTTEST
+:so small.vim
+Gkylp:set ul=100
+Gylp:set ul=100
+gg
+:vsplit
+:try
+: normal g;
+: normal ggVGcpass\e
+:catch
+: normal ggVGcfail\e
+:finally
+: %w! test.out
+:endtry
+:qa!
+ENDTEST
+
+1
+2
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 386,
/**/
385,
/**/
p_wh = size;
}
+#ifdef FEAT_JUMPLIST
+ /* Keep same changelist position in new window. */
+ wp->w_changelistidx = oldwin->w_changelistidx;
+#endif
+
/*
* make the new window the current window
*/