You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ha...@apache.org on 2014/12/29 23:25:18 UTC
git commit: [flex-tlf] [refs/heads/develop] - Fixed another Operation
test
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 <ha...@in-tools.com>
Authored: Tue Dec 30 00:25:02 2014 +0200
Committer: Harbs <ha...@in-tools.com>
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;