Am 20.04.2009 14:04, John Beckett schrieb: > Dennis Benzinger wrote: >> The problem is that when I press F4 the output is sometimes >> printed without clearing the previous output. > > Wild guess: Somehow the redir is interfering with your echo (I > know it shouldn't). I would start by trying a ":redraw" command, > possibly just before the function returns. > [...]
Thanks! Adding redraw before the return solved the problem. Even the leading whitespace is gone now. Still need to check if the problem is caused by the redir. Regards, Dennis Benzinger --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
