Page 1 of 1

Scintilla setings of IDE (Indicator & Marker numbers)

Posted: Sun Jun 04, 2017 8:41 pm
by STARGĂ…TE
Hi all (hi Fred),

is there a list of used marker IDs and indicator numbers currently used in the IDE Scintilla gadget?
I will write a tool for personal use, which should use indicators and markers, and I do not want overwrite any IDE Settings.

For example:

Code: Select all

ScintillaID.i = Val(GetEnvironmentVariable("PB_TOOL_Scintilla"))
SendMessage_(ScintillaID, #SCI_MARKERDEFINE, 20, #SC_MARK_BACKGROUND) ; can I use index 20?
SendMessage_(ScintillaID, #SCI_MARKERSETBACK, 20, $FFC0C0)
SendMessage_(ScintillaID, #SCI_MARKERADD, 4, 20)

Code: Select all

ScintillaID.i = Val(GetEnvironmentVariable("PB_TOOL_Scintilla"))
SendMessage_(ScintillaID, #SCI_INDICSETSTYLE, 33, #INDIC_STRIKE) ; can I use number 33?
SendMessage_(ScintillaID, #SCI_INDICSETFORE, 33, $0000FF)
SendMessage_(ScintillaID, #SCI_SETINDICATORCURRENT, 33, 0)
SendMessage_(ScintillaID, #SCI_INDICATORFILLRANGE, 10, 10)