Problem with new line character in Inspector Panel
- January 15, 2010
- 1 reply
- 1251 views
Dear all,
I'm writing a script that creates Inspector Panel and encountered a problem: some versions of Bridge, for example CS3 and CS4 for Mac, interpret incorrectly new line ("\n") and new paragraph ("\r") characters.
You can see this if you run SnpCreateTextInspectorPanel script, that comes with Bridge SDK. In CS3 for Windows it works as expected: displaying a list of names for selected files in dynamic text section of the subpanel. But if you run the same script in CS3/4 for Mac, it displays only the first line. However the information is still there — if you move cursor over the panel, right click and choose copy, then paste it into TextEdit, all lines are present there.
To illustrate the problem I attached two screenshots I made after running SnpCreateTextInspectorPanel script, one in CS3 for Windows, another in CS3 for Mac.
Kasyan
