Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E5EB3200C7E for ; Mon, 8 May 2017 20:59:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E4844160BD1; Mon, 8 May 2017 18:59:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 22939160BCA for ; Mon, 8 May 2017 20:59:14 +0200 (CEST) Received: (qmail 33449 invoked by uid 500); 8 May 2017 18:59:13 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 33235 invoked by uid 99); 8 May 2017 18:59:13 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2017 18:59:13 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 26349E01C3; Mon, 8 May 2017 18:59:13 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aharui@apache.org To: commits@flex.apache.org Date: Mon, 08 May 2017 18:59:18 -0000 Message-Id: In-Reply-To: <05b616d7ef1c49bcb39effb9a01cac0b@git.apache.org> References: <05b616d7ef1c49bcb39effb9a01cac0b@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [06/21] git commit: [flex-asjs] [refs/heads/tlf] - BoundsUtil didn't seem to be implemented. Seems like we can just implement getBounds instead archived-at: Mon, 08 May 2017 18:59:16 -0000 BoundsUtil didn't seem to be implemented. Seems like we can just implement getBounds instead Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/7ac185e1 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7ac185e1 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7ac185e1 Branch: refs/heads/tlf Commit: 7ac185e1d403fea0ab9c0d4f1a46b44aa955995d Parents: 0367510 Author: Alex Harui Authored: Sat May 6 21:35:09 2017 -0700 Committer: Alex Harui Committed: Mon May 8 11:59:01 2017 -0700 ---------------------------------------------------------------------- .../main/flex/org/apache/flex/textLayout/edit/SelectionManager.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ac185e1/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/SelectionManager.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/SelectionManager.as b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/SelectionManager.as index c13373f..de9a73c 100644 --- a/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/SelectionManager.as +++ b/frameworks/projects/TLF/src/main/flex/org/apache/flex/textLayout/edit/SelectionManager.as @@ -1414,7 +1414,7 @@ package org.apache.flex.textLayout.edit if (lastLineIndexInColumn == -1) lastLineIndexInColumn = testIndex; - var bounds:Rectangle = BoundsUtil.getBounds(rtTextLine, controller.container);// rtTextLine.getBounds(DisplayObject(controller.container)); + var bounds:Rectangle = rtTextLine.getBounds(controller.container);// rtTextLine.getBounds(DisplayObject(controller.container)); // trace(testIndex.toString(),":",bounds.toString()); var linePerpCoor:Number = isTTB ? bounds.left : bounds.bottom;