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

Daniel Dekany (JIRA) issues at jboss.org
Sun Jun 26 10:40:00 EDT 2016


Daniel Dekany created JBIDE-22659:
-------------------------------------

             Summary: Error marker information should comre 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


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