Changelog:
- Added: SpiderBasic support
- Deleted: Language setting: The language is now automatically determined from the PB or SB settings file.
-> what does this mean?added support for project files
Because my tool has to determine the full path and file name using the window title to assign the colors you specified to your open PB file, project files were slightly different.HanPBF wrote:-> what does this mean?added support for project files
I'll see if it's possible. I don't know if you can add custom colors to ColorRequester() right now. Or if it is only possible with WinAPI function ChooseColor_().HanPBF wrote:When I set a color for background/foreground in procedure list, I can define my own colors in the windows very own color dialog.
Could it be possible to save the last defined colors (and maybe reset them)?
Code: Select all
EnableExplicit
Structure COLORREF
RGB.l[16]
EndStructure
Define CHOOSECOLOR.CHOOSECOLOR
Define COLORREF.COLORREF
COLORREF\RGB[0] = RGB(255, 0, 0)
COLORREF\RGB[1] = RGB(0, 255, 0)
COLORREF\RGB[2] = RGB(0, 0, 255)
CHOOSECOLOR\LStructSize = SizeOf(CHOOSECOLOR)
CHOOSECOLOR\hwndOwner = 0;WindowID(#Window)
CHOOSECOLOR\rgbResult = RGB(100, 200, 50)
CHOOSECOLOR\lpCustColors = COLORREF
CHOOSECOLOR\flags = #CC_ANYCOLOR | #CC_FULLOPEN | #CC_RGBINIT
If ChooseColor_(@CHOOSECOLOR)
Debug "Color: " + CHOOSECOLOR\rgbResult
Else
Debug "No color selected."
EndIf
No portable version: %AppData%\RSBasic\Multicolor Procedure List\ProcedureColors.iniBarryG wrote:But, where do the colors get saved? I colored a procedure, saved my source, quit PureBasic, started it again, loaded my source, and there's no color for the procedure?
Confirmed fixed.RSBasic wrote:Bugfix: Characters "[" and "]" are escaped in the file name.
Have fun: viewtopic.php?f=27&t=72940Zebuddi123 wrote:This is how my templates Look, all automated from a program I wrote. As you can see there are quite a number of proc's which I`m always forgetting whats where. The search function of MPL what be a god send here for me.
https://ibb.co/41yx84q