temporary title for text ranges
I am developing a plugin that retrieves data from external system and fills the data in text ranges. The text ranges have a "type" associated with it. I want to display the type in illustrator above the text range (like a title), but should not be saved as part of the file - it should be dynamically displayed "for info only". I have seen a plugin doing exactly same thing. See the image below - has been rendered by the plugin I mentioned. The "Type" heading with border appears dynamically. If I switch to another window and switch back, the border and "Type" heading is redrawn. When exported, heading does not appear in the image. When saved, heading does not get saved. There are no additional layers, and the heading is not selectable. How can I achieve the same? Thanks.

edit: Looks like the heading and border is around the layer that consists of textrange.
