Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit d45b41c

Browse files
authored
Update revsecommoneditorbehavior.livecodescript
1 parent f46fcef commit d45b41c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Toolset/palettes/script editor/behaviors/revsecommoneditorbehavior.livecodescript

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,12 +432,12 @@ private function textFormatIndentLineRemoves pPreviousLine, pLine
432432
else
433433

434434
if "then" is among the words of pPreviousLine and token -1 of pPreviousLine is not "then" \
435-
and "else" is among the tokens of pPreviousLine and token 1 of pPreviousLine is "if" and token - 1 of pLine is "else" then
435+
and "else" is among the tokens of pPreviousLine and token 1 of pPreviousLine is "if" and token -1 of pLine is "else" then
436436
return item 1 of sTextFormatKeywordMap["else"]
437437
end if
438438

439439
if "then" is among the words of pPreviousLine and token -1 of pPreviousLine is not "then" \
440-
and token 1 of pPreviousLine is "if" and token - 1 of pLine is "else" then
440+
and token 1 of pPreviousLine is "if" and token -1 of pLine is "else" then
441441
return 0
442442
end if
443443

0 commit comments

Comments
 (0)