<p>I noticed that there is no new line at the end of the file if the option <code>Ensure new line at file end</code> is disabled and the file is closed. I checked that with a different editor (not with Geany). Only on re-opening the file in Geany the new line appears in the editor window - but it's not in the file. Not sure if that helps.</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/2310?email_source=notifications&email_token=AAIOWJZB7HVQRW7JESY6WU3QKZ7BNA5CNFSM4IY7JECKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7IZAPQ#issuecomment-533827646">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2ZZJPAEW4LLTJK5DLQKZ7BNANCNFSM4IY7JECA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ6PYJIBS3HZCHD6KLLQKZ7BNA5CNFSM4IY7JECKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7IZAPQ.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/2310?email_source=notifications\u0026email_token=AAIOWJZB7HVQRW7JESY6WU3QKZ7BNA5CNFSM4IY7JECKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7IZAPQ#issuecomment-533827646",
"url": "https://github.com/geany/geany/issues/2310?email_source=notifications\u0026email_token=AAIOWJZB7HVQRW7JESY6WU3QKZ7BNA5CNFSM4IY7JECKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7IZAPQ#issuecomment-533827646",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>