<p>This looks quite good to me now. Unit tests worked and were run successfully on my machine. Unfortunately scope isn't build in Travis CI as VTE support is missing.</p>
<p>The array in <code>scope/src/tests/utils_test.c</code> shows which situations are handled.</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-plugins/pull/823#issuecomment-490623313">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2ZQNRH6WKKVSZW4D3PUMUKZANCNFSM4GX6JSNQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ57PDDG6B2HSH2XWKTPUMUKZA5CNFSM4GX6JSN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODU7FCUI.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-plugins/pull/823#issuecomment-490623313",
"url": "https://github.com/geany/geany-plugins/pull/823#issuecomment-490623313",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>