Re: lyx-devel src/mathed/: Makefile.am formulabase.C math_boxinset ...

2002-06-24 Thread Andre Poenitz

On Mon, Jun 24, 2002 at 04:48:16PM +0100, Angus Leeming wrote:
> A quick look at these files suggests that you're going to get these insets 
> working inside mathed and then replace the existing InsetRef et al with the 
> new scheme.

It currently is just "additional functionality" for mathed, but yes, the
plan is to have a single RefInset again (in insets/) that behaves as the
old one outside and inside mathed.

The code is already 90% "old" InsetRef so there is not really much
missing. The only problem is popping up the dialog on mouse click but to
solve that I'll probably do the "decentralized dispatcher" stuff first (the
cursor is a path in the inset tree and the lowest inset that is capable of
handling an LFUN does that. Currently everything ends up in the outermost
inset and we do fancy stuff to figure out which inset is able to handle add
a column to itself etc)

> Am I right or will we end up with two insets doing the same thing?

true || false == true...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: lyx-devel src/mathed/: Makefile.am formulabase.C math_boxinset ...

2002-06-24 Thread Angus Leeming

On Monday 24 June 2002 6:51 pm, [EMAIL PROTECTED] wrote:
> CVSROOT:  /usr/local/lyx/cvsroot
> Module name:  lyx-devel
> Repository:   lyx-devel/src/mathed/
> Changes by:   [EMAIL PROTECTED]02/06/24 17:51:35
>
> Modified files:
>   lyx-devel/src/mathed/: Makefile.am formulabase.C math_boxinset.C
>  math_boxinset.h math_factory.C
>  math_parser.C
> Added files:
>   lyx-devel/src/mathed/: button_inset.C button_inset.h
>  command_inset.C command_inset.h
>  ref_inset.C ref_inset.h
>
> Log message:
>   First shot at inset-unification mathed & rest of the world

A quick look at these files suggests that you're going to get these insets 
working inside mathed and then replace the existing InsetRef et al with the 
new scheme. Am I right or will we end up with two insets doing the same thing?

Just curious,
Angus