mirror of
https://github.com/airstruck/luigi.git
synced 2026-01-09 15:58:22 +00:00
text widget: handle ctrl-a (select all)
This commit is contained in:
@@ -288,6 +288,10 @@ This color is used to indicate the selected range of text.
|
|||||||
|
|
||||||
pasteFromClipboard(self)
|
pasteFromClipboard(self)
|
||||||
|
|
||||||
|
elseif event.key == 'a' and Backend.isKeyDown('lctrl', 'rctrl') then
|
||||||
|
|
||||||
|
selectRange(self, 0, #self.value)
|
||||||
|
|
||||||
end
|
end
|
||||||
return false
|
return false
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user