Beta 2.1

So it’s time for a new release. I added a feature and dealt with some bugs. I’ll be updating the FAQ to reflect some changes.

  1. I have not recreated the TextArea or RichTextArea extended versions with spell check capability. Any developer can do this and a lot of people didn’t want this added into the swc.
  2. Fixed an issue when not using the left mouse click on the Spelling Decorator that cause a null pointer exception.
  3. Fixed the issue with the PersonalDictionary not removing from the action script engine.
  4. Fixed an issue with the frame event resizing constantly due to a fraction of a number, now holding onto old width/height and validating versus the textfield.
  5. Fixed an issue where setting text programmatically did not fire a text check and underline.
  6. Added FaultEvent on the WordList get for the dictionary url.
  7. COMPRESSED/PRE-PROCESSED file. I have added a pre-processed dictionary file called dictionary.cdic.
  8. It is a base-64 encoded pre-processed file.
  9. It loads in about 1/10th of the original
  10. Added functionality to handle a normal .dic file and .cdic file.
  11. If you want to use the .cdic file, please make sure it ends with .cdic otherwise it will try to be processed as a normal text file.
  12. The file size is 1.5 meg compressed where the .dic file is uncompressed at 1.5 meg, so if your bandwidth is an issue you might try adding gzip compression on a server to compress the dictionary file being streamed to the web browser client. This will give you a nice compression ratio but will be much slower to process.

Last Time - Things To Do
  • Round off the Dictionary Management UI, to allow editing of the local dictionary contents, to remove added words.
  • Work on speed performance. (this one is going to be ongoing)
  • Update Dictionary for initial load so that the action script will decompress the contents, instead of relying on a server to do it for the end user.
  • Create a new Demo.

Things To Do
  • Continue speed performance.
  • Update FAQ
  • Create a new Demo

Get the Source Code for the New Stuff!!!

0 Comments

Project Update

I’ve re-kindled my interests in my spell checker. I’ve had someone request a few changes to the spell checker so I thought I’d document the code changes and updates to this project in blog format.

    • This means you can use the capability if you don’t want to extend the TextArea or RichTextEditor, also you can pass in your own TextField.
  • Add left click menu capability, for people with touch screens, it’s a parameter in the decorator.
  • Changed the graphics to be contained in the DisplayObjectContainer parent of the TextField, this allows for a much better underlining view. Also it removes the occasional trailing underlining that would show up when words had been hidden
  • Changed the RegEx that identifies word boundaries to be more sensitive
  • Now the underlining will respect all Capital word’s. If it’s capitalized from beginning to end of the word it will not be underlined.
  • Words that are wrapped and mis-spelled will be underlined on each line it fills.
  • I’ve tweaked some of how the highlight is checked to try to speed some things up, but any true speed increase will be left for something to do later.
  • Added multiple event handlers to deal with focus in/focus out.
  • Fixed an issue with constant lookups for updates to a word that was originally mis-spelled, this caused some odd highlighting with the updates completing and the new word not being underlined properly.

Things To Do
  • Round off the Dictionary Management UI, to allow editing of the local dictionary contents, to remove added words.
  • Work on speed performance.
  • Update Dictionary for initial load so that the action script will decompress the contents, instead of relying on a server to do it for the end user.
  • Create a new Demo.

Get the Source Code for the New Stuff!!!


0 Comments