Page 5 of 9
Re: Multicolor Procedure List
Posted: Fri Jun 07, 2019 12:37 pm
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".
Re: Multicolor Procedure List
Posted: Fri Jun 07, 2019 12:57 pm
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.
Re: Multicolor Procedure List
Posted: Fri Jun 07, 2019 1:05 pm
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.
Re: Multicolor Procedure List
Posted: Fri Jun 07, 2019 1:34 pm
by RSBasic
Multicolor Procedure List 1.2.1 has been released.
Changelog:
- Added: Current procedure is also displayed at the top.
Re: Multicolor Procedure List
Posted: Fri Jun 07, 2019 4:18 pm
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.
Re: Multicolor Procedure List
Posted: Fri Jun 07, 2019 7:35 pm
by dige
I love it! Especially since it works with Spiderbasic Thanks a lot RSBasic - good work!!
Re: Multicolor Procedure List
Posted: Fri Jun 07, 2019 7:58 pm
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...
Re: Multicolor Procedure List
Posted: Fri Jun 07, 2019 9:44 pm
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.
Re: Multicolor Procedure List
Posted: Sat Jun 08, 2019 3:30 am
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".
Re: Multicolor Procedure List
Posted: Sat Jun 08, 2019 9:07 am
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
Re: Multicolor Procedure List
Posted: Sat Jun 08, 2019 9:17 am
by BarryG
I don't have folded procedures, Kurzer. I'll try it again with a future update.
Re: Multicolor Procedure List
Posted: Sat Jun 08, 2019 9:43 am
by RSBasic
Is the "Automatically determine and highlight the current procedure" setting (toggle image button) enabled?
Re: Multicolor Procedure List
Posted: Tue Jun 11, 2019 5:48 am
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!
Re: Multicolor Procedure List
Posted: Tue Jun 11, 2019 6:45 am
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.
Re: Multicolor Procedure List
Posted: Tue Jun 11, 2019 7:26 am
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...