Diction is a great addon. However, while I was working on my
list merger, I started poking around in the source of it.
I felt that original script was pretty inefficient, iterating over every possible change every time a key was pressed in chat.
UntypeO still replaces your typos automatically, but now, only executes when you hit enter. Rather than iterating through all options, UntypeO uses the fact that Lua tables work as excellent maps right off the bat.
UntypeO started off as just my personal revisions to Diction, so it wouldn't lag WoW when I tried to test merging in very large lists. However, by time it was finished, there was almost nothing of Diction's original code left (but there is probably a line or two). I also added some features, and changed a few things internally (such as using SavedVariables).
When it was all said and done, it seemed that the right thing to do was to release it to the community as an entirely separate addon. While it may have it's roots in Diction, this addon accomplishes the same goal in a different way.
News:
Update: After some time away from WoW and Untype-O, I'm back at work on the rewrite!
There's a big rewrite going on, involving Ace3. The beneficial features of this rewrite will include support for WIM (idea from Misspelled), possibly a fix for the /tar issue, and generally nicer code for me to work with in the future.
Features!- More efficent scripting than Diction
- Compatible with Misspelled
- Compatible with Diction word lists via the improved and easy to use UntypeO Word List Updater. Look under Optional Files to download it!
- Four new slash commands!
Slash Commands!
/ut or /utaddusage: /ut <typo to replace> <correct replacement>
Adds the given typo to the list of typos to repair automatically.
/utc or /utcheckusage: /utc
Checks the list of default typos, and if the current account is missing any of them, add them in. Make sure to run this after running the Word List Updater!
/utd or /utdeleteusage: /utd <*typo to remove>
Remove the given typo from the filter of things to fix. Useful when you're as dumb as the author and try to add a filter that is already being automatically corrected. (The red asterisk can be any single character - it's ignored, and is only there to keep UntypeO from 'fixing' the very typo you want it to see!)
/utr or /utreplaceusage: /ut <typo to replace> <correct replacement>
Adds the given typo to the list of typos to repair automatically if it is not already in the list, and replaces any previous value that it was set to before if it was already in the list.
If you have any questions or comments, don't hesitate to contact me!
Known Issues:
There is a known issue with taint and /tar (/target). I am still working on this issue. Anyone with ideas on how to help, feel free to chime in!