-
Notifications
You must be signed in to change notification settings - Fork 568
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4294 from PoeticPete/finish-multi-line
Add support for new lining the rest of OC messages
- Loading branch information
Showing
11 changed files
with
131 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
nl_oc_msg_args = true | ||
nl_oc_msg_args_finish_multi_line = true | ||
indent_columns = 4 | ||
indent_with_tabs = 0 | ||
align_oc_msg_colon_span = 1 |
40 changes: 40 additions & 0 deletions
40
tests/expected/oc/50634-nl_oc_msg_args_finish_multi_line.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
static void function() { | ||
[object param1:nil | ||
param2:nil | ||
param3:nil]; | ||
|
||
[object param1:nil | ||
param2:nil | ||
param3:nil | ||
param4:nil]; | ||
|
||
[object param1:nil | ||
param2:nil]; | ||
|
||
[object param1:nil]; | ||
|
||
[object func]; | ||
|
||
[obj param1:nil | ||
param2:nil | ||
param3:[obj2 param1:nil | ||
param2:nil]]; | ||
|
||
[obj param1:nil | ||
param2:[obj2 param1:nil | ||
param2:nil | ||
param3:nil | ||
param4:nil | ||
param5:nil | ||
param6:nil] | ||
param3:nil]; | ||
|
||
[obj param1:nil | ||
param2:[obj2 param1:nil | ||
param2:nil | ||
param3:nil | ||
param4:nil | ||
param5:nil | ||
param6:nil] | ||
param3:nil]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
static void function() { | ||
[object param1:nil | ||
param2:nil param3:nil]; | ||
|
||
[object param1:nil param2:nil | ||
param3:nil | ||
param4:nil]; | ||
|
||
[object param1:nil param2:nil]; | ||
|
||
[object param1:nil]; | ||
|
||
[object func]; | ||
|
||
[obj param1:nil param2:nil param3:[obj2 param1:nil | ||
param2:nil]]; | ||
|
||
[obj param1:nil param2:[obj2 param1:nil | ||
param2:nil | ||
param3:nil | ||
param4:nil | ||
param5:nil | ||
param6:nil] | ||
param3:nil]; | ||
|
||
[obj param1:nil param2:[obj2 param1:nil | ||
param2:nil | ||
param3:nil | ||
param4:nil | ||
param5:nil | ||
param6:nil] param3:nil]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters