For example, take this Ruby code:

```Ruby
(0..9).each do |i|
  puts i
  
  puts '-' if (i % 3) == 0
end
```

If you do Ctrl+E, it will produce this:

```Ruby
#(0..9).each do |i|
#  puts i
  
#  puts '-' if (i % 3) == 0
#end
```

But, I'd like it to produce this:

```Ruby
#(0..9).each do |i|
#  puts i
#  
#  puts '-' if (i % 3) == 0
#end
```

You can imagine that code with many blank newlines makes it hard to distinguish 
if the whole block is commented, or just sections.

Is there a setting for this?

I think this is useful for usually-single-line-commented languages, like 
Ruby/Python, especially if your settings don't strip spaces on newline.

Thanks.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2239

Reply via email to