Hi kamaraju!
On Sa, 13 Dez 2014, kamaraju kusumanchi wrote:
> I normally hightlight a large function in a large c++ code using the
> keyboard and do :NR.
> Now, when I exit the new window using :q, I get back to the original
> window I started from. However, in the original window, the selected
> area is still highlighted in yellow.
>
> This happens only some of the times and I am not able to figure out
> why/when it happens. But when it does happen, the only way to get rid
> of the yellow highlighting is to close that particular window and
> reopen it.
>
> The Narrow Region plugin (script version 32) is downloaded from
> http://www.vim.org/scripts/script.php?script_id=3075 and I am using
> gvim 7.2 on Redhat machines.
>
> Does anyone else experience this issue? Any ideas on how to debug further?
>
> By the way, this plugin is really awesome except for this minor issue.
> Many thanks to Christian Brabandt for writing it.
Thanks for the feedback. Can you please test with the latest development
version from https://github.com/chrisbra/NrrwRgn
I think I have fixed some highlighting issues in the past and I
personally did not notice any highlighting that was left over, but then
I do not use the Narrowed Region feature as much as I used to.
Second, If you ever want to clear the highlighting, you can always use
:call clearmatches()
That fixes it and there is no need to close the window.
kind regards,
Christian
--
Was nicht originell ist, daran ist nichts gelegen, du was
originell ist, trägt immer die Gebrechen des Individuums an sich.
-- Goethe, Maximen und Reflektionen, Nr. 770
--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment