Sometimes, dynamically loaded editors for files that have no error markers do not receive syntax highlighting immediately after opening. Changing the file to trigger an analysis brings up syntax highlighting. If the file is saved with an error, when the editor is reopened the highlighting appears immediately.

Reproduced in Eclipse 3.8 Classic with two different projects.

Submitted by Vlad Vergu on 11 February 2013 at 13:24

On 11 February 2013 at 13:25 Vlad Vergu tagged 1.1.1

On 11 February 2013 at 13:25 Vlad Vergu tagged @gohla

On 11 February 2013 at 15:21 Gabriël Konat commented:

Possibly related to the fix in https://yellowgrass.org/issue/Spoofax/581


On 11 February 2013 at 15:46 Lennart Kats commented:

Sounds like it. IIRC the initialization logic there is fuzzy because Eclipse characteristically calls it from the UI thread the first time.


On 13 February 2013 at 15:44 Vlad Vergu removed tag 1.1.1

On 13 February 2013 at 15:44 Vlad Vergu tagged 1.1

On 13 February 2013 at 15:45 Vlad Vergu tagged regression

On 13 February 2013 at 15:54 Gabriël Konat commented:

Fixed by undoing r25885.


On 13 February 2013 at 15:54 Gabriël Konat closed this issue.

Log in to post comments