[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-2786) when you use eclipse "Content Assist(Alt+/)" to finish the "</@w.xxxx", the "cursorPosition" is not correct.

super watano (JIRA) jira-events at lists.jboss.org
Thu Sep 18 09:37:21 EDT 2008


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

                 Key: JBIDE-2786
                 URL: https://jira.jboss.org/jira/browse/JBIDE-2786
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: FreeMarker
         Environment: eclipse 3.4
            Reporter: super watano


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()".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list