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

Commit b595e12

Browse files
committed
[[ Bug ]] Fix colorization of msg box autocomplete
1 parent dcf7480 commit b595e12

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Toolset/palettes/message box/behaviors/revmessageboxsinglelinemessagebehavior.livecodescript

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,16 @@ command revDisplayAutoComplete pString
105105
put empty into field "auto complete"
106106
end if
107107
cancel sColorizeAutocompleteMsg
108-
get the long id of field "auto complete"
109-
send "revSEColorizeField it" to stack "revSEUtilities" in 100 milliseconds
108+
send "__ColorizeAutocomplete" to me in 100 milliseconds
110109
put the result into sColorizeAutocompleteMsg
111-
set the textColor of char 1 to -1 of field "auto complete" to "gray70"
112110
unlock screen
113111
end revDisplayAutoComplete
114112

113+
on __ColorizeAutocomplete
114+
dispatch "revSEColorizeField it" to stack "revSEUtilities" with the long id of field "auto complete"
115+
set the textColor of char 1 to -1 of field "auto complete" to "gray70"
116+
end __ColorizeAutocomplete
117+
115118
command revNextLine
116119
lock messages
117120
if field "auto complete" is empty then

0 commit comments

Comments
 (0)