You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > 2D Editor Library > setText

3.23 setText

D2Editor:setText(text[, cursor[, selection]])

See setExpression() for details.

Returns the text editor object.

Introduced in platform.apiLevel = '1.0'