Re: [LyX/master] Fixup 522516d9 : editable() is unusable in mathed

2017-06-25 Thread Guillaume MM
Le 23/06/2017 à 20:38, Jean-Marc Lasgouttes a écrit : Le 20/06/2017 à 23:31, Guillaume MM a écrit : Hi Jean-Marc, There is the case of InsetMathRef which has nargs()!=0 but whose cell is not active. See e.g. the fix at 7337c968. Is the logic still valid in this case? Just in case. Hi

Re: [LyX/master] Fixup 522516d9 : editable() is unusable in mathed

2017-06-23 Thread Jean-Marc Lasgouttes
Le 20/06/2017 à 23:31, Guillaume MM a écrit : Hi Jean-Marc, There is the case of InsetMathRef which has nargs()!=0 but whose cell is not active. See e.g. the fix at 7337c968. Is the logic still valid in this case? Just in case. Hi Guillaume, What do you think of this one instead? I don't

Re: [LyX/master] Fixup 522516d9 : editable() is unusable in mathed

2017-06-22 Thread Jean-Marc Lasgouttes
Le 20/06/2017 à 23:31, Guillaume MM a écrit : Hi Jean-Marc, There is the case of InsetMathRef which has nargs()!=0 but whose cell is not active. See e.g. the fix at 7337c968. Is the logic still valid in this case? Just in case. Very good point. Sigh. The good solution would be a careful

Re: [LyX/master] Fixup 522516d9 : editable() is unusable in mathed

2017-06-20 Thread Guillaume MM
Hi Jean-Marc, There is the case of InsetMathRef which has nargs()!=0 but whose cell is not active. See e.g. the fix at 7337c968. Is the logic still valid in this case? Just in case. Guillaume Le 20/06/2017 à 09:44, Jean-Marc Lasgouttes a écrit : commit