On 22-Feb-2001 Juergen Vigna wrote:

> To fix this I would need to split all LyXFunc up in LyXFunc which need
> LyXText and other LyXFuncs. Would it be doable to have a dispatch
> routine inside LyXText for all functions needing a LyXText?

Well for now I will split the switch in LyXFunc::Dispatch in Functions
which need LyXText and functions which don't need it! So I will create
2 switches where the first one will only be entered for LyXText changes
and a second where LyXText is not neccessary (general functions).

Now the first switch I would like to put inside BufferView so that I can
call it within InsetText and so figure out all functions which can be used
inside InsetText (or which need to have a valid LyXText to be able to do
something).

The other one will remain in LyXFunc.

I'll try to do this here locally (and I'm quite sure it works on the first
hit as it is not so difficult to split up), and the commit it if I don't get
any objections. I just would like that noone works on lyxfunc.C as the
changes are quite big and so I would have to put in changes by hand which
is errorprone!

        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

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Human beings were created by water to transport it uphill.

Reply via email to