Upgrade text-buffer to have a private marker