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

Max Rydahl Andersen (JIRA) issues at jboss.org
Mon Jan 20 06:55:55 EST 2014


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

Max Rydahl Andersen resolved JBIDE-2786.
----------------------------------------

    Resolution: Out of Date


Thank you for reporting this issue but this issue have been resolved as out-of-date since it has not had any updates for the last 2+ years (730 days).

If you believe this issue is still relevant and important then please reopen the issue or create a new one mentioning/linking this jira for background information.

Thank you!


                
> when you use eclipse "Content Assist(Alt+/)" to finish the "</@w.xxxx", the "cursorPosition" is not correct.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-2786
>                 URL: https://issues.jboss.org/browse/JBIDE-2786
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: freemarker
>         Environment: eclipse 3.4
>            Reporter: super watano
>             Fix For: LATER
>
>         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, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list