if (this._textChangeObserver) {
  return this._textChangeObserver;
}

Then the rest of the code.