Registers changed events on the tokenizedBuffer

This way we make sure to be notified when the tokenization
ended.