Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-22659

Error marker information should come from the reconciler thread

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 4.4.1.AM2
    • None
    • freemarker
    • None

    Description

      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.

      Attachments

        Activity

          People

            alexeykazakov Alexey Kazakov
            ddekany Daniel Dekany (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: