Page 1 of 1

Formatting of selection different

Posted: Wed Sep 21, 2011 12:39 am
by Marc
Hello,

I have a source file that if I format from the "Plugins->Source Code Formatter->Format Current Source" I get the expected output but if I select the entire file the formatting removes all the empty lines.

Is this the normal bahaviour? I was hoping I could select 2 or more functions and leave the whitespace between them unmodified. I've tried many different options to no avail.

Thanks.

M

Re: Formatting of selection different

Posted: Wed Sep 21, 2011 10:52 am
by eranif
sounds like a bug to me. plz make sure you submit a bug report
with a simple code snippet that shows the problem

Re: Formatting of selection different

Posted: Thu Oct 13, 2011 5:40 pm
by tjulian
Here's a patch.