mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-18 16:04:22 +00:00
Prevent textinput tabbing when all text is selected
This commit is contained in:
parent
24a4b9f798
commit
989c3ebb5e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user