Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 32CF717D53 for ; Thu, 6 Nov 2014 10:27:32 +0000 (UTC) Received: (qmail 74475 invoked by uid 500); 6 Nov 2014 10:27:31 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 74439 invoked by uid 500); 6 Nov 2014 10:27:31 -0000 Mailing-List: contact dev-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 dev@flex.apache.org Received: (qmail 74427 invoked by uid 99); 6 Nov 2014 10:27:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2014 10:27:31 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of harbs.lists@gmail.com designates 209.85.212.175 as permitted sender) Received: from [209.85.212.175] (HELO mail-wi0-f175.google.com) (209.85.212.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2014 10:27:03 +0000 Received: by mail-wi0-f175.google.com with SMTP id ex7so990266wid.14 for ; Thu, 06 Nov 2014 02:26:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=8BXkK9ZY/WoY4p6oXQ40Xv/+jzv/pM02o3sviHV6QEA=; b=IXrY2zPV1Z8NutUjdfXYzPFrnQwXZRX8AYaUFJ7PKFG+wUskgzEe+OBhjwnSqMcf0L I6Xsa/M6jRQ2o6VAFmOiO8bdTo2U/AzVeDnFbymNPRFngxtpgoShSquvNsfturcS1lF4 t7pipHrA9oozqXdwAGv+pMdoTq6YTdWzh3ARMB9Fpsv10WOUooLB3AJPCy4YuYieKD21 F3BufUlKpbkcMLoFchTODNf5viI9XfWkP9Gfk6NES3WiIIFRHnMWSPy85KulccgNb/fz LeUewOkO4w2A+9R8Aq656jX9cYiDQjd9DGi31ZhSJC1AnHSOjmwf27H0tQQmwXIBEyfg 8+Pw== X-Received: by 10.180.91.70 with SMTP id cc6mr5059429wib.5.1415269577680; Thu, 06 Nov 2014 02:26:17 -0800 (PST) Received: from [192.168.0.5] ([37.46.36.99]) by mx.google.com with ESMTPSA id r2sm7704723wif.23.2014.11.06.02.26.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Nov 2014 02:26:16 -0800 (PST) From: Harbs Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: TextFlowLine recycling Message-Id: Date: Thu, 6 Nov 2014 12:26:04 +0200 To: "dev@flex.apache.org" Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) X-Virus-Checked: Checked by ClamAV on apache.org I ran into an issue where I have a runtime error in = TextFlowLine.getTextLine(). I=92m having trouble stepping through = things, but as best as I can figure, the issue is caused by the umber of = lines in a paragraph becoming reduced. The RTE happens inside TextFlowline.recreateTextLine() after requesting = the line from the TextBlock. The function (I=92m not sure if it=92s = createTextLine or recreateTextLine) returns null. The TextBlock.lastLine = is the line before the current one. The caller of this mess is ComposeState.composeNextLine. If anyone is still following me, my problem is I=92m not sure the best = way to fix this. I=92m not sure why this is breaking now. I=92m not sure = what I changed that=92s causing this error. Should I fix = TextFlowLine.getTextLine() to return null if there=92s no more lines in = the paragraph? Will there be any other repercussions from doing that? = Should I fix ComposeState/BaseCompose so it does not try to compose the = next line once the paragraph is out of lines? Is anyone familiar enough with the composer to even give me suggestions? = :-( Harbs=