Toolpanel/Procedures: Highlight the Procedure where the Care

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

Toolpanel/Procedures: Highlight the Procedure where the Care

Post by Kurzer »

It would be very useful for larger sourcecodes, if the current caret position (if inside a procedure) will be represented also in the tools/procedures panel by highlighting of the current procedure. In the following screenshot it is simulated with a purple background color of the entry.

Image

And one more suggestion: The ;- command token will be represented in the procedures panel as ">" entry (see the round markings in the screenshot above).
It would be useful too, if this is configurable. It would be clearer for me, if the ;- produces a blank line in the panel instead of a ">". But it would be really great if one could add own comment tokens and their representation in the procedures panel. Similar to the "issue-entries" panel (;TODO, ;FIXME and so on)

Will hope, this is not to difficult to implement. Thank you very much in advance, PB Team.
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!"
pwd
User
User
Posts: 60
Joined: Thu Sep 06, 2012 9:39 am

Re: Toolpanel/Procedures: Highlight the Procedure where the

Post by pwd »

I was already suggesting this back in 2012 (image is lost, but the idea should be clear even without it). Still waiting for implementation :)
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 450
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Re: Toolpanel/Procedures: Highlight the Procedure where the

Post by Didelphodon »

pwd wrote:I was already suggesting this back in 2012 (image is lost, but the idea should be clear even without it). Still waiting for implementation :)
+1
Go, tell it on the mountains.
User avatar
Josh
Addict
Addict
Posts: 1183
Joined: Sat Feb 13, 2010 3:45 pm

Re: Toolpanel/Procedures: Highlight the Procedure where the

Post by Josh »

+ 1

And a additional option in the settings or at the panel, to hide macros at the procedure-panel. They corrupt the overview of the procedures and I don't need them at this place.
sorry for my bad english
Post Reply