Tabnine Logo
Gutter.isFoldIndicatorEnabled
Code IndexAdd Tabnine to your IDE (free)

How to use
isFoldIndicatorEnabled
method
in
org.fife.ui.rtextarea.Gutter

Best Java code snippets using org.fife.ui.rtextarea.Gutter.isFoldIndicatorEnabled (Showing top 4 results out of 315)

origin: bobbylight/RSyntaxTextArea

/**
 * Returns whether the fold indicator is enabled.
 *
 * @return Whether the fold indicator is enabled.
 * @see #setFoldIndicatorEnabled(boolean)
 */
public boolean isFoldIndicatorEnabled() {
  return gutter.isFoldIndicatorEnabled();
}
origin: bobbylight/RSyntaxTextArea

@Test
public void testSetFoldIndicatorEnabled() {
  RTextArea textArea = new RTextArea(PLAIN_TEXT);
  Gutter gutter = new Gutter(textArea);
  Assert.assertFalse(gutter.isFoldIndicatorEnabled());
  gutter.setFoldIndicatorEnabled(true);
  Assert.assertTrue(gutter.isFoldIndicatorEnabled());
  gutter.setFoldIndicatorEnabled(false);
  Assert.assertFalse(gutter.isFoldIndicatorEnabled());
}
origin: bobbylight/RSyntaxTextArea

@Test
public void testIsFoldIndicatorEnabled() {
  RTextArea textArea = new RTextArea(PLAIN_TEXT);
  Gutter gutter = new Gutter(textArea);
  Assert.assertFalse(gutter.isFoldIndicatorEnabled());
  gutter.setFoldIndicatorEnabled(true);
  Assert.assertTrue(gutter.isFoldIndicatorEnabled());
}
origin: com.fifesoft/rsyntaxtextarea

/**
 * Returns whether the fold indicator is enabled.
 *
 * @return Whether the fold indicator is enabled.
 * @see #setFoldIndicatorEnabled(boolean)
 */
public boolean isFoldIndicatorEnabled() {
  return gutter.isFoldIndicatorEnabled();
}
org.fife.ui.rtextareaGutterisFoldIndicatorEnabled

Javadoc

Returns whether the fold indicator is enabled.

Popular methods of Gutter

  • setLineNumberColor
    Sets the color to use to paint line numbers.
  • setBackground
  • <init>
    Constructor.
  • addLineTrackingIcon
    Adds an icon that tracks an offset in the document, and is displayed adjacent to the line numbers. T
  • addOffsetTrackingIcon
    Adds an icon that tracks an offset in the document, and is displayed adjacent to the line numbers. T
  • getBookmarks
    Returns the bookmarks known to this gutter.
  • getLineNumbersEnabled
    Returns true if the line numbers are enabled and visible.
  • isIconRowHeaderEnabled
    Returns whether the icon row header is enabled.
  • setBorderColor
    Sets the color for the "border" line.
  • setIconRowHeaderEnabled
    Toggles whether the icon row header (used for breakpoints, bookmarks, etc.) is enabled.
  • setLineNumberFont
    Sets the font used for line numbers.
  • setLineNumbersEnabled
    Toggles whether or not line numbers are visible.
  • setLineNumberFont,
  • setLineNumbersEnabled,
  • toggleBookmark,
  • add,
  • getBackground,
  • getBorder,
  • getComponent,
  • getComponentCount,
  • remove,
  • repaint

Popular in Java

  • Updating database using SQL prepared statement
  • putExtra (Intent)
  • getSystemService (Context)
  • scheduleAtFixedRate (Timer)
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Runner (org.openjdk.jmh.runner)
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now