<p><b>@Skif-off</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/1752#discussion_r207909069">ctags/parsers/autoit.c</a>:</p>
<pre style='color:#555'>> +    vString *name = vStringNew ();
+       const unsigned char *line;
+
+       while ((line = readLineFromInputFile ()) != NULL)
+       {
+               const unsigned char* p = line;
+               if (p [0] == '#')
+               {
+                       /* min. string "#region" > 7 */
+                       if ((p [1] == 'R' || p [1] == 'r') &&
+                               strlen ((const char *) p) > 8 &&
+                               (p [2] == 'E' || p [2] == 'e') &&
+                               (p [3] == 'G' || p [3] == 'g') &&
+                               (p [4] == 'I' || p [4] == 'i') &&
+                               (p [5] == 'O' || p [5] == 'o') &&
+                               (p [6] == 'N' || p [6] == 'n'))
</pre>
<blockquote>
<p>results in showing a region named <code>test</code> in the symbols tree.</p>
</blockquote>
<p>I cheked it again and now I see, I don't know what it was :) It's not valid syntax, in this case Geany does not highlight <code>#Region</code> and I think it's good notice to check.</p>
<blockquote>
<p>Additionally with your examples, the leading <code>;</code> is included in the displayed region name, is that intentional? If not, you probably could simply use ...</p>
</blockquote>
<p>I could not find the info (documentation, official and not official forum) how to use it correctly and what will be region name. I checked all variants with AutoIt's tool that checks the syntax of AutoIt scripts and decided to leave so.</p>
<p>This is often used, I personally use form <code>#Region ;test</code> because in this case name <code>;test</code> has a different color than the color of <code>#Region</code>, I like this.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/1752#discussion_r207909069">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ2EV3aC_WK1fBZ3Ar7xeqINsxKsXks5uOFFSgaJpZM4RveNf">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ-MeDo3y35zh1rFfmBI910hmh8UHks5uOFFSgaJpZM4RveNf.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@Skif-off commented on #1752"}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/1752#discussion_r207909069"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/1752#discussion_r207909069",
"url": "https://github.com/geany/geany/pull/1752#discussion_r207909069",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "@Skif-off commented on 1752",
"sections": [
{
"text": "",
"activityTitle": "**Skif-off**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@Skif-off",
"facts": [

]
}
],
"potentialAction": [
{
"targets": [
{
"os": "default",
"uri": "https://github.com/geany/geany/pull/1752#discussion_r207909069"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 297657183\n}"
}
],
"themeColor": "26292E"
}
]</script>