[QScintilla] Margin colors
Phil Thompson
phil at riverbankcomputing.com
Mon Jun 13 22:30:03 BST 2011
On Mon, 13 Jun 2011 15:56:04 -0500, Christopher Pow
<christopher_pow at hotmail.com> wrote:
> 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!
Have you tried the FullRectangle MarkerSymbol?
Phil
More information about the QScintilla
mailing list