How does "Settings.Highlight" work?

Asked by Eugene S

Hi,

I have noticed that the below setting behaves funny in certain cases:
Settings.Highlight = True

For example, when I execute a simple code like this:
find("image.png")

The detected region is being flashsing (beihng highlighted) twice.

However, when I do something like that:
if exists("image.png"):
   pass

The detected region is only being highlighted once (as I would expect).

This might be a minor issue when just debugging a couple of lines at once. But if a fairly long scenario is being debugged, it could double the testing time since each area will be highlighted many times (in my case I had regions flashing up to 6 times).

This setting is very helpful as is, but I just wanted to know if there is any way to control that behavior even more?

Thanks!
Eugene S

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Eugene S
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Looks like a bug.
Could you post it as such.
Thanks.

Revision history for this message
Eugene S (shragovich) said :
#2

Hi RaiMan,

I will post it.

Thanks!
Eugene S