On Fr, 09 Aug 2013, Gary Johnson wrote:
> In your video, you paged forward and back using ^F and ^B. I just
> tried that and it works for me, too. However, scrolling forward and
Ah, from your initial description it wasn't clear to me, that scrolling
actually means using up/down and not paging forward. (for me, paging is
also scrolling).
> back using ^E and ^Y or enough j's and k's results in the faulty
> behavior.
This also happens when using :call matchadd('Error', '\.c\n\zs.*')
The problem (when using the matchadd call) is this condition from
win_line()
,----
| if (shl->lnum != 0 && shl->lnum <= lnum)
| {
`----
The usage of \zs lets it look like there is no match, since shl->lnum==0
I suspect something similar for the syntax highlighting. I don't know a
fix though.
regards,
Christian
--
"Denn das Gesetz haben die Menschen sich selbst auferlegt, ohne
zu wissen, über was sie Gesetze gaben; aber die Natur haben alle
Götter geordnet."
-- Goethe, Maximen und Reflektionen, Nr. 103
--
--
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/groups/opt_out.