TextShape documentation inconsistency

Hello,

In the documentation, the page about TextShape mentions this, under the “Notes” section:
“Text that contain line breaks are not supported.”
In the TextShape.Value page, it’s said otherwise:
“Use a carriage return between text to display with multiple lines.”.

I’m in the process of learning these classes, so I don’t know yet which one is right, but I find weird the documentation contradicts itself in a “brand new” class. Or perhaps I’m missing something?

The first block of code below draw one line, the second draw two lines (but not the passed text).

The original code is in the LR.

Paint of Canvas1:

[code]Sub Paint(g As Graphics, areas() As REALbasic.Rect) Handles Paint
Var s As New TextShape
s.Value = “Hello World”
s.FontName = “Helvetica”
s.Bold = True
// s.Rotation = 3.14159 / 2 // (radians, 90 degrees = pi/2)
s.Y = 50
g.DrawObject(s)

Var s2 As New TextShape
s2.Value = “Ligne 1 de texte.” + Chr(13) + “Ligne 2 de texte.”
s2.FontName = “Helvetica”
s2.Bold = True
// s2.Rotation = 3.14159 / 2 // (radians, 90 degrees = pi/2)
s2.Y = 100
g.DrawObject(s2)
End Sub
[/code]