Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,8 @@ private function textFormatSelection pText
put return & tTextLines[tIndex] after tResult
end repeat

if line -1 of pText = "" then put cr after tResult

return tResult
end textFormatSelection

Expand Down
1 change: 1 addition & 0 deletions notes/bugfix-21044.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Prevent removal of trailing empty lines when formatting script