All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fife.ui.rtextarea.FoldIndicatorStyle Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 3.5.2
Show newest version
/*
 * 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
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy