This commit is contained in:
Igor Timofeev 2017-01-15 00:49:10 +03:00
parent 12178056bf
commit 815002ff61
2 changed files with 3 additions and 5 deletions

View File

@ -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",

View File

@ -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)