<?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[[ALPHA] Upcoming Plugin: HiddenLexers]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mpheath" aria-label="Profile: mpheath">@<bdi>mpheath</bdi></a> <a href="/post/106009">said</a>:</p>
<p dir="auto">This is a markdown variant, AFAIK . Markdown has many variants so may seem like your problem is a variant that suits your needs. ASCIIDoc IIRC is a lexer that is not exposed in Notepad++ so perhaps wanted? This needs some more detail to know if the interest is desired.</p>
</blockquote>
<p dir="auto">In interesting timing, I am actually in the middle of creating a HiddenLexer plugin (based on my old PythonScript solution) which will allow the plugin to activate lexers that Notepad++ doesn’t expose in the Languages menu.</p>
<p dir="auto">For alpha testing with ASCIIDoc:</p>
<ul>
<li>Download zip of plugin DLL from here: <code>&lt;LINK REMOVED&gt;</code> <s>(link should work for at least a few days)</s> <em>(see updated location, below)</em> and put the DLL as <code>c:\program files\notepad++\plugins\HiddenLexers\HiddenLexers.dll</code> (or equivalent)</li>
<li><code>%AppData%\Notepad++\plugins\config\HiddenLexers\HiddenLexers.json</code><pre><code class="language-json">{
  "extensions": {
    "adoc": "asciidoc"
  },
  "lexers": {
    "asciidoc": {
      "0  SCE_ASCIIDOC_DEFAULT":        { "fgColor": "", "bgColor": "", "fontStyle": "0" },
      "1  SCE_ASCIIDOC_STRONG1":        { "fgColor": "", "bgColor": "", "fontStyle": "1" },
      "2  SCE_ASCIIDOC_STRONG2":        { "fgColor": "", "bgColor": "", "fontStyle": "5" },
      "3  SCE_ASCIIDOC_EM1":            { "fgColor": "", "bgColor": "", "fontStyle": "2" },
      "4  SCE_ASCIIDOC_EM2":            { "fgColor": "", "bgColor": "", "fontStyle": "6" },
      "5  SCE_ASCIIDOC_HEADER1":        { "fgColor": "CC0000", "bgColor": "", "fontStyle": "1" },
      "6  SCE_ASCIIDOC_HEADER2":        { "fgColor": "CC3333", "bgColor": "4F4F4F", "fontStyle": "1" },
      "7  SCE_ASCIIDOC_HEADER3":        { "fgColor": "CC7777", "bgColor": "5F5F5F", "fontStyle": "1" },
      "8  SCE_ASCIIDOC_HEADER4":        { "fgColor": "CCbbbb", "bgColor": "6F6F6F", "fontStyle": "1" },
      "9  SCE_ASCIIDOC_HEADER5":        { "fgColor": "CCffff", "bgColor": "7F7F7F", "fontStyle": "1" },
      "10 SCE_ASCIIDOC_HEADER6":        { "fgColor": "FFFFFF", "bgColor": "8F8F8F", "fontStyle": "1" },
      "11 SCE_ASCIIDOC_ULIST_ITEM":     { "fgColor": "0000CC", "bgColor": "", "fontStyle": "0" },
      "12 SCE_ASCIIDOC_OLIST_ITEM":     { "fgColor": "0000CC", "bgColor": "", "fontStyle": "0" },
      "13 SCE_ASCIIDOC_BLOCKQUOTE":     { "fgColor": "00CC00", "bgColor": "", "fontStyle": "0" },
      "14 SCE_ASCIIDOC_LINK":           { "fgColor": "", "bgColor": "", "fontStyle": "4" },
      "15 SCE_ASCIIDOC_CODEBK":         { "fgColor": "00CC00", "bgColor": "", "fontStyle": "0" },
      "16 SCE_ASCIIDOC_PASSBK":         { "fgColor": "00CC00", "bgColor": "", "fontStyle": "0" },
      "17 SCE_ASCIIDOC_COMMENT":        { "fgColor": "00CC33", "bgColor": "", "fontStyle": "0" },
      "18 SCE_ASCIIDOC_COMMENTBK":      { "fgColor": "00CC33", "bgColor": "", "fontStyle": "0" },
      "19 SCE_ASCIIDOC_LITERAL":        { "fgColor": "CCCC00", "bgColor": "", "fontStyle": "0" },
      "20 SCE_ASCIIDOC_LITERALBK":      { "fgColor": "CCCC00", "bgColor": "", "fontStyle": "0" },
      "21 SCE_ASCIIDOC_ATTRIB":         { "fgColor": "CC00CC", "bgColor": "", "fontStyle": "0" },
      "22 SCE_ASCIIDOC_ATTRIBVAL":      { "fgColor": "CC00CC", "bgColor": "7F7F7F", "fontStyle": "0" },
      "23 SCE_ASCIIDOC_MACRO":          { "fgColor": "FFFF00", "bgColor": "", "fontStyle": "7" },
      "options": {},
      "keywords": [ "", "", "", "", "", "", "", "", "" ]
    }
  }
}
</code></pre>
<em>(the colors are reasonable in DarkModeDefault theme)</em></li>
</ul>
<p dir="auto">The plugin isn’t ready for prime time yet, but for alpha testing, I was able to get that to automatically colorize the lexilla test asciidoc file <a href="https://raw.githubusercontent.com/notepad-plus-plus/notepad-plus-plus/refs/heads/master/lexilla/test/examples/asciidoc/AllStyles.adoc" rel="nofollow ugc"><code>AllStyles.adoc</code></a></p>
<p dir="auto">There’s no documentation for the plugin yet, nor an ABOUT box, nor any way to force it to re-read the JSON (those are all TODO).  But as a proof of concept…</p>
<p dir="auto"><img src="/assets/uploads/files/1785870475625-9a9695a8-ab6a-4361-9c6c-6cb2ce36bab9-image.jpeg" alt="9a9695a8-ab6a-4361-9c6c-6cb2ce36bab9-image.jpeg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.notepad-plus-plus.org/topic/27622/alpha-upcoming-plugin-hiddenlexers</link><generator>RSS for Node</generator><lastBuildDate>Wed, 05 Aug 2026 21:37:23 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/27622.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 04 Aug 2026 19:08:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [ALPHA] Upcoming Plugin: HiddenLexers on Wed, 05 Aug 2026 20:52:44 GMT]]></title><description><![CDATA[<p dir="auto">Updated artifacts: <a href="https://github.com/pryrt/NppPlugin-HiddenLexers/actions/runs/31041591210" rel="nofollow ugc">https://github.com/pryrt/NppPlugin-HiddenLexers/actions/runs/31041591210</a> (again, limited time availability, only for alpha testing)</p>
<ul>
<li>Got rid of the “Hello” actions. ;-)</li>
<li>Added <strong>About</strong> box</li>
<li>Added <strong>Edit Config File</strong> to open the correct JSON file</li>
<li>Added <strong>Reread Config</strong> to reload the settings from the JSON
<ul>
<li>when you are editing the JSON in Notepad++, when you save that file, it should automatically reread the config.  (you will have to activate the tab with the example file to see the update in highlighting)</li>
</ul>
</li>
</ul>
<p dir="auto">This build should make it much easier for incremental changes to the JSON, without having to reload Notepad++ every time. :-)</p>
<hr />
<p dir="auto">Also, now I’ve updated the README at <a href="https://github.com/pryrt/NppPlugin-HiddenLexers" rel="nofollow ugc">https://github.com/pryrt/NppPlugin-HiddenLexers</a></p>
<hr />
<h3>Call For Testers</h3>
<p dir="auto">It seems to be basically working at this point.  If <a class="plugin-mentions-user plugin-mentions-a" href="/user/mpheath" aria-label="Profile: mpheath">@<bdi>mpheath</bdi></a> and others could give it a test, that would be appreciated.  I don’t personally need this plugin, as I don’t have any hidden lexers I want to activate, so I don’t know if I’ve missed anything critical or obvious.   But from my tests with STATA (one of the languages that the original <code>HiddenLexers.py</code> handled) and <code>ASCIIDoc</code> (per the start of this conversation), I <em>think</em> it’s working reasonably.</p>
<p dir="auto">I know that Lexilla has various config-variables for some of the lexers.  If <em>not</em> having config variables available is a deal breaker for you, let me know which lexer you need it for, and give an example file and JSON to show me why that option is critical, and I can prioritize getting it added before I do the v1.0 release. Otherwise, the lexilla-options will probably not be included until a future version.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/106022</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/106022</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 05 Aug 2026 20:52:44 GMT</pubDate></item><item><title><![CDATA[Reply to [ALPHA] Upcoming Plugin: HiddenLexers on Wed, 05 Aug 2026 19:04:40 GMT]]></title><description><![CDATA[<p dir="auto">NOTE: I split this out from the <a href="/topic/27615">Using Notepad++ to Organize Game Guides and Documentation</a> because it distracts from the original conversation, and is really about something separate from that discussion.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/106021</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/106021</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 05 Aug 2026 19:04:40 GMT</pubDate></item><item><title><![CDATA[Reply to [ALPHA] Upcoming Plugin: HiddenLexers on Wed, 05 Aug 2026 15:06:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> The <code>mysql</code> lexer has no real use with default style so was not seeing results though as developing the json some more then it started showing good progress. Perseverance wins in the end. Just need to get familiar with what’s required and I remembered that I am awful with styling colours.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/106014</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/106014</guid><dc:creator><![CDATA[mpheath]]></dc:creator><pubDate>Wed, 05 Aug 2026 15:06:16 GMT</pubDate></item><item><title><![CDATA[Reply to [ALPHA] Upcoming Plugin: HiddenLexers on Wed, 05 Aug 2026 12:34:48 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mpheath" aria-label="Profile: mpheath">@<bdi>mpheath</bdi></a> <a href="/post/106012">said</a>:</p>
<p dir="auto">I tried to add another lexer though failing to style for some unknown reason. When the plugin progresses from the Alpha state then may try again</p>
</blockquote>
<p dir="auto">Open an issue in my repo, with the config json and a test file showing it not working…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/106013</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/106013</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Wed, 05 Aug 2026 12:34:48 GMT</pubDate></item><item><title><![CDATA[Reply to [ALPHA] Upcoming Plugin: HiddenLexers on Wed, 05 Aug 2026 07:11:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: PeterJones">@<bdi>PeterJones</bdi></a> I have tried the HiddenLexer plugin and I am impressed. I tried to add another lexer though failing to style for some unknown reason. When the plugin progresses from the Alpha state then may try again. The “Hello Notepad++” works too though Notepad++ does not seem to respond back with a “Hello Plugin” :). The plugin has some good potential to access the other 1/3 of lexers that Lexilla provides. The plugin is looking good so far with the setup of AsciiDoc. I checked the history and the AsciiDoc lexer was added and released in December of 2021. This is probably the first time that I have seen AsciiDoc working as I have no previous experience with using the format.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/106012</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/106012</guid><dc:creator><![CDATA[mpheath]]></dc:creator><pubDate>Wed, 05 Aug 2026 07:11:40 GMT</pubDate></item></channel></rss>