On Thu, Dec 19, 2002 at 06:25:33PM +0100, Daniel Naber wrote: > > One would have to hook into the handler for LFUN_SELFINSERT > > (src/text3.C, line 1500+) and cut the "last" word or sentence from > > cursor position backward. > > So far I added some code to LyXText::insertChar(). If the last word is > incorrect, it gets underlined. Does that approach make sense (note that > I'm not familiar with the LyX code at all)?
If it works ;-) I think this is a bit too deep in the bowels. I'd only check direct user input, not every char that gets inserted for any reason. How much code is that btw? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
