3.17 setFocus

D2Editor:setFocus(boolean)

Sets the user input focus on the editor if true (the default). This is usually called from the on.getFocus event handler.

Returns the text editor object.

Introduced in platform.apiLevel = '2.0'