<p>I also support the call for reflow being able to respect/understand comments. </p>

<p>For me this arises regularly in Latex, where I can have something like:</p>

<pre><code>This sentence presents idea two %but the old idea one is left as a comment
and then the text goes on on the next line.
</code></pre>

<p>In this case, reflow will heavily mess up my text. </p>

<p>There also is this old issue: <a href="https://sourceforge.net/p/geany/bugs/685/">https://sourceforge.net/p/geany/bugs/685/</a> , which would call for also knowing about equations and not breaking them apart. But teaching reflow about comments would be a great start IMO.. </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/821#issuecomment-231556845">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/ABDrJwjGi64SgECtZc9_5QnOg2SGZ2XVks5qUBKVgaJpZM4G2f2Y">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ1deEJf7vAK8wF3QL9tQJSrQHA3Kks5qUBKVgaJpZM4G2f2Y.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/821#issuecomment-231556845"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>