Hi there, I am back and now I have some time to get in touch with the meld source code. As promised, I will ask questions whenever something is unclear. ;-) I want to start with "Bug 633515 - Text ignored by filters should have some visual indication" [1]. I spent a few hours by browsing through the source code and playing around with it. As you, Kai, suggested, I tried to do it with a gtk.TextTag. Unfortunately it only works to make something bold but not to make something light. It also works to make the font smaller, but that does not look to nice. I attached three diffs, maybe you could have a look at them? As I said, bold and small works, light does not. This was only for testing, so the way I hacked it into the code is probably not the cleanest way. As you also mentioned, the nicest would be to rely on gtk.SourceView, but I haven't checked that too intensively so far. But I had a look at the gtk.SourceStyle class [2], which is probably the place to start and it also only supports bold text, no light text. So maybe that causes the problem I had. Is the font-weight even what you had in mind? I don't know if it is possible to make the font color transparent or something. That would be nice. But I really don't know how to handle this, especially not to get in conflict with the style schemes. I hope you (or someone on this list) can help me. Regards David [1] https://bugzilla.gnome.org/show_bug.cgi?id=633515 [2] https://developer.gnome.org/gtksourceview/stable/GtkSourceStyle.html#GtkSourceStyle--foreground
Attachment:
diff_bold
Description: Text document
Attachment:
diff_light
Description: Text document
Attachment:
diff_small
Description: Text document