eclim
eclim copied to clipboard
E463
why have E46:Region is guarded,cannot modify What should I do?
I'll need a lot more information than that. What were you trying to do when you got that error?
I get the exact same message. I use gvim embedded in eclipse. If the Java Code Completer finds an issue (e.g. a missing semi-colon at the end of the line), I can not modify the code in that region anymore. I get the error message: E463: Region is guarded, cannot modify
Here's a screen shot:
@ervandew I have happened to hit that issue just now and can't seem to work around it. I would be excited to fix it but I lack just a few pointers. I dug around quite some bit.
I get the exact same thing as user mickmattes above. It happens in lines that are highlighted with an error marker. I use the embedded gvim on linux.
Now, :help E463
yields this: https://github.com/vim/vim/blob/master/runtime/doc/netbeans.txt
From reading that I get the impression that the only agent that is able to introduce such a guarded region is the controller -- the counterpart in the "netbeans" :sigh: protocol. Would you agree that this is probably where to look?
Now, what is puzzling is, that I do find some mention of the netbeans protocol in the eclim vim codebase; gvim is invoked with -nb:
But, I cannot seem to find no trace of a server-side netbeans protocol implementation, and after all, it is where a guard <offset> <len>
directive as specd in the netbeans protocol doc would originate from. and that's frustrating and I would ask kindly for a pointer on where to look next.
Thanks :)
First, would you confirm that