On Fri, 15 Sep 2006, Angus Leeming wrote: > [EMAIL PROTECTED] wrote: > > None of the attribues say if an LFUN only works in math-mode, do they? > > (That information might be interesting to tabulate for the users > > though) > > > > Which of the following LFUNs only work in math-mode? I'd be grateful > > if someone can tell me, or tell me how I can find out without > > resorting to trial and error. > > Where an LFUN works depends on which Dispatch method implements it. > Basically, inset-level LFUNs are implemented in individual insets; > BufferView-level LFUNs are implemented in BufferView::Dispatch; > Document-level LFUNs in text.C. Grep for individual LFUNs in the > sources; you'll soon get the idea.
I imagine it is possible to use doxygen to get a list of where a specific variable is used in the source. Is there a way doxygen can be used to generate a list of functions (with links to the source), where a specific *enum* is used? Let's say I'd like a list of all the Dispatch methods using LFUN_ACCENT_ACUTE? I know 'grep -r LFUN_ACCENT_ACUTE src/' works, but I'm wondering if it is possible to insert something in the eventual doxygen documentation that generates this automatically. Then for each LFUN in LyXAction.C, I could perhaps add some doxygen markup that results in a list (or links to a list) of the places where that particular LFUN is used. I suppose this kind of information is not interesting to the LyX user, but it might be useful/convenient for developers. /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr