It is currently Wed Jan 27, 2021 4:37 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Scintilla setings of IDE (Indicator & Marker numbers)
PostPosted: Sun Jun 04, 2017 8:41 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jan 10, 2008 1:30 pm
Posts: 1369
Location: Germany, Glienicke
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:
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:
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)

_________________
ImageImage


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye