Lines Matching refs:offset
602 * The offset from the range object
620 * The offset from the range object
700 * 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.
704 * @param {Number} offset The left offset of the text node to break and insert the new content.
708 insertAtCursor: function(html, node, offset, collapse) {
720 if (offset === 0 && node && !node.previous() && node.get('nodeType') === 3) {
723 * the offset is 0. (The cursor is at the beginning of the line)
764 //txt = Y.one(Y.Node.create(inHTML.substr(0, offset)));
765 //txt2 = Y.one(Y.Node.create(inHTML.substr(offset)));
766 if (offset > 0) {
769 txt = Y.one(Y.config.doc.createTextNode(inHTML.substr(0, offset)));
770 txt2 = Y.one(Y.config.doc.createTextNode(inHTML.substr(offset)));