editTextBlock method
This command starts in-place editing of a TextBlock in the selected Part.
This is normally invoked by the F2
keyboard shortcut.
This starts the TextEditingTool to have the user enter or modify the text string and finally set the TextBlock#text. You may want to save the new string to the model by using a TwoWay Binding on the "text" property of your TextBlock.
This method may be overridden, but you should consider calling this base method in order to get all of its functionality. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @param {TextBlock=} textblock the TextBlock to start editing. @see #canEditTextBlock
Implementation
void editTextBlock([_i3.TextBlock? textblock]) {
_i4.callMethod(
this,
'editTextBlock',
[textblock ?? _i5.undefined],
);
}