bengardner/uncrustify — pull request #63 by bitserf (2012-03-20 14:23:31+00:00)
Title: Tweak align_oc_decl_colon to also align colons of Objective-C method prototypes

This is in reference to issue #18.

This commit tweaks *align_oc_decl_colon()* to allow through Objective-C method prototypes as well, instead of just declarations.

It also moves *align_oc_decl_colon() to occur after *align_oc_msg_spec()*, to avoid the message spec alignment causing misalignment of the parameters of prototype, which was probably causing the weirdness in issue #18.

In my test case, after this change, the prototype:

```
- (id)initWithTitle:(NSString *)title
message:(NSString *)message
cancelButton:(NSString *)cancelButtonTitle
otherButton:(NSString *)otherButtonTitle ;
```

Becomes:

```
- (id)initWithTitle:(NSString *)title
message:(NSString *)message
cancelButton:(NSString *)cancelButtonTitle
otherButton:(NSString *)otherButtonTitle;
```

When *align_oc_decl_colon* is set to *true*.