<p>Update, sometimes Geany crashes when typing in a rectangular selection passes the line breaking position (and breaking is on of course).</p>
<p>Some of the <a href="https://gist.github.com/elextr/23ddd07162e19df53682a88c6dcee670">backtrace</a> .  Its clearly in a loop and I got bored typing return.</p>
<p>It doesn't crash every time, other times it behaves as described in the OP.</p>
<pre><code>09:37:23: Geany INFO             : Using alternate configuration directory
09:37:23: Geany INFO            : Geany 1.35 (git >= 4452b36), en_AU.UTF-8
09:37:23: Geany INFO            : GTK 3.18.9, GLib 2.48.2
</code></pre>
<p>Empty config that doesn't exist so no plugins and default settings except <code>Document->Line breaking</code> of course.</p>
<p>Looks like it loops through <code>editor.c:check_line_breaking()</code> inserting a newline causing a changed notification from Scintilla causing a call to <code>check_line_breaking()</code> etc.  But I can't see why it only crashes sometimes <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=793526" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/b4n">@b4n</a>?</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/2051#issuecomment-457877616">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ8FxTFzS2GD89R1l15fCyvPsozvdks5vHO9pgaJpZM4aEODQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ4rIkML63kdrQrWk7KYxzS3p8Nl7ks5vHO9pgaJpZM4aEODQ.gif" height="1" width="1" alt="" /></p>
<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://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@elextr in #2051: Update, sometimes Geany crashes when typing in a rectangular selection passes the line breaking position (and breaking is on of course).\r\n\r\nSome of the [backtrace](https://gist.github.com/elextr/23ddd07162e19df53682a88c6dcee670) .  Its clearly in a loop and I got bored typing return.\r\n\r\nIt doesn't crash every time, other times it behaves as described in the OP.\r\n\r\n```\r\n09:37:23: Geany INFO\t\t: Using alternate configuration directory\r\n09:37:23: Geany INFO\t\t: Geany 1.35 (git \u003e= 4452b36), en_AU.UTF-8\r\n09:37:23: Geany INFO\t\t: GTK 3.18.9, GLib 2.48.2\r\n```\r\nEmpty config that doesn't exist so no plugins and default settings except `Document-\u003eLine breaking` of course.\r\n\r\nLooks like it loops through `editor.c:check_line_breaking()` inserting a newline causing a changed notification from Scintilla causing a call to `check_line_breaking()` etc.  But I can't see why it only crashes sometimes @b4n?\r\n"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/2051#issuecomment-457877616"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2051#issuecomment-457877616",
"url": "https://github.com/geany/geany/issues/2051#issuecomment-457877616",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>