@v2m Is it OK? I cannot find a better way to get TextDocument from snapshot.