function makeSelectionRestoreFn (activeEl, start, end) {
        return function () {
            activeEl.selectionStart = start;
            activeEl.selectionEnd = end;
        };
    }
function makeSelectionRestoreFn (activeEl, start, end) {
        return function () {
            activeEl.selectionStart = start;
            activeEl.selectionEnd = end;
        };
    }
function makeSelectionRestoreFn ( activeEl , start , end ) { return function ( ) { activeEl . selectionStart = start ; activeEl . selectionEnd = end ; } ; }
/*
Helper function to create the function that will restore the selection.
/ * Helper function to create the function that will restore the selection .