<p>I only had a quick glance at the code, no comment about the purpose of the PR, but more of a note for future cleanup/merging. You should follow the Geany code style (documented in <code>HACKING</code> and found in neighboring code), stuff like putting spaces between operators and operands. Also you shouldn't leave pointless stuff like <code>if (1)</code> branches.</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/2195?email_source=notifications&email_token=AAIOWJ6KGGRPTCU7OOPRUZDP22ZMRA5CNFSM4HYRRLYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZWANY#issuecomment-502489143">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ56J7FN4M2YFB3MHFTP22ZMRANCNFSM4HYRRLYA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ5SP2EYJVQ24JGKN5DP22ZMRA5CNFSM4HYRRLYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZWANY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2195?email_source=notifications\u0026email_token=AAIOWJ6KGGRPTCU7OOPRUZDP22ZMRA5CNFSM4HYRRLYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZWANY#issuecomment-502489143",
"url": "https://github.com/geany/geany/pull/2195?email_source=notifications\u0026email_token=AAIOWJ6KGGRPTCU7OOPRUZDP22ZMRA5CNFSM4HYRRLYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZWANY#issuecomment-502489143",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>