| java.lang.Object org.gjt.sp.jedit.syntax.ModeProvider
ModeProvider | public class ModeProvider (Code) | | author: Matthieu Casanova version: $Id: Buffer.java 8190 2006-12-07 07:58:34Z kpouer $ since: jEdit 4.3pre10 |
addMode | public void addMode(Mode mode)(Code) | | Do not call this method. It is only public so that classes
in the org.gjt.sp.jedit.syntax package can access it.
since: jEdit 4.3pre10 Parameters: mode - The edit mode |
getMode | public Mode getMode(String name)(Code) | | Returns the edit mode with the specified name.
Parameters: name - The edit mode since: jEdit 4.3pre10 |
getModeForFile | public Mode getModeForFile(String filename, String firstLine)(Code) | | Get the appropriate mode that must be used for the file
Parameters: filename - the filename Parameters: firstLine - the first line of the file the edit mode, or null if no mode match the file since: jEdit 4.3pre12 |
getModes | public Mode[] getModes()(Code) | | Returns an array of installed edit modes.
since: jEdit 4.3pre10 |
removeAll | public void removeAll()(Code) | | |
|
|