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)