[Done] AutoComplete List is sometimes delayed

Post bugs related to the IDE here
Axolotl
Addict
Addict
Posts: 802
Joined: Wed Dec 31, 2008 3:36 pm

[Done] AutoComplete List is sometimes delayed

Post by Axolotl »

It is not a fault, but a small annoying inconvenience.
The AutoComplete window initially draws a gray area, which in some cases is only replaced by the window after a good 1 second.Even if it is often faster, the delay is still noticeable.
My assumption that it has to do with the number of open files has not been confirmed.
However, the delay depends on the data entered.....
It takes the longest (so far) when I enter #pb. (Setting: AutoComplete list opens after 3 characters) Perhaps it has something to do with the number of entries in the AutoComplete list.
I noticed this with the last x64 BETAs 6 and 7 on windows 11.
Could not see this with the 6.04 LTS (x86).
Just because it worked doesn't mean it works.
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
Fred
Administrator
Administrator
Posts: 18154
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: AutoComplete List is sometimes delayed

Post by Fred »

Fixed. As a bonus, the StructureViewer is also much faster now.
fryquez
Enthusiast
Enthusiast
Posts: 391
Joined: Mon Dec 21, 2015 8:12 pm

Re: [Done] AutoComplete List is sometimes delayed

Post by fryquez »

1 Minute freeze can happen if you switch compilers. Next Autocomplete will restart compiler, what freezes GUI display operation.

StructureFunctions.pb --> FindStructureInterface()

uncomment the 2 ForceDefaultCompiler()
Axolotl
Addict
Addict
Posts: 802
Joined: Wed Dec 31, 2008 3:36 pm

Re: [Done] AutoComplete List is sometimes delayed

Post by Axolotl »

Cool, that was fast.
Thanks for the bonus, I really appreciate your work on this project.

Thanks fryquez, I only change the compiler very rarely. So that 1 minute delay never happend to me by now.
Just because it worked doesn't mean it works.
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
Post Reply