adonais / skylark

Skylark Editor is written in C, a high performance text/hex editor. Embedded Database-client/Redis-client/Lua-engine. You can run Lua scripts and SQL files directly.
https://sourceforge.net/projects/libportable/files/Skylark/
GNU General Public License v3.0
465 stars 46 forks source link

Is it possible to write new syntax highlighting files in Lua? #84

Closed ghost closed 1 year ago

ghost commented 1 year ago

Both Lite XL and TextAdept allow writing new syntax highlighting files directly in Lua. Lite XL as I know doesn't use Lexilla. TextAdept has Lexilla as a build dependency but it seems they don't use it. They use their home growth Scintillua to write Scintilla lexers directly in Lua. Please have a look at how they are doing it:

https://github.com/lite-xl/lite-xl

https://github.com/lite-xl/lite-xl-plugins

https://github.com/orbitalquark/textadept

https://github.com/orbitalquark/scintillua