public/js/handsontable/jquery.handsontable.full.js
function (keyboardProxy, pos) {
    var el = keyboardProxy[0];
    if (el.setSelectionRange) {
      el.focus();
      el.setSelectionRange(pos, pos);
    }
    else if (el.createTextRange) {
      var range = el.createTextRange();
      range.collapse(true);
      range.moveEnd('character', pos);
      range.moveStart('character', pos);
      range.select();
    }
  }
function (keyboardProxy, pos) {
    var el = keyboardProxy[0];
    if (el.setSelectionRange) {
      el.focus();
      el.setSelectionRange(pos, pos);
    }
    else if (el.createTextRange) {
      var range = el.createTextRange();
      range.collapse(true);
      range.moveEnd('character', pos);
      range.moveStart('character', pos);
      range.select();
    }
  }
function ( keyboardProxy , pos ) { var el = keyboardProxy [ 0 ] ; if ( el . setSelectionRange ) { el . focus ( ) ; el . setSelectionRange ( pos , pos ) ; } else if ( el . createTextRange ) { var range = el . createTextRange ( ) ; range . collapse ( true ) ; range . moveEnd ( 'character' , pos ) ; range . moveStart ( 'character' , pos ) ; range . select ( ) ; } }
Sets caret position in edit proxy
@author http://blog.vishalon.net/index.php/javascript-getting-and-setting-caret-position-in-textarea/
@param {Number}
Sets caret position in edit proxy