BlitzPlus just released the following commands for their TextArea gadget (Rich Text Box control). Are equivalent commands planned in a future version of PureBasic?
Command
FormatTextAreaText textarea,red,green,blue,flags[,pos,len,units]
Parameters
textarea - A textarea gadget handle
red,green,blue - color components in the range 0 to 255.
flags - bold/italic flags
pos,len - Starting position and length of text to format. These default to the entire text.
units - Units specifier: 1=characters (the default), 2=lines
Description
Possible values for flags are:
1: bold
2: italic
3: bold+italic
Command
SetTextAreaText textarea,text$[,pos,len,units]
Parameters
textarea - A textarea gadget handle
text$ - Replacement text for the gadget
pos,len - Starting position and length of text to replace. These default to the entire text.
units - Units specifier: 1=characters (the default), 2=lines
Command
TextAreaCursor( textarea[,units] )
Parameters
textarea - A textarea gadget handle
units - Units specifier: 1=characters (the default), 2=lines
Description
Returns the character or line index of the cursor.
Command
TextAreaSelLen( textarea[,units] )
Parameters
textarea - A textarea gadget handle
units - Units specifier: 1=characters (the default), 2=lines
Description
Returns the length of the current selection in either characters or lines.
Command
TextAreaLen( textarea[,units] )
Parameters
textarea - A textarea gadget handle
units - Units specifier: 1=characters (the default), 2=lines
Description
Returns the number of characters or lines in a textarea gadget.

