Lines Matching refs:to

5333   for (var row = range.from.row; row <= range.to.row; row++) {
5334 for (var col = range.from.col; col <= range.to.col; col++) {
5346 if (range.from.row == range.to.row && range.from.col == range.to.col) {
5349 for (var row = range.from.row; row <= range.to.row; row++) {
5350 for (var col = range.from.col; col <= range.to.col; col++) {
7310 function copyConfig(to, from) {
7314 to._isAMomentObject = from._isAMomentObject;
7317 to._i = from._i;
7320 to._f = from._f;
7323 to._l = from._l;
7326 to._strict = from._strict;
7329 to._tzm = from._tzm;
7332 to._isUTC = from._isUTC;
7335 to._offset = from._offset;
7338 to._pf = getParsingFlags(from);
7341 to._locale = from._locale;
7349 to[prop] = val;
7354 return to;
10132 diffRes = momentsDifference(createLocal(duration.from), createLocal(duration.to));
10291 function isBetween (from, to, units, inclusivity) {
10294 (inclusivity[1] === ')' ? this.isBefore(to, units) : !this.isAfter(to, units));
10437 … return createDuration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix);
10447 function to (time, withoutSuffix) {
10451 … return createDuration({from: this, to: time}).locale(this.locale()).humanize(!withoutSuffix);
10458 return this.to(createLocal(), withoutSuffix);
10919 proto.to = to;
14393 var toRow = priv.selRange.to.row;
14394 var toCol = priv.selRange.to.col;
14751 priv.selRange.to = new _src.CellCoords(newRangeCoords.row, newRangeCoords.col);
14773 instance.view.wt.selections.area.add(priv.selRange.to);
14779 instance.view.wt.selections.highlight.add(priv.selRange.to);
14785 …, priv.selRange.from.row, priv.selRange.from.col, priv.selRange.to.row, priv.selRange.to.col, prev…
14786 …tamap.colToProp(priv.selRange.from.col), priv.selRange.to.row, datamap.colToProp(priv.selRange.to.…
14788 …0 && priv.selRange.to.row === instance.countRows() - 1 && instance.countRows() > 1 || priv.selRang…
14848 …var isMultiple = !(priv.selRange.to.col === priv.selRange.from.col && priv.selRange.to.row === pri…
14937 … coords = new _src.CellCoords(priv.selRange.to.row + delta.row, priv.selRange.to.col + delta.col);
15516 …eturn [priv.selRange.from.row, priv.selRange.from.col, priv.selRange.to.row, priv.selRange.to.col];
18317 function CellRange(highlight, from, to) {
18322 this.to = to;
18336 return this.from.isValid(wotInstance) && this.to.isValid(wotInstance);
18348 return this.from.row === this.to.row && this.from.col === this.to.col;
18360 return Math.max(this.from.row, this.to.row) - Math.min(this.from.row, this.to.row) + 1;
18372 return Math.max(this.from.col, this.to.col) - Math.min(this.from.col, this.to.col) + 1;
18417to.row) == Math.min(testedRange.from.row, testedRange.to.row) && Math.max(this.from.row, this.to.r…
18471 …this.to = new _coords2.default(Math.max(bottomRight.row, cellCoords.row), Math.max(bottomRight.col…
18520 this.to = finalTo;
18532 if (this.from.isNorthWestOf(this.to)) {
18535 } else if (this.from.isNorthEastOf(this.to)) {
18538 } else if (this.from.isSouthEastOf(this.to)) {
18541 } else if (this.from.isSouthWestOf(this.to)) {
18558 this.to = _ref[1];
18564 this.to = _ref2[1];
18570 this.to = _ref3[1];
18576 this.to = _ref4[1];
18593 …eturn new _coords2.default(Math.min(this.from.row, this.to.row), Math.min(this.from.col, this.to.c…
18605 …eturn new _coords2.default(Math.max(this.from.row, this.to.row), Math.max(this.from.col, this.to.c…
18617 …eturn new _coords2.default(Math.min(this.from.row, this.to.row), Math.max(this.from.col, this.to.c…
18629 …eturn new _coords2.default(Math.max(this.from.row, this.to.row), Math.min(this.from.col, this.to.c…
18643to.col)) || this.getBottomLeftCorner().isEqual(new _coords2.default(expandedRange.to.row, expanded…
18670 ….getTopRightCorner().isEqual(new _coords2.default(expandedRange.from.row, expandedRange.to.col))) {
18673 …if (this.getBottomLeftCorner().isEqual(new _coords2.default(expandedRange.to.row, expandedRange.fr…
18676 …getBottomRightCorner().isEqual(new _coords2.default(expandedRange.to.row, expandedRange.to.col))) {
18706 top: Math.min(this.from.row, this.to.row),
18707 bottom: Math.max(this.from.row, this.to.row),
18708 left: Math.min(this.from.col, this.to.col),
18709 right: Math.max(this.from.col, this.to.col)
18712 top: Math.min(range.from.row, range.to.row),
18713 bottom: Math.max(range.from.row, range.to.row),
18714 left: Math.min(range.from.col, range.to.col),
18715 right: Math.max(range.from.col, range.to.col)
18750 … if (!(this.from.row === r && this.from.col === c) && !(this.to.row === r && this.to.col === c)) {
24045 …if (row != this.wot.selections.area.cellRange.to.row || col != this.wot.selections.area.cellRange.
25351 …cell.coords = this.instance.selections.area.cellRange.to; // selections.area is area selected cells
30620 specifierRange = { from: specifierRange, to: specifierRange };
30622 (0, _number.rangeEach)(specifierRange.from, specifierRange.to, function (index) {
30649 (0, _number.rangeEach)(range.from, range.to, function (index) {
32008 value: function sumCellSizes(from, to) {
32012 while (from < to) {
32371 value: function sumCellSizes(from, to) {
32375 while (from < to) {
32874 if (this.cellRange.to.isEqual(oldCoords)) {
32875 this.cellRange.to = newCoords;
36782 …ments.length > 0 && arguments[0] !== undefined ? arguments[0] : { from: 0, to: this.hot.countCols(…
36786 …ments.length > 1 && arguments[1] !== undefined ? arguments[1] : { from: 0, to: this.hot.countRows(…
36790 colRange = { from: colRange, to: colRange };
36793 rowRange = { from: rowRange, to: rowRange };
36796 (0, _number.rangeEach)(colRange.from, colRange.to, function (col) {
36825 …ments.length > 0 && arguments[0] !== undefined ? arguments[0] : { from: 0, to: this.hot.countRows(…
36844 to: Math.min(current + AutoColumnSize.CALCULATION_STEP, length)
36865 this.calculateColumnsWidth({ from: 0, to: this.getSyncCalculationLimit() }, rowRange);
37095 …this.calculateColumnsWidth({ from: this.getFirstVisibleColumn(), to: this.getLastVisibleColumn() }…
37443 …ments.length > 0 && arguments[0] !== undefined ? arguments[0] : { from: 0, to: this.hot.countRows(…
37447 …ments.length > 1 && arguments[1] !== undefined ? arguments[1] : { from: 0, to: this.hot.countCols(…
37451 rowRange = { from: rowRange, to: rowRange };
37454 colRange = { from: colRange, to: colRange };
37463 (0, _number.rangeEach)(rowRange.from, rowRange.to, function (row) {
37493 …ments.length > 0 && arguments[0] !== undefined ? arguments[0] : { from: 0, to: this.hot.countCols(…
37509 …_this4.calculateRowsHeight({ from: current, to: Math.min(current + AutoRowSize.CALCULATION_STEP, l…
37528 this.calculateRowsHeight({ from: 0, to: this.getSyncCalculationLimit() }, colRange);
37702 range = { from: range, to: range };
37704 …(0, _number.rangeEach)(Math.min(range.from, range.to), Math.max(range.from, range.to), function (r…
37731 …this.calculateRowsHeight({ from: this.getFirstVisibleRow(), to: this.getLastVisibleRow() }, void 0…
37738 this.calculateRowsHeight({ from: totalRows - fixedRowsBottom, to: totalRows });
37756 value: function onBeforeRowMove(from, to) {
37757 this.clearCacheByRange({ from: from, to: to });
37822 to: changes[changes.length - 1][0]
38041 to: this.hot.getSelectedRange().to
38044 … return this.hot.getData(selRange.from.row, selRange.from.col, selRange.to.row, selRange.to.col);
38395 this.hot.view.wt.selections.fill.add(this.hot.getSelectedRange().to);
42168 …} else if (selection.from.col !== selection.to.col || selection.from.col <= this.getSettings().fix…
42204 …} else if (selection.from.col !== selection.to.col || selection.from.col >= this.getSettings().fix…
42625 value: function moveColumn(from, to) {
42628 this._arrayMap.splice(to, 0, indexToMove);
42977 value: function getColumnsWidth(from, to) {
42980 for (var i = from; i < to; i++) {
43266 to = selection.to;
43268 var start = Math.min(from.col, to.col);
43269 var end = Math.max(from.col, to.col);
43900 to = _hot$getSelectedRange.to;
43903 var end = to.col;
43906 start = to.col;
44671 value: function getRowsHeight(from, to) {
44674 for (var i = from; i < to; i++) {
44780 to = selection.to;
44782 var start = Math.min(from.row, to.row);
44783 var end = Math.max(from.row, to.row);
44989 to = selection.to;
44991 var start = Math.min(from.row, to.row);
44992 var end = Math.max(from.row, to.row);
45355 value: function moveRow(from, to) {
45358 this._arrayMap.splice(to, 0, indexToMove);
45711 to = _hot$getSelectedRange.to;
45714 var end = to.row;
45717 start = to.row;
46238 …return new _src.CellCoords(currentSelectedRange.to.row + newDelta.row, currentSelectedRange.to.col…
46325 if (currentSelectedRange.to.isSouthEastOf(mergedRange.from) && mergeHighlighted) {
46327 } else if (currentSelectedRange.to.isSouthWestOf(mergedRange.from) && mergeHighlighted) {
46331 if (currentSelectedRange.to.isNorthEastOf(mergedRange.from) && mergeHighlighted) {
46333 } else if (currentSelectedRange.to.isNorthWestOf(mergedRange.from) && mergeHighlighted) {
46547 selRange.to = coords;
46560 coords.row = selRange.to.row;
46561 coords.col = selRange.to.col;
46581 var stopRange = new _src.CellRange(selRange.to, selRange.to, selRange.to);
46670 …lls[group].col && selectionRange.to.row == mergedCells[group].row + mergedCells[group].rowspan - 1…
48327 selection.setRangeEnd(new _src.CellCoords(actualSelection.to.row, coords.col));
48329 selection.setRangeEnd(new _src.CellCoords(coords.row, actualSelection.to.col));
48344 to = actualSelection.to;
48349 var start = Math.min(from.col, to.col);
48350 var end = Math.max(from.col, to.col);
48354 var _start = Math.min(from.row, to.row);
48355 var _end = Math.max(from.row, to.row);
49237 var to = toAbsoluteIndex(target, len);
49240 var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);
49242 if (from < to && to < from + count) {
49245 to += count - 1;
49248 if (from in O) O[to] = O[from];
49249 else delete O[to];
49250 to += inc;
50051 extend = function(to, from, overwrite)
50055 hasProp = to[prop] !== undefined;
50059 to[prop] = new Date(from[prop].getTime());
50064 to[prop] = from[prop].slice(0);
50067 to[prop] = extend({}, from[prop], overwrite);
50070 to[prop] = from[prop];
50073 return to;