Create Highlight.lua

This commit is contained in:
Igor Timofeev
2015-09-04 07:22:51 +03:00
parent 90fdd2fe83
commit 7f41905005

View File

@@ -0,0 +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 path = data[1]
syntax.highlightFileForDebug(path, midnight)