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

Commit a1c4ab9

Browse files
committed
[[ Cleanup ]] Fix incorrect use of lineOffset
1 parent 6fceb0f commit a1c4ab9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Toolset/palettes/tools/revtools.livecodescript

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,11 @@ on framePreferenceSelected pPreference, pValue
138138
revIDESetPreference "revTools_columns", pValue
139139
break
140140
case "revTools_show"
141-
local tCurrentPreferenceValue, tPreferencePosition, tLineOffset
141+
local tCurrentPreferenceValue, tPreferencePosition, tItemOffset
142142
put revIDEGetPreference("revTools_show") into tCurrentPreferenceValue
143-
put lineOffset(pValue, tCurrentPreferenceValue) into tLineOffset
144-
if tLineOffset is not 0 then
145-
delete line tLineOffset of tCurrentPreferenceValue
143+
put itemOffset(pValue, tCurrentPreferenceValue) into tItemOffset
144+
if tItemOffset is not 0 then
145+
delete item tItemOffset of tCurrentPreferenceValue
146146
else
147147
if tCurrentPreferenceValue is empty then
148148
put pValue into tCurrentPreferenceValue

0 commit comments

Comments
 (0)