Module jEdit

Class DummyFoldHandler

java.lang.Object
org.gjt.sp.jedit.buffer.FoldHandler
org.gjt.sp.jedit.buffer.DummyFoldHandler

public class DummyFoldHandler extends FoldHandler
A fold handler that does nothing.
Since:
jEdit 4.0pre1
Version:
$Id: DummyFoldHandler.java 22962 2013-04-30 13:55:18Z kpouer $
Author:
Slava Pestov
  • Constructor Details

    • DummyFoldHandler

      public DummyFoldHandler()
  • Method Details

    • getFoldLevel

      public int getFoldLevel(JEditBuffer buffer, int lineIndex, Segment seg)
      Returns the fold level of the specified line.
      Specified by:
      getFoldLevel in class FoldHandler
      Parameters:
      buffer - The buffer in question
      lineIndex - The line index
      seg - A segment the fold handler can use to obtain any text from the buffer, if necessary
      Returns:
      The fold level of the specified line
      Since:
      jEdit 4.0pre1