Tag text objects not working?
Brought to you by:
err
I read in a feature request that tag text object commands like "cit" should already be implemented. However, they seem to do nothing for me on jVi 1.4.5/NB 7.1.1. Anyone else experiencing that?
Thank you for this awesomest of all plugins! *bow*
I 'd like to contribute in the future, as soon as I can put some time aside without pain. Meanwhile, is it possible to support your efforts with a small donation?
Daniele,
The original poster tried jVi in standalone mode (read through bug comments for how to do that) and was able to reproduce the bug. The standalone version is simpler to debug (don't have to debug all of netbeans). See in bug report starting at
https://sourceforge.net/p/jvi/bugs/163/?limit=10&page=2#1abd
for notes on the jVi code that does the tag block thing. Follow this code with a debugger to find the failure...
I notice that both you and work.flow are on 64 bit machines. I wonder...
Thank you, i verified that the current_tagblock method is reached. I'll try to see what breaks next
Could the problem be that I get to line 100 of Eval.java and n==0 (causing the break to be executed?)... I can't understand what it means though
BTW,
It means that the backwards search for a start tag, something like
<i>
failed.
Thanks very much. I think I know what's going on. As a workaround, try doing
:set rem=
and then do something like
vit
within an xml tagblock. I think it will work.
"rem" is the reMetaEscape option found at Tools>Options>jVi>Search.
This option allows regular expression character escaping that follows the standard rather than the way vim does it. The patterns used in current_tagblock use some of the characters that are escaped differently depending on the 'rem' option.
If you verify that this is the problem, then I'll look for a fix.
Yup, :set rem= does it.
Thanks, you are doing a great job with this project.
In nbvi-1.4.8