On Wed, May 11, 2011 at 3:43 AM, Ojan Vafai <ojan@chromium.org> wrote:
> Similarly, does it need to disambiguate line-wrapped positions?
>
> "Line 1<wrap>
> Line 2"
>
> After Line 1 and before Line 2 are equivalent DOM positions.
>
> I think we might be able to have a single flag for both of these. The case
> of "Latin <wrap here>HEBREW", in which case the cursor could be at the end
> of the first line or the end of the second line. But being at the beginning
> of the first line would be a different DOM position.
>
> I expect there's a case I'm not thinking of and we might need two flags.
>
We use a single flag for both, because the semantics match perfectly.
Rob
--
"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]