Multicolor Procedure List

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
zikitrake
Addict
Addict
Posts: 833
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

Re: Multicolor Procedure List

Post by zikitrake »

Hi! Sometimes I got this error and the list of procedures goes blank.
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.8 has been released.

Changelog:
  • Changed: Disable blue selection, if the procedure list has the focus. For example, if you click on the scroll bar.
  • Bugfix: Automatically scroll to the current procedure: This function is now also executed at startup.
@zikitrake
I can't reproduce the error. Do you have any tips for me on how to reproduce this?
Image
Image
zikitrake
Addict
Addict
Posts: 833
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

Re: Multicolor Procedure List

Post by zikitrake »

Nice!
RSBasic wrote:@zikitrake
I can't reproduce the error. Do you have any tips for me on how to reproduce this?
Unfortunately I don't know how to reproduce it, it has happened to me in different codes but I don't know what causes it.
If I can get a pattern out, I'll tell you!

Thank you!
infratec
Always Here
Always Here
Posts: 6810
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Multicolor Procedure List

Post by infratec »

I can confirm that it happens that the complete procedure area can be gray.
Also the menu part of your tool is gone.

But unfortunately I can also not tell you when it happens.
zikitrake
Addict
Addict
Posts: 833
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

Re: Multicolor Procedure List

Post by zikitrake »

infratec wrote:I can confirm that it happens that the complete procedure area can be gray.
Also the menu part of your tool is gone.

But unfortunately I can also not tell you when it happens.
Thanks for the comment.
For now, in order not to have to close the whole environment, I have added to the menu an option to re-execute it :D
Image
zikitrake
Addict
Addict
Posts: 833
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

Re: Multicolor Procedure List

Post by zikitrake »

Dear RSBasic,
Is there any chance that it will work again with PB 6.0?

Personally I found it very useful to quickly distinguish the types of procedures in my programmes.

Thank you very much!
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 »

I tested Multicolor Procedure List with PB 6.0. It works.
Have you tested Multicolor Procedure List x64 with PB x64 or Multicolor Procedure List x86 with PB x86?
Is there an error message?
Image
Image
zikitrake
Addict
Addict
Posts: 833
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

Re: Multicolor Procedure List

Post by zikitrake »

RSBasic wrote: Wed Aug 10, 2022 9:26 pm I tested Multicolor Procedure List with PB 6.0. It works.
Have you tested Multicolor Procedure List x64 with PB x64 or Multicolor Procedure List x86 with PB x86?
Is there an error message?
Don't pay any attention to me! I'm stunned. :oops:

I recently changed pc and I thought that by backing up the PB utilities folder I would have saved the procedure colouring data.

All this coincided with me upgrading to PB 6.0 and when I saw that in the new computer the colours disappeared I put it down to incompatibility problems (I didn't even think of trying to colour a procedure again!!!).

Can you tell me where the colour definitions are stored for possible backups?

Thanks and, again, a thousand apologies.

Translated with www.DeepL.com/Translator (free version)
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 »

No problem. :)
Settings of Multicolor Procedure List: %AppData%\RSBasic\Multicolor Procedure List\
Settings of PureBasic: %AppData%\PureBasic\
Image
Image
User avatar
Demivec
Addict
Addict
Posts: 4082
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: Multicolor Procedure List

Post by Demivec »

@RSBasic: I tested your tool out for the first time today. I ran into some issues while testing a program of mine from the IDE with and without the debugger using PB v5.73 x64 for windows.

My program had two windows. One of the windows was a dialog box that was hidden and unhidden as needed while disabling the other window. So the sequence would go like this:

Main_Window is created, active and visible.
Dialog_Window is created hidden.
When Dialog_Window becomes active it is unhidden, made Sticky and Main_Window is disabled.
When Dialog_Window finished it is made UnSticky, hidden and Main_Window is reenabled.

All events handled in one event loop and straight forward. I should be able to provide a sample code if needed.

When your tool is active/loaded in the IDE the process in the program goes like this both with and without the Stand alone debugger:

Main_Window is created, active and visible.
Dialog_Window is created hidden.
When Dialog_Window becomes active it is unhidden, made Sticky and Main_Window is disabled.
When Dialog_Window finished it is made UnSticky, hidden and Main_Window is reenabled but becomes hidden and disabled until clicked on by using the Windows TaskBar.

The Main_Window uses the window# 1 and Dialog_Window uses the window#3. There are no other windows.

After being frustrated by trying to diagnose the cause of the strange functions with my program's windows I exited your tool and everything worked fine again in my program.


As I said before, if it is needed I can produce a mini code sample to test that hopefully continues to show the same issues.
AZJIO
Addict
Addict
Posts: 1298
Joined: Sun May 14, 2017 1:48 am

Re: Multicolor Procedure List

Post by AZJIO »

When moving the window, braking is noticeable. Is it possible to disable the processing of functions when moving the window?

Is it possible to set the label color automatically? For example functions in one color and comments (prefix >) in another color. The current function is the third color.

The color doesn't work

Code: Select all

HighlightProcedure_BackColor = 16744576
HighlightProcedure_Color = 16744576
Make web color support, for example ff8080

Language selection doesn't work

Code: Select all

Language = Russian.ini
I replaced the text with Russian in 2 files (English.ini, German.ini), then it worked.
dige
Addict
Addict
Posts: 1240
Joined: Wed Apr 30, 2003 8:15 am
Location: Germany
Contact:

Re: Multicolor Procedure List

Post by dige »

@RsBasic: Thanks again for the great tool - I use it every day!

Would you like to add another feature? I would need an include browser to access each include and open it quickly.

:)

Kind regards
dige
"Daddy, I'll run faster, then it is not so far..."
Mesa
Enthusiast
Enthusiast
Posts: 342
Joined: Fri Feb 24, 2012 10:19 am

Re: Multicolor Procedure List

Post by Mesa »

Very useful for me, if you want to add a french version, so this is the French.ini file:

Code: Select all

[Language]
Error_Title = Erreur
Error_DisplayFullPath = Le paramètre Fichier\Préférences\Général\"Afficher le chemin complet dans le titre de l'IDE" n'est pas activé.
Error_NotExistProcedureBrowser = L'onglet "Procédures" n'existe pas dans le panneau outils.
Error_NotExistPBWindow = La fenêtre PureBasic ou SpiderBasic n'a pas pu être identifiée.
Error_NotExistPureSplitter = PureSplitter n'a pas pu être détecté.
Error_NotExistSysTabControl32 = SysTabControl32 n'a pas pu être détecté.
Error_NotExistStatic = Static n'a pas pu être détecté.
Error_NotExistListBox = ListBox n'a pas pu être détecté.
Error_NotStartetAsPBTool = Ce programme n'a pas été exécuté en tant qu'outil PureBasic ou SpiderBasic.
Language_German = Allemand
Language_English = Anglais
Language_French = Français
Procedure_ItemColor = Changer la couleur de la police d'une entrée
Procedure_ItemBackground = Modifier la couleur d'arrière-plan d'une entrée
Procedure_RestoreItem = Restaurer les paramètres de couleur d'une entrée
Information = Information
Exit = Quitter
Procedure_BoundedFile = Lier les paramètres de couleur à ce fichier
Procedure_HideModuleName = Masquer les noms de module
Procedure_HighlightProcedure = Surbrillance automatique la procédure en cours.
Procedure_CurrentProcedure = En cours
Procedure_HighlightProcedure_AutoScroll = Faire défiler automatiquement jusqu'à la procédure en cours
DisableAutoFoldOutProcedure = Désactiver le dépliage automatique de la procédure

Mesa.
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 »

AZJIO wrote: Sun Aug 21, 2022 6:17 pmLanguage selection doesn't work

Code: Select all

Language = Russian.ini
I replaced the text with Russian in 2 files (English.ini, German.ini), then it worked.
Can you post your language file here? Then I can add and test the language.
Image
Image
AZJIO
Addict
Addict
Posts: 1298
Joined: Sun May 14, 2017 1:48 am

Re: Multicolor Procedure List

Post by AZJIO »

Code: Select all

[Language]
Error_Title = Ошибка
Error_DisplayFullPath = Настройка PureBasic или SpiderBasic "Отображать полный путь к источнику в строке заголовка" не включена.
Error_NotExistProcedureBrowser = Список процедур не существует на панели инструментов.
Error_NotExistPBWindow = Не удалось определить окно PureBasic или SpiderBasic.
Error_NotExistPureSplitter = Не удалось обнаружить PureSplitter.
Error_NotExistSysTabControl32 = Не удалось обнаружить SysTabControl32.
Error_NotExistStatic = Не удалось определить Static.
Error_NotExistListBox = Не удалось определить ListBox.
Error_NotStartetAsPBTool = Эта программа не была выполнена как инструмент PureBasic или SpiderBasic.
Language_German = Немецкий
Language_English = Английский
Language_Russian = Русский
Procedure_ItemColor = Изменение цвета текста пункта
Procedure_ItemBackground = Изменение цвета фона пункта
Procedure_RestoreItem = Восстановление настроек цвета пункта
Information = Информация
Exit = Выход
Procedure_BoundedFile = Привязать настройки цвета к этому файлу
Procedure_HideModuleName = Скрыть имена модулей
Procedure_HighlightProcedure = Автоматическое определение и подсветка текущей процедуры.
Procedure_CurrentProcedure = Текущая
Procedure_HighlightProcedure_AutoScroll = Автоматическая прокрутка к текущей процедуре
DisableAutoFoldOutProcedure = Отключить автоматическое развертывание процедуры после клика
Post Reply