org.fife.ui.rtextarea.CaretStyle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rsyntaxtextarea Show documentation
Show all versions of rsyntaxtextarea Show documentation
RSyntaxTextArea is the syntax highlighting text editor for Swing applications. Features include syntax highlighting for 40+ languages, code folding, code completion, regex find and replace, macros, code templates, undo/redo, line numbering and bracket matching.
/*
* 04/23/2014
*
* This library is distributed under a modified BSD license. See the included
* RSyntaxTextArea.License.txt file for details.
*/
package org.fife.ui.rtextarea;
/**
* Provides various ways to render a caret such as {@link ConfigurableCaret}..
*
* Currently supported renderings include:
*
*
* - As a vertical line (like
DefaultCaret
)
* - As a slightly thicker vertical line (like Eclipse)
* - As an underline
* - As a "block caret"
* - As a rectangle around the current character
*
*
* @author Robert Futrell
* @version 1.0
*/
public enum CaretStyle {
VERTICAL_LINE_STYLE,
UNDERLINE_STYLE,
BLOCK_STYLE,
BLOCK_BORDER_STYLE,
THICK_VERTICAL_LINE_STYLE;
}