Fixed issue with undo failing
diff --git a/textLayout/src/flashx/textLayout/edit/ModelEdit.as b/textLayout/src/flashx/textLayout/edit/ModelEdit.as
index b18f55f..2703a28 100644
--- a/textLayout/src/flashx/textLayout/edit/ModelEdit.as
+++ b/textLayout/src/flashx/textLayout/edit/ModelEdit.as
@@ -383,7 +383,8 @@
prevSibling.replaceChildren(prevSibling.numChildren,prevSibling.numChildren,target.mxmlChildren);
// paragraphs only - watch out for trailing empty spans that need to be removed
- if (prevSibling is ParagraphElement && lastLeaf.textLength == 0)
+ // Harbs 12-24-14 Added check that lastLeaf still exists in the paragraph
+ if (prevSibling is ParagraphElement && lastLeaf.parent && lastLeaf.textLength == 0)
prevSibling.removeChild(lastLeaf);
// debugCheckTextFlow("After InternalSplitFGEMemento.undo");
diff --git a/textLayout/src/flashx/textLayout/elements/TableElement.as b/textLayout/src/flashx/textLayout/elements/TableElement.as
index 6f230c0..bdacfaf 100644
--- a/textLayout/src/flashx/textLayout/elements/TableElement.as
+++ b/textLayout/src/flashx/textLayout/elements/TableElement.as
@@ -1556,6 +1556,10 @@
column.table = this;
return column;
}
+ tlf_internal override function normalizeRange(normalizeStart:uint,normalizeEnd:uint):void
+ {
+
+ }
}
}
class CellCoords