Prevent textinput tabbing when all text is selected

This commit is contained in:
Kenny Shields 2014-05-07 16:04:12 -04:00
parent 24a4b9f798
commit 989c3ebb5e

View File

@ -741,6 +741,9 @@ function newobject:RunKey(key, istext)
self.indicatornum = 0
end
elseif key == "tab" then
if alltextselected then
return
end
ckey = key
self.lines[self.line] = self:AddIntoText(self.tabreplacement, self.indicatornum)
self:MoveIndicator(#self.tabreplacement)