Re: depth and resetting itemize

2010-01-19 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > So you want it in branch? I would not oppose. Wait a few days. If nobody objects, put it in. Jürgen

Re: depth and resetting itemize

2010-01-19 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller writes: > Jean-Marc Lasgouttes wrote: >> Looks like a good idea, but maybe people should try it out and see >> whether they like it. > > I like it. So you want it in branch? JMarc

Re: depth and resetting itemize

2010-01-19 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > Looks like a good idea, but maybe people should try it out and see > whether they like it. I like it. Jürgen

Re: depth and resetting itemize

2010-01-18 Thread Jean-Marc Lasgouttes
Le 18/01/2010 18:37, Edwin Leuven a écrit : Jean-Marc Lasgouttes wrote: What do you think of that? if it works for you, it works for me It is in now. perhaps also for branch jürgen? Looks like a good idea, but maybe people should try it out and see whether they like it. Uwe, where shoul

Re: depth and resetting itemize

2010-01-18 Thread Edwin Leuven
Jean-Marc Lasgouttes wrote: What do you think of that? if it works for you, it works for me perhaps also for branch jürgen?

Re: depth and resetting itemize

2010-01-18 Thread Jean-Marc Lasgouttes
Edwin Leuven writes: > Jean-Marc Lasgouttes wrote: >> Excellent idea :) However, about the implmentation: > > any objections if i commit the attached, or am is missing something? I propose something even simpler: * remove check for caption * do not test for enumerations either. (I checked tha

Re: depth and resetting itemize

2010-01-17 Thread Edwin Leuven
Jean-Marc Lasgouttes wrote: Excellent idea :) However, about the implmentation: any objections if i commit the attached, or am is missing something? Index: src/Text.cpp === --- src/Text.cpp(revision 33067) +++ src/Text.cpp

Re: depth and resetting itemize

2010-01-16 Thread Edwin Leuven
Jean-Marc Lasgouttes wrote: * it looks like the code should be put inside the code below (instead of the plain "return;"). i actually put it after recUndo to do this: * make sure that undo is correctly handled (I do not know whether changeDepth does it) ? Index: src/Text.cpp =

Re: depth and resetting itemize

2010-01-16 Thread Jean-Marc Lasgouttes
Le 16/01/2010 10:52, Edwin Leuven a écrit : i remember a discussion a long time ago (i think it was jean-marc who then suggested behavior like this) Excellent idea :) However, about the implmentation: * it looks like the code should be put inside the code below (instead of the plain "return;")

depth and resetting itemize

2010-01-16 Thread Edwin Leuven
hi guys, at the moment it is a bit involved to snap out of an itemize or enumerate the attached a little patch allows the following when the cursor is in an empty indented item: 1. blah (a) | then decreases the depth: 1. blah 2. | and when at the 1st level in an empty itemize/enumerat