You don’t get back the text because of the error.
I only get the stack trace when going through the debugger.
Here’s a sample stack trace:
ArgumentError: Child to remove not found
at
flashx.textLayout.elements::FlowGroupElement/removeChild()[/Users/harbs/Documents/ApacheFlex/flex-tlf/textLayout/src/flashx/textLayout/elements/FlowGroupElement.as:930]
at
InternalSplitFGEMemento/undo()[/Users/harbs/Documents/ApacheFlex/flex-tlf/textLayout/src/flashx/textLayout/edit/ModelEdit.as:387]
at
SplitMemento/undo()[/Users/harbs/Documents/ApacheFlex/flex-tlf/textLayout/src/flashx/textLayout/edit/ModelEdit.as:487]
at
flashx.textLayout.operations::SplitElementOperation/undo()[/Users/harbs/Documents/ApacheFlex/flex-tlf/textLayout/src/flashx/textLayout/operations/SplitElementOperation.as:185]
at
flashx.textLayout.edit::EditManager/performUndo()[/Users/harbs/Documents/ApacheFlex/flex-tlf/textLayout/src/flashx/textLayout/edit/EditManager.as:1002]
at
flashx.textLayout.operations::FlowOperation/performUndo()[/Users/harbs/Documents/ApacheFlex/flex-tlf/textLayout/src/flashx/textLayout/operations/FlowOperation.as:201]
On Dec 18, 2014, at 10:53 PM, piotrz <[email protected]> wrote:
> Harbs,
>
> Saying "Undo" you mean simple ctrl + z (cmd + z on Mac) yes ? I've created
> simple application with RichEditableText and add there TextFlow.
> I did this scenario and I didn't have runtime error, however after hit ctrl
> + z (undo) I have not back my deleted text.
>
> Piotr
>
>
>
> -----
> Apache Flex PMC
> [email protected]
> --
> View this message in context:
> http://apache-flex-development.2333347.n4.nabble.com/DISCUSS-Release-Apache-Flex-4-14-0-tp43390p43751.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.