Page 1 of 1

Weird highlight after select

Posted: Wed Jun 11, 2025 12:04 pm
by minimy
Hello, when start using 6.1 and above i got this weird hightlight after select any word, variable names or other thing (with double clik over the word or with shift+cursor keys)... Really weird!
With the time goes to more and more and later i got a 'collage' :lol: of multi colors boxes in the screen.
Thats happend in my 3 computers. With 6.02 all work nice.

This is an screen capture:
Image

Even at the risk of sounding like an idiot, I'm going to ask:
Is this happening to anyone else? Because haven't I seen anything on the forum related to this.

Other a little later with more 'boxes'.. and a preety cubic artist work :mrgreen:
Image

Re: Weird highlight after select

Posted: Wed Jun 11, 2025 3:25 pm
by hoerbie
Yes, I can confirm it.
I worked a lot in the last days with the Windows 6.20 32-Bit IDE in a Win7 Pro VM (on my Intel Mac) and had it multiple times. The longer I worked, the more words were highlighted, and when closing the IDE because too much color and reopening everything, it started new.
But this doesn't happen every time, until now I haven't found a way to provoke it reliably. I worked a lot in the last days with ~10 open sources for hours, maybe it has something to do.

Since yesterday I worked some hours in the new Windows 6.21 32-Bit version, and until now this hasn't happened, but I don't know if this is solved. I will continue to watch and report.

Re: Weird highlight after select

Posted: Wed Jun 11, 2025 5:00 pm
by minimy
Hello hoerbie, finally any body with same problem! :lol:
Thanks for yout answer. I think is relative to fold/unfold parts of code, example when use ;{ ;} to compact blocks of code.
With procedures some times happend if i delete one next to another (no lines in middle) can happend too.
Is really weird as i said in the title. :mrgreen:
Is nice to hear in last update this not happend. Goto download and try to see if is true.
Thanks for your help, and have nice day!!

Re: Weird highlight after select

Posted: Thu Jun 12, 2025 12:04 am
by minimy
Confirmed, in PB6.21 x64 Windows 11 continue the error weird hightlight. :(

Image

Re: Weird highlight after select

Posted: Sun Jun 22, 2025 7:53 pm
by minimy
Detected!
If you have many programs opened in the ide and in your preferences \ autocomplete \displayed items, active the option 'all open files' in 'add items from:' then the ide goes crazy with the hightlights, until may crash the ide.

Re: Weird highlight after select

Posted: Sun Jun 22, 2025 9:48 pm
by HeX0R
Autocomplete shouldn't be triggered when you select parts of the code by double click.
The only one who was able to confirm the effect was hoerbie and he was using a VM.
To me it sounds like PC performance issues, what kind of PC are you using? Or are you also working inside a VM?

Re: Weird highlight after select

Posted: Mon Jun 23, 2025 12:58 am
by minimy
Hi, no, it's not a VM and not only in one PC.
I have tested this in 64 bit in: I7-10750 32gb i7-6700 16gb in 32 bit on an Atom 4Gb.
Today hasn't happened to me since I did what it says in the post.

I think if it was due to lack of performance I would notice it with other applications.

Anyway, thanks for the help HeXOR.

Re: Weird highlight after select

Posted: Mon Jun 23, 2025 2:29 pm
by pjay
This has been reported a few times already (once by myself: viewtopic.php?t=82707) - It'll eventually freeze the IDE if left in that state.

I narrowed the cause down to a combination of a bad(?) 'Folding' parameter in the Source IDE Options section (hidden by the IDE) along with an Undo action. I have a file sample that reproduces this on my setup.

Re: Weird highlight after select

Posted: Mon Jun 23, 2025 7:16 pm
by hoerbie
Just a short info, my Windows VMs run in VMWare Fusion Pro on a really fast iMac Pro with Intel Xeon with multiple cores, 32 GB Ram and really fast SSDs, this VMs still have the same or a better performance as a lot of PCs/Laptops directly in Windows have....

I also recognised this highlighting problem when (rarely) working on my only Windows 11 machines, a 2 years old powerful Dell Optiplex and a 3 years old powerful Dell Latitude, but because normally development is done on the iMac in the Windows VM, I never investigated it until now.

For the next weeks I plan a lot of development time and I will try to use the Dell machines more, to maybe find something and check the hints.

Re: Weird highlight after select

Posted: Mon Jun 23, 2025 8:24 pm
by mk-soft
I run Window 10 Pro as VM in Parallels under Mac Mini 2018 (Intel)
I cannot confirm the behaviour.

Re: Weird highlight after select

Posted: Wed Jun 25, 2025 5:01 pm
by minimy
Hello, and thanks for test this error.
I think the best way to force this to happen is:
1) Open 30 codes or more in the IDE
2) Activate in IDE preferences \ autocomplete \displayed items \ all open files.
After this you can only wait a while for the highlihts party to start, give time to happend.
if you continue using the IDE after this happend, will most likely end up blocking the program until windows shows the message 'PB not responding'

I would like to add that this for me is not a problem, since I have disconnected in the IDE so that it does not happen again.

But it is true that from version 6.1 onwards it has happened to me. As I have already said on several PCs, no virtual machine and only on Windows, on MacOS, Linux and Raspberry works without problems. I may be wrong because I haven't read all the news about IDE updates on the forum, but I think the IDE engine was changed from 6.1 or earlier (I haven't used much between versions 6.02 and 6.21)

For my part I have been really happy with PB for more than 15 years and this is just a comment, not a criticism. I think it's the best software to make multi-system applications, both for amateurs and professionals and it's the bomb!! :mrgreen:

Any way PB is the best forever and ever!! :lol:

Re: Weird highlight after select

Posted: Thu Jun 26, 2025 12:41 am
by Thorium
This has happened a few times to me. Could never reproduce it. I suspected it has something to do with highlighting selected words and multiple files open.

Re: Weird highlight after select

Posted: Thu Jun 26, 2025 7:22 am
by pjay
It doesn't require multiple files open to occur.