Thanks, I tested this out and it does work however my caret.line.back was
#DDDDFF. You don't notice this because your colour has the same values for
red green and blue but if you change one of them you realise that the
colouration is actually not a background colour - its on top of the text. If
you set the alpha to be 254 then you can't see the text through the
"background highlight". The background highlight only comes to the
foreground though, when the caret.line.back.alpha is set. It's a really odd
bug and I'm not sure whether I've explained it well here... tell me if you
don't get what I'm saying.

On 6/24/07, Chachereau Nicolas <[EMAIL PROTECTED]> wrote:

John Yeung wrote:
>I would think that the behavior for all styles should be to inherit the
>prevailing background color if no background color is explicitly
>specified for that style.  (Perhaps there are exceptions to this, but I
>can't think of any at the moment.)

It's a strange bug indeed. I hadn't noticed it, and I was going to write
"I cannot reproduce this!". In fact, I've been using caret.line.back for
some time now, and this never occurred. After some investigation, I found
that it happens if you set caret.line.back but and not
caret.line.back.alpha.

So, here's a little workaround: use caret.line.back.alpha. I use the
following:
caret.line.back=#00000
caret.line.back.alpha=15

which gives me a very light grey. I think it would be #eeeeee. It's really
useful, for example if you don't use the margin, because then bookmarks
are
shown by changing the line background (see bookmark.back) and if you don't
use an alpha setting for the caret.line.back you don't see that the line
is
a bookmark when your caret is in it.

Hope this helps.
Nicolas

_______________________________________________
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest




--
Now go, and may the [open] source be with you
_______________________________________________
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to