LanguageManager
Provides access to class@Languages.
GtkSourceLanguageManager
is an object which processes language description files and creates and stores class@Language objects, and provides API to access them.
Use func@LanguageManager.get_default to retrieve the default instance of GtkSourceLanguageManager
, and method@LanguageManager.guess_language to get a class@Language for given file name and content type.
Skipped during bindings generation
method
search-path
: Property TypeInfo of getter and setter do not match
Constructors
Functions
Appends @path to the list of directories where the @manager looks for language files.
Gets the class@Language identified by the given @id in the language manager.
Returns the ids of the available languages.
Gets the list directories where @lm looks for language files.
Picks a class@Language for given file name and content type, according to the information in lang files.
Prepends @path to the list of directories where the @manager looks for language files.
Sets the list of directories where the @lm looks for language files.