Subject: Re: Commit: Various Lists UI improvements.
From: Thomas Fletcher (thomasf@qnx.com)
Date: Tue Jan 30 2001 - 20:29:49 CST
Martin,
This is exactly what I had in mind a way back when we took a look
at the MSWord implementation of lists and how it differed. Nice to
see this all coming together and getting cleaned up/worked out again.
With regards to the dialog. Your suggestions sound good, will they
be build on the basis of what we were working on before Christmas? I
still think that a modal version might be easier for the users ... but
if you implement the non-modal version we were discussing then that
would be fine as well.
Thomas ... a follower in this case.
On Wed, 31 Jan 2001, Martin Sevior wrote:
>
>
> Various Lists UI improvements. What we do now for deletes and <enter> in
> multilevel lists.
>
> In the following "|" represents the cursor.
>
> Suppose we have:
>
> 1. foo
> 1.1 bar
> 1.2 barz|
>
> Press <enter> twice we get
>
>
> 1. foo
> 1.1 bar
> 1.2 barz
> 2. |
>
> Press <enter> again we get
>
>
> 1. foo
> 1.1 bar
> 1.2 barz
> |
>
> OK?
>
> Next for deletes: We have
>
> 1. foo
> 1.1 bar
> 1.2 barz
> 1.3 |bard
>
> Press "Backspace" you get
>
> 1. foo
> 1.1 bar
> 1.2 barz
> 2. |bard
>
> Press "Backspace" again you get
>
>
> 1. foo
> 1.1 bar
> 1.2 barz
> |bard
>
> OK?
>
> If we have
>
>
> 1. foo
> 1.1 bar
> 1.2 |barz
> 1.3 bard
>
> Press "Backspace" you get
>
>
> 1. foo
> 1.1 bar
> |barz
> 1.2 bard
>
> Finally If we have:
>
>
>
> 1. foo
> 1.1 |bar
> 1.2 barz
> 1.3 bard
>
> Press "Backspace" we get:
>
> 1. foo
> 2. |bar
> 2.1 barz
> 2.2 bard
>
> So the idea is that if you delete a list label at the start or end of the
> list, the paragraphs drops down a list level. If you delete a list label
> in the middle of a list you just remove the paragraph from the list.
>
> Are people happy with this?
>
> Regarding the segfault Sam found, I find still get it. It's either a bug
> in Dom's piecetable Search routines or I'm corrupting the PieceTable in
> some list delete operations.
>
> I'll keep on this bug.
>
> Cheers
>
> Martin
>
> CVS:
> ----------------------------------------------------------------------
> CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
> CVS:
> CVS: Committing in .
> CVS:
> CVS: Modified Files:
> CVS: src/text/fmt/xp/fl_BlockLayout.cpp src/text/fmt/xp/fv_View.cpp
> CVS: src/text/ptbl/xp/pt_PT_Styles.cpp
> CVS:
> ----------------------------------------------------------------------
>
>
This archive was generated by hypermail 2b25 : Tue Jan 30 2001 - 20:41:36 CST