Jason Franklin wrote:
> I discovered another issue with updating the cursorline, this time
> when opening a result from the quickfix window.
>
> 1. vim --clean
> 2. Source the attached script (it's short, review first)
> 3. :.cc | wincmd p
>
> Notice that the cursorline highlighting is not updated.
>
> The following patch fixes the problem by forcing quickfix navigation
> functions to call redraw_later(SOME_VALID).
Hmm, it's not really a bug, since the cursor is never displayed in that
window. I'm sure there will be other sequences of commands that move
the cursor around and, so long as they are not typed, will not update
the cursor line in a window that isn't the current one.
If you really do want to move the cursorline highlighting, do:
:.cc | redraw | wincmd p
--
BLACK KNIGHT: I move for no man.
ARTHUR: So be it!
[hah] [parry thrust]
[ARTHUR chops the BLACK KNIGHT's left arm off]
ARTHUR: Now stand aside, worthy adversary.
BLACK KNIGHT: 'Tis but a scratch.
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.