From: Peter G. <pe...@ar...> - 2002-07-10 14:34:51
|
A new 0.15.3+ development snapshot is up: http://armedbear.org/j.zip (source) http://armedbear.org/j-jar.zip (just j.jar) > One more note on the feature. Would it be possible to have J > highlight both the matching and the matcher? I think that it > would make it a more complete visual cue. This is done. There are now two different preferences you can set: highlightMatchingBracket = true highlightBrackets = true If highlightBrackets is true, both the beginning and end character of the matching pair are highlighted. If highlightMatchingBracket is true and highlightBrackets is false, the matching character (only) is highlighted. If both highlightBrackets and highlightMatchingBracket are true, both characters are highlighted, as you'd expect. I think maybe we could lose the highlightMatchingBracket preference, since I agree with Mike that highlightBrackets = true provides a better visual cue, but since it's there and working I left it in. Both preferences are false by default, so by default there is no bracket matching at all (except for. Finally, I've updated color.matchingBracketBackground for the officially supported themes (Kodiak, AnokhaClassic, Dark and Freefloater) so that at least the bracket highlight is visible. In general, I've just re-used color.selectionBackground, which seems to work OK except for Dark (which gets red for now). Feel free to send me updates with better colors for the themes you maintain. Thanks. -Peter |