<?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[Function list and AutoIt &#x2F; AU3 files]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">my name is Dave and I am a big fan of NotePad++ and I am trying to customize it as far as I can. And as I am writing some AutoIt stuff at the moment, I try to find or write a parser to include into functionList.xml to add recognition of AU3 functions.<br />
They look like this :</p>
<p dir="auto">Func function_name(parameters)</p>
<p dir="auto">and comments are delimitated by a “;” : everything on the right of the “;” is ignored.</p>
<p dir="auto">as a first try, I added this :</p>
<pre><code>		&lt;association langID="40" id="au3_function"/&gt;
</code></pre>
<p dir="auto">and</p>
<pre><code>		&lt;parser id="au3_function" displayName="Au3 script" &gt;
			&lt;function
			    mainExpr="^\s*func\s+\w+\(.*"
				displayMode="$functionName"&gt;
				&lt;functionName&gt;
					&lt;nameExpr expr=".*"/&gt;
				&lt;/functionName&gt;
			&lt;/function&gt;
		&lt;/parser&gt;
</code></pre>
<p dir="auto">the function list seems to detect the AU3 file, but nothing appears…</p>
<p dir="auto">subsidiary question : is the function list parser case sensitive ? because I type “func” but it could be “Func” or “FUNC” or any other combination…</p>
<p dir="auto">Notepad++ doc on the subject :<br />
<a href="https://notepad-plus-plus.org/features/function-list.html" rel="nofollow ugc">https://notepad-plus-plus.org/features/function-list.html</a></p>
<p dir="auto">Thanks for your help and have a nice day.</p>
<p dir="auto">Dave.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/12070/function-list-and-autoit-au3-files</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 02:50:29 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/12070.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 07 Jul 2016 13:51:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Function list and AutoIt &#x2F; AU3 files on Sun, 22 Jan 2017 13:54:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mapje71" aria-label="Profile: MAPJe71">@<bdi>MAPJe71</bdi></a> said:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/martian" aria-label="Profile: Martian">@<bdi>Martian</bdi></a> the <code>commentExpr</code> is incorrect.</p>
<p dir="auto">FYI <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/pull/2602" rel="nofollow ugc">PR #2602 - FunctionList Update 2</a> includes an AutoIt3 parser.</p>
</blockquote>
<p dir="auto">Thank you MAPJe71<br />
I meant it to be in the official Notepad ++ installer</p>
]]></description><link>https://community.notepad-plus-plus.org/post/21140</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/21140</guid><dc:creator><![CDATA[Martian]]></dc:creator><pubDate>Sun, 22 Jan 2017 13:54:48 GMT</pubDate></item><item><title><![CDATA[Reply to Function list and AutoIt &#x2F; AU3 files on Sat, 21 Jan 2017 22:45:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/martian" aria-label="Profile: Martian">@<bdi>Martian</bdi></a> the <code>commentExpr</code> is incorrect.</p>
<p dir="auto">FYI <a href="https://github.com/notepad-plus-plus/notepad-plus-plus/pull/2602" rel="nofollow ugc">PR #2602 - FunctionList Update 2</a> includes an AutoIt3 parser.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/21132</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/21132</guid><dc:creator><![CDATA[MAPJe71]]></dc:creator><pubDate>Sat, 21 Jan 2017 22:45:35 GMT</pubDate></item><item><title><![CDATA[Reply to Function list and AutoIt &#x2F; AU3 files on Sat, 21 Jan 2017 21:33:25 GMT]]></title><description><![CDATA[<p dir="auto">Hi!<br />
here is an alternative working version of the author AZJIO <a href="http://azjio.ucoz.ru/" rel="nofollow ugc">http://azjio.ucoz.ru/</a><br />
You need to Don Ho added support for AU3 functions in functionList.xml<br />
it will be more convenient and useful for many users.<br />
P.S.<br />
Sorry for the emphasis is the translator.</p>
<p dir="auto">&lt;parser id=“au3_function” displayName=“au3 Func” commentExpr=“(((?m)^\h*;.<em>?$)/|((?s)#cs.</em>?#ce))”&gt; &lt;!-- комментарий, где игнорировать --&gt;<br />
&lt;!-- то, к чему совершать прыжок --&gt;<br />
&lt;function<br />
mainExpr=“(?i)^\h<em>Func\h+[_A-Za-z0-9]+\h</em>(”<br />
displayMode=“$functionName”&gt;<br />
&lt;functionName&gt;<br />
&lt;nameExpr expr=“(?mi)(?&lt;=^Func\h)([_A-Za-z0-9]+)”/&gt; &lt;!-- захватить имена в список функций --&gt;<br />
&lt;/functionName&gt;<br />
&lt;/function&gt;<br />
&lt;/parser&gt;</p>
]]></description><link>https://community.notepad-plus-plus.org/post/21130</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/21130</guid><dc:creator><![CDATA[Martian]]></dc:creator><pubDate>Sat, 21 Jan 2017 21:33:25 GMT</pubDate></item><item><title><![CDATA[Reply to Function list and AutoIt &#x2F; AU3 files on Sat, 23 Jul 2016 13:56:30 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the explanation</p>
]]></description><link>https://community.notepad-plus-plus.org/post/16997</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/16997</guid><dc:creator><![CDATA[binbinhfr]]></dc:creator><pubDate>Sat, 23 Jul 2016 13:56:30 GMT</pubDate></item><item><title><![CDATA[Reply to Function list and AutoIt &#x2F; AU3 files on Sat, 09 Jul 2016 15:24:12 GMT]]></title><description><![CDATA[<p dir="auto">With the <code>[^()]*?</code> (none greedy zero or more characters not being parenthesis) I was aiming for the possibility to include the function parameters in the tree view.</p>
<p dir="auto"><code>(?!(?i:FUNC)\s+))</code> should have been <code>(?!(?i:FUNC)\b))</code> so you can even use function names starting with func, Func, fUNC, FUNC, FuNc, etc. e.g.</p>
<pre><code class="language-AutoIt3">Func functionNameExample()
     ; function body
EndFunc
</code></pre>
<p dir="auto">Positive look behind is supported since Boost v1.33.0.<br />
So in theory it should be supported as Notepad++ is using Boost v1.55.0 for the RegEx engine in its custom Scintilla build.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/16778</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/16778</guid><dc:creator><![CDATA[MAPJe71]]></dc:creator><pubDate>Sat, 09 Jul 2016 15:24:12 GMT</pubDate></item><item><title><![CDATA[Reply to Function list and AutoIt &#x2F; AU3 files on Sat, 09 Jul 2016 08:38:20 GMT]]></title><description><![CDATA[<p dir="auto">Thanks a lot !<br />
It works like a charm.<br />
I understood what you did,<br />
I just have a problem with the [^()]*? part between the two function parenthesis at the end of mainExpr.<br />
And what about (?!func\s+). Does it mean that I don’t want a func patern at the right ? Why not a positive lookbehind with ?&lt;= is not working ?</p>
<p dir="auto">Could you explain to a novice ?</p>
]]></description><link>https://community.notepad-plus-plus.org/post/16776</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/16776</guid><dc:creator><![CDATA[binbinhfr]]></dc:creator><pubDate>Sat, 09 Jul 2016 08:38:20 GMT</pubDate></item><item><title><![CDATA[Reply to Function list and AutoIt &#x2F; AU3 files on Fri, 08 Jul 2016 20:42:54 GMT]]></title><description><![CDATA[<p dir="auto">Mea Culpa, didn’t test it, just copied from my FuncionList.xml.</p>
<p dir="auto">Try this (tested and confirmed!) parser:</p>
<pre><code>  &lt;parser id="au3_function" displayName="AutoIt3" commentExpr="(?mi-s)^\s*;.*?$|(?s-m)#cs.*?#ce" &gt;
    &lt;function mainExpr="^\s*(?i:FUNC)\s+[A-Za-z_]\w*\s*\([^()]*?\)" &gt;
      &lt;functionName&gt;
        &lt;nameExpr expr="(?!(?i:FUNC)\s+)[A-Za-z_]\w*\s*\(" /&gt;
        &lt;nameExpr expr="[A-Za-z_]\w*" /&gt;
      &lt;/functionName&gt;
    &lt;/function&gt;
  &lt;/parser&gt;
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/16773</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/16773</guid><dc:creator><![CDATA[MAPJe71]]></dc:creator><pubDate>Fri, 08 Jul 2016 20:42:54 GMT</pubDate></item><item><title><![CDATA[Reply to Function list and AutoIt &#x2F; AU3 files on Fri, 08 Jul 2016 09:24:36 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">thanks a lot for the answer.<br />
sorry to reply with another login, but I cannot login with my google+ on firefox… strange.<br />
So I tried what you said, but it does not match at all.<br />
So I tried to simplify and the only thing that worked was :</p>
<pre><code>			&lt;function mainExpr="^\h*func\h+\w+\h*\(" &gt;
				&lt;functionName&gt;
					&lt;nameExpr expr="^\h*func\h+\w+" /&gt;
</code></pre>
<p dir="auto">but it returns “func” before each function name.<br />
I do not understand why (?&lt;= does not work…</p>
]]></description><link>https://community.notepad-plus-plus.org/post/16769</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/16769</guid><dc:creator><![CDATA[binbinhfr]]></dc:creator><pubDate>Fri, 08 Jul 2016 09:24:36 GMT</pubDate></item><item><title><![CDATA[Reply to Function list and AutoIt &#x2F; AU3 files on Thu, 07 Jul 2016 20:45:27 GMT]]></title><description><![CDATA[<p dir="auto">Try this parser:</p>
<pre><code>  &lt;parser id="au_function" displayName="AutoIt3" commentExpr="(((?mi-s)^\h*;.*?$)/|((?s-m)#cs.*?#ce))" &gt;
    &lt;function mainExpr="(?i)^\h*func\h+\w+\h*\(" &gt;
      &lt;functionName&gt;
        &lt;nameExpr expr="(?mi)(?&amp;lt;=^\h*func\h+)\w+" /&gt;
      &lt;/functionName&gt;
    &lt;/function&gt;
  &lt;/parser&gt;
</code></pre>
]]></description><link>https://community.notepad-plus-plus.org/post/16759</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/16759</guid><dc:creator><![CDATA[MAPJe71]]></dc:creator><pubDate>Thu, 07 Jul 2016 20:45:27 GMT</pubDate></item></channel></rss>