Refreshing the procedure entry in procedure panel

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Kurzer
Enthusiast
Enthusiast
Posts: 670
Joined: Sun Jun 11, 2006 12:07 am
Location: Near Hamburg

Refreshing the procedure entry in procedure panel

Post by Kurzer »

Already proposed in the german forum a while ago:

Unfortunately the procedure panel works only in one direction.
If you click on a procedure entry, the cursor jumps instantaneously to the related procedure in source.
But if you scroll around in your sourcecode the last procedure panel entry remains highlighted, even if the cursor is in another procedure.

Very anoing if you use a small netbook display where the procedures usually are longer than the displays height and if you have very much procedures in your code.

It would be fine, if the procedure panels active entry would show the current procedure in which the cursor is.

Image
PB 6.02 x64, OS: Win 7 Pro x64 & Win 11 x64, Desktopscaling: 125%, CPU: I7 6500, RAM: 16 GB, GPU: Intel Graphics HD 520, User age in 2024: 56y
"Happiness is a pet." | "Never run a changing system!"
UserOfPure
Enthusiast
Enthusiast
Posts: 469
Joined: Sun Mar 16, 2008 9:18 am

Re: Refreshing the procedure entry in procedure panel

Post by UserOfPure »

http://www.purebasic.fr/english/viewtop ... =3&t=38088

That would be annoying, as I need to jump to certain procedures all the time and these procedures are at the end of my code; so if the cursor position changed the browser, then I'd have to scroll down to the end of the browser all the time just to click a procedure name. Right now I can leave the browser where it is and quickly click a name without scrolling to it first.
User avatar
Kurzer
Enthusiast
Enthusiast
Posts: 670
Joined: Sun Jun 11, 2006 12:07 am
Location: Near Hamburg

Re: Refreshing the procedure entry in procedure panel

Post by Kurzer »

Ups I already posted to a similar topic. :oops: Oh oh, amnesia.

Regarding your objection because of the scrolling of the procedure panel (browser): I think this is the smalles evil.
What about a checkbox in the IDE settings to switch between the old and the new behavoir of the procedure panel? :wink:
PB 6.02 x64, OS: Win 7 Pro x64 & Win 11 x64, Desktopscaling: 125%, CPU: I7 6500, RAM: 16 GB, GPU: Intel Graphics HD 520, User age in 2024: 56y
"Happiness is a pet." | "Never run a changing system!"
User avatar
Josh
Addict
Addict
Posts: 1183
Joined: Sat Feb 13, 2010 3:45 pm

Re: Refreshing the procedure entry in procedure panel

Post by Josh »

yes, thats realy essential. the connection between cursorposition in the code and highlighted item in the procedurelist are so naturally for my old and crippled brain, that i always have problems to check, that this is not the same.
sorry for my bad english
User avatar
Kurzer
Enthusiast
Enthusiast
Posts: 670
Joined: Sun Jun 11, 2006 12:07 am
Location: Near Hamburg

Re: Refreshing the procedure entry in procedure panel

Post by Kurzer »

Any chance to get this in one of the next releases? :)
I suppose it is an important feature (if configurable) for many users.

Greetings, Kurzer
PB 6.02 x64, OS: Win 7 Pro x64 & Win 11 x64, Desktopscaling: 125%, CPU: I7 6500, RAM: 16 GB, GPU: Intel Graphics HD 520, User age in 2024: 56y
"Happiness is a pet." | "Never run a changing system!"
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: Refreshing the procedure entry in procedure panel

Post by c4s »

Yes, I also think it's a good idea to add this as an option.
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
User avatar
skywalk
Addict
Addict
Posts: 4211
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: Refreshing the procedure entry in procedure panel

Post by skywalk »

+1
I miss this behavior from Visual Studio.
Post Reply