Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9548

StringIndexOutOfBoundsException possilbe during selection text nodes

XMLWordPrintable

      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.

        1. exception.log
          3 kB
        2. jbide-9548.patch
          0.8 kB
        3. jbide-9548-2.patch
          0.9 kB

            dmaliarevich_jira Denis Maliarevich (Inactive)
            mareshkau_jira Maxim Areshkau (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: