On Sun, Jan 01, 2006 at 04:50:42PM +0100, Michael Gerz wrote:
> Martin Vermeer wrote:
> 
> >If inserting newlines directly _were_ allowed, they would not be rolled
> >back together with the tracked changes to the surrounding characters. In
> >that sense change tracking would be inconsistent.
> >
> >Cutting and pasting selections subvert this scheme.
> > 
> >
> In other words: If inserting newlines were allowed, they would not be 
> tracked. Not nice but better than disallowing newlines _at all_ in 
> change track mode.
> 
> Do you know whether the range specifications would be disturbed by new 
> lines/pars? I think this is the ultimate question, in particular if 
> users are "creative". If the answer is no, we should allow new lines 
> directly.

I think the answer is yes, and even that it would be straightforward to
add registering code for newlines (pos = par.size()) to breakParagraph
and backspace. (Perhaps some changes to cut & paste needed too?) But
that's for 1.4.1.

- Martin

Attachment: pgpU6ClhuaQyu.pgp
Description: PGP signature

Reply via email to