Page 1 of 1

Problem with getText() in TextShape class

Posted: Fri Sep 10, 2010 9:01 am
by 15356328
Hello Yeray,

thank you for your response.

We had a problem with AxisTitle in some systems,we are getting extra character (empty space).
we debugged the code found that there is problem with getText() method in TextShape class.

Previous code
public String getText() {
return (getLinesLength() == 0) ? "" : stringJoin(Language.getString("crlf"), lines);
}


corrected code
public String getText() {
return (getLinesLength() == 0) ? "" : stringJoin(Language.getString("LineSeparator"), lines);
}


replacing crlf with LineSeparator is take care everywhere,but in above method it has to be changed LineSeparator .
please have a look and take care in next release.

Thanks,
Vijaya Raghava Rao

Re: Problem with getText() in TextShape class

Posted: Mon Sep 13, 2010 3:36 pm
by yeray
Hi Vijaya,

I've made the proposed change in the actual sources so the next maintenance release will include your suggestion.