@@ -1248,7 +1248,7 @@ define(function (require, exports, module) {
12481248 * @param {boolean } center true to center the viewport
12491249 * @param {number } centerOptions Option value, or 0 for no options; one of the BOUNDARY_* constants above.
12501250 * @param {?string } origin An optional string that describes what other selection or edit operations this
1251- * should be merged with for the purposes of undo. See Document. replaceRange() for more details.
1251+ * should be merged with for the purposes of undo. See { @link Document# replaceRange} for more details.
12521252 */
12531253 Editor . prototype . setSelection = function ( start , end , center , centerOptions , origin ) {
12541254 this . setSelections ( [ { start : start , end : end || start } ] , center , centerOptions , origin ) ;
@@ -1267,7 +1267,7 @@ define(function (require, exports, module) {
12671267 * @param {boolean } center true to center the viewport around the primary selection.
12681268 * @param {number } centerOptions Option value, or 0 for no options; one of the BOUNDARY_* constants above.
12691269 * @param {?string } origin An optional string that describes what other selection or edit operations this
1270- * should be merged with for the purposes of undo. See Document. replaceRange() for more details.
1270+ * should be merged with for the purposes of undo. See { @link Document# replaceRange} for more details.
12711271 */
12721272 Editor . prototype . setSelections = function ( selections , center , centerOptions , origin ) {
12731273 var primIndex = selections . length - 1 , options ;
@@ -2002,7 +2002,7 @@ define(function (require, exports, module) {
20022002 * the start and end.
20032003 * @return {?(Object|string) } Name of syntax-highlighting mode, or object containing a "name" property
20042004 * naming the mode along with configuration options required by the mode.
2005- * @see {@link LanguageManager#getLanguageForPath() } and {@link Language#getMode() }.
2005+ * @see {@link LanguageManager:: #getLanguageForPath } and {@link LanguageManager:: Language#getMode }.
20062006 */
20072007 Editor . prototype . getModeForRange = function ( start , end , knownMixed ) {
20082008 var outerMode = this . _codeMirror . getMode ( ) ,
@@ -2028,7 +2028,7 @@ define(function (require, exports, module) {
20282028 *
20292029 * @return {?(Object|string) } Name of syntax-highlighting mode, or object containing a "name" property
20302030 * naming the mode along with configuration options required by the mode.
2031- * @see {@link LanguageManager#getLanguageForPath() } and {@link Language#getMode() }.
2031+ * @see {@link LanguageManager:: #getLanguageForPath } and {@link LanguageManager:: Language#getMode }.
20322032 */
20332033 Editor . prototype . getModeForSelection = function ( ) {
20342034 // Check for mixed mode info
@@ -2081,7 +2081,8 @@ define(function (require, exports, module) {
20812081 /**
20822082 * Gets the syntax-highlighting mode for the document.
20832083 *
2084- * @return {Object|String } Object or Name of syntax-highlighting mode; see {@link LanguageManager#getLanguageForPath()} and {@link Language#getMode()}.
2084+ * @return {Object|String } Object or Name of syntax-highlighting mode
2085+ * @see {@link LanguageManager::#getLanguageForPath|LanguageManager.getLanguageForPath } and {@link LanguageManager::Language#getMode|Language.getMode }.
20852086 */
20862087 Editor . prototype . getModeForDocument = function ( ) {
20872088 return this . _codeMirror . getOption ( "mode" ) ;
0 commit comments