title: Google Script: onedit(e) e.value not registering delete key press as edit
body: <p>Four months ago user Cooper was so kind to provide the below code to me.
  Although it works great, I have two questions about it. </p>
  
  <p>1.) in order for the onEdit function to trigger, I need to press delete on the keyboard twice. 
  A single press only empties the cell value. Is there any workaround on this?</p>
  
  <p>2.) Only the active cell is being edited, but not the range selection I draw. Is there a way to make onEdits edit full ranges?</p>
  
  <p>Thank you very much for your assistance.</p>
  
  <pre><code>function onEdit(e) {
    var sh=e.range.getSheet();
    //e.source.toast(' e.value: ' + e.value);
    if(sh.getName()!='Sheet4'){return;}
    if(e.range.rowStart&lt;31 &amp;&amp; e.range.columnStart&lt;9 &amp;&amp; !e.value) { //if in the range of A1:H30 and new value is blank
      var rg=sh.getRange(e.range.rowStart,e.range.columnStart); 
      rg.setFormula("=Sheet2!" + rg.getA1Notation());
      //e.source.toast('A1: ' + rg.getA1Notation() + ' e.value: ' + e.value);
    }  
  }
  </code></pre>