scite lua lexer

18 views
Skip to first unread message

chris clark

unread,
Jul 7, 2026, 12:09:09 AM (yesterday) Jul 7
to scite-interest
I finally made/had time to play with https://scintilla.org/ScriptLexer.html

Docs (as always) are pretty great. What would have helped me would have been a little more spoon-feeding/clarity on usage. The zog demo was really helpful!

Here is the diff I found useful for the docs

```diff
6a7
> <link rel="canonical" href="https://scintilla.org/ScriptLexer.html" />
109c110,120
< Styles and other properties can then be assigned using this name. For example,</p>
---
> Styles and other properties can then be assigned using this name.</p>
> <p>To use a script lexer:</p>
> <ol>
> <li>Add your <code>OnStyle</code> function to the Lua startup script
> (default: <code>$(SciteUserHome)/SciTEStartup.lua</code>, configured by
> <code>ext.lua.startup.script</code> in SciTEGlobal.properties)</li>
> <li>Create a <code>*.properties</code> file with the lexer assignment and styles</li>
> </ol>
> <p>See <a href="SciTEDoc.html#property-ext.lua.startup.script">ext.lua.startup.script</a>
> for details on the startup script.</p>
> <p>For example,</p>
```

As always, thanks for scite! It's my daily driver :-)

Chris

    


Neil Hodgson

unread,
Jul 7, 2026, 7:24:19 PM (16 hours ago) Jul 7
to scite-i...@googlegroups.com
Chris:

> Here is the diff I found useful for the docs

OK, committed.

Neil

Reply all
Reply to author
Forward
0 new messages