Formatting of selection different

Post here any ideas/problems/suggestions you have regarding CodeLite's CodeFormatter (AStyle) plugin

Formatting of selection different

Postby Marc » Wed Sep 21, 2011 12:39 am


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.


CodeLite Curious
Posts: 4
Joined: Tue Jul 19, 2011 6:14 pm

Re: Formatting of selection different

Postby eranif » Wed Sep 21, 2011 10:52 am

sounds like a bug to me. plz make sure you submit a bug report
with a simple code snippet that shows the problem
Make sure you have read the HOW TO POST thread
User avatar
CodeLite Plugin
Posts: 5754
Joined: Wed Feb 06, 2008 9:29 pm

Re: Formatting of selection different

Postby tjulian » Thu Oct 13, 2011 5:40 pm

Here's a patch.
You do not have the required permissions to view the files attached to this post.
CodeLite Enthusiast
Posts: 31
Joined: Tue Nov 11, 2008 12:06 am

Return to CodeFormatter

Who is online

Users browsing this forum: No registered users and 1 guest