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

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

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

origin: bobbylight/RSyntaxTextArea

/**
 * Returns <code>true</code> if the line numbers are enabled and visible.
 *
 * @return Whether or not line numbers are visible.
 * @see #setLineNumbersEnabled(boolean)
 */
public boolean getLineNumbersEnabled() {
  return gutter.getLineNumbersEnabled();
}
origin: bobbylight/RSyntaxTextArea

@Test
public void testSetLineNumbersEnabled() {
  RTextArea textArea = new RTextArea(PLAIN_TEXT);
  Gutter gutter = new Gutter(textArea);
  Assert.assertTrue(gutter.getLineNumbersEnabled());
  gutter.setLineNumbersEnabled(true);
  Assert.assertTrue(gutter.getLineNumbersEnabled());
}
origin: bobbylight/RSyntaxTextArea

@Test
public void testGetLineNumbersEnabled() {
  RTextArea textArea = new RTextArea(PLAIN_TEXT);
  Gutter gutter = new Gutter(textArea);
  Assert.assertTrue(gutter.getLineNumbersEnabled());
  gutter.setLineNumbersEnabled(false);
  Assert.assertFalse(gutter.getLineNumbersEnabled());
}
origin: org.codehaus.jtstand/jtstand-editor

/**
 * Returns <code>true</code> if the line numbers are enabled and visible.
 *
 * @return Whether or not line numbers are visible.
 * @see #setLineNumbersEnabled(boolean)
 */
public boolean getLineNumbersEnabled() {
  return gutter.getLineNumbersEnabled();
}
origin: com.fifesoft/rsyntaxtextarea

/**
 * Returns <code>true</code> if the line numbers are enabled and visible.
 *
 * @return Whether or not line numbers are visible.
 * @see #setLineNumbersEnabled(boolean)
 */
public boolean getLineNumbersEnabled() {
  return gutter.getLineNumbersEnabled();
}
origin: org.nuiton.thirdparty/rsyntaxtextarea

/**
 * Returns <code>true</code> if the line numbers are enabled and visible.
 *
 * @return Whether or not line numbers are visible.
 * @see #setLineNumbersEnabled(boolean)
 */
public boolean getLineNumbersEnabled() {
  return gutter.getLineNumbersEnabled();
}
org.fife.ui.rtextareaGuttergetLineNumbersEnabled

Javadoc

Returns true if the line numbers are enabled and visible.

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.
  • 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.
  • toggleBookmark
    Programatically toggles whether there is a bookmark for the specified line. If bookmarking is not en
  • setLineNumbersEnabled,
  • toggleBookmark,
  • add,
  • getBackground,
  • getBorder,
  • getComponent,
  • getComponentCount,
  • remove,
  • repaint

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSystemService (Context)
  • getExternalFilesDir (Context)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • JButton (javax.swing)
  • JTextField (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Table (org.hibernate.mapping)
    A relational table
  • CodeWhisperer alternatives
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