8 Commits

Author SHA1 Message Date
Nick Treleaven
6d99470e78 Enforce 'fn(void);' in function prototypes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4336 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-19 11:49:22 +00:00
Nick Treleaven
13859cbd4c Allow operators to have more than one space either side to allow alignment with other lines.
Fix spacing '&' or '-' after a ']' bracket.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4185 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 12:32:50 +00:00
Nick Treleaven
8dbaee549d Add workaround for spacing '&' and '-' operators.
Ensure 2 blank lines after a function body.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4182 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-13 15:36:43 +00:00
Nick Treleaven
cc984f9d7c Take multiple files if -w argument is supplied.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4172 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-10 16:11:13 +00:00
Nick Treleaven
a34ffb0ccc Space commas.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4168 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-07 15:31:46 +00:00
Nick Treleaven
874fd449fa Fix parsing #defines.
Ignore & operator like *,- as they could be unary and so are too hard to match correctly.
Space +,> and conditional ternary operator correctly.
Fix parsing lines starting with an indent and closing bracket.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4167 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-07 15:13:50 +00:00
Nick Treleaven
2f727daf20 Add/expand some comment info.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4153 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-04 16:07:23 +00:00
Nick Treleaven
aa1cee4b25 Add script to reformat C source code to Geany's style - work in progress.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4152 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-04 16:00:15 +00:00