Query: gtk2::sourceview2::languagemanager
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Gtk2::SourceView2::LanguageManager(3pm) User Contributed Perl Documentation Gtk2::SourceView2::LanguageManager(3pm)NAMEGtk2::SourceView2::LanguageManagerHIERARCHYGlib::Object +----Gtk2::SourceView2::LanguageManagerMETHODSlanguagemanager = Gtk2::SourceView2::LanguageManager->new languagemanager = Gtk2::SourceView2::LanguageManager->get_default language or undef = $lm->guess_language ($filename, $content_type=undef) o $filename (string or undef) o $content_type (string or undef) language or undef = $lm->get_language ($id) o $id (string) list = $lm->get_language_ids list = $lm->get_search_path $lm->set_search_path (...) o ... (list) Sets the list of directories where the lm looks for language files. If no dirs are given (empty list) then the search path is cleared, if "undef" is passed then the search path is reset to default. Note: At the moment this function can be called only before the language files are loaded for the first time. In practice to set a custom search path for a Gtk2::SourceLanguageManager, you have to call this function right after creating it.PROPERTIES'language-ids' (Glib::Strv : default undef : readable) List of the ids of the available languages 'search-path' (Glib::Strv : default undef : readable / writable) List of directories where the language specification files (.lang) are locatedSEE ALSOGtk2::SourceView2, Glib::ObjectCOPYRIGHTCopyright (C) 2009 by Emmanuel Rodriguez perl v5.14.2 2011-11-16 Gtk2::SourceView2::LanguageManager(3pm)
Similar Topics in the Unix Linux Community |
---|
What is the Best way to search files for a string?? |
undef |
List file's name and search string's Line |
how to search |
How to list the files having particular string in it ? |