mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2025-12-20 02:59:20 +01:00
Revert "Фикс парсера ошибок"
This reverts commit 2bd4abc9a1fd7a994b2013c426445e33abc1fa04.
This commit is contained in:
parent
2bd4abc9a1
commit
83e5516e97
@ -2171,7 +2171,6 @@ function system.error(path, line, traceback)
|
|||||||
-- Read part of file to display error line
|
-- Read part of file to display error line
|
||||||
-- GUI.alert("SYS", path)
|
-- GUI.alert("SYS", path)
|
||||||
|
|
||||||
if filesystem.exists(path) then
|
|
||||||
for line in filesystem.lines(path) do
|
for line in filesystem.lines(path) do
|
||||||
if lineCounter >= codeView.fromLine and lineCounter <= toLine then
|
if lineCounter >= codeView.fromLine and lineCounter <= toLine then
|
||||||
codeView.lines[lineCounter] = line:gsub("\t", " ")
|
codeView.lines[lineCounter] = line:gsub("\t", " ")
|
||||||
@ -2187,7 +2186,6 @@ function system.error(path, line, traceback)
|
|||||||
computer.pullSignal(0)
|
computer.pullSignal(0)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
-- Stacktrace parsing
|
-- Stacktrace parsing
|
||||||
local lines = text.wrap(traceback:gsub("\r\n", "\n"):gsub("\t", " "), window.width - codeView.width - 2)
|
local lines = text.wrap(traceback:gsub("\r\n", "\n"):gsub("\t", " "), window.width - codeView.width - 2)
|
||||||
@ -2220,7 +2218,7 @@ function system.error(path, line, traceback)
|
|||||||
workspace:draw()
|
workspace:draw()
|
||||||
|
|
||||||
for i = 1, 3 do
|
for i = 1, 3 do
|
||||||
computer.beep(1500, 0.08)
|
component.get("computer").beep(1500, 0.08)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -2648,7 +2646,6 @@ function system.updateDesktop()
|
|||||||
"Yakov Verevkin, vk.com/id60991376",
|
"Yakov Verevkin, vk.com/id60991376",
|
||||||
"Alexey Smirnov, vk.com/id23897419",
|
"Alexey Smirnov, vk.com/id23897419",
|
||||||
"Timofey Shestakov, vk.com/id113499693",
|
"Timofey Shestakov, vk.com/id113499693",
|
||||||
"Fedor Cheremisenov, vk.com/id402150900",
|
|
||||||
" ",
|
" ",
|
||||||
"UX-advisers:",
|
"UX-advisers:",
|
||||||
" ",
|
" ",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user