diff --git a/common/apiBase_plugins.js b/common/apiBase_plugins.js index 06b4aefae3..a47e48cba5 100644 --- a/common/apiBase_plugins.js +++ b/common/apiBase_plugins.js @@ -557,7 +557,7 @@ * @property {Array.} paragraphs The array with paragraphs from the current watermark with their properties. * @property {number} paragraphs.align The horizontal text align in the current paragraph: 0 - right, 1 - left, 2 - center, 3 - justify. * @property {Array.} paragraphs.fill The paragraph highlight in the RGB format. The empty array [] means that the paragraph is not highlighted. - * @property {number} paragraphs.linespacing The text linespecing in the current paragraph. + * @property {number} paragraphs.linespacing The text linespacing in the current paragraph. * @property {Array.} paragraphs.runs The array with runs from the current paragraph with their properties. * @property {string} paragraphs.runs.text The run text. * @property {Array.} paragraphs.runs.fill The text highlight in the RGB format. The empty array [] means that the text is not highlighted. diff --git a/word/api_plugins.js b/word/api_plugins.js index 628ff56e39..7689f013f1 100644 --- a/word/api_plugins.js +++ b/word/api_plugins.js @@ -475,13 +475,13 @@ this.WordControl.m_oLogicDocument.ReplaceSearchElement(sReplace, true, null, false); }; /** - * Find and select the next occurrence of the text starting at the current position. + * Finds and selects the next occurrence of the text starting at the current position. * @memberof Api * @typeofeditors ["CDE"] - * @alias SearchAndReplace - * @param {Object} oProperties - An object which contains the search and replacement strings. + * @alias SearchNext + * @param {Object} oProperties - An object which contains the search string. * @param {string} oProperties.searchString - The search string. - * @param {string} oProperties.replaceString - The replacement string. + * @param {boolean} [oProperties.matchCase=true] - Case sensitive or not. * @param {boolean} [isForward=true] - Search direction. * @returns {boolean} returns false if text was not found */