Hi Manfred,
Thanks for your reply.
I have read the Wrap text section before and knew the ~ and ^ characters.
What I expect is that EW LCD can display the original text which copied from serial port. Remove these automatically added line breaks instead of adding them.
These debug messages are output to the serial port and also displayed on the LCD, only for the purpose of seeing these information under special circumstances, which is an auxiliary way.
For these messages, I don't know the content ( no any special format ) of these messages, also can't specify what the content should be.
Any way, if there is no better way, it will have to stay the way it is.That's ok for debug log.
In addition, for the display of long text, I implemented in this way below. Just a reference to other questioners.
As you can see from the position of the scroll bar, the example text content is very long (29,724 charactors).
var int32 height = 0;
Outline.ScrollOffset.y = 50;
height = Text_log.GetContentArea().y2; // in my example, the Text content y2 is 13845, 550 lines.
if(height > 430)
{
Text_log.Bounds.y2 = height; // Expand the text view boundary to
// fit the longer text than one page.
}
else
{
Text_log.Bounds.y2 = 480;
}
Outline.ScrollOffset.y = 500 - Text_log.Bounds.y2; // scroll display to last line
Thank you very much.