Multicolor Procedure List

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
RSBasic
Moderator
Moderator
Posts: 1218
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Multicolor Procedure List

Post by RSBasic »

Multicolor Procedure List 1.2.0 has been released.

Changelog:
  • Bugfix: Selection of the current procedure: Is now compatible with the setting "Hide module names".
Image
Image
BarryG
Addict
Addict
Posts: 3292
Joined: Thu Apr 18, 2019 8:17 am

Re: Multicolor Procedure List

Post by BarryG »

RSBasic wrote:@BarryG
It's fixed.
Confirmed! Thank you.

Can I make a suggestion? The bolding is good, but still useless if the procedure browser is scrolled down somewhere else. So I'd love to also see the current procedure name in its own box, beneath the color buttons and above the procedure filter. So no matter which long procedure I'm in, I can always see its name in the browser immediately.

Also, the refresh of your tool is a tad slow on my PC. When I click inside a procedure, it takes about one second to become bold in the list. Is that because my source is too big? It's over 30,000 lines and has lots of procedures.
User avatar
RSBasic
Moderator
Moderator
Posts: 1218
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Multicolor Procedure List

Post by RSBasic »

BarryG wrote:Can I make a suggestion?
You can always make a suggestion. :)
BarryG wrote:The bolding is good, but still useless if the procedure browser is scrolled down somewhere else. So I'd love to also see the current procedure name in its own box, beneath the color buttons and above the procedure filter. So no matter which long procedure I'm in, I can always see its name in the browser immediately.
Good idea
BarryG wrote:Also, the refresh of your tool is a tad slow on my PC. When I click inside a procedure, it takes about one second to become bold in the list. Is that because my source is too big? It's over 30,000 lines and has lots of procedures.
I have set a delay of 500 milliseconds so that the PC does not slow down.
Image
Image
User avatar
RSBasic
Moderator
Moderator
Posts: 1218
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Multicolor Procedure List

Post by RSBasic »

Multicolor Procedure List 1.2.1 has been released.

Changelog:
  • Added: Current procedure is also displayed at the top.
Image
Image
User avatar
RSBasic
Moderator
Moderator
Posts: 1218
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Multicolor Procedure List

Post by RSBasic »

Multicolor Procedure List 1.2.2 has been released.

Changelog:
  • Changed: The text "Current: <current procedure>" is now only updated when changed.
  • Changed: Current procedure is now additionally underlined.
  • Removed: Inactive marker (#PB_ListIcon_AlwaysShowSelection) has been removed.
Image
Image
dige
Addict
Addict
Posts: 1247
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: Multicolor Procedure List

Post by dige »

I love it! Especially since it works with Spiderbasic Thanks a lot RSBasic - good work!!
"Daddy, I'll run faster, then it is not so far..."
HanPBF
Enthusiast
Enthusiast
Posts: 563
Joined: Fri Feb 19, 2010 3:42 am

Re: Multicolor Procedure List

Post by HanPBF »

Found an error, which does never occur without Multicolor Procedure List.
This one was tricky to find...

1. start the program with debugger and open a window
2. close the window and end program
3. click on procedure in list
4. no return key works, no enter of any key works, F5 (start of program) does not work; backspace works, delete works

The annoyance in this error lays in the fact, that You start typing and nothing happens.
First, I changed the source tab and back, and it works again.
Moving the cursor fixes this behaviour also.

One problem: step 3. above seems to "need" another thing to reproduce the error (maybe procedure out of view or so)

Maybe a focus problem to editor control somehow?

Sorry to annoy again...
infratec
Always Here
Always Here
Posts: 6817
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Multicolor Procedure List

Post by infratec »

Hi,

I noticed the same behaviour, that sometimes the return key is not working any more.
But I was not able to reproduce it.

CTRL+RETURN is working and after a few typed keys it works again.
BarryG
Addict
Addict
Posts: 3292
Joined: Thu Apr 18, 2019 8:17 am

Re: Multicolor Procedure List

Post by BarryG »

The latest version (1.2.2) doesn't work for me at all now. I did a clean install of the tool (deleted old folder, unzipped new one). No procedure is highlighted in short or long sources, nor shown as "Current".
User avatar
Kurzer
Enthusiast
Enthusiast
Posts: 664
Joined: Sun Jun 11, 2006 12:07 am
Location: Near Hamburg

Re: Multicolor Procedure List

Post by Kurzer »

BarryG, if by highlighted you mean the highlighting of the procedure in which the cursor is currently located, then...

Is it possible that your procedures are folded and the cursor is directly on the line where the procedure starts?

Code: Select all

Procedure.i Year64(qDate64.q)         ; <- If cursor ist locatet in this line nothing happens
Procedure.i Month64(qDate64.q)
Procedure.i Day64(qDate64.q)
RSBasics Tool only works when the procedure is unfolded and the cursor is at least in the second line.

Code: Select all

	Procedure.i Year64(qDate64.q)
		<--- Cursor must located at least here!
		Protected stvDate64Info.stDate64Info
		
		Init()
		Date64Info(@stvDate64Info, qDate64)
		ProcedureReturn stvDate64Info\wYear
	EndProcedure
Regards
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 2023: 56y
"Happiness is a pet." | "Never run a changing system!"
BarryG
Addict
Addict
Posts: 3292
Joined: Thu Apr 18, 2019 8:17 am

Re: Multicolor Procedure List

Post by BarryG »

I don't have folded procedures, Kurzer. I'll try it again with a future update.
User avatar
RSBasic
Moderator
Moderator
Posts: 1218
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Multicolor Procedure List

Post by RSBasic »

Is the "Automatically determine and highlight the current procedure" setting (toggle image button) enabled?
Image
Image
HanPBF
Enthusiast
Enthusiast
Posts: 563
Joined: Fri Feb 19, 2010 3:42 am

Re: Multicolor Procedure List

Post by HanPBF »

Concerning blocked key strokes.

Ok, now I have first installed the new version; somehow missed it.

I will observe this with and without "Automatically determine and highlight the current procedure".

Thanks a lot!
HanPBF
Enthusiast
Enthusiast
Posts: 563
Joined: Fri Feb 19, 2010 3:42 am

Re: Multicolor Procedure List

Post by HanPBF »

I have checked it with "Automatically determine and highlight the current procedure" on and off.

Behaviour is the same.

I will observe further to see if I can reproduce it by intention.
HanPBF
Enthusiast
Enthusiast
Posts: 563
Joined: Fri Feb 19, 2010 3:42 am

Re: Multicolor Procedure List

Post by HanPBF »

Ok, here comes the description to the return-does-not-work-behaviour:

- on or off: "Automatically determine and highlight the current procedure" does not matter
- [file in editor must be changed and not saved] -> wrong; have also behaviour when saved...
- switch to another tab
- switch back to non saved file without clicking into editor
- click on procedure once
- type enter without setting focus in editor window -> blocked
- next selected procedure does unblock

Unfortunately, I have cases where these steps don't work; the reason maybe that somehow the edit window is focused.

I have somes blocks even after typing and mouse click.

Will observe further...
Post Reply