MCPcopy
hub / github.com/ajaxorg/ace / getLine

Method getLine

src/document.js:131–133  ·  view source on GitHub ↗

* Returns a verbatim copy of the given line as it is in the document * @param {Number} row The row index to retrieve * @returns {string}

(row)

Source from the content-addressed store, hash-verified

129 * @returns {string}
130 **/
131 getLine(row) {
132 return this.$lines[row] || "";
133 }
134
135 /**
136 * Returns an array of strings of the rows between `firstRow` and `lastRow`. This function is inclusive of `lastRow`.

Callers 15

setValueMethod · 0.95
getLinesForRangeMethod · 0.95
clippedPosMethod · 0.95
$clipPositionMethod · 0.95
removeFullLinesMethod · 0.95
removeNewLineMethod · 0.95
xquery.jsFile · 0.45
jsoniq.jsFile · 0.45
csslint.jsFile · 0.45
updateRowLineMethod · 0.45
isRtlLineMethod · 0.45
setRtlDirectionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected