<p>When a line is long and contains no whitespace except near the beginning, a strange empty line is displayed before it.<br>
The screenshot below illustrates the problem at the lines numbered as 1 and 3.<br>
At line 1, there is just one space character between the character <code>A</code> and the word <code>qwerty</code>, but <code>qwerty</code> is not displayed on the same line.<br>
Line 2 is fine because too short to undergo line wrapping, line 2 is there for comparison with line 3. Lines 2 and 3 begin with just 4 spaces, yet line 3 is displayed with an empty line at the beginning.</p>
<p><a target="_blank" href="https://user-images.githubusercontent.com/6820182/41539341-d85150b6-730d-11e8-8c9c-69ffe270f519.png"><img src="https://user-images.githubusercontent.com/6820182/41539341-d85150b6-730d-11e8-8c9c-69ffe270f519.png" alt="screenshot" style="max-width:100%;"></a></p>
<p>ArchLinux, geany 1.33 (built on 2018-03-06 with GTK 3.22.28, GLib 2.54.3)</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/1884">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJxelVOivd-xnVcfpAln2Rbmt43nqks5t989QgaJpZM4UsCbD">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ5US8fN4GqZr49Z1bN1exnsUVqevks5t989QgaJpZM4UsCbD.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/1884","url":"https://github.com/geany/geany/issues/1884","name":"View Issue"},"description":"View this Issue on GitHub","publisher":{"@type":"Organization","name":"GitHub","url":"https://github.com"}}</script>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"strange behavior: line wrapping sometimes displays an empty line in the wrapped text (#1884)"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1884"}}}</script>
<script type="application/ld+json">{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "strange behavior: line wrapping sometimes displays an empty line in the wrapped text (#1884)",
"sections": [
{
"text": "",
"activityTitle": "**Fornost461**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@Fornost461",
"facts": [
{
"name": "Repository: ",
"value": "geany/geany"
},
{
"name": "Issue #: ",
"value": 1884
}
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1884,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1884\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/geany/geany/issues/1884"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 347088579\n}"
}
],
"themeColor": "26292E"
}</script>