code: function callback (start, end, props) {
          if (props === undefined) {
              props = {};
          }
          key = blockKey + KEY_SEPARATOR + decorationId;
          decorated[blockKey][decorationId] = props;
          decorateRange(decorations, start, end, key);
          decorationId++;
      }
docs: Apply a decoration to given range, with given props