<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[External Lexer question]]></title><description><![CDATA[<p dir="auto">So I’m attempting to write an external lexer (well kind of, but that’s a different story). I’ve looked at some other examples (the GEDCOM lexer, Gmod Lua Lexer, etc) and understand how they work and the general setup for getting an external lexer working.</p>
<p dir="auto">My question is regarding styling. In the xml file associated with the external lexer, there are “WordsStyle” tags that need to be defined that have a styleID, font color, size, etc so that the external lexer Lex() function can use these styles. Is there a way to generate these styles within the lexer itself, meaning you can possibly have a varying number of styles? I know there isn’t a huge number of people that deal with external lexers, so hopefully someone can help :)</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/10599/external-lexer-question</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 22:37:50 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/10599.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 29 Sep 2015 21:36:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to External Lexer question on Tue, 29 Sep 2015 22:15:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dail" aria-label="Profile: dail">@<bdi>dail</bdi></a> said:</p>
<blockquote>
<p dir="auto">So I’m attempting to write an external lexer (well kind of, but that’s a different story). I’ve looked at some other examples (the GEDCOM lexer, Gmod Lua Lexer, etc) and understand how they work and the general setup for getting an external lexer working.</p>
<p dir="auto">My question is regarding styling. In the xml file associated with the external lexer, there are “WordsStyle” tags that need to be defined that have a styleID, font color, size, et*</p>
</blockquote>
<ul>
<li>italicised text*c so that the external lexer Lex() function can use these styles. Is there a way to generate these styles within the lexer itself, meaning you can possibly have a varying number of styles? I know there isn’t a huge number of people that deal with external lexers, so hopefully someone can help :)</li>
</ul>
]]></description><link>https://community.notepad-plus-plus.org/post/11547</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/11547</guid><dc:creator><![CDATA[Victor Medrano Sada]]></dc:creator><pubDate>Tue, 29 Sep 2015 22:15:41 GMT</pubDate></item></channel></rss>