Class LanguageDefinition
Represents an entire TextMate information such as grammar, theming and so on for specific language.
public class LanguageDefinition
- Inheritance
-
LanguageDefinition
Constructors
- LanguageDefinition()
Initializes a new instance of the
LanguageDefinition
class with default settings.
Properties
- Brackets
Gets a list of char pairs used as brackets for specific language.
- Configuration
Gets a TextMateSharp.Grammars.LanguageConfiguration for specific language.
- Grammar
Gets a collection of grammar rules that describe a specific language.
- GrammarDefinition
Gets a TextMateSharp.Grammars.GrammarDefinition for specific language.
- Language
Gets a language description.
- RawTheme
Gets a TextMateSharp.Themes.IRawTheme for specific language.
- Snippets
Gets a TextMateSharp.Grammars.LanguageSnippets for specific language.
- Theme
Gets a collection of colors and styles for specific language elements.
- ThemeColors
Gets a IDictionary representation of the RawTheme property.
Methods
- LoadGrammar(string)
Loads a grammar part of the language data for the given extension.
- LoadGrammarFromPath(string)
Loads a grammar part of the language data from the given file.
- LoadTheme(ThemeName)
Loads a theme part of the language data for the given theme name.
- LoadThemeFromPath(string, IRegistryOptions)
Loads a theme from the given file.
- LoadThemeFromStream(Stream, IRegistryOptions)
Loads a theme from the given file.