El 4/2/2008, a las 9:41, Shawn O. Pearce escribió:
As you can see the commit message was rather long. I used this
feature the entire time while writing it, and I have to say, it
saved me from my horrible spelling and typing skills. It also
didn't feel like there was any significant lag, although every
once in a while it will mark a word that you are in the middle
of typing as misspelled, and catch up and correct that once you
finish the word. I guess that's what you get for slowing down
and taking a few extra milliseconds to move the fingers. :)
Rather than sending off the text to be spellchecked at intervals,
couldn't you refrain from sending it when the cursor hasn't yet moved
past a word boundary? This is what most "check spelling as you type
implementations do".
eg. If you type "spellnig" and leave the cursor immediately after the
"g", the word won't be highlighted until you hit space or otherwise
cause the cursor to move beyond the word boundary.
Cheers,
Wincent