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 9895610DA7 for ; Tue, 3 Sep 2013 12:13:17 +0000 (UTC) Received: (qmail 57282 invoked by uid 500); 3 Sep 2013 12:13:17 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 56896 invoked by uid 500); 3 Sep 2013 12:13:16 -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 56888 invoked by uid 99); 3 Sep 2013 12:13:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 12:13:16 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=FREEMAIL_REPLY,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of webdoublefx@hotmail.com designates 157.55.2.100 as permitted sender) Received: from [157.55.2.100] (HELO dub0-omc4-s25.dub0.hotmail.com) (157.55.2.100) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Sep 2013 12:13:09 +0000 Received: from DUB402-EAS224 ([157.55.2.72]) by dub0-omc4-s25.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 3 Sep 2013 05:12:48 -0700 X-TMN: [OsaduBpIzU2fZ3L2LsyavIwBWyzqOLzS] X-Originating-Email: [webdoublefx@hotmail.com] Message-ID: From: =?iso-8859-1?Q?Fr=E9d=E9ric_THOMAS?= To: References: <3E2B6E5D-5D96-484A-847E-10CF8965CB37@gmail.com> In-Reply-To: <3E2B6E5D-5D96-484A-847E-10CF8965CB37@gmail.com> Subject: RE: Shift Enter in TLF Date: Tue, 3 Sep 2013 14:12:31 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQABAgMEqZ7UvIaY+mczqf1WqelhmwCKQxRBABg8I14AQXLFlQALhuUNAE6buEMAfLNw/wAlyUwyALFIpBsAgW9HfAAxzJrdnTUQ4NA= Content-Language: fr X-OriginalArrivalTime: 03 Sep 2013 12:12:48.0446 (UTC) FILETIME=[E79D2DE0:01CEA89E] X-Virus-Checked: Checked by ClamAV on apache.org Windows users should redo with CTRL+Y -----Message d'origine----- De=A0: Harbs [mailto:harbs.lists@gmail.com]=20 Envoy=E9=A0: mardi 3 septembre 2013 14:11 =C0=A0: dev@flex.apache.org Objet=A0: Re: Shift Enter in TLF Okay. I pushed my changes out. I added a flag in Configuration with three levels. Default is always = soft returns, but it could be changed by the user both at the class level = (using tlf_internal) and in the individual configuration object. I don't know = if the user needs that level of control, but it was not a big deal to offer = it, so I figured why not... I also added Command+Shift Z for redo. It seems to work on Mac and do nothing on Windows (which I think is the proper behavior there). On Sep 3, 2013, at 7:00 AM, Alex Harui wrote: >=20 >=20 > On 9/2/13 1:03 PM, "Harbs" wrote: >=20 >> I've done both the shift return and command+shift z for redo. I've=20 >> tested on Mac. I'll try to test on Windows before I commit. >>=20 >> Question: How should shift-return behave within lists? Should they=20 >> behave like regular paragraphs where it only inserts a soft return,=20 >> or should it create a hard return without creating a new list item? >>=20 >> I'm coming from InDesign where a new paragraph is always a new list = item. >> Unless you break the list completely, you need a soft return to break = >> a list item. I'd like to mimic the InDesign paradigm. Any objections? = >> Does it need an option to change the behavior? If yes, would=20 >> IConfiguration be a good place to set that? > I don't know enough to have an opinion. If you are making significant = > changes to existing behavior, a flag would be nice, but not required. >=20 > -Alex >=20