From d56cedb6161c771cd368964743e97037520ffb0b Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Thu, 17 Sep 2015 22:53:14 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=B2=D0=BE=D0=B7=D0=BC=D0=BE=D0=B6=D0=BD=D0=BE=D1=81=D1=82?= =?UTF-8?q?=D1=8C=20=D0=B2=D1=81=D1=82=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=B8?= =?UTF-8?q?=D0=B7=20=D0=B1=D1=83=D1=84=D0=B5=D1=80=D0=B0=20=D0=BF=D1=83?= =?UTF-8?q?=D1=82=D0=B5=D0=BC=20=D0=BD=D0=B0=D0=B6=D0=B0=D1=82=D0=B8=D1=8F?= =?UTF-8?q?=20=D0=A1=D0=9A=D0=9C=20=D0=B2=20=D0=B8=D0=BD=D1=81=D1=82=D1=80?= =?UTF-8?q?=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D0=B5=20"=D1=82=D0=B5=D0=BA?= =?UTF-8?q?=D1=81=D1=82",=20=D0=BF=D0=BE=D0=BB=D0=B5=D0=B7=D0=BD=D0=BE=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20=D1=81=D0=BF=D0=B5=D1=86.=20=D1=81=D0=B8?= =?UTF-8?q?=D0=BC=D0=B2=D0=BE=D0=BB=D0=BE=D0=B2.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Applications/Photoshop/Photoshop.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Applications/Photoshop/Photoshop.lua b/Applications/Photoshop/Photoshop.lua index 374f3b5d..1a6cc9cf 100644 --- a/Applications/Photoshop/Photoshop.lua +++ b/Applications/Photoshop/Photoshop.lua @@ -690,6 +690,14 @@ local function inputText(x,y,limit,textColor) drawThisShit() end end + elseif e[1] == "clipboard" then + if e[3] then + text = text .. e[3] + if unicode.len(text) < limit then + inputPos = inputPos + 1 + end + drawThisShit() + end end end