digitallyserviced/semanticolor

Option to fill entire BG when 'contrast'?

Opened this issue · 3 comments

Pardon the title, it's a little hard explaining this in a phrase.

Is it possible to make the highlighter highlight the entire line (e.g: the current line highlighter) of scopes set to contrast?

screen

See: black contrasted comment looks bad (black background is too tight).

It would be great if it would highlight the entire line instead (like the current line highlighter, see: yellow).

Thanks, I hope my issue made sense. :)

Unfortunately the highlighter does not allow for altering the text color. We could combine it with scopes for the text color, but there could be non-comment text on the same line as a comment, so naively highlighting the entire line wouldn't work. How would you want it to look in that case?

I was actually thinking about something like this:

But then I realized it might be too much trouble given the benefit it would bring. If there would be at least some way to not make the contrasted comments look cut off (add some padding of some sort), I'd be satisfied with that :)

I'll see what I can do.