> >> I'm working on a fix which should be available soon. > >Excellent!
I just wanted to clarify the intention with this code. I tried to follow the thread, http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg82007.html but am none the wiser. Is the intention of the current code to somehow work out which argument is intended to be edited? Given that MathMacro's are special in that the cells aren't generally shown, I don't see how simply calling the base class method can work. Here is my suggestion. If the macro is currently being edited, then select the correct cell. Otherwise, open the macro for editing & select the first cell. If the macro has no arguments, return the this pointer. Does this sound reasonable? Having said that, I notice that MathHullInset handles previews specifically. Do I need to be concerned with this? andrew