mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-03-24 16:52:48 +01:00
aefaef
This commit is contained in:
@@ -886,7 +886,7 @@
|
||||
icon="IgorTimofeev/OpenComputers/master/Applications/MineCodeIDE/Icon.pic",
|
||||
createShortcut="dock",
|
||||
forceDownload=true,
|
||||
version=1.15,
|
||||
version=1.16,
|
||||
},
|
||||
{
|
||||
name="MineOS/Applications/Battleship",
|
||||
|
||||
BIN
Applications/.DS_Store
vendored
BIN
Applications/.DS_Store
vendored
Binary file not shown.
@@ -158,9 +158,9 @@ end
|
||||
local function moveCursor(symbolOffset, lineOffset)
|
||||
local newSymbol, newLine = cursor.position.symbol + symbolOffset, cursor.position.line + lineOffset
|
||||
|
||||
if newSymbol < 1 then
|
||||
if symbolOffset < 0 and newSymbol < 1 then
|
||||
newLine, newSymbol = newLine - 1, math.huge
|
||||
elseif newSymbol > unicode.len(mainWindow.codeView.lines[newLine] or "") + 1 then
|
||||
elseif symbolOffset > 0 and newSymbol > unicode.len(mainWindow.codeView.lines[newLine] or "") + 1 then
|
||||
newLine, newSymbol = newLine + 1, 1
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user