jacobslusser / ScintillaNET

A Windows Forms control, wrapper, and bindings for the Scintilla text editor.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Help! Cannot find a mask that works for RgbaImage marker symvol

reemrizzk opened this issue · comments

Hello I am creating a c# code editor application with ScintillaNet control. I am implementing a functionality where syntax errors are shown while typing. I wanted an X image to be shown on lines with errors.
For this, I used MarkerSymbol.RgbaImage(bitmap);
The problem is that I can ot find any margin mask that worked with it.
The masks Marker.MaskAll and Marker.MaskFolders show the x image but also show folding symbols that I dont want. The rest of the masks dont even show the image. I found that the rgbaimage marker’s index is 30, but I tried (1<<30) for the mask and still nothing was shown. The image only show in maskall and maskfolders but also folding symbols are shown over it.

I don’t know how to solve this. Also though of using text instead of symbols for the MarginType but I cannot find on internet any tutorial or documentations on how to implement it, especially on C# for scintillaNet. Can you help me?