mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-03-25 17:22:47 +01:00
Create Highlight.lua
This commit is contained in:
5
Applications/Highlight/Highlight.lua
Normal file
5
Applications/Highlight/Highlight.lua
Normal 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)
|
||||
Reference in New Issue
Block a user