record text region