using highlight-toggle-word in a txt file, I got this stack.
I had 3 words highlighted already (from inside a PS1 file), then I loaded a txt file and tried to highlight another word.
stack[2021-08-11T12:06:37Z] Slick-C STACK TRACE ******************************
stack[2021-08-11T12:06:37Z] Created on 8/11/2021 at 12:06:37 (707 ms)
stack[2021-08-11T12:06:37Z] SlickEdit Pro Version 26.0.0.2 Copyright 1988-2021 SlickEdit Inc.
stack[2021-08-11T12:06:37Z] Edit module and type "st -f <offset>" to get the
stack[2021-08-11T12:06:37Z] run-time error position
stack[2021-08-11T12:06:37Z]
stack[2021-08-11T12:06:37Z] error code=-2088
stack[2021-08-11T12:06:37Z] Invalid object handle
stack[2021-08-11T12:06:37Z]
stack[2021-08-11T12:06:37Z]tbhighlight.ex 12785 highlight_toggle_word() p_window_id: 23 p_object: OI_EDITOR p_name: