From 815002ff61cd9a40a1d11a19be35fbf8fd449a02 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Sun, 15 Jan 2017 00:49:10 +0300 Subject: [PATCH] aefae --- Applications.txt | 2 +- Applications/MineCodeIDE/MineCodeIDE.lua | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Applications.txt b/Applications.txt index 2f806f88..98302a3a 100644 --- a/Applications.txt +++ b/Applications.txt @@ -886,7 +886,7 @@ icon="IgorTimofeev/OpenComputers/master/Applications/MineCodeIDE/Icon.pic", createShortcut="dock", forceDownload=true, - version=1.13, + version=1.14, }, { name="MineOS/Applications/Battleship", diff --git a/Applications/MineCodeIDE/MineCodeIDE.lua b/Applications/MineCodeIDE/MineCodeIDE.lua index cbd07ae8..5d262372 100755 --- a/Applications/MineCodeIDE/MineCodeIDE.lua +++ b/Applications/MineCodeIDE/MineCodeIDE.lua @@ -759,10 +759,8 @@ local function createWindow() end elseif eventData[1] == "clipboard" then local lines = {} - for line in eventData[3]:gmatch("(.+)\n") do - table.insert(lines, removeTabs(line)) - end - paste({eventData[3]}) + for line in eventData[3]:gmatch("(.+)\n") do table.insert(lines, removeTabs(line)) end + paste(lines) elseif eventData[1] == "scroll" then if mainWindow.codeView:isClicked(eventData[3], eventData[4]) then scroll(eventData[5], config.scrollSpeed)