format the rectangle text onenter, deprecating old functions
removing deprecations