From: SourceForge.net <no...@so...> - 2005-03-18 16:49:26
|
Patches item #1166073, was opened at 2005-03-18 11:38 Message generated for change (Settings changed) made by lschiere You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300235&aid=1166073&group_id=235 Category: Plugins Group: None Status: Open Resolution: None Priority: 5 Submitted By: Benjamin Kahn (xkahn) >Assigned to: Sean Egan (seanegan) Summary: Make the autocorrect plugin work Initial Comment: Autocorrect in gaim... um... sucks. The problem is that the correction only happens AFTER you send a message. This means that you don't actually know what message you are sending until it is sent. Horrible. My new patch works AS YOU TYPE with the following rules: * You must be typing, not pasting in text. If you paste in teh and there is a rule to correct teh to the, it won't be corrected. This is because it would be impossible to go back and check all the text. * Check whole words ONLY. Partial words don't count. * If the dictionary word has capital letters in it, match only words with that capitalization. (FPT -> FTP doesn't match ftp.) * If the dictionary word doesn't have capital letters, preserve the capitalization the user used. (The code assumes three possible capitalization schemes: ALLCAPS, lowercase, and Proper.) Unless the solution has capital letters. In that case, force the capitalization used in the solution. * A word may have quote characters in it and still be a word. * If the user immediately hits the backspace key after a correction, undo the correction. ---------------------------------------------------------------------- Comment By: Benjamin Kahn (xkahn) Date: 2005-03-18 11:41 Message: Logged In: YES user_id=7632 Oh! And we'll need some good text replacements. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300235&aid=1166073&group_id=235 |