<p><br>
Am 20.03.2011 17:23 schrieb "Sven Brauch" <<a href="mailto:svenbrauch@googlemail.com">svenbrauch@googlemail.com</a>>:<br>
><br>
> Hey,<br>
><br>
> thanks for your response.<br>
> When adding such a context, there was suddenly lots of problems I<br>
> couldn't identify exactly; for example, all the highlighting was gone<br>
> (probably because of the uses not being reported properly? don't<br>
> know). This is strange of course, I'd have expected nothing to happen.<br>
> Anyways, I was searching for the problem for quite a while and didn't<br>
> find anything.</p>
<p>Then it probaby wasn't integrated properly into the multiple-pass "create" it in the first pass, but you also need to match it in the following passes (like the UseBuilder).</p>
<p>> I now submitted a patch which makes it possible to force all<br>
> declarations to be direct for me. What concrete disadvantages does<br>
> that have? I already noticed I need a read lock for some operations<br>
> for which I didn't need one before; will it mainly cause a performance<br>
> decrease? From the feature point of view, everything seems to work<br>
> smoothly with this.</p>
<p>The only problem is that, in case the declaration is deleted and re-created with a differen index, then it won't be found anymore. However anyway, we try to keep the declaration-indices consistent even if a declaration was re-created, so this hopefully should not cause too much pain. You anyway should make sure that your document is reparsed if any of its dependencies has changed, so this would also mostly workaround the issue.</p>
<p>Greetings, David</p>