On Friday 02 March 2001 13:56, Lars Gullik Bjønnes wrote:
> John Levon <[EMAIL PROTECTED]> writes:
> 
> | On 2 Mar 2001, Lars Gullik Bjønnes wrote:
> | 
> | > Angus Leeming <[EMAIL PROTECTED]> writes:
> | > 
> | > | On Friday 02 March 2001 11:09, Lars Gullik Bjønnes wrote:
> | > | > I am happier about this. So if you feel that this solution is 
workable
> | > | > and powerfull enough use it.
> | > | 
> | > | Ok, Lars. This is ready to go once again, so if you'd cast your eye 
over 
> | > | BRANCH_MVC...
> | > 
> | > :-)
> | 
> | It's friday ! I thought I was the only sinner in this respect !
> 
> Hey, it is not friday here yet.

Someone's working too hard it would appear...

> | > I would still like to see reports from somebody that actually tried
> | > it. (not you and not me...)
> | 
> | Well I've looked at the source ! OK I'll build one now
> 
> do that.

Note that their should be no user-visible change to the Citation dialog. It 
should work as before (except that the kde implementation has a 
ButtonController). So, the people who should REALLY, REALLY be looking at 
this are those interested in porting LyX to other frontends. John, Edwin, 
Marco. This stuff is meant to make their life easier.

The guiding philosophy is to move code out of the GUIs and into code that the 
LyX team will support. The GUI's should contain the bare minimum of code.

In the case of the Citation dialog, all signals and interaction with the 
kernel are taken care of by the Controller, but we could go further. For 
example, the GUI's receive a complex BibkeyList and then manipulate this 
themselves. Most of this manipulation could take place in the Controller. 
Similarly, Marco implemented a regex search for the gnome frontend. This 
could be moved back into the controller. He also wrote a far more 
sophisticated parser of the contents of a Bibtex bibliography. Again, this 
should be common code.

Angus

Reply via email to