<p>For example, take this Ruby code:</p>
<div class="highlight highlight-source-ruby"><pre>(<span class="pl-c1">0</span>..<span class="pl-c1">9</span>).each <span class="pl-k">do</span> |<span class="pl-smi">i</span>|
  <span class="pl-c1">puts</span> i
  
  <span class="pl-c1">puts</span> <span class="pl-s"><span class="pl-pds">'</span>-<span class="pl-pds">'</span></span> <span class="pl-k">if</span> (i <span class="pl-k">%</span> <span class="pl-c1">3</span>) <span class="pl-k">==</span> <span class="pl-c1">0</span>
<span class="pl-k">end</span></pre></div>
<p>If you do Ctrl+E, it will produce this:</p>
<div class="highlight highlight-source-ruby"><pre><span class="pl-c"><span class="pl-c">#</span>(0..9).each do |i|</span>
<span class="pl-c"><span class="pl-c">#</span>  puts i</span>
  
<span class="pl-c"><span class="pl-c">#</span>  puts '-' if (i % 3) == 0</span>
<span class="pl-c"><span class="pl-c">#</span>end</span></pre></div>
<p>But, I'd like it to produce this:</p>
<div class="highlight highlight-source-ruby"><pre><span class="pl-c"><span class="pl-c">#</span>(0..9).each do |i|</span>
<span class="pl-c"><span class="pl-c">#</span>  puts i</span>
<span class="pl-c"><span class="pl-c">#</span>  </span>
<span class="pl-c"><span class="pl-c">#</span>  puts '-' if (i % 3) == 0</span>
<span class="pl-c"><span class="pl-c">#</span>end</span></pre></div>
<p>You can imagine that code with many blank newlines makes it hard to distinguish if the whole block is commented, or just sections.</p>
<p>Is there a setting for this?</p>
<p>I think this is useful for usually-single-line-commented languages, like Ruby/Python, especially if your settings don't strip spaces on newline.</p>
<p>Thanks.</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/2239?email_source=notifications&email_token=AAIOWJZFEQDL57BMREBA443QCP5CXA5CNFSM4II4A3UKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDAQPYQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6NNL7NEQV7XC4ICADQCP5CXANCNFSM4II4A3UA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ4UQEYRQW33UJYLKL3QCP5CXA5CNFSM4II4A3UKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDAQPYQ.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/2239?email_source=notifications\u0026email_token=AAIOWJZFEQDL57BMREBA443QCP5CXA5CNFSM4II4A3UKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDAQPYQ",
"url": "https://github.com/geany/geany/issues/2239?email_source=notifications\u0026email_token=AAIOWJZFEQDL57BMREBA443QCP5CXA5CNFSM4II4A3UKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDAQPYQ",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>