[jbosstools-issues] [JBoss JIRA] Updated: (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:39:20 EDT 2008


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

super watano updated JBIDE-2786:
--------------------------------

    Attachment: CompletionProcessor.java


> 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
>         Attachments: CompletionProcessor.java
>
>
> 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