[jbosstools-issues] [JBoss JIRA] (JBIDE-15257) JBoss Tools JSP Editor is slowed by JSPTextEditor.handleCursorPositionChanged

Vlado Pakan (JIRA) issues at jboss.org
Fri Feb 7 05:14:28 EST 2014


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

Vlado Pakan closed JBIDE-15257.
-------------------------------


    
> JBoss Tools JSP Editor is slowed by JSPTextEditor.handleCursorPositionChanged
> -----------------------------------------------------------------------------
>
>                 Key: JBIDE-15257
>                 URL: https://issues.jboss.org/browse/JBIDE-15257
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml/html source editing
>            Reporter: Viacheslav Kabanovich
>            Assignee: Viacheslav Kabanovich
>             Fix For: 4.2.0.Alpha1
>
>
> Method JSPTextEditor.handleCursorPositionChanged resets text selection on each change in cursor position, except when selection has non-zero length. That is done to inform vpeController know of that change. However, setting selection is quite a time-consuming operation, it makes navigating with cursor about 20% slower than in HTML editor. Previously to changes done for JBIDE-7059, handleCursorPositionChanged directly invoked method vpeController.selectionChanged. Commits to JBIDE-7059 do not explain why that was replaced by resetting selection.
> I suggest restoring the previous method implementation.

--
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