Mentioned plugins/lib

master
Yevgen Muntyan 2007-11-26 02:46:27 -06:00
parent b63da1d89e
commit 530b8e40f5
3 changed files with 8 additions and 3 deletions

View File

@ -40,6 +40,7 @@ medit.lo: build-help
prefs.lo: build-help prefs.lo: build-help
prefs-file.lo: build-help prefs-file.lo: build-help
license.lo: build-help license.lo: build-help
user-tools.lo: build-help
############################################################################# #############################################################################
# Standard automake stuff # Standard automake stuff

View File

@ -1,13 +1,13 @@
<!-- ========== prefs-langs-and-filters ========== --> <!-- ========== prefs-langs-and-filters ========== -->
<section id="prefs-langs-and-filters"> <section id="prefs-langs-and-filters">
<title>Selecting options and languages</title> <title>Selecting editing options and languages</title>
<para> <para>
<guilabel>Languages and files</guilabel> tab in the <guilabel>Editor</guilabel> <guilabel>Languages and files</guilabel> tab in the <guilabel>Editor</guilabel>
section of the <interface>Preferences</interface> dialog allows customizing section of the <interface>Preferences</interface> dialog allows customizing
how syntax highlighting language and a number of editing options are chosen how syntax highlighting language and editing options are chosen
depending on the document filename, as well as setting editing options for depending on the document filename, as well as setting editing options for
all documents which use given language and choosing file patterns and mime types all documents which use given language and choosing file patterns and mime types
for which given language should be used. for which the given language should be used.
</para> </para>
<!-- ========== Language-specific options ========== --> <!-- ========== Language-specific options ========== -->

View File

@ -244,6 +244,10 @@ an example or to modify to suit your needs.
<symbol>gtk.TextView</symbol> class, and all editing operations can be implemented using <symbol>gtk.TextView</symbol> class, and all editing operations can be implemented using
<symbol>pygtk</symbol> API. <symbol>pygtk</symbol> API.
</para><para> </para><para>
Python scripts executed from inside &app; have <filename>LIBDIR/plugins/lib</filename>
and <filename>USERDATADIR/plugins/lib</filename> directories added to <symbol>sys.path</symbol>,
you can place there &app;-specific modules to be used from python tools.
</para><para>
Python scripts have the following variables predefined: Python scripts have the following variables predefined:
</para> </para>
<itemizedlist> <itemizedlist>