[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-9548) StringIndexOutOfBoundsException possilbe during selection text nodes

Maxim Areshkau (JIRA) jira-events at lists.jboss.org
Tue Aug 16 06:01:18 EDT 2011


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

Maxim Areshkau updated JBIDE-9548:
----------------------------------

    Attachment: jbide-9548.patch


> StringIndexOutOfBoundsException possilbe during selection text nodes
> --------------------------------------------------------------------
>
>                 Key: JBIDE-9548
>                 URL: https://issues.jboss.org/browse/JBIDE-9548
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>            Reporter: Maxim Areshkau
>            Assignee: Denis Maliarevich
>         Attachments: jbide-9548.patch
>
>
> StringIndexOutOfBoundsException possilbe during selection text nodes when we not wrap text nodes into span(see template for text nodes);
> In some cases wrap text nodes into span broke layout. But if we change template for text nodes to not wrap into span it brokes selections. 
> #1 Create page with followint content "<html><body>test1<p>test2</p></body></html>"
> #2 try to select from test1 till test2 in source page
> #3 out of bounds exception will be thrown.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list