Add textinput:SetTrackingEnabled and textinput:GetTrackingEnabled

This commit is contained in:
Kenny Shields 2014-11-16 16:04:46 -05:00
parent 0af17482ce
commit 31f768cd14

View File

@ -2108,3 +2108,28 @@ function newobject:ClearLine(line)
return self return self
end end
--[[---------------------------------------------------------
- func: SetTrackingEnabled(bool)
- desc: sets whether or not the object should
automatically scroll to the position of its
indicator
--]]---------------------------------------------------------
function newobject:SetTrackingEnabled(bool)
self.trackindicator = bool
return self
end
--[[---------------------------------------------------------
- func: GetTrackingEnabled()
- desc: gets whether or not the object should
automatically scroll to the position of its
indicator
--]]---------------------------------------------------------
function newobject:GetTrackingEnabled()
return self.trackindicator
end