W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2015

Re: Copying multi-range selection

From: Anne van Kesteren <annevk@annevk.nl>
Date: Sat, 15 Aug 2015 07:19:40 +0200
Message-ID: <CADnb78ji6odi42N_gAfqjgyMCse09+grOAosKo300mcMN08ySg@mail.gmail.com>
To: Ryosuke Niwa <rniwa@apple.com>
Cc: public-webapps <public-webapps@w3.org>, Ehsan Akhgari <ehsan@mozilla.com>, Aryeh Gregor <ayg@aryeh.name>, public-editing-tf <public-editing-tf@w3.org>, "www-international@w3.org" <www-international@w3.org>
On Sat, Aug 15, 2015 at 12:10 AM, Ryosuke Niwa <rniwa@apple.com> wrote:
> We've been recently exploring ways to select bidirectional text and content that uses new CSS layout modes such as flex box in visually contagious manner.
>
> Because visually contagious range of content may not be contagious in DOM order, doing so involves creating a disjoint multi-range selection.  There has been quite a bit of discussion about how we can better expose that to the Web since the current model of exposing a list of Range objects doesn't seem to be working well.
>
> However, another important question I have is how copying such a selected content work?  Do we just stitch together disjoint content?  But that may result in the content being pasted in completely different order.

I copied www-international. Somewhat curious if this problem has been
studied before. It does seem like you would have to add/remove
formatting code points as the context where you paste may be different
from the context where you copied from.


-- 
https://annevankesteren.nl/
Received on Saturday, 15 August 2015 05:20:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:57 UTC