mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-09-14 11:06:16 +05:00
Update Highlight.lua
This commit is contained in:
parent
02fb68c697
commit
2a0dd22cf6
@ -1,5 +1,5 @@
|
||||
local syntax = require("syntax")
|
||||
ecs.prepareToExit()
|
||||
local data = ecs.universalWindow("auto", "auto", 30, 0xeeeeee, true, {"EmptyLine"}, {"CenterText", 0x262626, "Highlight file"}, {"EmptyLine"}, {"Input", 0x262626, 0x880000, "Path to file"}, {"EmptyLine"}, {"Button", 0x33db80, 0xffffff, "GO!"})
|
||||
local data = ecs.universalWindow("auto", "auto", 30, 0xeeeeee, true, {"EmptyLine"}, {"CenterText", 0x262626, "Highlight.app/Resources/TestFile.txt"}, {"EmptyLine"}, {"Input", 0x262626, 0x880000, "Path to file"}, {"EmptyLine"}, {"Button", 0x33db80, 0xffffff, "GO!"})
|
||||
local path = data[1]
|
||||
syntax.highlightFileForDebug(path, midnight)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user