/** * Enables or disables bracket highlighting. When bracket highlighting is enabled, the bracket * matching the one before the caret (if any) is highlighted. * * @param bracketHighlight True if bracket highlighting should be enabled, false otherwise */ public final void setBracketHighlightEnabled(boolean bracketHighlight) { this.bracketHighlight = bracketHighlight; invalidateLine(textArea.getBracketLine()); }
/** * Sets the bracket highlight color. * * @param bracketHighlightColor The bracket highlight color */ public final void setBracketHighlightColor(Color bracketHighlightColor) { this.bracketHighlightColor = bracketHighlightColor; invalidateLine(textArea.getBracketLine()); }