Package ca.cgjennings.ui.textedit
Class MarkdownSupport
- java.lang.Object
-
- ca.cgjennings.ui.textedit.DefaultCodeSupport
-
- ca.cgjennings.ui.textedit.MarkdownSupport
-
- All Implemented Interfaces:
CodeSupport
public class MarkdownSupport extends DefaultCodeSupport
Code support for Markdown.- Since:
- 3.4
- Author:
- Chris Jennings
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMarkdownSupport.MarkdownNavigator
-
Constructor Summary
Constructors Constructor Description MarkdownSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NavigatorcreateNavigator(NavigationHost host)Creates a suitable navigator panel for the specified code editor.voidinstall(CodeEditorBase editor)Adds support for a code type to the editor.voiduninstall(CodeEditorBase editor)Removes the previously added support.-
Methods inherited from class ca.cgjennings.ui.textedit.DefaultCodeSupport
createFormatter, fileChanged, languageIdFor
-
-
-
-
Method Detail
-
install
public void install(CodeEditorBase editor)
Description copied from interface:CodeSupportAdds support for a code type to the editor.- Specified by:
installin interfaceCodeSupport- Overrides:
installin classDefaultCodeSupport
-
uninstall
public void uninstall(CodeEditorBase editor)
Description copied from interface:CodeSupportRemoves the previously added support.- Specified by:
uninstallin interfaceCodeSupport- Overrides:
uninstallin classDefaultCodeSupport
-
createNavigator
public Navigator createNavigator(NavigationHost host)
Description copied from interface:CodeSupportCreates a suitable navigator panel for the specified code editor.- Specified by:
createNavigatorin interfaceCodeSupport- Overrides:
createNavigatorin classDefaultCodeSupport- Returns:
- the new navigator suited to the supported code type, or null if none is supported.
-
-