You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/04/18 22:58:55 UTC

git commit: [flex-tlf] [refs/heads/develop] - FLEX-33423 If maxChars is 7 and you are at 7 you are off the end

Repository: flex-tlf
Updated Branches:
  refs/heads/develop e10a51adc -> 41fc042d0


FLEX-33423 If maxChars is 7 and you are at 7 you are off the end


Project: http://git-wip-us.apache.org/repos/asf/flex-tlf/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-tlf/commit/41fc042d
Tree: http://git-wip-us.apache.org/repos/asf/flex-tlf/tree/41fc042d
Diff: http://git-wip-us.apache.org/repos/asf/flex-tlf/diff/41fc042d

Branch: refs/heads/develop
Commit: 41fc042d0ee1629303790eafab4f82dd772b2b8f
Parents: e10a51a
Author: Alex Harui <ah...@apache.org>
Authored: Fri Apr 18 13:58:36 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Apr 18 13:58:36 2014 -0700

----------------------------------------------------------------------
 textLayout/src/flashx/textLayout/utils/NavigationUtil.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/41fc042d/textLayout/src/flashx/textLayout/utils/NavigationUtil.as
----------------------------------------------------------------------
diff --git a/textLayout/src/flashx/textLayout/utils/NavigationUtil.as b/textLayout/src/flashx/textLayout/utils/NavigationUtil.as
index 85b2014..2ebb985 100644
--- a/textLayout/src/flashx/textLayout/utils/NavigationUtil.as
+++ b/textLayout/src/flashx/textLayout/utils/NavigationUtil.as
@@ -1109,7 +1109,7 @@ package flashx.textLayout.utils
 			var flowComposer:IFlowComposer = range.textFlow.flowComposer;
 			var controller:ContainerController = null;
 			checkCompose(flowComposer, range.absoluteEnd);
-			if (range.absoluteEnd > flowComposer.damageAbsoluteStart - 1)
+			if (range.absoluteEnd >= flowComposer.damageAbsoluteStart - 1)
 			{
 				clampToFit(range, flowComposer.damageAbsoluteStart - 1);
 				return true;