Subject: Commit: Various Lists UI improvements.
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Tue Jan 30 2001 - 19:41:01 CST
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 - 19:41:08 CST