scite lua lexer
chris clark <[email protected]> Mon, 6 Jul 2026 21:09:08 -0700 (PDT)
| Newsgroups | gmane.editors.scite.general |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_454212_173381777.1783397348778
Content-Type: multipart/alternative;
boundary="----=_Part_454213_1376824531.1783397348778"
------=_Part_454213_1376824531.1783397348778
Content-Type: text/plain; charset="UTF-8"
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
--
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/scite-interest/d0b31f59-c920-42fa-a0e0-80545bf438a5n%40googlegroups.com.
------=_Part_454213_1376824531.1783397348778
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
I finally made/had time to play with=C2=A0https://scintilla.org/ScriptLexer=
.html<div><br /></div><div>Docs (as always) are pretty great. What would ha=
ve helped me would have been a little more spoon-feeding/clarity on usage. =
The zog demo was really helpful!</div><div><br /></div><div>Here is the dif=
f I found useful for the docs</div><div><br /></div><div>```diff</div><div>=
6a7<br />> <link rel=3D"canonical" href=3D"https://scintilla.org/Scri=
ptLexer.html" /><br />109c110,120<br />< <span style=3D"white-space: =
pre;"> </span>Styles and other properties can then be assigned using this n=
ame. For example,</p><br />---<br />> <span style=3D"white-space: =
pre;"> </span>Styles and other properties can then be assigned using this n=
ame.</p><br />> <span style=3D"white-space: pre;"> </span><p>=
;To use a script lexer:</p><br />> <span style=3D"white-space: pre=
;"> </span><ol><br />> <span style=3D"white-space: pre;"> </span>&=
lt;li>Add your <code>OnStyle</code> function to the Lua star=
tup script<br />> <span style=3D"white-space: pre;"> </span>(default: &l=
t;code>$(SciteUserHome)/SciTEStartup.lua</code>, configured by<br =
/>> <span style=3D"white-space: pre;"> </span><code>ext.lua.startu=
p.script</code> in SciTEGlobal.properties)</li><br />> <span=
style=3D"white-space: pre;"> </span><li>Create a <code>*.prope=
rties</code> file with the lexer assignment and styles</li><br =
/>> <span style=3D"white-space: pre;"> </span></ol><br />> <spa=
n style=3D"white-space: pre;"> </span><p>See <a href=3D"SciTEDoc.h=
tml#property-ext.lua.startup.script">ext.lua.startup.script</a><br=
/>> <span style=3D"white-space: pre;"> </span>for details on the startu=
p script.</p><br />> <span style=3D"white-space: pre;"> </span><=
;p>For example,</p><br /></div><div>```</div><div><br /></div><div=
>As always, thanks for scite! It's my daily driver :-)</div><div><br /></di=
v><div>Chris</div><div><br /></div><div>=C2=A0 =C2=A0=C2=A0</div><div><br /=
></div><div><br /></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;scite-interest" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">scit=
[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
scite-interest/d0b31f59-c920-42fa-a0e0-80545bf438a5n%40googlegroups.com?utm=
_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/scit=
e-interest/d0b31f59-c920-42fa-a0e0-80545bf438a5n%40googlegroups.com</a>.<br=
/>
------=_Part_454213_1376824531.1783397348778--
------=_Part_454212_173381777.1783397348778--