krischik / vim-scripts

Automatically exported from code.google.com/p/vim-scripts
GNU General Public License v3.0
1 stars 0 forks source link

Tail doesnt work properly in splits if a preview window is already open. #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a preview window using either :pedit, :ptag, :STail commands or by 
using omnicomplete with preview in completeopt.
2. Use the :STail or :Tail command to create a tail window
3. Watch it fail

What is the expected output? What do you see instead?
I expect the tail to use the already open window to show the tail output.

Instead it returns the following error:

    Error detected while processing function tail#Setup:
    line    9:
    E590: A preview window already exists: previewwindow

and opens the Tail in a normal window which cannot be closed using :pclose or 
refreshed with tail#Refresh() when focus is on any other window.

What version of the product are you using? On what operating system?
Tail-Bundle 3.0
GVim 7.4.282 
Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by talha.ah...@gmail.com on 19 May 2014 at 6:30