On Windows, I use the following script to display an edge column in the PB IDE.
Code: Select all
Define Color, *Sci = Val(GetEnvironmentVariable("PB_TOOL_Scintilla"))
If *Sci
Color = SendMessage_(*Sci, #SCI_STYLEGETBACK, #STYLE_LINENUMBER, #Null)
SendMessage_(*Sci, #SCI_SETEDGECOLOUR, Color, #Null)
SendMessage_(*Sci, #SCI_SETEDGECOLUMN, 129, #Null)
SendMessage_(*Sci, #SCI_SETEDGEMODE, #EDGE_LINE, #Null)
EndIf
But how can I do that under Linux?
I've created many tools for the PB IDE on Windows, and they all always need SendMessage_ ().
I would like to switch to Linux completely in the near future, it is important for me to use my tools also under Linux.
What is the Linux adequacy to SendMessage_ ()?
How can I use the #SCI_ constants in linux to communicate with the PB IDE (Scintilla)?