Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-28731

Selection text missplaced when lines are removed during the selection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 4.5.1 (Release)
    • None
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows 7
      Browser: Internet Explorer 8.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Run TextSelectionTest.mxml
      2. Double click on a word to make a selection

      Actual Results:
      When textFlow.removeChildAt(0) is called to remove the first line, the selection is not moved on the right position.

      Expected Results:
      The selection must stay on the previously selected text. I'm using a WebChat so older lines are removed. If I want to allow my users to select text, the current behaviour makes this impossible.

      Workaround (if any):
      Calculate the number of removed characters/elements to remake the selection?

      Note : I admit it's not a common use... only chat with buffer limit are impacted.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: