Multicolor Procedure List 1.2.5 has been released.
Changelog:
- Changed: The starting position of the current procedure has been changed so that the current procedure can be determined if the cursor is also positioned before "Procedure ...".
- Bugfix: If the current procedure has been selected, the colors of the other entries are no longer displayed.
- Bugfix: If a procedure exists in the first line, then the first procedure was not selected if the cursor is in this procedure.
oreopa wrote:Everything but this line height issue is fixed... It won't go below the size it shows as default... It can go above that size using the "ProcedureLineHeight" option... but not below the default

You're right. I'm using this:
Code: Select all
If OpenWindow(0, 0, 0, 500, 250, "Window", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ListIconGadget(1, 10, 10, 480, 230, "Title", 400, #PB_ListIcon_GridLines | #PB_ListIcon_FullRowSelect)
;-If you enable this, you can also make the row height smaller.
;LoadFont(1, "", 5)
;SetGadgetFont(1, FontID(1))
For a=1 To 5
AddGadgetItem(1, -1, "Item " + Str(a), 0, 0)
Next
SendMessage_(GadgetID(1), #LVM_SETIMAGELIST, #LVSIL_SMALL, ImageList_Create_(1, 5, #ILC_COLORDDB, 0, 0))
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
If I use SetGadgetFont() (e.g. with 5 Pixel), I can make the row height even smaller.
I can't make it smaller than the font height.
I don't think it's possible.
@RASHAD: Do you have a solution?
zikitrake wrote:2 - But, when I click on a procedure in the list, the code window scrolls to that procedure, but it doesn't get bold in the list until I click or type something in the code.
Hola

Fixed.
zikitrake wrote:PS: Another flaw I found is that, when the first line in the editor is a procedure and we select it, it doesn't appear in bold in the procedures list (I s
Fixed.