Repository: flex-tlf Updated Branches: refs/heads/develop e4f5d182a -> 3c7ad1b05
Fixed another Operation test Project: http://git-wip-us.apache.org/repos/asf/flex-tlf/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-tlf/commit/3c7ad1b0 Tree: http://git-wip-us.apache.org/repos/asf/flex-tlf/tree/3c7ad1b0 Diff: http://git-wip-us.apache.org/repos/asf/flex-tlf/diff/3c7ad1b0 Branch: refs/heads/develop Commit: 3c7ad1b0584766641924d48de890eede77540614 Parents: e4f5d18 Author: Harbs <[email protected]> Authored: Tue Dec 30 00:25:02 2014 +0200 Committer: Harbs <[email protected]> Committed: Tue Dec 30 00:25:02 2014 +0200 ---------------------------------------------------------------------- textLayout/src/flashx/textLayout/elements/ParagraphElement.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/3c7ad1b0/textLayout/src/flashx/textLayout/elements/ParagraphElement.as ---------------------------------------------------------------------- diff --git a/textLayout/src/flashx/textLayout/elements/ParagraphElement.as b/textLayout/src/flashx/textLayout/elements/ParagraphElement.as index e7e3e7c..325b3c0 100644 --- a/textLayout/src/flashx/textLayout/elements/ParagraphElement.as +++ b/textLayout/src/flashx/textLayout/elements/ParagraphElement.as @@ -585,7 +585,7 @@ package flashx.textLayout.elements if(_terminatorSpan) { var termIdx:int = getChildIndex(_terminatorSpan); - if(termIdx > 0 && _terminatorSpan.textLength == 1) + if(termIdx > 0 && termIdx < beginChildIndex && _terminatorSpan.textLength == 1) { super.replaceChildren(termIdx, termIdx+1); _terminatorSpan = null;
