Vincent van Ravesteijn ha scritto:
I did expect. Actually I listed a long list of LFUNS in LyXFunc which should work on the document buffer long ago. After this, only the calls to view() have been altered and Abdel didn't look at any of the buffers (I think).
I saved that list.
I think we should really move around a lot of the LFUNS in LyXFunc. All LFUNS that need a LyXView needs to be moved to GuiView... right ? LyXFunc should be able to operate without any GUI (ok it can, but it should not have functionality depending on the GUI).
I see. On a related note, I would be tempted to search for a way of getting rid of the endless switch() statements along the code (e.g., reworking LFUNs as classes) however I know sw engineering sometimes has to remain on the books only :-) [ I'm sure you must have had in the past some discussion about this ]

   T.

Reply via email to