Description: When having horizontal split windows and cursor is on the top one, trying to autocomplete causes the cursor to jump on the lower window and stay there. If there was text before autocompletion, the text is transferred to the lower window, while also borking the undo.
Testcase:
Two files:
first.php
----------
<?php
class Foo
{
function doFoo() {}
}
----------
second.php
----------
<?php
$f = new Foo();
$f->
----------
Put the files so that the second.php is on the upper window and the
first.php is on the lower. Position the cursor after the -> mark and try
to the omnicompletion. The cursor should jump to the lower window in
insert mode.
Also if the last line is for example $f->do and you try to autocomplete,
the 'do' part is transferred to the lower window, which can't be undo'd
away.
--
Mats Rauhala
MasseR
pgpBNIGNSjoXR.pgp
Description: PGP signature
