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

Commit 416f312

Browse files
committed
[[ PERF ]] Move saveLastSelections to selectionUpdate
1 parent f51f8d2 commit 416f312

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1361,8 +1361,6 @@ end selectionChangedByArrowKey
13611361
-- PM-2016-09-22: [[ Bug 15887 ]] Distinguish between "selectionChanged" sent by the engine and \
13621362
-- "selectionChangedByArrowKey pArrowKey"
13631363
on handleSelectionChanged
1364-
saveLastSelections
1365-
13661364
caretUpdate
13671365
end handleSelectionChanged
13681366

@@ -1396,6 +1394,7 @@ on selectionUpdate
13961394
lock screen
13971395
__CheckHighlights
13981396
__ClearCurrentPlaceholder
1397+
saveLastSelections
13991398
unlock screen
14001399
end selectionUpdate
14011400

0 commit comments

Comments
 (0)