[QScintilla] Margin colors

Christopher Pow christopher_pow at hotmail.com
Tue Jun 14 03:11:28 BST 2011


I knew I missed something simple.  Somehow the headers I had didn't have FullRectangle in them as an option; copying the right headers over caused a crash [probably index out-of-bounds].  Complete re-download and rebuild of Qscintilla/Qt4 later and I'm now happy!  Thanks!

> Date: Mon, 13 Jun 2011 22:30:03 +0100
> From: phil at riverbankcomputing.com
> To: christopher_pow at hotmail.com
> CC: qscintilla at riverbankcomputing.com
> Subject: Re: [QScintilla] Margin colors
> 
> 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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20110613/3afc5929/attachment.html>


More information about the QScintilla mailing list