Ejemplo n.º 1
0
 /**
  * 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();
 }
Ejemplo n.º 2
0
 /**
  * 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();
 }
Ejemplo n.º 3
0
 /**
  * Sets the selection color.
  *
  * @param selectionColor The selection color
  */
 public final void setSelectionColor(Color selectionColor) {
   this.selectionColor = selectionColor;
   invalidateSelectedLines();
 }
Ejemplo n.º 4
0
 /**
  * Sets the line highlight color.
  *
  * @param lineHighlightColor The line highlight color
  */
 public final void setLineHighlightColor(Color lineHighlightColor) {
   this.lineHighlightColor = lineHighlightColor;
   invalidateSelectedLines();
 }
Ejemplo n.º 5
0
 /**
  * Sets the caret color.
  *
  * @param caretColor The caret color
  */
 public final void setCaretColor(Color caretColor) {
   this.caretColor = caretColor;
   invalidateSelectedLines();
 }