<p>There is no "justify" command in Geany, do you mean "Reflow lines/block" ?</p>

<p>That command is a text reflow command, it has no knowledge of language syntax like comments.  To make it handle reflowing comments would need knowledge of every language since they all have their own semantics.  This might be a candidate for having filetype specific plugins for indentation and other formatting, but until then there are too many languages to have comment handling for each in the Geany core.</p>

<p>Your second example has even more language and style specific behaviour, reflowing the code, but not the comment, and again thats a plugin candidate not Geany core.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/issues/821#issuecomment-165249892">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ3DCvUC34TsVoaVHAW6qPqrLj4Tuks5pQdKAgaJpZM4G2f2Y.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-165249892"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>