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

when you use eclipse "Content Assist(Alt+/)" to finish the "</@w.xxxx", the "cursorPosition" is not correct.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • LATER
    • None
    • freemarker
    • None

      for this bug, I read related codes, I find on org.jboss.ide.eclipse.freemarker.editor.CompletionProcessor line 121.
      the argument "cursorPosition" of the new CompletionProposal is "offset+value.toString().length()", it's wrong, the value only need "value.toString().length()".

            Unassigned Unassigned
            watano_jira super watano (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: