doActivate method
Start editing the text for a #textBlock.
If TextEditingTool#textBlock is not already specified, this looks for one at the current mouse point. If none is found, this method does nothing.
This method sets #currentTextEditor.
If TextBlock#textEditor is defined on the TextBlock it will use that as the value.
By default, it uses the value of #defaultTextEditor, which is an HTMLInfo
showing an HTML textarea, with the CSS class goTXarea
.
If the #currentTextEditor is an HTMLInfo, this method calls HTMLInfo#show on that instance.
This sets Tool#isActive to true. Custom text editors should call TextEditingTool#acceptText to finish the edit by modifying the TextBlock and committing the edit transaction. Or call TextEditingTool#doCancel to abort the edit.
Implementation
void doActivate() {
_i4.callMethod(
this,
'doActivate',
[],
);
}