docs: function (kc, specials) {
                  // changed for PTR04462051 as spaces were included and this was breaking the AutoComplete widget.
                  if (kc > 32 && kc < 41) {
                      return true; // space, page or arrow
                  }
                  if (kc == 8 || kc == 9 || kc == 13 || kc == 27) {
                      return true; // special escape or control keys
                  }
                  // changed for PTR04462051 as hyphens were included and this was breaking the AutoComplete widget.
                  if (kc == 45 || kc == 46) {
                      return false; // insert or delete
                  }
                  /*
                   * not a special key, just / * - + if (kc == 106 || kc == 107 || kc == 109 || kc == 111) { return true; }
                   */
                  // If we are holding a special key (ctrl, alt, ...) and typing any other key, it's a special key
                  if (specials.ctrlKey && kc != this.KC_CTRL) {
                      return true;
                  }
                  if (specials.altKey && kc != this.KC_ALT) {
                      return true;
                  }
                  if (kc >= 112 && kc <= 123) {
                      // F1 .. F12
                      return true;
                  }
  
                  return false;
              }