Updated Branches: refs/heads/develop 53a58595e -> db303b541
FLEX-34020 In TLF truncation, these static variables got re-used by the various attempts at composing different lengths of text to see what would fit. Changed to instance vars and all tests still passed. Project: http://git-wip-us.apache.org/repos/asf/flex-tlf/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-tlf/commit/f8c83695 Tree: http://git-wip-us.apache.org/repos/asf/flex-tlf/tree/f8c83695 Diff: http://git-wip-us.apache.org/repos/asf/flex-tlf/diff/f8c83695 Branch: refs/heads/develop Commit: f8c8369543a5a92f0727cce8330de8d4ecf8670c Parents: 53a5859 Author: Alex Harui <aha...@apache.org> Authored: Sun Feb 9 22:54:14 2014 -0800 Committer: Alex Harui <aha...@apache.org> Committed: Sun Feb 9 22:54:14 2014 -0800 ---------------------------------------------------------------------- textLayout/src/flashx/textLayout/factory/TextLineFactoryBase.as | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-tlf/blob/f8c83695/textLayout/src/flashx/textLayout/factory/TextLineFactoryBase.as ---------------------------------------------------------------------- diff --git a/textLayout/src/flashx/textLayout/factory/TextLineFactoryBase.as b/textLayout/src/flashx/textLayout/factory/TextLineFactoryBase.as index b738cac..c59999b 100644 --- a/textLayout/src/flashx/textLayout/factory/TextLineFactoryBase.as +++ b/textLayout/src/flashx/textLayout/factory/TextLineFactoryBase.as @@ -84,9 +84,9 @@ package flashx.textLayout.factory static tlf_internal var _factoryComposer:SimpleCompose; /** @private */ - static protected var _truncationLineIndex:int; // used during truncation + protected var _truncationLineIndex:int; // used during truncation /** @private */ - static protected var _pass0Lines:Array; // used during truncation + protected var _pass0Lines:Array; // used during truncation /** @private return the next factory composer that will be used */ static tlf_internal function peekFactoryCompose():SimpleCompose