Index: /CKEditor/trunk/_source/core/config.js
===================================================================
--- /CKEditor/trunk/_source/core/config.js	(revision 7106)
+++ /CKEditor/trunk/_source/core/config.js	(revision 7107)
@@ -5,12 +5,13 @@
 
 /**
- * @fileOverview Defines the {@link CKEDITOR.config} object, which holds the
+ * @fileOverview Defines the <code>{@link CKEDITOR.config}</code> object that stores the
  * default configuration settings.
  */
 
 /**
- * Used in conjuction with {@link CKEDITOR.config.enterMode} and
- * {@link CKEDITOR.config.shiftEnterMode} to make the editor produce &lt;p&gt;
- * tags when using the ENTER key.
+ * Used in conjunction with <code>{@link CKEDITOR.config.enterMode}</code>
+ * and <code>{@link CKEDITOR.config.shiftEnterMode}</code> configuration
+ * settings to make the editor produce <code>&lt;p&gt;</code> tags when
+ * using the <em>Enter</em> key.
  * @constant
  */
@@ -18,7 +19,8 @@
 
 /**
- * Used in conjuction with {@link CKEDITOR.config.enterMode} and
- * {@link CKEDITOR.config.shiftEnterMode} to make the editor produce &lt;br&gt;
- * tags when using the ENTER key.
+ * Used in conjunction with <code>{@link CKEDITOR.config.enterMode}</code>
+ * and <code>{@link CKEDITOR.config.shiftEnterMode}</code> configuration
+ * settings to make the editor produce <code>&lt;br&gt;</code> tags when
+ * using the <em>Enter</em> key.
  * @constant
  */
@@ -26,7 +28,8 @@
 
 /**
- * Used in conjuction with {@link CKEDITOR.config.enterMode} and
- * {@link CKEDITOR.config.shiftEnterMode} to make the editor produce &lt;div&gt;
- * tags when using the ENTER key.
+ * Used in conjunction with <code>{@link CKEDITOR.config.enterMode}</code>
+ * and <code>{@link CKEDITOR.config.shiftEnterMode}</code> configuration
+ * settings to make the editor produce <code>&lt;div&gt;</code> tags when
+ * using the <em>Enter</em> key.
  * @constant
  */
@@ -34,7 +37,7 @@
 
 /**
- * @namespace Holds the default configuration settings. Changes to this object are
- * reflected in all editor instances, if not specificaly specified for those
- * instances.
+ * @namespace Stores default configuration settings. Changes to this object are
+ * reflected in all editor instances, if not specified otherwise for a particular
+ * instance.
  */
 CKEDITOR.config =
@@ -42,5 +45,5 @@
 	/**
 	 * The URL path for the custom configuration file to be loaded. If not
-	 * overloaded with inline configurations, it defaults to the "config.js"
+	 * overloaded with inline configuration, it defaults to the <code>config.js</code>
 	 * file present in the root of the CKEditor installation directory.<br /><br />
 	 *
@@ -48,19 +51,19 @@
 	 * other custom configuration files.
 	 * @type String
-	 * @default '&lt;CKEditor folder&gt;/config.js'
+	 * @default <code>'<em>&lt;CKEditor folder&gt;</em>/config.js'</code>
 	 * @example
 	 * // Load a specific configuration file.
-	 * CKEDITOR.replace( 'myfiled', { customConfig : '/myconfig.js' } );
+	 * CKEDITOR.replace( 'myfield', { customConfig : '/myconfig.js' } );
 	 * @example
 	 * // Do not load any custom configuration file.
-	 * CKEDITOR.replace( 'myfiled', { customConfig : '' } );
+	 * CKEDITOR.replace( 'myfield', { customConfig : '' } );
 	 */
 	customConfig : 'config.js',
 
 	/**
-	 * Whether the replaced element (usually a textarea) is to be updated
-	 * automatically when posting the form containing the editor.
+	 * Whether the replaced element (usually a <code>&lt;textarea&gt;</code>)
+	 * is to be updated automatically when posting the form containing the editor.
 	 * @type Boolean
-	 * @default true
+	 * @default <code>true</code>
 	 * @example
 	 * config.autoUpdateElement = true;
@@ -72,5 +75,5 @@
 	 * editor content.
 	 * @type String
-	 * @default '' (empty)
+	 * @default <code>''</code> (empty)
 	 * @example
 	 * config.baseHref = 'http://www.example.com/path/';
@@ -79,9 +82,9 @@
 
 	/**
-	 * The CSS file(s) to be used to apply style to the contents. It should
+	 * The CSS file(s) to be used to apply style to editor contents. It should
 	 * reflect the CSS used in the final pages where the contents are to be
 	 * used.
 	 * @type String|Array
-	 * @default '&lt;CKEditor folder&gt;/contents.css'
+	 * @default <code>'<em>&lt;CKEditor folder&gt;</em>/contents.css'</code>
 	 * @example
 	 * config.contentsCss = '/css/mysitestyles.css';
@@ -91,12 +94,12 @@
 
 	/**
-	 * The writting direction of the language used to write the editor
+	 * The writing direction of the language used to create the editor
 	 * contents. Allowed values are:
 	 * <ul>
-	 *     <li>'ui' - which indicate content direction will be the same with the user interface language direction;</li>
-	 *     <li>'ltr' - for Left-To-Right language (like English);</li>
-	 *     <li>'rtl' - for Right-To-Left languages (like Arabic).</li>
+	 *     <li><code>'ui'</code> &ndash; indicates that content direction will be the same as the user interface language direction;</li>
+	 *     <li><code>'ltr'</code> &ndash; for Left-To-Right language (like English);</li>
+	 *     <li><code>'rtl'</code> &ndash; for Right-To-Left languages (like Arabic).</li>
 	 * </ul>
-	 * @default 'ui'
+	 * @default <code>'ui'</code>
 	 * @type String
 	 * @example
@@ -106,7 +109,7 @@
 
 	/**
-	 * Language code of  the writting language which is used to author the editor
+	 * Language code of  the writing language which is used to create the editor
 	 * contents.
-	 * @default Same value with editor's UI language.
+	 * @default Same value as editor UI language.
 	 * @type String
 	 * @example
@@ -116,8 +119,9 @@
 
 	/**
-	 * The user interface language localization to use. If empty, the editor
-	 * automatically localize the editor to the user language, if supported,
-	 * otherwise the {@link CKEDITOR.config.defaultLanguage} language is used.
-	 * @default '' (empty)
+	 * The user interface language localization to use. If left empty, the editor
+	 * will automatically be localized to the user language. If the user language is not supported,
+	 * the language specified in the <code>{@link CKEDITOR.config.defaultLanguage}</code>
+	 * configuration setting is used.
+	 * @default <code>''</code> (empty)
 	 * @type String
 	 * @example
@@ -128,7 +132,7 @@
 
 	/**
-	 * The language to be used if {@link CKEDITOR.config.language} is left empty and it's not
-	 * possible to localize the editor to the user language.
-	 * @default 'en'
+	 * The language to be used if the <code>{@link CKEDITOR.config.language}</code>
+	 * setting is left empty and it is not possible to localize the editor to the user language.
+	 * @default <code>'en'</code>
 	 * @type String
 	 * @example
@@ -138,19 +142,18 @@
 
 	/**
-	 * Sets the behavior for the ENTER key. It also dictates other behaviour
-	 * rules in the editor, like whether the &lt;br&gt; element is to be used
+	 * Sets the behavior of the <em>Enter</em> key. It also determines other behavior
+	 * rules of the editor, like whether the <code>&lt;br&gt;</code> element is to be used
 	 * as a paragraph separator when indenting text.
-	 * The allowed values are the following constants, and their relative
-	 * behavior:
+	 * The allowed values are the following constants that cause the behavior outlined below:
 	 * <ul>
-	 *     <li>{@link CKEDITOR.ENTER_P} (1): new &lt;p&gt; paragraphs are created;</li>
-	 *     <li>{@link CKEDITOR.ENTER_BR} (2): lines are broken with &lt;br&gt; elements;</li>
-	 *     <li>{@link CKEDITOR.ENTER_DIV} (3): new &lt;div&gt; blocks are created.</li>
+	 *     <li><code>{@link CKEDITOR.ENTER_P}</code> (1) &ndash; new <code>&lt;p&gt;</code> paragraphs are created;</li>
+	 *     <li><code>{@link CKEDITOR.ENTER_BR}</code> (2) &ndash; lines are broken with <code>&lt;br&gt;</code> elements;</li>
+	 *     <li><code>{@link CKEDITOR.ENTER_DIV}</code> (3) &ndash; new <code>&lt;div&gt;</code> blocks are created.</li>
 	 * </ul>
-	 * <strong>Note</strong>: It's recommended to use the
-	 * {@link CKEDITOR.ENTER_P} value because of its semantic value and
-	 * correctness. The editor is optimized for this value.
+	 * <strong>Note</strong>: It is recommended to use the
+	 * <code>{@link CKEDITOR.ENTER_P}</code> setting because of its semantic value and
+	 * correctness. The editor is optimized for this setting.
 	 * @type Number
-	 * @default {@link CKEDITOR.ENTER_P}
+	 * @default <code>{@link CKEDITOR.ENTER_P}</code>
 	 * @example
 	 * // Not recommended.
@@ -160,9 +163,12 @@
 
 	/**
-	 * Force the respect of {@link CKEDITOR.config.enterMode} as line break regardless of the context,
-	 * E.g. If {@link CKEDITOR.config.enterMode} is set to {@link CKEDITOR.ENTER_P},
-	 * press enter key inside a 'div' will create a new paragraph with 'p' instead of 'div'.
+	 * Force the use of <code>{@link CKEDITOR.config.enterMode}</code> as line break regardless
+	 * of the context. If, for example, <code>{@link CKEDITOR.config.enterMode}</code> is set
+	 * to <code>{@link CKEDITOR.ENTER_P}</code>, pressing the <em>Enter</em> key inside a
+	 * <code>&lt;div&gt;</code> element will create a new paragraph with <code>&lt;p&gt;</code>
+	 * instead of a <code>&lt;div&gt;</code>.
 	 * @since 3.2.1
-	 * @default false
+	 * @type Boolean
+	 * @default <code>false</code>
 	 * @example
 	 * // Not recommended.
@@ -172,14 +178,14 @@
 
 	/**
-	 * Just like the {@link CKEDITOR.config.enterMode} setting, it defines the behavior for the SHIFT+ENTER key.
-	 * The allowed values are the following constants, and their relative
-	 * behavior:
+	 * Similarly to the <code>{@link CKEDITOR.config.enterMode}</code> setting, it defines the behavior
+	 * of the <em>Shift+Enter</em> key combination.
+	 * The allowed values are the following constants the behavior outlined below:
 	 * <ul>
-	 *     <li>{@link CKEDITOR.ENTER_P} (1): new &lt;p&gt; paragraphs are created;</li>
-	 *     <li>{@link CKEDITOR.ENTER_BR} (2): lines are broken with &lt;br&gt; elements;</li>
-	 *     <li>{@link CKEDITOR.ENTER_DIV} (3): new &lt;div&gt; blocks are created.</li>
+	 *     <li><code>{@link CKEDITOR.ENTER_P}</code> (1) &ndash; new <code>&lt;p&gt;</code> paragraphs are created;</li>
+	 *     <li><code>{@link CKEDITOR.ENTER_BR}</code> (2) &ndash; lines are broken with <code>&lt;br&gt;</code> elements;</li>
+	 *     <li><code>{@link CKEDITOR.ENTER_DIV}</code> (3) &ndash; new <code>&lt;div&gt;</code> blocks are created.</li>
 	 * </ul>
 	 * @type Number
-	 * @default {@link CKEDITOR.ENTER_BR}
+	 * @default <code>{@link CKEDITOR.ENTER_BR}</code>
 	 * @example
 	 * config.shiftEnterMode = CKEDITOR.ENTER_P;
@@ -189,8 +195,8 @@
 	/**
 	 * A comma separated list of plugins that are not related to editor
-	 * instances. Reserved to plugins that extend the core code only.<br /><br />
+	 * instances. Reserved for plugins that extend the core code only.<br /><br />
 	 *
-	 * There are no ways to override this setting, except by editing the source
-	 * code of CKEditor (_source/core/config.js).
+	 * There are no ways to override this setting except by editing the source
+	 * code of CKEditor (<code>_source/core/config.js</code>).
 	 * @type String
 	 * @example
@@ -199,9 +205,9 @@
 
 	/**
-	 * Sets the doctype to be used when loading the editor content as HTML.
-	 * @type String
-	 * @default '&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;'
-	 * @example
-	 * // Set the doctype to the HTML 4 (quirks) mode.
+	 * Sets the <code>DOCTYPE</code> to be used when loading the editor content as HTML.
+	 * @type String
+	 * @default <code>'&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;'</code>
+	 * @example
+	 * // Set the DOCTYPE to the HTML 4 (Quirks) mode.
 	 * config.docType = '&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;';
 	 */
@@ -209,12 +215,12 @@
 
 	/**
-	 * Sets the "id" attribute to be used on the body element of the editing
-	 * area. This can be useful when reusing the original CSS file you're using
-	 * on your live website and you want to assing to the editor the same id
-	 * you're using for the region that'll hold the contents. In this way,
-	 * id specific CSS rules will be enabled.
+	 * Sets the <code>id</code> attribute to be used on the <code>body</code> element
+	 * of the editing area. This can be useful when you intend to reuse the original CSS
+	 * file you are using on your live website and want to assign the editor the same ID
+	 * as the section that will include the contents. In this way ID-specific CSS rules will
+	 * be enabled.
 	 * @since 3.1
 	 * @type String
-	 * @default '' (empty)
+	 * @default <code>''</code> (empty)
 	 * @example
 	 * config.bodyId = 'contents_id';
@@ -223,12 +229,12 @@
 
 	/**
-	 * Sets the "class" attribute to be used on the body element of the editing
-	 * area. This can be useful when reusing the original CSS file you're using
-	 * on your live website and you want to assing to the editor the same class
-	 * name you're using for the region that'll hold the contents. In this way,
-	 * class specific CSS rules will be enabled.
+	 * Sets the <code>class</code> attribute to be used on the <code>body</code> element
+	 * of the editing area. This can be useful when you intend to reuse the original CSS
+	 * file you are using on your live website and want to assign the editor the same class
+	 * as the section that will include the contents. In this way class-specific CSS rules will
+	 * be enabled. 
 	 * @since 3.1
 	 * @type String
-	 * @default '' (empty)
+	 * @default <code>''</code> (empty)
 	 * @example
 	 * config.bodyClass = 'contents';
@@ -237,11 +243,12 @@
 
 	/**
-	 * Indicates whether the contents to be edited are being inputted as a full
-	 * HTML page. A full page includes the &lt;html&gt;, &lt;head&gt; and
-	 * &lt;body&gt; tags. The final output will also reflect this setting,
-	 * including the &lt;body&gt; contents only if this setting is disabled.
+	 * Indicates whether the contents to be edited are being input as a full
+	 * HTML page. A full page includes the <code>&lt;html&gt;</code>,
+	 * <code>&lt;head&gt;</code>, and <code>&lt;body&gt;</code> elements.
+	 * The final output will also reflect this setting, including the
+	 * <code>&lt;body&gt;</code> contents only if this setting is disabled.
 	 * @since 3.1
 	 * @type Boolean
-	 * @default false
+	 * @default <code>false</code>
 	 * @example
 	 * config.fullPage = true;
@@ -250,8 +257,9 @@
 
 	/**
-	 * The height of editing area( content ), in relative or absolute, e.g. 30px, 5em.
-	 * Note: Percentage unit is not supported yet. e.g. 30%.
+	 * The height of the editing area (that includes the editor content),
+	 * in relative or absolute units, e.g. <code>30px</code>, <code>5em</code>.
+	 * <strong>Note:</strong> Percentage units, like <code>30%</code>, are not supported yet.
 	 * @type Number|String
-	 * @default '200'
+	 * @default <code>'200'</code>
 	 * @example
 	 * config.height = 500;
@@ -262,8 +270,8 @@
 
 	/**
-	 * Comma separated list of plugins to load and initialize for an editor
-	 * instance. This should be rarely changed, using instead the
-	 * {@link CKEDITOR.config.extraPlugins} and
-	 * {@link CKEDITOR.config.removePlugins} for customizations.
+	 * Comma separated list of plugins to be loaded and initialized for an editor
+	 * instance. This setting should rarely be changed. It is recommended to use the
+	 * <code>{@link CKEDITOR.config.extraPlugins}</code> and
+	 * <code>{@link CKEDITOR.config.removePlugins}</code> for customization purposes instead.
 	 * @type String
 	 * @example
@@ -329,7 +337,7 @@
 
 	/**
-	 * List of additional plugins to be loaded. This is a tool setting which
-	 * makes it easier to add new plugins, whithout having to touch and
-	 * possibly breaking the {@link CKEDITOR.config.plugins} setting.
+	 * A list of additional plugins to be loaded. This setting makes it easier
+	 * to add new plugins without having to touch and potentially break the
+	 * <code>{@link CKEDITOR.config.plugins}</code> setting.
 	 * @type String
 	 * @example
@@ -339,8 +347,7 @@
 
 	/**
-	 * List of plugins that must not be loaded. This is a tool setting which
-	 * makes it easier to avoid loading plugins definied in the
-	 * {@link CKEDITOR.config.plugins} setting, whithout having to touch it and
-	 * potentially breaking it.
+	 * A list of plugins that must not be loaded. This setting makes it possible
+	 * to avoid loading some plugins defined in the <code>{@link CKEDITOR.config.plugins}</code>
+	 * setting, without having to touch it and potentially break it.
 	 * @type String
 	 * @example
@@ -350,19 +357,20 @@
 
 	/**
-	 * List of regular expressions to be executed over the input HTML,
-	 * indicating HTML source code that matched must <strong>not</strong> present in WYSIWYG mode for editing.
+	 * List of regular expressions to be executed on input HTML,
+	 * indicating HTML source code that when matched, must <strong>not</strong> be available in the WYSIWYG
+	 * mode for editing.
 	 * @type Array
-	 * @default [] (empty array)
-	 * @example
-	 * config.protectedSource.push( /<\?[\s\S]*?\?>/g );   // PHP Code
-	 * config.protectedSource.push( /<%[\s\S]*?%>/g );   // ASP Code
-	 * config.protectedSource.push( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi );   // ASP.Net Code
+	 * @default <code>[]</code> (empty array)
+	 * @example
+	 * config.protectedSource.push( /<\?[\s\S]*?\?>/g );   // PHP code
+	 * config.protectedSource.push( /<%[\s\S]*?%>/g );   // ASP code
+	 * config.protectedSource.push( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi );   // ASP.Net code
 	 */
 	protectedSource : [],
 
 	/**
-	 * The editor tabindex value.
+	 * The editor <code>tabindex</code> value.
 	 * @type Number
-	 * @default 0 (zero)
+	 * @default <code>0</code> (zero)
 	 * @example
 	 * config.tabIndex = 1;
@@ -371,7 +379,7 @@
 
 	/**
-	 * The theme to be used to build the UI.
-	 * @type String
-	 * @default 'default'
+	 * The theme to be used to build the user interface.
+	 * @type String
+	 * @default <code>'default'</code>
 	 * @see CKEDITOR.config.skin
 	 * @example
@@ -384,5 +392,5 @@
 	 * editor installation path, or the name and the path separated by a comma.
 	 * @type String
-	 * @default 'default'
+	 * @default <code>'default'</code>
 	 * @example
 	 * config.skin = 'v2';
@@ -393,7 +401,7 @@
 
 	/**
-	 * The editor width in CSS size format or pixel integer.
+	 * The editor width in CSS-defined units or an integer denoting a value in pixels.
 	 * @type String|Number
-	 * @default '' (empty)
+	 * @default <code>''</code> (empty)
 	 * @example
 	 * config.width = 850;
@@ -404,7 +412,7 @@
 
 	/**
-	 * The base Z-index for floating dialogs and popups.
+	 * The base Z-index for floating dialog windows and popups.
 	 * @type Number
-	 * @default 10000
+	 * @default <code>10000</code>
 	 * @example
 	 * config.baseFloatZIndex = 2000
@@ -415,13 +423,13 @@
 /**
  * Indicates that some of the editor features, like alignment and text
- * direction, should used the "computed value" of the feature to indicate it's
- * on/off state, instead of using the "real value".<br />
+ * direction, should use the "computed value" of the feature to indicate its
+ * on/off state instead of using the "real value".<br />
  * <br />
- * If enabled, in a left to right written document, the "Left Justify"
- * alignment button will show as active, even if the aligment style is not
+ * If enabled in a Left-To-Right written document, the "Left Justify"
+ * alignment button will be shown as active, even if the alignment style is not
  * explicitly applied to the current paragraph in the editor.
  * @name CKEDITOR.config.useComputedState
  * @type Boolean
- * @default true
+ * @default <code>true</code>
  * @since 3.4
  * @example
