I'm looking at the text commands and they seem a bit limited. There is no commands for managing text "objects" with multiple lines. So I figured it would be quite nice with some commands to add text and lines to a text object. There is already a command to change the spacing between lines (SetTextLineSpacing) but I see no way of adding new lines.
AddTextSting( iTextIndex, bNewLine )
- Adds a string at the end of an existing text object.
- Optionally bNewLine = 1 adds the text to a new line.
AddTextNewLine( iTextIndex, iLines, iLineIndex )
- Adds a new line to a text object.
- Optionally iLines allows you to add multiple lines at once.
- Optionally iLineIndex allows you to add lines at a specified line.
integer GetTextLines( iTextIndex )
- Returns the number of lines.
SetTextLine( iTextIndex, iLineIndex, string )
- Sets the string of a specified line.
string GetTextLine( iTextIndex, iLineIndex )
- Returns the content of a specific line
RemoveTextLine( iTextIndex, iLineIndex )
- Removes a specific line.
If you have suggestions for commands I might have missed, feel free to mention them