java.lang.Object
org.gjt.sp.jedit.buffer.DefaultFoldHandlerProvider
- All Implemented Interfaces:
FoldHandlerProvider
- Version:
- $Id: Buffer.java 8190 2006-12-07 07:58:34Z kpouer $
- Author:
- Matthieu Casanova
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFoldHandler
(FoldHandler foldHandler) Add a new FoldHander.getFoldHandler
(String name) Returns the fold handler with the specified name, or null if there is no registered handler with that name.String[]
Returns an array containing the names of all registered fold handlers.
-
Constructor Details
-
DefaultFoldHandlerProvider
public DefaultFoldHandlerProvider()
-
-
Method Details
-
getFoldHandler
Returns the fold handler with the specified name, or null if there is no registered handler with that name.- Specified by:
getFoldHandler
in interfaceFoldHandlerProvider
- Parameters:
name
- The name of the desired fold handler- Returns:
- the FoldHandler or null if it doesn't exist
- Since:
- jEdit 4.3pre10
-
getFoldModes
Returns an array containing the names of all registered fold handlers.- Specified by:
getFoldModes
in interfaceFoldHandlerProvider
- Since:
- jEdit 4.0pre6
-
addFoldHandler
Add a new FoldHander.- Parameters:
foldHandler
- the new foldHandler- Since:
- jEdit 4.3pre13
-