-
Notifications
You must be signed in to change notification settings - Fork 0
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 #263 from BalticAmadeus/252-formatting-broken-if-f…
…unction-statement-is-written-over-multiple-lines 252 Formatting broken if statement is written over multiple lines
- Loading branch information
Showing
5 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
resources/functionalTests/block/56function-block-multiple-line/input.p
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,7 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
function GetDLC returns character | ||
(): | ||
define variable cValue as character no-undo. | ||
end function. |
7 changes: 7 additions & 0 deletions
7
resources/functionalTests/block/56function-block-multiple-line/target.p
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,7 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
function GetDLC returns character | ||
(): | ||
define variable cValue as character no-undo. | ||
end function. |
14 changes: 14 additions & 0 deletions
14
resources/functionalTests/block/57class-block-multiple-line/input.p
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,14 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
CLASS Validation.Something | ||
INHERITS BaseStuff | ||
IMPLEMENTS IThing | ||
{&SERIALIZABLE}: | ||
|
||
METHOD PUBLIC OVERRIDE IType GetType(): | ||
DEFINE VARIABLE oType AS IType NO-UNDO . | ||
RETURN oType . | ||
END METHOD. | ||
|
||
END CLASS. |
14 changes: 14 additions & 0 deletions
14
resources/functionalTests/block/57class-block-multiple-line/target.p
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,14 @@ | ||
/* formatterSettingsOverride */ | ||
/* { "AblFormatter.blockFormatting": true}*/ | ||
|
||
CLASS Validation.Something | ||
INHERITS BaseStuff | ||
IMPLEMENTS IThing | ||
{&SERIALIZABLE}: | ||
|
||
METHOD PUBLIC OVERRIDE IType GetType(): | ||
define VARIABLE oType AS IType NO-UNDO. | ||
RETURN oType . | ||
END METHOD. | ||
|
||
END CLASS. |
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