Bugs item #3182569, was opened at 2011-02-15 19:57
Message generated for change (Tracker Item Submitted) made by yarogami
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=466456&aid=3182569&group_id=52322
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Visa Putkinen (yarogami)
Assigned to: Nobody/Anonymous (nobody)
Summary: F9 completion inserts text into wrong window
Initial Comment:
(git 089726aa0662f085757c150f35cf63b624fa44f8 2011-02-14 22:27:48, Vim 7.2)
When doing ref or cite completion with F9 with multiple files open in different vim-windows, the completion might go into the wrong window. This is because Tex_CompleteWord forgets to go to the old window. The old window is saved to s:winnum at the beginning of Tex_Complete, so a simple fix is to add
exe s:winnum.'wincmd w'
to the very beginning of Tex_CompleteWord in texviewer.vim
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=466456&aid=3182569&group_id=52322
|