This file is indexed.

/usr/share/gtk-doc/html/pygtksourceview2/class-gtksourcelanguagemanager2.html is in python-gtksourceview2 2.10.1-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtksourceview2.LanguageManager</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="PyGtksourceview2 Reference Manual"><link rel="up" href="index.html" title="PyGtksourceview2 Reference Manual"><link rel="prev" href="class-gtksourcelanguage2.html" title="gtksourceview2.Language"><link rel="next" href="class-gtksourcemark2.html" title="gtksourceview2.Mark"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">gtksourceview2.LanguageManager</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtksourcelanguage2.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="class-gtksourcemark2.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtksourceview2.LanguageManager"><a name="class-gtksourcelanguagemanager2"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtksourceview2.LanguageManager</h2><p>gtksourceview2.LanguageManager — Languages Manager object for <a class="link" href="class-gtksourceview2.html" title="gtksourceview2.View">gtksourceview2.View</a></p></div><div class="refsect1" title="Synopsis"><a name="idp6771920"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtksourceview2.LanguageManager</span></span>(<span class="ooclass"><span class="classname"><a
href="../pygobject/class-gobject.html"
>gobject.GObject</a></span></span>):
<code class="constructorsynopsis">    <span class="methodname"><a class="link" href="class-gtksourcelanguagemanager2.html#constructor-gtksourcelanguagemanager2" title="Constructor">gtksourceview2.LanguageManager</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtksourcelanguagemanager2.html#method-gtksourcelanguagemanager2--get-language" title="gtksourceview2.LanguageManager.get_language">get_language</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>id</code></strong></span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtksourcelanguagemanager2.html#method-gtksourcelanguagemanager2--get-language-ids" title="gtksourceview2.LanguageManager.get_language_ids">get_language_ids</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtksourcelanguagemanager2.html#method-gtksourcelanguagemanager2--get-search-path" title="gtksourceview2.LanguageManager.get_search_path">get_search_path</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtksourcelanguagemanager2.html#method-gtksourcelanguagemanager2--guess-language" title="gtksourceview2.LanguageManager.guess_language">guess_language</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>filename</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>content_type</code></strong></span><span class="initializer">=None</span></span>)</code><br><code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtksourcelanguagemanager2.html#method-gtksourcelanguagemanager2--set-search-path" title="gtksourceview2.LanguageManager.set_search_path">set_search_path</a></span>(<span class="methodparam"></span>)</code><br></pre></td></tr></table><pre class="programlisting">
<span class="bold"><strong>Functions</strong></span>

<code class="methodsynopsis">    def <span class="methodname"><a class="link" href="class-gtksourcelanguagemanager2.html#function-gtksourcelanguagemanager2--get-default" title="gtksourceview2.language_manager_get_default">gtksourceview2.language_manager_get_default</a></span>(<span class="methodparam"></span>)</code></pre></div><div class="refsect1" title="Ancestry"><a name="idp6270128"></a><h2>Ancestry</h2><pre class="synopsis">+-- <a
href="../pygobject/class-gobject.html"
>gobject.GObject</a>
    +-- <a class="link" href="class-gtksourcelanguagemanager2.html" title="gtksourceview2.LanguageManager">gtksourceview2.LanguageManager</a>
</pre></div><div class="refsect1" title="Properties"><a name="idp9813584"></a><h2>Properties</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="3in"></colgroup><tbody><tr valign="top"><td valign="top">"language-ids"</td><td valign="top">Read</td><td valign="top">List of the ids of the available languages.</td></tr><tr valign="top"><td valign="top">"search-path"</td><td valign="top">Read-Write</td><td valign="top">List of directories where the language specification files (.lang) are located.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="Description"><a name="description-gtksourcelanguagemanager"></a><h2>Description</h2><p>
    Interface to manage available and custom source code language descriptions.
  </p></div><div class="refsect1" title="Constructor"><a name="constructor-gtksourcelanguagemanager2"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">gtksourceview2.LanguageManager</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code></code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a new <a class="link" href="class-gtksourcelanguagemanager2.html" title="gtksourceview2.LanguageManager"><code class="classname">gtksourceview2.LanguageManager</code></a>.</td></tr></tbody></table><p>
    Creates a new <a class="link" href="class-gtksourcelanguagemanager2.html" title="gtksourceview2.LanguageManager"><code class="classname">gtksourceview2.LanguageManager</code></a> object.
  </p></div><div class="refsect1" title="Methods"><a name="idp10772320"></a><h2>Methods</h2><div class="refsect2" title="gtksourceview2.LanguageManager.get_language"><a name="method-gtksourcelanguagemanager2--get-language"></a><h3>gtksourceview2.LanguageManager.get_language</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_language</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>id</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>id</em></span> :</span></p></td><td>an ID.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a <a class="link" href="class-gtksourcelanguage2.html" title="gtksourceview2.Language"><code class="classname">gtksourceview2.Language</code></a>,
        or <code class="literal">None</code> if there is no language identified by the given id.</td></tr></tbody></table><p>
      The <code class="methodname">get_language</code>() method gets the
      <a class="link" href="class-gtksourcelanguage2.html" title="gtksourceview2.Language"><code class="classname">gtksourceview2.Language</code></a>
      identified by the given id in the language manager.
    </p></div><div class="refsect2" title="gtksourceview2.LanguageManager.get_language_ids"><a name="method-gtksourcelanguagemanager2--get-language-ids"></a><h3>gtksourceview2.LanguageManager.get_language_ids</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_language_ids</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a list containing the ids of the available languages or
        <code class="literal">None</code> if no language is available.</td></tr></tbody></table><p>
      The <code class="methodname">get_language_ids</code>() method
      returns the ids of the available languages.
    </p></div><div class="refsect2" title="gtksourceview2.LanguageManager.get_search_path"><a name="method-gtksourcelanguagemanager2--get-search-path"></a><h3>gtksourceview2.LanguageManager.get_search_path</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">get_search_path</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a list of language files directories (as string).</td></tr></tbody></table><p>
      The <code class="methodname">get_search_path</code>() method
      gets the list directories where @lm looks for language files.
    </p></div><div class="refsect2" title="gtksourceview2.LanguageManager.guess_language"><a name="method-gtksourcelanguagemanager2--guess-language"></a><h3>gtksourceview2.LanguageManager.guess_language</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">guess_language</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>filename</code></strong></span><span class="initializer">=None</span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>content_type</code></strong></span><span class="initializer">=None</span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>filename</em></span> :</span></p></td><td>a filename in Glib filename encoding, or
        <code class="literal">None</code>.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>content_type</em></span> :</span></p></td><td>a content type (as in GIO API), or
        <code class="literal">None</code>.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a
        <a class="link" href="class-gtksourcelanguage2.html" title="gtksourceview2.Language"><code class="classname">gtksourceview2.Language</code></a>
        or <code class="literal">None</code> if there is no suitable language for given filename
        and/or content_type.</td></tr></tbody></table><p>
      The <code class="methodname">set_search_path</code>() method sets the list of directories
      where the lm looks for language files.
      If dirs is <code class="literal">None</code>, the search path is reset to default.
    </p></div><div class="refsect2" title="gtksourceview2.LanguageManager.set_search_path"><a name="method-gtksourcelanguagemanager2--set-search-path"></a><h3>gtksourceview2.LanguageManager.set_search_path</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">set_search_path</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>dirs</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>dirs</em></span> :</span></p></td><td>a list of dirs (as string).</td></tr></tbody></table><p>
      The <code class="methodname">set_search_path</code>() method sets the list of directories
      where the lm looks for language files.
      If dirs is <code class="literal">None</code>, the search path is reset to default.
    </p></div></div><div class="refsect1" title="Functions"><a name="idp10824624"></a><h2>Functions</h2><div class="refsect2" title="gtksourceview2.language_manager_get_default"><a name="function-gtksourcelanguagemanager2--get-default"></a><h3>gtksourceview2.language_manager_get_default</h3><pre class="programlisting"><code class="methodsynopsis">    def <span class="methodname">gtksourceview2.language_manager_get_default</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a <a class="link" href="class-gtksourcelanguagemanager2.html" title="gtksourceview2.LanguageManager"><code class="classname">gtksourceview2.LanguageManager</code></a>.</td></tr></tbody></table><p>
        The <code class="methodname">language_manager_get_default</code>() function Returns the default
        <a class="link" href="class-gtksourcelanguagemanager2.html" title="gtksourceview2.LanguageManager"><code class="classname">gtksourceview2.LanguageManager</code></a> instance.
      </p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gtksourcelanguage2.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="class-gtksourcemark2.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtksourceview2.Language </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtksourceview2.Mark</td></tr></table></div></body></html>