Lines Matching refs:offset
600 * The offset from the range object
618 * The offset from the range object
698 * Insert HTML at the current cursor position, this method gives you control over the text node to insert into and the offset where to put it.
702 * @param {Number} offset The left offset of the text node to break and insert the new content.
706 insertAtCursor: function(html, node, offset, collapse) {
718 if (offset === 0 && node && !node.previous() && node.get('nodeType') === 3) {
721 * the offset is 0. (The cursor is at the beginning of the line)
762 //txt = Y.one(Y.Node.create(inHTML.substr(0, offset)));
763 //txt2 = Y.one(Y.Node.create(inHTML.substr(offset)));
764 if (offset > 0) {
767 txt = Y.one(Y.config.doc.createTextNode(inHTML.substr(0, offset)));
768 txt2 = Y.one(Y.config.doc.createTextNode(inHTML.substr(offset)));