Re: enums

2007-10-25 Thread Abdelrazak Younes
Andre Poenitz wrote: Can everybody interested please state his preference wrt to the cosmetics of enum types and 'members'? Name casing e.g. I have no strong opinion on that other than that I like to have some more uniform style than what we have now. I have no strong opinion WRT e

enums

2007-10-24 Thread Andre Poenitz
Can everybody interested please state his preference wrt to the cosmetics of enum types and 'members'? Name casing e.g. I have no strong opinion on that other than that I like to have some more uniform style than what we have now. Andre'

Re: [Patch] Fix bug when using paragraph_move_[down,up] around enums.

2006-04-28 Thread Martin Vermeer
On Fri, Apr 28, 2006 at 03:04:17PM +0200, Abdelrazak Younes wrote: > Abdelrazak Younes a écrit : > >Lars Gullik Bjønnes a écrit : > >>Abdelrazak Younes <[EMAIL PROTECTED]> writes: ... > >Yep, I'll try that and commit if it works, thanks. > > It works, fine. Committed. > > Edwin, I like this fea

Re: [Patch] Fix bug when using paragraph_move_[down,up] around enums.

2006-04-28 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Lars Gullik Bjønnes a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Index: text3.C | === | --- text3.C(revision 13773) | +++ text3.C(working copy) | @@ -327,11 +327,12 @@ | rec

Re: [Patch] Fix bug when using paragraph_move_[down,up] around enums.

2006-04-28 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Index: text3.C | === | --- text3.C (revision 13773) | +++ text3.C (working copy) | @@ -327,11 +327,12 @@ | recUndo(pit, pit + 1); |

Re: [Patch] Fix bug when using paragraph_move_[down,up] around enums.

2006-04-28 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Index: text3.C | === | --- text3.C (revision 13773) | +++ text3.C (working copy) | @@ -327,11 +327,12 @@ | recUndo(pit, pit + 1); | finishUndo(); |

Re: [Patch] Fix bug when using paragraph_move_[down,up] around enums.

2006-04-28 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> hum... with the patch this time Thanks. Looks correct. JMarc

Re: [Patch] Fix bug when using paragraph_move_[down,up] around enums.

2006-04-28 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> I am going to commit this soon unless I hear objection. I suspect you are not telling everything we need to be able to object... JMarc

Re: [Patch] Fix bug when using paragraph_move_[down,up] around enums.

2006-04-28 Thread Abdelrazak Younes
hum... with the patch this time Abdelrazak Younes a écrit : I am going to commit this soon unless I hear objection. Abdel. Log: * text3.C:void LyXText::dispatch(LCursor & cur, FuncRequest & cmd) For LFUN_PARAGRAPH_MOVE_DOWN and LFUN_PARAGRAPH_MOVE_UP call: void updateLabels(Buffer const

[Patch] Fix bug when using paragraph_move_[down,up] around enums.

2006-04-28 Thread Abdelrazak Younes
I am going to commit this soon unless I hear objection. Abdel. Log: * text3.C:void LyXText::dispatch(LCursor & cur, FuncRequest & cmd) For LFUN_PARAGRAPH_MOVE_DOWN and LFUN_PARAGRAPH_MOVE_UP call: void updateLabels(Buffer const & buf, ParIterator & from, ParIterator & t

Re: casting and enums (ButtonPolicies)

2000-08-31 Thread Allan Rae
On 31 Aug 2000, Lars Gullik Bjønnes wrote: > Seems to me that someone has not quite understood how to avoid casting > when working with enums. > > First: whenever you have to use a cast you should think: "Something > fishy is going on, how can I avoid this." That'

casting and enums (ButtonPolicies)

2000-08-31 Thread Lars Gullik Bjønnes
Seems to me that someone has not quite understood how to avoid casting when working with enums. First: whenevery you have to use a cast you should think: "Something fishy is going on, how can I avoid this." Remember also when working with enums: c++ can overload operato