<p></p>
<p>Hi,<br>
I was looking for this, as I often read log files, and sometimes I's like to truncate them.<br>
Other than this, I like adding new line to the end of files, but when I truncate a log file, it stays an empty line, so next write goes always to second line.<br>
At least, if it's not too hard, it would be awesome to have a switch for this under the newline checkbox.</p>
<p>Anyway, Geany is my favourite editor long ago, thanks for creating it.</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/1810#issuecomment-626218196">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6URRL6YLRXLOHRWLLRQWPCNANCNFSM4EV3FJCA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ6CKGSH2EZTQLPXYYTRQWPCNA5CNFSM4EV3FJCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEVJVJVA.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/1810#issuecomment-626218196",
"url": "https://github.com/geany/geany/pull/1810#issuecomment-626218196",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>