[QScintilla] Margin colors

Christopher Pow christopher_pow at hotmail.com
Mon Jun 13 21:56:04 BST 2011


I have a situation where I'd like to be able to colorize a margin of a particular line different from that of the surrounding lines.  I've managed to achieve *almost* that effect by using a marker defined as an underscore ("_") character with the same foreground and background color.  However, this only puts color where the actual character is in the margin, not the entire bounding box of the line's extent in the margin, so there's annoying horizontal lines of the default margin color that looks ugly.  Essentially I want something similar to QsciScintilla::Background marker but for margin colorizing only, not affecting the color of the line of text.

Does anyone have any ideas?  Am I missing something?

I've attached a picture of what I have...the red boxes in the second margin are what I'm referring to.  I'd like the red to be a single solid rectangle.

Thanks!
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20110613/413b65b5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: editor.png
Type: image/png
Size: 27675 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20110613/413b65b5/attachment-0001.png>


More information about the QScintilla mailing list