When I have a single editor of my language open and I rebuild the project, the editor gets reloaded properly.

However, when I have two (or more) editors open and I rebuild the project, only a single editor reloads properly. The other editors remain gray and the parser reports hundreds of “Syntax error, unexpected construct(s)” errors in the first ~150 lines. In this case the outline view contains a number of items, but these items appear to have no relation at all to the editor. (There are strings in it which do not occur anywhere in the text in the editor.)

Possibly the parsers run at the same time and there is a data race somewhere?

Observed it in revision 22002, but I think I’ve seen this happen occasionally since the new-terms branch merge.

EDIT: The affected editors work fine again after triggering a re-parse.

Submitted by Tobi Vollebregt on 16 February 2011 at 12:38

On 22 February 2011 at 10:41 Tobi Vollebregt commented:

This works fine now (r22070), most probably thanks to r22066.

Thanks!


On 22 February 2011 at 10:41 Tobi Vollebregt closed this issue.

On 22 February 2011 at 12:49 Lennart Kats tagged 1.0

On 28 December 2011 at 13:15 Lennart Kats tagged @lennartkats

Log in to post comments