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