mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-26 05:14:21 +00:00
Add textinput:ClearLine
This commit is contained in:
parent
494d896735
commit
b435889831
@ -2029,3 +2029,17 @@ function newobject:GetPlaceholderText()
|
||||
return self.placeholder
|
||||
|
||||
end
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
- func: ClearLine(line)
|
||||
- desc: clears the specified line
|
||||
--]]---------------------------------------------------------
|
||||
function newobject:ClearLine(line)
|
||||
|
||||
if self.lines[line] then
|
||||
self.lines[line] = ""
|
||||
end
|
||||
|
||||
return self
|
||||
|
||||
end
|
Loading…
Reference in New Issue
Block a user