Add temporary text position and range classes