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 <[email protected]>
Authored: Fri Apr 18 13:58:36 2014 -0700
Committer: Alex Harui <[email protected]>
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;

Reply via email to