Skip to content

Commit

Permalink
Update colon support
Browse files Browse the repository at this point in the history
  • Loading branch information
gmickus committed Sep 16, 2024
1 parent a3bd710 commit 0d98a6e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
/* { "AblFormatter.blockFormatting": true}*/

finally :
message "Inside FINALLY block." view-as alert-box.
message "Inside FINALLY block." view-as alert-box.
end finally.
3 changes: 0 additions & 3 deletions src/v2/formatters/block/BlockFormatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ export class BlockFormater extends AFormatter implements IFormatter {
blockStatementsStartRows = blockStatementsStartRows.map(
(currentRow) => currentRow + 1
);
} else {
// This is a way to ensure that there is no whitespace between the statement and the colon
codeLines[0] = statementWithColon + " " + partAfterColon;
}
}

Expand Down

0 comments on commit 0d98a6e

Please sign in to comment.