org.fife.ui.rtextarea.FoldIndicatorStyle 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.
/*
* This library is distributed under a modified BSD license. See the included
* LICENSE file for details.
*/
package org.fife.ui.rtextarea;
/**
* Different rendering styles for the fold indicator inside a {@code Gutter}.
*
* @author Robert Futrell
* @version 1.0
*/
public enum FoldIndicatorStyle {
/**
* Fold icons are rendered as +/- symbols in boxes. When the user hovers
* over an expanded fold's icon, a line is drawn to indicate the range
* of lines in the editor that belong to that fold's region.
*/
CLASSIC,
/**
* Fold icons are rendered as a chevron indicating the fold's
* collapsed or expanded state. There is no visual indication of
* a fold's line range.
*/
MODERN
}