On Tue, May 15, 2007 at 07:04:38PM +0200, Jürgen Spitzmüller wrote:
> The reason is simple: LyX inserts a hyphenation-inset, which is simply 
> invalid 
> in mathed (and hence drawn outside). This confuses undo.
> 
> Simple fix: disable the specialchar insets in mathed (see attached patch). 
> Also a candidate for 1.4. (same crashes)
> 
> However, in math-text mode, lots of these lfuns would make sense, so they 
> could be implemented later (for instance, \- or even \textcompwordmark in 
> math-text seems to do the right thing; I've added a FIXME).

currentMode() should give you that info.
 
- Martin

Reply via email to