17 lines
360 B
Markdown
17 lines
360 B
Markdown
## editLine
|
|
Edits the line on index position
|
|
|
|
#### Parameteres:
|
|
1. `number` index
|
|
2. `string` text
|
|
|
|
#### Returns:
|
|
1. `object` The object in use
|
|
|
|
#### Usage:
|
|
* Edits the line
|
|
```lua
|
|
local mainFrame = basalt.createFrame("myFirstFrame"):show()
|
|
local aTextfield = mainFrame:addTextfield("myFirstTextfield"):show()
|
|
basalt.debug(aTextfield:editLine(1, "Hello!"))
|
|
``` |