Add textinput:ClearLine

This commit is contained in:
Kenny Shields 2014-10-07 19:53:25 -04:00
parent 494d896735
commit b435889831

View File

@ -2029,3 +2029,17 @@ function newobject:GetPlaceholderText()
return self.placeholder return self.placeholder
end 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