/** * Sets if the caret should be drawn as a block, false otherwise. * * @param blockCaret True if the caret should be drawn as a block, false otherwise. */ public final void setBlockCaretEnabled(boolean blockCaret) { this.blockCaret = blockCaret; invalidateSelectedLines(); }
/** * Enables or disables current line highlighting. * * @param lineHighlight True if current line highlight should be enabled, false otherwise */ public final void setLineHighlightEnabled(boolean lineHighlight) { this.lineHighlight = lineHighlight; invalidateSelectedLines(); }
/** * Sets the selection color. * * @param selectionColor The selection color */ public final void setSelectionColor(Color selectionColor) { this.selectionColor = selectionColor; invalidateSelectedLines(); }
/** * Sets the line highlight color. * * @param lineHighlightColor The line highlight color */ public final void setLineHighlightColor(Color lineHighlightColor) { this.lineHighlightColor = lineHighlightColor; invalidateSelectedLines(); }
/** * Sets the caret color. * * @param caretColor The caret color */ public final void setCaretColor(Color caretColor) { this.caretColor = caretColor; invalidateSelectedLines(); }