>>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:
Andre> 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)? Andre> If it works ;-) Andre> I think this is a bit too deep in the bowels. I'd only check Andre> direct user input, not every char that gets inserted for any Andre> reason. Why? If you do Insert>LyX file, for example? JMarc