orbitalquark / scintillua

Scintillua enables Scintilla lexers to be written in Lua, particularly using LPeg. It can also be used as a standalone Lua library for syntax highlighting support.
https://orbitalquark.github.io/scintillua
MIT License
51 stars 20 forks source link

how to set colors ? #90

Open robinfoxnan opened 1 year ago

robinfoxnan commented 1 year ago

This library is great. I have used Scantillua.dll in my application to highlight the LUA script execution syntax. It currently works normally. When I read the manual, I am not sure how to set the color. Can I set it directly using the theme file? Thank you very much if you can reply

orbitalquark commented 1 year ago

It depends on the application you are using Scintillua with. If you are using it with SciTE, then you can use something like "import /path/to/scintillua/themes/light" in your SciTE properties file and change those color definitions to your taste. If you are using another application, you will have to use its system for changing colors.