Le 06/05/15 18:40, Stephan Witt a écrit :
                // We are only interested in text so remove the math 
CursorSlice.
-               while (from.inMathed()) {
+               // The same is done for insets with disabled spell check.
+               while (from.inMathed() || !from.inset().allowSpellCheck()) {

Actually, it seems to me that math insets have allowSpellCheck == false (default in Inset.h). Therefore, you can drop the mathed condition.

JMarc

Reply via email to