On 04-Jul-2001 Andre Poenitz wrote:
>
> If BufferViewPimpl::open_new_inset were publicly available in
> BufferView, I could move all the MATH_* action handling from
> BufferView_pimpl.C to mathed/formula.C
>
> I think this would benefit encapsulation...
Why do you need that? I have insets in insets without the need to use
that function. Did you have a look at the functions InsetInsertAllowed
and insertInset()? You just have to implement the above 2 insetfunctions
and (hopefully) you'll see you will be able to insert your inset.
If you've problems just let me know were you need help ;)
Jürgen
--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED]
Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
"You can't make a program without broken egos."