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 />&gt; &lt;link rel=3D"canonical" href=3D"https://scintilla.org/Scri=
ptLexer.html" /&gt;<br />109c110,120<br />&lt; <span style=3D"white-space: =
pre;">	</span>Styles and other properties can then be assigned using this n=
ame. For example,&lt;/p&gt;<br />---<br />&gt; <span style=3D"white-space: =
pre;">	</span>Styles and other properties can then be assigned using this n=
ame.&lt;/p&gt;<br />&gt; <span style=3D"white-space: pre;">	</span>&lt;p&gt=
;To use a script lexer:&lt;/p&gt;<br />&gt; <span style=3D"white-space: pre=
;">	</span>&lt;ol&gt;<br />&gt; <span style=3D"white-space: pre;">	</span>&=
lt;li&gt;Add your &lt;code&gt;OnStyle&lt;/code&gt; function to the Lua star=
tup script<br />&gt; <span style=3D"white-space: pre;">	</span>(default: &l=
t;code&gt;$(SciteUserHome)/SciTEStartup.lua&lt;/code&gt;, configured by<br =
/>&gt; <span style=3D"white-space: pre;">	</span>&lt;code&gt;ext.lua.startu=
p.script&lt;/code&gt; in SciTEGlobal.properties)&lt;/li&gt;<br />&gt; <span=
 style=3D"white-space: pre;">	</span>&lt;li&gt;Create a &lt;code&gt;*.prope=
rties&lt;/code&gt; file with the lexer assignment and styles&lt;/li&gt;<br =
/>&gt; <span style=3D"white-space: pre;">	</span>&lt;/ol&gt;<br />&gt; <spa=
n style=3D"white-space: pre;">	</span>&lt;p&gt;See &lt;a href=3D"SciTEDoc.h=
tml#property-ext.lua.startup.script"&gt;ext.lua.startup.script&lt;/a&gt;<br=
 />&gt; <span style=3D"white-space: pre;">	</span>for details on the startu=
p script.&lt;/p&gt;<br />&gt; <span style=3D"white-space: pre;">	</span>&lt=
;p&gt;For example,&lt;/p&gt;<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&quot; 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--