Scintilla setings of IDE (Indicator & Marker numbers)

Working on new editor enhancements?
User avatar
STARGÅTE
Addict
Addict
Posts: 2063
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Scintilla setings of IDE (Indicator & Marker numbers)

Post 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)
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module