"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "command", {
    enumerable: true,
    get: function() {
        return command;
    }
});
const command = {
    name: 'moveCellSelectionToMostInlineEnd',
    callback (hot) {
        const { selection, columnIndexMapper } = hot;
        selection.markSource('keyboard');
        selection.setRangeStart(hot._createCellCoords(hot.getSelectedRangeActive().highlight.row, columnIndexMapper.getNearestNotHiddenIndex(hot.countCols() - 1, -1)));
        selection.markEndSource();
    }
};
