Re: Moving stuff from BufferView_pimpl to LyXText

2002-08-19 Thread Andre Poenitz
On Mon, Aug 19, 2002 at 12:44:47PM +0100, Angus Leeming wrote: > Can we not reconcile the two by having a LyXText::dispatch, but move > lfunAppendix out of LyXText. Ie, it becomes a function that takes a LyXText > argument. You could shove this new function into text_funcs.[Ch]. The function c

Re: Moving stuff from BufferView_pimpl to LyXText

2002-08-19 Thread Andre Poenitz
On Mon, Aug 19, 2002 at 02:09:22PM +0200, Andre' Poenitz wrote: > So you really think inserting something in a LyXText should be handled by > the BufferView? Btw: the patch changes the originally public toggleAppendix into a private lfunAppendix. So this looks like better encapsulation that is n

Re: Moving stuff from BufferView_pimpl to LyXText

2002-08-19 Thread Andre Poenitz
On Mon, Aug 19, 2002 at 02:00:47PM +0200, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | I'd like to move "text related stuff" from BufferView to LyXText. > | Attached patch creates a dispatch() for LyXText and moves the handling of > | LFUN_APPENDIX to LyXText. > >

Re: Moving stuff from BufferView_pimpl to LyXText

2002-08-19 Thread Angus Leeming
On Monday 19 August 2002 1:00 pm, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > | I'd like to move "text related stuff" from BufferView to LyXText. > | Attached patch creates a dispatch() for LyXText and moves the handling of > | LFUN_APPENDIX to LyXText. > | > | Good/ba

Re: Moving stuff from BufferView_pimpl to LyXText

2002-08-19 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | I'd like to move "text related stuff" from BufferView to LyXText. | Attached patch creates a dispatch() for LyXText and moves the handling of | LFUN_APPENDIX to LyXText. > | Good/bad idea? Other comments? I am working/aiming to make LyXText _a lot_ sm

Moving stuff from BufferView_pimpl to LyXText

2002-08-19 Thread Andre Poenitz
I'd like to move "text related stuff" from BufferView to LyXText. Attached patch creates a dispatch() for LyXText and moves the handling of LFUN_APPENDIX to LyXText. Good/bad idea? Other comments? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do