Code: Select all
...get the selectedLines
put word 2 of it into startLine ; put word 4 of it into endLine ; put word 7 of it into tField --tField is the SE
set the backColor of line startline to endLine of fld tField to "255,255,215"
I guess I can store the current text portions in a custom property somewhere and reColor every time the SE is in front and I paste something, but does anyone have a better idea? I am a little skittish about lightly hacking the SE in the first place.
The point of this query is really this: Dammit, why does pasting change the backColor of an SE field? It does not do so in an "ordinary" field, and isn't the SE just a stack with fields on it? What sort of baggage does this stack carry, and how can I bypass it instead of recoloring each time I paste?
Craig