<p>Indeed. In this case, a new empty line at the end of the file should not be added only if Geany was showing the text like mcedit. But it's not the case, so it's OK for me. Thank you for this explanation.</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/issues/2404?email_source=notifications&email_token=AAIOWJY7SVKFMVAT2NAAYZLQVN6KJA5CNFSM4JRES33KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFBN4LA#issuecomment-558030380">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYLNOZBGXU3WWHYISTQVN6KJANCNFSM4JRES33A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ7IKSW2MBY6YNBJE4DQVN6KJA5CNFSM4JRES33KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFBN4LA.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/issues/2404?email_source=notifications\u0026email_token=AAIOWJY7SVKFMVAT2NAAYZLQVN6KJA5CNFSM4JRES33KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFBN4LA#issuecomment-558030380",
"url": "https://github.com/geany/geany/issues/2404?email_source=notifications\u0026email_token=AAIOWJY7SVKFMVAT2NAAYZLQVN6KJA5CNFSM4JRES33KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFBN4LA#issuecomment-558030380",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>