[jbosstools-issues] [JBoss JIRA] (JBIDE-22659) Error marker information should come from the reconciler thread

Alexey Kazakov (JIRA) issues at jboss.org
Wed Jul 13 17:43:00 EDT 2016


     [ https://issues.jboss.org/browse/JBIDE-22659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov reassigned JBIDE-22659:
--------------------------------------

    Fix Version/s: 4.4.1.AM2
         Assignee: Alexey Kazakov
       Resolution: Done


Pushed to master. Thanks.

> Error marker information should come from the reconciler thread
> ---------------------------------------------------------------
>
>                 Key: JBIDE-22659
>                 URL: https://issues.jboss.org/browse/JBIDE-22659
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: freemarker
>            Reporter: Daniel Dekany
>            Assignee: Alexey Kazakov
>             Fix For: 4.4.1.AM2
>
>
> The template is parsed with the actual FreeMarker parser, and the resulting exception (if any) is translated to an Eclipse error marker. The parsing happens asynchronously. This is fine so far. What's strange is that instead of relying on the standard reconciler mechanism, {{org.jboss.ide.eclipse.freemarker.editor.Editor}} tries to figure out when that information needs to be recalculated by examining the keydown events, instead of real change events. Thus it doesn't work if you are inserting text solely with mouse for example. Also the {{Editor}} tries to do this after each key stroke (unlike the reconciler mechanism, which waits until you stop typing for a moment). Also the asynchronous task execution it does has a flaw because of which sometimes ignores the last few changes.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list