Uses of Class
ca.cgjennings.ui.textedit.CodeType
-
Packages that use CodeType Package Description ca.cgjennings.apps.arkham ca.cgjennings.apps.arkham.editors ca.cgjennings.ui.textedit -
-
Uses of CodeType in ca.cgjennings.apps.arkham
Methods in ca.cgjennings.apps.arkham that return CodeType Modifier and Type Method Description CodeType
ContextBar.Context. getCodeType()
If the current target is a code editor, returns theCodeType
of the code being edited. -
Uses of CodeType in ca.cgjennings.apps.arkham.editors
Methods in ca.cgjennings.apps.arkham.editors that return CodeType Modifier and Type Method Description CodeType
CodeEditor. getCodeType()
Methods in ca.cgjennings.apps.arkham.editors with parameters of type CodeType Modifier and Type Method Description static AbbreviationTableManager.LanguageAwareAbbreviationTable
AbbreviationTableManager. getTable(CodeType type)
Returns the shared abbreviation table for the given code type.static boolean
AbbreviationTableManager. isCodeTypeMapped(CodeType type)
Returnstrue
if the specified code type is mapped to another type for the purposes of loading an abbreviation table.static void
AbbreviationTableManager. saveUserTable(CodeType type, AbbreviationTable at)
Saves the specified table as the user table for the given code type.Constructors in ca.cgjennings.apps.arkham.editors with parameters of type CodeType Constructor Description CodeEditor(java.io.File file, CodeType codeType)
Creates a new code editor for the requested file and file type.CodeEditor(java.io.File file, java.lang.String encoding, CodeType codeType)
Creates a new code editor for the requested file, encoding, and file type.CodeEditor(java.io.File file, java.nio.charset.Charset encoding, CodeType codeType)
Creates a new code editor for the requested file, encoding, and file type.CodeEditor(java.lang.String text, CodeType codeType)
Creates a new code editor that displays text but does not allow it to be edited unless the user creates a copy using Save As.CodeEditor(java.lang.String text, java.lang.String encoding, CodeType codeType)
Creates a new code editor that displays text but does not allow it to be edited unless the user creates a copy using Save As. -
Uses of CodeType in ca.cgjennings.ui.textedit
Methods in ca.cgjennings.ui.textedit that return CodeType Modifier and Type Method Description static CodeType
CodeType. forFile(java.io.File f)
Return the type of this file, based on its extension, or null.CodeType
CodeEditorBase. getCodeType()
Returns the code type used for syntax highlighting and related features.CodeType
CodeType. normalize()
Normalizes the code type by converting variant types to their common base type.static CodeType
CodeType. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CodeType[]
CodeType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in ca.cgjennings.ui.textedit with parameters of type CodeType Modifier and Type Method Description void
CodeEditorBase. setCodeType(CodeType type)
Changes the code type used for syntax highlighting and enables any additional support features that are available for the language.void
CodeEditorBase. setCodeType(CodeType type, boolean enableAdvancedFeatures)
Changes the code type used for syntax highlighting.Constructors in ca.cgjennings.ui.textedit with parameters of type CodeType Constructor Description HtmlStyler(CodeType type)
Creates a new styler for the specified code type.HtmlStyler(CodeType type, boolean noBackgroundColor, boolean noFontStyles, boolean matchTheme)
Creates a new styler for the specified code type.
-