<p>Doing so drops the rectangular selection, and there is no obvious correct behavior for line breaking with a rectangular selection. So, just don't do line breaking in this case.</p>
<p><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #2051.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="400057881" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/2051" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/2051/hovercard" href="https://github.com/geany/geany/issues/2051">#2051</a>.</p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=811085" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/elextr">@elextr</a> please test :)</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany/pull/2135'>https://github.com/geany/geany/pull/2135</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Don't perform line breaking in rectangular selection mode</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2135/files#diff-0">src/editor.c</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/2135.patch'>https://github.com/geany/geany/pull/2135.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/2135.diff'>https://github.com/geany/geany/pull/2135.diff</a></li>
</ul>

<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/2135">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZNPRLAZSX7V4EPD5DPSRP6LANCNFSM4HI4KYHA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJY3EF7QUTVQP4RA7ULPSRP6LANCNFSM4HI4KYHA.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":"DESCRIPTION","message":"Don't perform line breaking in rectangular selection mode (#2135)"}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/2135"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2135",
"url": "https://github.com/geany/geany/pull/2135",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>