The attached is an attempt to fix the blue underline problem that occurs, e.g, with tabulars, and a few more irritating places.
It also removes the kludge that semi-fixed it before (yes, I am to blame for that one). Explanation: 1) The chunk to text.C makes the font that's handed to insets of noFontChange() type contain the document's language, rather than the LyX default language. This suppresses the blue lines in tabular. 2) The chunk to text3.C removes a kludge that is not needed anymore (and actually covered up the real problem, and didn't always work) 3) The chunk to text2.C removes a kludge that became positively undesirable :-( 4) The chunk to insetcharstyle.C fixes the blueline problem there, which was caused by this inset type playing its own font games. Please give it a try. IMHO a lot cleaner than what we have, and this actually works ;-) - Martin
signature.asc
Description: This is a digitally signed message part