diff --git a/docs/API-Reference/command/KeyBindingManager.md b/docs/API-Reference/command/KeyBindingManager.md index 5f31352555..2d10e42593 100644 --- a/docs/API-Reference/command/KeyBindingManager.md +++ b/docs/API-Reference/command/KeyBindingManager.md @@ -224,7 +224,7 @@ to display the shortcut selection dialog ## canAssignBinding(commandId) ⇒ boolean -Returns true the given command id can be overriden by user. +Returns true the given command id can be overridden by user. **Kind**: global function diff --git a/docs/API-Reference/features/QuickViewManager.md b/docs/API-Reference/features/QuickViewManager.md index 38cf0cbfa5..66cff5a3fb 100644 --- a/docs/API-Reference/features/QuickViewManager.md +++ b/docs/API-Reference/features/QuickViewManager.md @@ -186,6 +186,6 @@ is called or document changes. ### features/QuickViewManager.unlockQuickView() : function -unlocks the current QuickView locked by `lockQuickView` fucntion. +unlocks the current QuickView locked by `lockQuickView` function. **Kind**: inner method of [features/QuickViewManager](#module_features/QuickViewManager) diff --git a/docs/API-Reference/preferences/StateManager.md b/docs/API-Reference/preferences/StateManager.md index 58cab0e3b1..7d56d043f4 100644 --- a/docs/API-Reference/preferences/StateManager.md +++ b/docs/API-Reference/preferences/StateManager.md @@ -61,7 +61,7 @@ Convenience function that sets a view state and then saves the file ## definePreferenceInternal(id, type, initial, options) ⇒ Object -returns a preference instance that can be listened `.on("change", cbfn(changeType))` . The callback fucntion will be called +returns a preference instance that can be listened `.on("change", cbfn(changeType))` . The callback function will be called whenever there is a change in the supplied id with a changeType argument. The change type can be one of the two: CHANGE_TYPE_INTERNAL - if change is made within the current app window/browser tap CHANGE_TYPE_EXTERNAL - if change is made in a different app window/browser tab diff --git a/docs/API-Reference/utils/EventManager.md b/docs/API-Reference/utils/EventManager.md index 5fbd96a628..5bad17bba6 100644 --- a/docs/API-Reference/utils/EventManager.md +++ b/docs/API-Reference/utils/EventManager.md @@ -90,7 +90,7 @@ EventManager.triggerEvent("closeDialogueHandler", "someEvent", "param1", "param2 | --- | --- | --- | | handlerName | string | | | eventName | | the event name as recognised by the handler. this is usually a string. | -| ...eventParams | | Can be a comma seperated list of args or a single argument. | +| ...eventParams | | Can be a comma separated list of args or a single argument. | diff --git a/docs/API-Reference/view/Pane.md b/docs/API-Reference/view/Pane.md index 2ca1cdab71..dd6d6c8e3e 100644 --- a/docs/API-Reference/view/Pane.md +++ b/docs/API-Reference/view/Pane.md @@ -586,7 +586,7 @@ Removes the view and opens the next view #### pane.removeViews(list) ⇒ Array.<File> -Removes the specifed file from all internal lists, destroys the view of the file (if there is one) +Removes the specified file from all internal lists, destroys the view of the file (if there is one) and shows the interstitial page if the current view is destroyed. **Kind**: instance method of [Pane](#module_view/Pane..Pane) diff --git a/docs/API-Reference/widgets/PopUpManager.md b/docs/API-Reference/widgets/PopUpManager.md index 5b02705436..112a85986a 100644 --- a/docs/API-Reference/widgets/PopUpManager.md +++ b/docs/API-Reference/widgets/PopUpManager.md @@ -20,7 +20,7 @@ Add Esc key handling for a popup DOM element. | --- | --- | --- | | $popUp | jQuery | jQuery object for the DOM element pop-up | | removeHandler | function | Pop-up specific remove (e.g. display:none or DOM removal) | -| autoRemove | Boolean | Specify true to indicate the PopUpManager should remove the popup from the _popUps array when the popup is closed. Specify false when the popup is always persistant in the _popUps array. | +| autoRemove | Boolean | Specify true to indicate the PopUpManager should remove the popup from the _popUps array when the popup is closed. Specify false when the popup is always persistent in the _popUps array. | | options | object | | | [options.popupManagesFocus] | boolean | set to true if the popup manages focus restore on close | | [options.closeCurrentPopups] | boolean | set to true if you want to dismiss all exiting popups before adding this. Useful when this should be the only popup visible. | diff --git a/src/command/KeyBindingManager.js b/src/command/KeyBindingManager.js index d1ea60e65e..d52f8f673a 100644 --- a/src/command/KeyBindingManager.js +++ b/src/command/KeyBindingManager.js @@ -2163,7 +2163,7 @@ define(function (require, exports, module) { } /** - * Returns true the given command id can be overriden by user. + * Returns true the given command id can be overridden by user. * * @param commandId * @return {boolean} diff --git a/src/editor/CodeHintList.js b/src/editor/CodeHintList.js index 4c86a4eb5f..c5ecdc03d8 100644 --- a/src/editor/CodeHintList.js +++ b/src/editor/CodeHintList.js @@ -64,7 +64,7 @@ define(function (require, exports, module) { this.selectedIndex = -1; /** - * The maximum number of hints to display. Can be overriden via maxCodeHints pref + * The maximum number of hints to display. Can be overridden via maxCodeHints pref * * @type {number} */ diff --git a/src/features/QuickViewManager.js b/src/features/QuickViewManager.js index 2970f9fd48..72e7eac2d5 100644 --- a/src/features/QuickViewManager.js +++ b/src/features/QuickViewManager.js @@ -794,7 +794,7 @@ define(function (require, exports, module) { } /** - * unlocks the current QuickView locked by `lockQuickView` fucntion. + * unlocks the current QuickView locked by `lockQuickView` function. * * @type {function} */ diff --git a/src/preferences/PreferencesManager.js b/src/preferences/PreferencesManager.js index c8a605bb80..6c696afc99 100644 --- a/src/preferences/PreferencesManager.js +++ b/src/preferences/PreferencesManager.js @@ -226,7 +226,7 @@ define(function (require, exports, module) { * * This function is used internally to set the current language of the document. * Both at the moment of opening the file and when the language is manually - * overriden. + * overridden. * * @param {string} newLanguageId The id of the language of the current editor. */ diff --git a/src/preferences/StateManager.js b/src/preferences/StateManager.js index 8f020059c7..8943dbe041 100644 --- a/src/preferences/StateManager.js +++ b/src/preferences/StateManager.js @@ -159,7 +159,7 @@ define(function (require, exports, module) { } /** - * returns a preference instance that can be listened `.on("change", cbfn(changeType))` . The callback fucntion will be called + * returns a preference instance that can be listened `.on("change", cbfn(changeType))` . The callback function will be called * whenever there is a change in the supplied id with a changeType argument. The change type can be one of the two: * CHANGE_TYPE_INTERNAL - if change is made within the current app window/browser tap * CHANGE_TYPE_EXTERNAL - if change is made in a different app window/browser tab diff --git a/src/utils/EventManager.js b/src/utils/EventManager.js index f177d1bdca..75569819b8 100644 --- a/src/utils/EventManager.js +++ b/src/utils/EventManager.js @@ -103,7 +103,7 @@ define(function (require, exports, module) { * * @param {string} handlerName * @param eventName the event name as recognised by the handler. this is usually a string. - * @param eventParams Can be a comma seperated list of args or a single argument. + * @param eventParams Can be a comma separated list of args or a single argument. * @type {function} */ function triggerEvent(handlerName, eventName, ...eventParams) { diff --git a/src/view/Pane.js b/src/view/Pane.js index ea507d6a29..3b215485e3 100644 --- a/src/view/Pane.js +++ b/src/view/Pane.js @@ -925,7 +925,7 @@ define(function (require, exports, module) { }; /** - * Removes the specifed file from all internal lists, destroys the view of the file (if there is one) + * Removes the specified file from all internal lists, destroys the view of the file (if there is one) * and shows the interstitial page if the current view is destroyed * @private * @param {!File} file - file to remove @@ -1391,7 +1391,7 @@ define(function (require, exports, module) { }; /** - * Removes the specifed file from all internal lists, destroys the view of the file (if there is one) + * Removes the specified file from all internal lists, destroys the view of the file (if there is one) * and shows the interstitial page if the current view is destroyed. * @param {!Array.} list - Array of files to remove * @return {!Array.} Array of File objects removed from the working set. diff --git a/src/view/ThemeManager.js b/src/view/ThemeManager.js index f076693159..52bcbac9c1 100644 --- a/src/view/ThemeManager.js +++ b/src/view/ThemeManager.js @@ -237,7 +237,7 @@ define(function (require, exports, module) { if(!devThemePaths){ return null; } - devThemePaths = devThemePaths.split(","); // paths are a comma seperated list + devThemePaths = devThemePaths.split(","); // paths are a comma separated list for(let themeID of Object.keys(loadedThemes)){ let themeFilePath = ExtensionLoader.getSourcePathForExtension(loadedThemes[themeID].file.fullPath); for(let devThemePath of devThemePaths){ diff --git a/src/widgets/PopUpManager.js b/src/widgets/PopUpManager.js index 99481f03b6..3ce5876270 100644 --- a/src/widgets/PopUpManager.js +++ b/src/widgets/PopUpManager.js @@ -44,7 +44,7 @@ define(function (require, exports, module) { * @param {function} removeHandler Pop-up specific remove (e.g. display:none or DOM removal) * @param {?Boolean} autoRemove - Specify true to indicate the PopUpManager should * remove the popup from the _popUps array when the popup is closed. Specify false - * when the popup is always persistant in the _popUps array. + * when the popup is always persistent in the _popUps array. * @param {object} options * @param {boolean} [options.popupManagesFocus] - set to true if the popup manages focus restore on close * @param {boolean} [options.closeCurrentPopups] - set to true if you want to dismiss all exiting popups before