gtk2::sourceview2::languagemanager(3pm) [debian man page]
Gtk2::SourceView2::LanguageManager(3pm) User Contributed Perl Documentation Gtk2::SourceView2::LanguageManager(3pm)NAME
Gtk2::SourceView2::LanguageManager
HIERARCHY
Glib::Object
+----Gtk2::SourceView2::LanguageManager
METHODS
languagemanager = 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 located
SEE ALSO
Gtk2::SourceView2, Glib::Object
COPYRIGHT
Copyright (C) 2009 by Emmanuel Rodriguez
perl v5.14.2 2011-11-16 Gtk2::SourceView2::LanguageManager(3pm)
Check Out this Related Man Page
Gtk2::SourceView2::StyleSchemeManager(3pm) User Contributed Perl Documentation Gtk2::SourceView2::StyleSchemeManager(3pm)NAME
Gtk2::SourceView2::StyleSchemeManager
HIERARCHY
Glib::Object
+----Gtk2::SourceView2::StyleSchemeManager
METHODS
styleschememanager = Gtk2::SourceView2::StyleSchemeManager->new
$manager->append_search_path ($path)
o $path (string)
styleschememanager = Gtk2::SourceView2::StyleSchemeManager->get_default
$manager->force_rescan
$manager->prepend_search_path ($path)
o $path (string)
stylescheme = $manager->get_scheme ($scheme_id)
o $scheme_id (string)
list = $manager->get_scheme_ids
list = $manager->get_search_path
$manager->set_search_path (...)
o ... (list)
Sets the list of directories where the manager looks for style scheme 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.
PROPERTIES
'scheme-ids' (Glib::Strv : default undef : readable)
List of the ids of the available style schemes
'search-path' (Glib::Strv : default undef : readable / writable)
List of directories and files where the style schemes are located
SEE ALSO
Gtk2::SourceView2, Glib::Object
COPYRIGHT
Copyright (C) 2009 by Emmanuel Rodriguez
perl v5.14.2 2011-11-16 Gtk2::SourceView2::StyleSchemeManager(3pm)
I'm looking to seach all the files in a directory and sub-directories looking for a string. When the string is found, I want to display the filename and the entire line of that file that the string was found on.
what is the best way to do this ?? I've been playing around with awk, find, and... (15 Replies)
Hi all,
My need is:
To list out all the java / jsp files having System.out.println in my project.
I need the output as:
/home/me/project/file1.java
somejavacode
somejavacode
System.out.println("something");
somejavacode
somejavacode
somejavacode
/home/me/project/file2.java... (8 Replies)
Hi All
1- error logs talk this format file_name-2011-11-01.txt.gz
2- how to for string in all files from 01-11-2011 till 30-11-2011
3- how to search for multiple string in the same file
4- is that possible to search for multiple string in multiple files (1 Reply)