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 @@ -3429,7 +3429,9 @@ command scriptFormat pScope, pDontGroup
if tStart > tEnd then
put tFirstSelectionOffset into tLastSelectionOffset
else
put(the number of chars of line 1 to (tLine + (tSelectionLineCount - 1)) of tNewScript - the number of chars of line 1 to (tLine + (tSelectionLineCount - 1)) of tScript) into tLastSelectionOffset end if
put(the number of chars of line 1 to (tLine + (tSelectionLineCount - 1)) of tNewScript \
- the number of chars of line 1 to (tLine + (tSelectionLineCount - 1)) of tScript) into tLastSelectionOffset
end if

if tStart is not empty then
if tStart > tEnd then
Expand Down
1 change: 1 addition & 0 deletions notes/bugfix-22486.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Fix missing return in commoneditor scriptFormat