Multicolor Procedure List

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
AZJIO
Addict
Addict
Posts: 2143
Joined: Sun May 14, 2017 1:48 am

Re: Multicolor Procedure List

Post by AZJIO »

When starting, there is a white window instead of the background color, then, when I selected a tab, functions first appeared, and then this message, and after closing the message, the white window again
---------------------------
Fehler
---------------------------
Es ist ein schwerwiegender Fehler aufgetreten und das Programm muss beendet werden.
Senden Sie bitte die folgenden Informationen an support@rsbasic.de:

Datum/Uhrzeit: 11.09.2023 14:23:28
Betriebssystem: Windows 10
Anwendung: Multicolor Procedure List 1.3.4 (Build 2198)
Fehlermeldung: Invalid memory access
Speicheradresse: 5368768199---------------------------
ОК
---------------------------
I checked it again by moving the window to the side. Because when I closed the window, I saw a lot of messages. They appear every half second when "Multicolor" is launched.
User avatar
RSBasic
Moderator
Moderator
Posts: 1228
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Multicolor Procedure List

Post by RSBasic »

@AZJIO
I'll take a look at this tonight.
dige wrote: Tue Apr 18, 2023 11:53 am Would you like to add another feature? I would need an include browser to access each include and open it quickly.
That would be an idea for an extra tool. This doesn't fit with Multicolor Procedure List.
Image
Image
AZJIO
Addict
Addict
Posts: 2143
Joined: Sun May 14, 2017 1:48 am

Re: Multicolor Procedure List

Post by AZJIO »

Double clicking on XIncludeFile opens the file for viewing. You don't need to do anything, it's already there.
You need to add a marker so that it is in the list:

Code: Select all

;- XIncludeFile
XIncludeFile "IncludeFile.pbi"
User avatar
RSBasic
Moderator
Moderator
Posts: 1228
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Multicolor Procedure List

Post by RSBasic »

AZJIO wrote: Mon Sep 11, 2023 10:26 am When starting, there is a white window instead of the background color, then, when I selected a tab, functions first appeared, and then this message, and after closing the message, the white window again
How can I reproduce the problem?
Image
Image
AZJIO
Addict
Addict
Posts: 2143
Joined: Sun May 14, 2017 1:48 am

Re: Multicolor Procedure List

Post by AZJIO »

I deleted the configuration files and the new version worked.

I needed to figure it out right away. This could be the start code and position. The Settings.ini file has also now been changed and I cannot return the old one, it no longer causes an error, or maybe it was not the reason. I checked the launch with antivirus enabled. In general, I can’t reproduce it. But there is a 100% guarantee that when I copied the previous version (1.3.2), it worked immediately.
User avatar
RSBasic
Moderator
Moderator
Posts: 1228
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Multicolor Procedure List

Post by RSBasic »

Multicolor Procedure List 1.3.5 has been released.

Changelog:
  • Bugfix: Scrollbar of procedure list was not visible.
  • Bugfix: Comments containing brackets were not recognized.
  • Bugfix: If the PB setting "Show procedure arguments" was enabled and if a module call existed in the procedure parameter list, then there was a display problem.
Image
Image
AZJIO
Addict
Addict
Posts: 2143
Joined: Sun May 14, 2017 1:48 am

Re: Multicolor Procedure List

Post by AZJIO »

How about these screenshots?
In the first screenshot, the RedRect() procedure should be the same color as in the second screenshot.
In the second screenshot, comments should not be painted over with the procedure color.

In SpiderBasic it causes the same error. I haven’t found the reason, everything happens by chance. When clicking on a procedure in the list once, an error appeared, and the procedure was minimized, but previously it had been expanded.
video

configuration file without CustomColor

Code: Select all

[Main]
HighlightProcedure_FontStyle = 0
ProcedureLineHeight = 0
Procedure_BackColor = 0
HighlightProcedure_BackColor = 0
DisableAutoFoldOutProcedure = 1
Comment_Color = 0
HighlightProcedure_FontSize = 0
BoundedFile = 1
Language = Russian
Procedure_Color = 0
Comment_BackColor = 0
HighlightProcedure = 1
HighlightProcedure_Color = #AAA6DB
HighlightProcedure_AutoScroll = 1
HideModuleName = 0
HighlightProcedure_FontName = 0
CustomColor needs to be inserted into a separate section.

If I place the cursor on a line with LoadFont(... then an error occurs

Code: Select all

	BindEvent(#PB_Event_Menu, @EventsMenu())

	If LoadFont(#Font, "Arial", s / 2.5)
		isLFont = 1
	EndIf
dige
Addict
Addict
Posts: 1391
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: Multicolor Procedure List

Post by dige »

AZJIO wrote: Mon Sep 11, 2023 3:48 pm Double clicking on XIncludeFile opens the file for viewing. You don't need to do anything, it's already there.
You need to add a marker so that it is in the list:

Code: Select all

;- XIncludeFile
XIncludeFile "IncludeFile.pbi"
Good idea, AZJIO!. That already helps a bit. But most of the time, I also have includes in included files. Unfortunately, you can't see them at a glance.
"Daddy, I'll run faster, then it is not so far..."
User avatar
RSBasic
Moderator
Moderator
Posts: 1228
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Multicolor Procedure List

Post by RSBasic »

Multicolor Procedure List 1.3.6 has been released.

Changelog:
  • Improved: ANSI code is supported in the same way as UTF-8 code
  • Bugfix: Font and background color of a procedure entry were not displayed at the same time.
  • Removed: "Current" display because you can already see in the procedure list in which procedure the cursor is located.
  • Improved: Better cursor detection before and after procedure and comment.
  • Bugfix: Custom colors override other colors.
  • Changed: If several identical comments exist, then only the comment in which the cursor is located is highlighted in the procedure list.

AZJIO wrote: Sun Sep 10, 2023 5:33 pm Comment_Color = 0
Procedure_Color = 0
Image


Comment_Color = 0
Procedure_Color = #AAA6DB
Image
Fixed
AZJIO wrote: Tue Sep 12, 2023 5:32 am In SpiderBasic it causes the same error. I haven’t found the reason, everything happens by chance. When clicking on a procedure in the list once, an error appeared, and the procedure was minimized, but previously it had been expanded.
video
Can you test it again with the new version?

@Demivec
Can you test it with the new version? Does the problem then still occur?
Image
Image
AZJIO
Addict
Addict
Posts: 2143
Joined: Sun May 14, 2017 1:48 am

Re: Multicolor Procedure List

Post by AZJIO »

I checked it on SpiderBasic and PureBasic, it works fine.
When I place the cursor under a label, for example ";- GUI", the label is not highlighted in the list. Procedures are highlighted normally. But this is no longer critical, since the main thing I wanted (the color in the list) works perfectly.

There was an error once after several days of use.
User avatar
RSBasic
Moderator
Moderator
Posts: 1228
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Multicolor Procedure List

Post by RSBasic »

Multicolor Procedure List 1.3.7 has been released.

Changelog:
  • Bugfix: IMA error is caught.
Image
Image
Mesa
Enthusiast
Enthusiast
Posts: 433
Joined: Fri Feb 24, 2012 10:19 am

Re: Multicolor Procedure List

Post by Mesa »

Very good tool that i use everyday, but it could be good to add a new function: copy in the clipboard all the the entries in the procedure list. Very usefull to make a help file or a readme file. :D


Thanks.

M.
User avatar
RSBasic
Moderator
Moderator
Posts: 1228
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Multicolor Procedure List

Post by RSBasic »

Multicolor Procedure List 1.3.8 has been released.

Changelog:
  • Added: Export procedure list to clipboard, TXT, XML and JSON
Mesa wrote: Thu Sep 12, 2024 9:14 am Very good tool that i use everyday, but it could be good to add a new function: copy in the clipboard all the the entries in the procedure list. Very usefull to make a help file or a readme file. :D
I added this feature.
Image
Image
Post Reply