Hello!

I upgraded yesterday to scintilla release 1.74 and noticed a small difference. In the new version, if brace highlighting is active and the caret line is visible, the background of the highlighted brace is white (the default background color) and don't have the caret line highlight color (you can see this on the snapshots). Looks not so good now as the highlighted caret line is broken.

Is this the expected behaviour? I can't find any configuration options related to this too.

This was changed recently to fix this bug:
https://sourceforge.net/tracker/index.php?func=detail&aid=1725753&group_id=2439&atid=102439

Problem context is here:
http://community.activestate.com/forum-topic/current-line-background-c

If your not wanting to show a bracematch background color, I'd guess there would need to be some code changes to first check to see if the brace highlight is set as default background color and not override the current line background if this is the case.

Thanks for your informations and links. I see now the reason for the fix. But on the other side I didn't set any background color for STYLE_BRACELIGHT. I just set the background color (white) for STYLE_DEFAULT, then I do a STYLECLEARALL and only set a foreground color for STYLE_BRACELIGHT.

So I think it's a good idea to use the caret line hightlight color as background color if no STYLE_BRACELIGHT/BADLIGHT background color is defined.


Regards,
Frank
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to