Converts an index position in a document to a {row, column} object.
Converts an index position in a document to a {row, column} object.
Index refers to the "absolute position" of a character in the document. For example:
+var x = 0; // 10 characters, plus one for newline
+var y = -1;
+Here, y is an index 15: 11 characters for the first row, and 5 characters until y in the second.
Arguments
| index | Number | Required. An index to convert + |
| startRow | Number | Required. =0 The row from which to start the conversion + |
Inserts a block of text and the indicated position.
Arguments
| position | Object | Required. The position to start inserting at - | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| text | String | Required. A chunk of text to insert +Arguments
Inserts Arguments
|