On Wednesday 10 October 2007 16:04:24 Bo Peng wrote: > > Hmm, not sure this is _really_ useful. > > I am not sure either. I guess Jose can make a decision for us.
Not unless I have to. :-) And IMHO are are not there yet. You can always shoot to the least common denominator and start building from that. > > Instead of having predetermined categories, the first argument of > > InsetInfo could be an lfun. Then InsetInfo would just invoke this lfun > > to get the needed information. This means that the information will > > also be available for other uses (without additional cost). > > But we then need to define more LFUNs, such as LFUN_SHORTCUT_NAME? > > > Not really. When telling in the UserGuide that File>Open is Ctrl+O, > > one does not want to enumerate all possible uses. Actually you could > > implement both "shortcut" and "shortcuts" for these two uses. > > Maybe an overkill because most LFUN has only one shortcuts... > > > > As for printbindings, the original output [][] looks bad in a > > > button. Because it is used only in > > > LyXFunc.cpp::LyXFunc::sendDispatchMessage, so I think it is OK to > > > change it. > > > > Hmm. > > Another Jose's headache. Come on. :-) -- José Abílio