Apr 19, 2015 - This information was copied and pasted from http://labs.adobe.com/technologies/squiggly/releasenotes.html. It was dated June 20, 2011 and may be outdated. This information released under MIT license. Feel free to update it.


Original Content Below Updated: June 20, 2011

Welcome to the preview release of codename "Squiggly." This release note documents known issues related to Squiggly version 0.6 (prerelease 6).

Overview

Squiggly is an Action Script spell checking library for developers who work in Adobe® Flash® Professional, Adobe Flex® Builder™, or other IDEs that support ActionScript. The Squiggly package contains six .swc files – three of which integration convenience classes called SpellUI, one for Flex 3, another for Flex 4, and a third one for TLF. The integration convenience classes bundle a context menu UI, the spelling engine, and user dictionary functionality, all in a single package to enable a one line integration of spell checking functionality into any Flex or ActionScript application. The spell checking engine of Squiggly is written in ActionScript 3.0 and does not have a specific dependency on Flash CS4 Professional, Flex or any other framework. The UI class for Squiggly requires the Flex 3 SDK or Flex 4 SDK, but it is possible for developers to write their own UI controls without a dependency on the Flex SDK.

We encourage you to be as active as possible in reporting any issues that you may find on the Discussion Forum. Please carefully read these release notes, prior to installation. This document contains late-breaking product information, updates, and troubleshooting tips related to this library and its usage with Flash CS4 Professional, Flex®, Flash Player and AIR.

System Requirements

The Squiggly library has been tested with Adobe Flash Player 10.3 and AIR 2.7. General system requirements for Flash Player are available on Adobe.com. General system requirements for AIR are also available on Adobe.com.

Squiggly does not contain any platform specific code. As such, it should work similarly across all platforms that the Flash Player 10 runs on.

Installation and Setup

Prerelease software may be unstable. While we know of no major issues running these builds on machines where you are currently using previous versions of the required applications, we advise you to save your work frequently and avoid leaving open documents unsaved in any application.

Squiggly ZIP Folder Contents

Once you unzip this file you will see a Squiggly folder which contains the following files and sub-folders:

Expand the ZIP archive into your Flash development environment and review the Squiggly ASDoc, along with the sample code.

Language Support

Starting with version 0.3, Squiggly has moved to the Hunspell algorithm. By moving to Hunspell, Squiggly is now capable of handling more than just English. As one of the most widely used spell checking algorithms in the industry, Hunspell benefits from having a broad array of language dictionaries that are regularly updated by the linguistic community.

Over time, Squiggly will be able to take advantage of all of these dictionaries to offer a wide coverage of languages for your application. However, this release of Squiggly is still only a partial implementation of the Hunspell algorithm, and as such, cannot support all Hunspell languages at this time. There are three pieces to the puzzle that determines the list of languages that can be supported by Squiggly – the implementation of the "Hunspell language rules" in the spelling engine, support for language specific tokenizers, and the availability of relevant language dictionaries. The final point is already handled by the Hunspell community, and will be explained in further detail below. The first two points – support for language rules in the engine and the support for language specific tokenizers in the Squiggly UI – are where the Squiggly implementation is not yet complete.

This release of Squiggly has only been validated against English (US), French (new in 0.6), Spanish (Spain), Italian, and Portuguese (Brazilian and Portugal). Implementation of additional language rules to enable German support will be addressed in a future release of Squiggly. We highly discourage developers from experimenting with additional languages until the language rules have been implemented, as you will surely be disappointed by the poor quality of the suggestions that Squiggly will offer.

You can learn more about Hunspell at: http://hunspell.sourceforge.net/ and http://en.wikipedia.org/wiki/Hunspell

How to install spelling dictionaries for Squiggly

Each Hunspell language dictionary is governed by its own open source license. As such, we advise you to read the licensing terms carefully before deciding to bundle any dictionary with your application. Adobe is bundling a sample American English dictionary to allow developers to experiment with Squiggly’s spell checking capabilities. However, you will need to download your own dictionaries to get the most up-to-date content and for the other languages supported by this release.

The most convenient locations for downloading Hunspell dictionaries are:

You will notice that both OpenOffice and Mozilla package the dictionaries in their own file formats – .oxt and .xpi. While these extensions may appear to be proprietary, they are just zip files. Download the dictionary of your choice, rename them to *.zip, and extract the content to your local machine.

The two files Squiggly depends upon are the *.dic file (word list) and the *.aff file (language rules). While some dictionary bundles may contain other files, such as hyphenation pattern files or thesaurus files, those are not material to Squiggly. Copy the *.dic and *.aff files into your development project, and edit the AdobeSpellingConfig.xml file (found in [YourProject]/src/) to specify their location. A sample AdobeSpellingConfig.xml will look as follows:

 <?xml version="1.0" encoding='UTF-8'?>
 <SpellingConfig>
  <LanguageResource 
    language="English" 
    languageCode="en_US" 
    ruleFile="src/dictionaries/en_US/en_US.aff" 
    dictionaryFile="src/dictionaries/en_US/en_US.dic"/>
 </SpellingConfig>

Note: The languageCode can be an arbitrary value, as long as you are consistent when passing them to the Squiggly classes. However, we highly encourage you to follow the two part Unicode language identifier format. For more information, please consult the latest Unicode Technical Standard that can be found at: http://unicode.org/reports/tr35/.

How to Enhance or create new dictionaries

Please refer to the OpenOffice Lingucomponent page for instructions on how to build new dictionary files. Detailed instructions can be found at:

http://lingucomponent.openoffice.org/dictionary.html

General Announcements

Please note that the main focus of this prerelease program at this time is on getting early feedback on features/APIs and receiving bug reports.

The APIs should be considered Alpha quality and still under definition. There are likely to be changes to these APIs in the future.

Features

Introduced in prerelease 6 (v0.6)
Features

This release has the following three new features:

  1. Support for the fr_FR locale, via the addition of the following Hunspell dictionary rules:
  2. Added two new properties which if used can enable loading of dictionaries in parts. This should be used when UI freeze is observed after calling squiggly spell checking. (Enhancement request 2802354)  Properties added are:
  3. Support for the Spark:RichEditableText control. (Enhancement request 2609230)

Introduced in prerelease 5 (v0.5)
Features

This release introduces a new library AdobeSpellingUITLF.swc, which adds support for TLF TextFlow through the new public class SpellUIForTLF. Please see the ASDocs for further information on how to enable spell checking in ActionScript applications using TLF. With the addition of TLF support, spell checking can now be added to the following 6 component types:

Several new classes have been exposed that were previously hidden under SpellUI, such as the Highlighter, the Tokenizer, and configuration related classes. These classes will offer developers greater customizing of how Squiggly behaves in their Flex and ActionScript applications. Please see the ASDocs for further information on the new classes.

Finally, text field event handling has been added to SpellUI for FOCUS_OUT, FOCUS_IN, SCROLL, RENDER and CHANGE events.

Bug Fixes

Introduced in prerelease 4 (v0.4)
Features

A new spellingConfigUrl property has been added to allow users to specify the location of the AdobeSpellingConfig.xml file (Enhancement 2707630). To use this, set the following:

 SpellUI.spellingConfigUrl ="../data/AdobeSpellingConfig.xml";

Note that the path here is relative to your application swf file. You can also use an HTTP URL, though https is not supported as of v0.4. Please make sure that valid locations are specified, as no validation is done by Squiggly.

Bug Fixes

Introduced in prerelease 3 (v0.3)

Features

Bug Fixes

Introduced in prerelease 2 (v0.2)

Features

Bug Fixes

Introduced in prerelease 1 (v0.1)

Core Spell Checking Engine (pure Action Script)

UI Class (requires Flex 3 SDK or Flex 4 SDK)

Known Issues

General

Coding Issues

Detection

Suggestions

User Dictionary

Legal Notices

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

© 2010 Adobe Systems Incorporated. All rights reserved.

Adobe, the Adobe Logo, ActionScript, Flash and Flex are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. Macintosh and TrueType are trademarks of Apple Computer Inc., registered in the United States and other countries. Microsoft Windows, Windows Vista, Windows Internet Explorer and OpenType are a trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Linux is the registered trademark of Linux Torvalds in the U.S. and other countries. Updated Information/Additional Third Party Code Information available at http://www.adobe.com/go/thirdparty/.