#1453 (GTK) tab markers not visible if indent markers are visible

scintilla (297)
Mark Yen

On GTK only (couldn't reproduce with Win32 or OSX), when you have both tab markers and indent markers turned on, only the first tab marker (before any indents) are visible. This can be seen in a document like: (where "#" is a tab)


See attached patch - the issue seems to be that, in line drawing, the order is
- set pen colour
- draw indents
- draw tabs
But, on GTK/cairo, drawing indents involves setting the source surface (to copy from), which reset the pen colour. The patch changes it to
- draw indents
- set pen colour
- draw tabs
Which doesn't have this problem.

1 Attachments


  • Neil Hodgson

    Neil Hodgson - 2013-03-16
    • labels: --> scintilla
    • status: open --> open-fixed
    • assigned_to: Neil Hodgson
  • Neil Hodgson

    Neil Hodgson - 2013-03-16

    While the patch makes sense, I was unable to reproduce the problem on GTK+ 2 or 3 on Mint Linux 14.
    A simplified version committed as [09444c].



    Commit: [09444c]

  • Neil Hodgson

    Neil Hodgson - 2013-04-01
    • status: open-fixed --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks