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