This commit is contained in:
Igor Timofeev
2016-01-13 22:56:22 +03:00
parent b9719122e3
commit 77c120038c
2 changed files with 13 additions and 7 deletions

View File

@@ -268,13 +268,13 @@ end
syntax.setColorScheme(syntax.colorSchemes.midnight)
--Епты бля!
local strings = syntax.convertFileToStrings("MineOS/Applications/Highlight.app/Resources/TestFile.txt")
-- local strings = syntax.convertFileToStrings("MineOS/Applications/Highlight.app/Resources/TestFile.txt")
local xSize, ySize = gpu.getResolution()
buffer.square(1, 1, xSize, ySize, ecs.colors.green, 0xFFFFFF, " ")
buffer.draw(true)
-- local xSize, ySize = gpu.getResolution()
-- buffer.square(1, 1, xSize, ySize, ecs.colors.green, 0xFFFFFF, " ")
-- buffer.draw(true)
syntax.viewCode(2, 2, 70, 20, strings, 1, 1, true, {from = {x = 6, y = 2}, to = {x = 3, y = 8}})
-- syntax.viewCode(2, 2, 70, 20, strings, 1, 1, true, {from = {x = 6, y = 2}, to = {x = 3, y = 8}})
----------------------------------------------------------------------------------------------------------------