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

TLF - EditManager - TextFlowEdit -insertTextScrap

    XMLWordPrintableJSON

Details

    Description

      1. Copy Formatted text from RichEditableText Editor, see Image
      2. Insert Formatted text from the clipboard with Ctrl + V in the editor. Then comes the error.

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at flashx.textLayout.edit::TextFlowEdit$/insertTextScrap()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src/flashx/textLayout/edit/TextFlowEdit.as:244]
      at flashx.textLayout.operations::PasteOperation/doOperation()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src/flashx/textLayout/operations/PasteOperation.as:102]
      at flashx.textLayout.edit::EditManager/doInternal()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src/flashx/textLayout/edit/EditManager.as:767]
      at flashx.textLayout.edit::EditManager/doOperation()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src/flashx/textLayout/edit/EditManager.as:647]
      at flashx.textLayout.edit::EditManager/pasteTextScrap()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src/flashx/textLayout/edit/EditManager.as:1806]
      at flashx.textLayout.edit::EditManager/editHandler()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src/flashx/textLayout/edit/EditManager.as:270]
      at flashx.textLayout.container::ContainerController/editHandler()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src/flashx/textLayout/container/ContainerController.as:2739]
      at flashx.textLayout.container::TextContainerManager/editHandler()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src/flashx/textLayout/container/TextContainerManager.as:1876]
      at flash.display::NativeMenuItem/select()
      at flash.display::NativeMenuItem/performKeyEquivalent()
      at flash.display::NativeMenu/_menuItemPerformKeyEquivalent()
      at flash.display::NativeMenu/performKeyEquivalent()
      at flash.display::NativeMenuItem/_menuPerformKeyEquivalent()
      at flash.display::NativeMenuItem/performKeyEquivalent()
      at flash.display::NativeMenu/_menuItemPerformKeyEquivalent()
      at flash.display::NativeMenu/performKeyEquivalent()
      at flash.desktop::NativeApplication/_menuPerformKeyEquivalent()
      at flash.desktop::NativeApplication/_onKeyDownCapture()

      Attachments

        1. Bildschirmfoto 2015-03-19 um 15.28.19.png
          17 kB
          Robbyn Gerhardt
        2. TextEditorTest.air
          637 kB
          Robbyn Gerhardt
        3. Bildschirmfoto 2015-03-20 um 09.06.47.png
          18 kB
          Robbyn Gerhardt
        4. TextEditorTest.fxp
          9 kB
          Robbyn Gerhardt

        Issue Links

          Activity

            People

              harbs Harbs
              robbyn666 Robbyn Gerhardt
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: