You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2014/08/29 02:48:21 UTC
[4/8] git commit: [flex-utilities] [refs/heads/develop] - Change
default config file name to SpellingConfig.xml in docs
Change default config file name to SpellingConfig.xml in docs
Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/730b1b5a
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/730b1b5a
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/730b1b5a
Branch: refs/heads/develop
Commit: 730b1b5ace981108672cfe9edb487103428348f1
Parents: 20eedd5
Author: Justin Mclean <jm...@apache.org>
Authored: Fri Aug 29 10:41:06 2014 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Fri Aug 29 10:41:06 2014 +1000
----------------------------------------------------------------------
.../SquigglyTLFExample/src/SquigglyTLFExample.as | 2 +-
.../src/com/adobe/linguistics/spelling/SpellUI.as | 12 ++++++------
.../src/com/adobe/linguistics/spelling/SpellUI.as | 4 ++--
.../com/adobe/linguistics/spelling/SpellUIForTLF.as | 14 +++++++-------
4 files changed, 16 insertions(+), 16 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/730b1b5a/Squiggly/main/ASDocExamples/com/adobe/linguistics/spelling/Examples/ActionScript/SquigglyTLFExample/src/SquigglyTLFExample.as
----------------------------------------------------------------------
diff --git a/Squiggly/main/ASDocExamples/com/adobe/linguistics/spelling/Examples/ActionScript/SquigglyTLFExample/src/SquigglyTLFExample.as b/Squiggly/main/ASDocExamples/com/adobe/linguistics/spelling/Examples/ActionScript/SquigglyTLFExample/src/SquigglyTLFExample.as
index e4df4bf..b2453c6 100644
--- a/Squiggly/main/ASDocExamples/com/adobe/linguistics/spelling/Examples/ActionScript/SquigglyTLFExample/src/SquigglyTLFExample.as
+++ b/Squiggly/main/ASDocExamples/com/adobe/linguistics/spelling/Examples/ActionScript/SquigglyTLFExample/src/SquigglyTLFExample.as
@@ -28,7 +28,7 @@
* </li>
* </ol>
*
- * Note: to make this example work properly, please make sure you have the proper dictionary files and AdobeSpellingConfig.xml file in the specified folder
+ * Note: to make this example work properly, please make sure you have the proper dictionary files and SpellingConfig.xml file in the specified folder
* and put the Squiggly AdobeSpellingUITLF.swc library in your libs folder.
*/
package
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/730b1b5a/Squiggly/main/SpellingUI/src/com/adobe/linguistics/spelling/SpellUI.as
----------------------------------------------------------------------
diff --git a/Squiggly/main/SpellingUI/src/com/adobe/linguistics/spelling/SpellUI.as b/Squiggly/main/SpellingUI/src/com/adobe/linguistics/spelling/SpellUI.as
index ae0f89a..20a229d 100644
--- a/Squiggly/main/SpellingUI/src/com/adobe/linguistics/spelling/SpellUI.as
+++ b/Squiggly/main/SpellingUI/src/com/adobe/linguistics/spelling/SpellUI.as
@@ -65,12 +65,12 @@ package com.adobe.linguistics.spelling
* <p>For advanced text editing applications, more complex features are likely required.
* For those applications, we recommend bypassing this class and utilizing the <code>SpellChecker</code> class directly.</p>
*
- * <p><code>SpellUI</code> uses the AdobeSpellingConfig.xml file to lookup corresponding resource files for a given locale.
- * The default location of AdobeSpellingConfig.xml is [yourapplicationDirectory]/AdobeSpellingConfig.xml. This could be customized using
+ * <p><code>SpellUI</code> uses the SpellingConfig.xml file to lookup corresponding resource files for a given locale.
+ * The default location of SpellingConfig.xml is [yourapplicationDirectory]/SpellingConfig.xml. This could be customized using
* <code>spellingConfigUrl</code> property of <code>SpellUI</code>. You don't have to change the content of this file. However,
* if you want to add a new language, to use an alternative dictionary or to customize the location for your dictionaries, you can modify it.
* There's an known issue with IIS web server when loading dictionary files with unknown extensions, in which case you can modify the XML to work around it.</p><p>
- * A sample AdobeSpellingConfig.xml will look as follows:
+ * A sample SpellingConfig.xml will look as follows:
* <listing version="3.0">
* <pre class="preWrapper">
* <?xml version="1.0" encoding='UTF-8'?>
@@ -138,8 +138,8 @@ package com.adobe.linguistics.spelling
*
* @param comp A text editing Flex UI component. It can be a mx <code>TextArea</code>, <code>TextInput</code> or <code>RichTextEditor</code>.
* If you are using AdobeSpellingUIEx.swc, it can also be a spark <code>TextArea</code> or <code>TextInput</code>.
- * @param lang The language code used for spell checking, for example <code>en_US</code>. it will lookup the AdobeSpellingConfig.xml file to access corresponding resource files.
- * AdobeSpellingConfig.xml should be located at the same folder as your main mxml source file. You don't have to change the content of this file. However,
+ * @param lang The language code used for spell checking, for example <code>en_US</code>. it will lookup the SpellingConfig.xml file to access corresponding resource files.
+ * SpellingConfig.xml should be located at the same folder as your main mxml source file. You don't have to change the content of this file. However,
* if you want to add a new language, to use an alternative dictionary or to customize the location for your dictionaries, you can modify it. There's an known issue with
* IIS web server when loading dictionary files with unknown extensions, in which case you can modify the XML to work around it.
*
@@ -209,7 +209,7 @@ package com.adobe.linguistics.spelling
}
/**
- * The URL for the spelling config xml file. If you haven't specified it, the default URL is [applicationDirectory]/AdobeSpellingConfig.xml. Note that we don't validate the URL, if the file doesn't exist, you will get an error when calling enableSpelling() function.
+ * The URL for the spelling config xml file. If you haven't specified it, the default URL is [applicationDirectory]/SpellingConfig.xml. Note that we don't validate the URL, if the file doesn't exist, you will get an error when calling enableSpelling() function.
*
* @example The following code customize the spellingConfigUrl before enabling spell checking.
* <listing version="3.0">
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/730b1b5a/Squiggly/main/SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as
----------------------------------------------------------------------
diff --git a/Squiggly/main/SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as b/Squiggly/main/SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as
index 69c9aab..317e05b 100644
--- a/Squiggly/main/SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as
+++ b/Squiggly/main/SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as
@@ -102,7 +102,7 @@ package com.adobe.linguistics.spelling
private var _spellingservice:SpellingService = null;
private static var _contextMenuEntries:Object = {enable:"Enable Spelling", disable:"Disable Spelling", add:"Add to dictionary"};
- private static var _spellingConfigUrl:String = "AdobeSpellingConfig.xml";
+ private static var _spellingConfigUrl:String = "SpellingConfig.xml";
private static var _UITable:Dictionary= new Dictionary();
private static var _parentTable:Dictionary= new Dictionary();
private static var _cacheDictTable:Dictionary= new Dictionary();
@@ -171,7 +171,7 @@ package com.adobe.linguistics.spelling
}
/**
- * The URL for the spelling config xml file. If you haven't specify it, the default URL is [applicationDirectory]/AdobeSpellingConfig.xml. Note that we don't validate the URL, if the file doesn't exist, you will get an error when calling enableSpelling() function.
+ * The URL for the spelling config xml file. If you haven't specify it, the default URL is [applicationDirectory]/SpellingConfig.xml. Note that we don't validate the URL, if the file doesn't exist, you will get an error when calling enableSpelling() function.
*
* @example The following code customize the spellingConfigUrl before enabling spell checking.
* <listing version="3.0">
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/730b1b5a/Squiggly/main/SpellingUITLF/src/com/adobe/linguistics/spelling/SpellUIForTLF.as
----------------------------------------------------------------------
diff --git a/Squiggly/main/SpellingUITLF/src/com/adobe/linguistics/spelling/SpellUIForTLF.as b/Squiggly/main/SpellingUITLF/src/com/adobe/linguistics/spelling/SpellUIForTLF.as
index 4128cd4..e2bbb60 100644
--- a/Squiggly/main/SpellingUITLF/src/com/adobe/linguistics/spelling/SpellUIForTLF.as
+++ b/Squiggly/main/SpellingUITLF/src/com/adobe/linguistics/spelling/SpellUIForTLF.as
@@ -74,12 +74,12 @@ package com.adobe.linguistics.spelling
* </ul>
*
*
- * <p><code>SpellUIForTLF</code> uses the AdobeSpellingConfig.xml file to lookup corresponding resource files for a given locale.
- * The default location of AdobeSpellingConfig.xml is [yourapplicationDirectory]/AdobeSpellingConfig.xml. This could be customized using
+ * <p><code>SpellUIForTLF</code> uses the SpellingConfig.xml file to lookup corresponding resource files for a given locale.
+ * The default location of SpellingConfig.xml is [yourapplicationDirectory]/SpellingConfig.xml. This could be customized using
* <code>spellingConfigUrl</code> property of <code>SpellUI</code>. You don't have to change the content of this file. However,
* if you want to add a new language, to use an alternative dictionary or to customize the location for your dictionaries, you can modify it.
* There's an known issue with IIS web server when loading dictionary files with unknown extensions, in which case you can modify the XML to work around it.</p><p>
- * A sample AdobeSpellingConfig.xml will look as follows:
+ * A sample SpellingConfig.xml will look as follows:
* <listing version="3.0">
* <pre class="preWrapper">
* <?xml version="1.0" encoding='UTF-8'?>
@@ -124,7 +124,7 @@ package com.adobe.linguistics.spelling
private var _spellingservice:SpellingService = null;
private static var _contextMenuEntries:Object = {enable:"Enable Spelling", disable:"Disable Spelling", add:"Add to dictionary"};
- private static var _spellingConfigUrl:String = "AdobeSpellingConfig.xml";
+ private static var _spellingConfigUrl:String = "SpellingConfig.xml";
private static var _UITable:Dictionary= new Dictionary();
private static var _parentTable:Dictionary= new Dictionary();
private static var _cacheDictTable:Dictionary= new Dictionary();
@@ -141,8 +141,8 @@ package com.adobe.linguistics.spelling
* right click on a misspelled word to see the suggestions in the context menu.
*
* @param comp A TLF TextFlow object
- * @param lang The language code used for spell checking, for example <code>en_US</code>. it will lookup the AdobeSpellingConfig.xml file to access corresponding resource files.
- * AdobeSpellingConfig.xml should located at the same folder as your main mxml source file. You don't have to change the content of this file. However,
+ * @param lang The language code used for spell checking, for example <code>en_US</code>. it will lookup the SpellingConfig.xml file to access corresponding resource files.
+ * SpellingConfig.xml should located at the same folder as your main mxml source file. You don't have to change the content of this file. However,
* if you want to add a new language, to use an alternative dictionary or to customize the location for your dictionaries, you can modify it. There's an known issue with
* IIS web server when loading dictionary files with unknown extensions, in which case you can modify the XML to work around it.
*
@@ -207,7 +207,7 @@ package com.adobe.linguistics.spelling
}
/**
- * The URL for the spelling config xml file. If you haven't specify it, the default URL is [applicationDirectory]/AdobeSpellingConfig.xml. Note that we don't validate the URL, if the file doesn't exist, you will get an error when calling enableSpelling() function.
+ * The URL for the spelling config xml file. If you haven't specify it, the default URL is [applicationDirectory]/SpellingConfig.xml. Note that we don't validate the URL, if the file doesn't exist, you will get an error when calling enableSpelling() function.
*
* @example The following code customize the spellingConfigUrl before enabling spell checking.
* <listing version="3.0">