[QScintilla] multiple markers on one line

Phil Thompson phil at riverbankcomputing.com
Tue Sep 21 10:05:10 BST 2010


On Mon, 20 Sep 2010 20:18:57 -0400, Gedalia Pasternak <gedalia at gmail.com>
wrote:
> Hello,
>   Is there a easy way to get multiple markers to show up on the same
line?
> it seems like one margin defaults to line numbers, one for folding, and
one
> for markers. But if I add 2 markers to the same line:
>     m_rt_tri_marker =
qsc_edit->markerDefine(QsciScintilla::RightTriangle,
> -1);
>     qsc_edit->setMarkerBackgroundColor(QColor(255,128,128,128),
> m_rt_tri_marker);
> 
>     m_breakpoint_marker = qsc_edit->markerDefine(QsciScintilla::Circle,
>     -1);
>     qsc_edit->setMarkerBackgroundColor(QColor(255,128,128,128),
> m_breakpoint_marker);
> 
> the Circle completely obscures the right triangle. Alpha doesn't seem to
> make a diff, widening up the margin didn't make a difference either.
> any suggestions? thanks!
> -gedalia

Unfortunately I think this is the standard behaviour of the underlying
Scintilla code.

Phil


More information about the QScintilla mailing list