Community
Participate
Working Groups
Make sure this is done before bug 322044 such that you can reproduce it. Steps to reproduce: 1. Write the following query: let $(: :)x := 123 return 1 2. Delete the XQuery comment and DON'T save the editor let $x := 123 return 1 An underlining is still shown between '=' and '1'. This disappears when the editor is saved.
Oops didn't see this bug before fixing 322044. There is indeed a refresh problem, which is I think related to whitespace. I now need another scenario to reproduce this bug.
I found another one although not as relevant as the previous one. (It might be easier to revert to that version before the commit of the dependent bug and solve this problem as well.) So the new example: ----------------------- declare function foo($s as empty-sequence()) { 1 }; 2 ----------------------- a wrong error is shown at the end of the first line (because of Bug 322043). To make this query correct one has to write "local:" in front of the function name. This shifts the previous error with 6 positions instead of refreshing it properly.
This is a SSE bug. Temporarily fixed it by copying private methods into XQDTLineStyleProvider.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=323024
Makes it to the 0.8M1 release.