I have some small text area and some text in it. When textRange.size = 5 (for example) i see this text, but when its bigger (6 pt for example) it hides away. So, I have 2 questions: 1. is there a varaible (or may be a fast way to calculate) that tells me will this text hidden or not ? 2. is there an option (or script variable) to show text lager then my textArea anyway?
I presume you mean overset text, i.e. more than fits into an area. For a (selected) single line, you can test for it with alert( selection.lines.characters.length < selection.characters.length ); For ruther details, see Vasily Hall's script.