Renamed Xedit -> Xed (avoid name clash with x11-apps's xedit)
12
HACKING
|
@ -1,13 +1,13 @@
|
||||||
guidelines for xedit
|
guidelines for xed
|
||||||
====================
|
====================
|
||||||
|
|
||||||
xedit source code is maintained using the git version control system
|
xed source code is maintained using the git version control system
|
||||||
and is available at the following location:
|
and is available at the following location:
|
||||||
|
|
||||||
https://github.com/linuxmint/xedit
|
https://github.com/linuxmint/xed
|
||||||
|
|
||||||
Please don't commit directly to the git repository unless
|
Please don't commit directly to the git repository unless
|
||||||
you have been given the green light to commit freely to xedit.
|
you have been given the green light to commit freely to xed.
|
||||||
When in doubt assume you haven't ;-).
|
When in doubt assume you haven't ;-).
|
||||||
|
|
||||||
Please attach patches in GitHub.
|
Please attach patches in GitHub.
|
||||||
|
@ -23,7 +23,7 @@ your help, I just want to review these fixes before applying.
|
||||||
If you are a "build sheriff", feel free to commit fixes for build and
|
If you are a "build sheriff", feel free to commit fixes for build and
|
||||||
configure (please, send me an e-mail with the patch you have applied).
|
configure (please, send me an e-mail with the patch you have applied).
|
||||||
|
|
||||||
When committing to the xedit git repository make sure to include a
|
When committing to the xed git repository make sure to include a
|
||||||
meaningful commit message. Changes without a sufficient commit message
|
meaningful commit message. Changes without a sufficient commit message
|
||||||
will be reverted. Commit messages should have the following format:
|
will be reverted. Commit messages should have the following format:
|
||||||
|
|
||||||
|
@ -54,4 +54,4 @@ tracker reference if applicable) and so forth. Be concise but not too brief.
|
||||||
|
|
||||||
Thanks,
|
Thanks,
|
||||||
|
|
||||||
The xedit team.
|
The xed team.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
## Process this file with automake to produce Makefile.in
|
## Process this file with automake to produce Makefile.in
|
||||||
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
||||||
|
|
||||||
SUBDIRS = xedit pixmaps po data plugin-loaders plugins docs help
|
SUBDIRS = xed pixmaps po data plugin-loaders plugins docs help
|
||||||
|
|
||||||
if ENABLE_TESTS
|
if ENABLE_TESTS
|
||||||
SUBDIRS += tests
|
SUBDIRS += tests
|
||||||
|
|
22
NEWS
|
@ -1,13 +1,13 @@
|
||||||
xedit 1.13.0
|
xed 1.13.0
|
||||||
============
|
============
|
||||||
|
|
||||||
xedit 1.12.1
|
xed 1.12.1
|
||||||
============
|
============
|
||||||
|
|
||||||
* Add --without-matedesktop option to enable build without
|
* Add --without-matedesktop option to enable build without
|
||||||
dependency on libmate-desktop
|
dependency on libmate-desktop
|
||||||
|
|
||||||
xedit 1.12.0
|
xed 1.12.0
|
||||||
============
|
============
|
||||||
|
|
||||||
* Add --enable-tests option to enable/disable running tests
|
* Add --enable-tests option to enable/disable running tests
|
||||||
|
@ -16,12 +16,12 @@ xedit 1.12.0
|
||||||
* Bring back active plugins listing in bugreport script
|
* Bring back active plugins listing in bugreport script
|
||||||
* Drop support for win32/osx and checkupdate plugin
|
* Drop support for win32/osx and checkupdate plugin
|
||||||
* Retrieve strings directly from gschema (requires intltool 0.50.1)
|
* Retrieve strings directly from gschema (requires intltool 0.50.1)
|
||||||
* Capitalize Xedit in window titles and desktop file
|
* Capitalize Xed in window titles and desktop file
|
||||||
* GTK3. fix print-preview
|
* GTK3. fix print-preview
|
||||||
* Some annotation fixes
|
* Some annotation fixes
|
||||||
* Some minor fixes and cleanups
|
* Some minor fixes and cleanups
|
||||||
|
|
||||||
xedit 1.10.2
|
xed 1.10.2
|
||||||
============
|
============
|
||||||
|
|
||||||
* Window title: display full path to files on mounted drives
|
* Window title: display full path to files on mounted drives
|
||||||
|
@ -30,7 +30,7 @@ xedit 1.10.2
|
||||||
* Time plugin: GTK+3 fix
|
* Time plugin: GTK+3 fix
|
||||||
* Multiple help fixes
|
* Multiple help fixes
|
||||||
|
|
||||||
xedit 1.10.1
|
xed 1.10.1
|
||||||
============
|
============
|
||||||
|
|
||||||
* Fix gschema translations
|
* Fix gschema translations
|
||||||
|
@ -38,18 +38,18 @@ xedit 1.10.1
|
||||||
* Fix man page formatting
|
* Fix man page formatting
|
||||||
* Build system fixes
|
* Build system fixes
|
||||||
|
|
||||||
xedit 1.10.0
|
xed 1.10.0
|
||||||
============
|
============
|
||||||
|
|
||||||
* Use MateAboutDialog from libmate-desktop
|
* Use MateAboutDialog from libmate-desktop
|
||||||
|
|
||||||
xedit 1.8.1
|
xed 1.8.1
|
||||||
===========
|
===========
|
||||||
|
|
||||||
* Fix go to line crash
|
* Fix go to line crash
|
||||||
* Translations updates
|
* Translations updates
|
||||||
|
|
||||||
xedit 1.8.0
|
xed 1.8.0
|
||||||
===========
|
===========
|
||||||
|
|
||||||
* Add GTK3 support
|
* Add GTK3 support
|
||||||
|
@ -57,9 +57,9 @@ xedit 1.8.0
|
||||||
* Move user plugin dir from config_dir to data_dir. Plugins should have
|
* Move user plugin dir from config_dir to data_dir. Plugins should have
|
||||||
never been installed in the config dir as they are not part of the
|
never been installed in the config dir as they are not part of the
|
||||||
configuration. This means user will need to move the plugins directory
|
configuration. This means user will need to move the plugins directory
|
||||||
from: $HOME/.config/xedit/ to $HOME/.local/share/xedit/.
|
from: $HOME/.config/xed/ to $HOME/.local/share/xed/.
|
||||||
|
|
||||||
xedit 1.5.0
|
xed 1.5.0
|
||||||
===========
|
===========
|
||||||
|
|
||||||
* Migration to GSettings and drop mateconf
|
* Migration to GSettings and drop mateconf
|
||||||
|
|
14
README
|
@ -1,12 +1,12 @@
|
||||||
General Information
|
General Information
|
||||||
===================
|
===================
|
||||||
|
|
||||||
xedit is a small and lightweight text editor.
|
xed is a small and lightweight text editor.
|
||||||
|
|
||||||
xedit supports most standard editing features, plus several not found in your
|
xed supports most standard editing features, plus several not found in your
|
||||||
average text editor (plugins being the most notable of these).
|
average text editor (plugins being the most notable of these).
|
||||||
|
|
||||||
Although new features are always under development, currently xedit has:
|
Although new features are always under development, currently xed has:
|
||||||
|
|
||||||
* Complete support for UTF-8 text
|
* Complete support for UTF-8 text
|
||||||
* Syntax highlighting
|
* Syntax highlighting
|
||||||
|
@ -17,7 +17,7 @@ Although new features are always under development, currently xedit has:
|
||||||
* A complete preferences interface
|
* A complete preferences interface
|
||||||
* Configurable Plugin system, with optional python support
|
* Configurable Plugin system, with optional python support
|
||||||
|
|
||||||
Some of the plugins, packaged and installed with xedit include, among others:
|
Some of the plugins, packaged and installed with xed include, among others:
|
||||||
|
|
||||||
* Word count
|
* Word count
|
||||||
* Spell checker
|
* Spell checker
|
||||||
|
@ -27,7 +27,7 @@ Some of the plugins, packaged and installed with xedit include, among others:
|
||||||
* Insert Date/Time
|
* Insert Date/Time
|
||||||
* Tag list
|
* Tag list
|
||||||
|
|
||||||
xedit is released under the GNU General Public License (GPL) version 2, see
|
xed is released under the GNU General Public License (GPL) version 2, see
|
||||||
the file 'COPYING' for more information.
|
the file 'COPYING' for more information.
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
|
@ -36,6 +36,6 @@ Installation
|
||||||
Simple install procedure:
|
Simple install procedure:
|
||||||
|
|
||||||
% ./autogen.sh # run the `configure' script
|
% ./autogen.sh # run the `configure' script
|
||||||
% make # build xedit
|
% make # build xed
|
||||||
[ Become root if necessary ]
|
[ Become root if necessary ]
|
||||||
% make install # install xedit
|
% make install # install xed
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
srcdir=`dirname $0`
|
srcdir=`dirname $0`
|
||||||
test -z "$srcdir" && srcdir=.
|
test -z "$srcdir" && srcdir=.
|
||||||
|
|
||||||
PKG_NAME="xedit"
|
PKG_NAME="xed"
|
||||||
|
|
||||||
(test -f $srcdir/configure.ac) || {
|
(test -f $srcdir/configure.ac) || {
|
||||||
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
|
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
|
||||||
|
|
64
configure.ac
|
@ -2,25 +2,25 @@ dnl Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
AC_PREREQ(2.63.2)
|
AC_PREREQ(2.63.2)
|
||||||
|
|
||||||
m4_define(xedit_major_version, 1)
|
m4_define(xed_major_version, 1)
|
||||||
m4_define(xedit_minor_version, 0)
|
m4_define(xed_minor_version, 0)
|
||||||
m4_define(xedit_micro_version, 1)
|
m4_define(xed_micro_version, 1)
|
||||||
m4_define(xedit_version, xedit_major_version.xedit_minor_version.xedit_micro_version)
|
m4_define(xed_version, xed_major_version.xed_minor_version.xed_micro_version)
|
||||||
|
|
||||||
AC_INIT([xedit], [xedit_version],
|
AC_INIT([xed], [xed_version],
|
||||||
[https://github.com/linuxmint/xedit/issues],
|
[https://github.com/linuxmint/xed/issues],
|
||||||
[xedit], [http://github.com/linuxmint/xedit])
|
[xed], [http://github.com/linuxmint/xed])
|
||||||
|
|
||||||
AC_CONFIG_HEADERS(config.h)
|
AC_CONFIG_HEADERS(config.h)
|
||||||
AC_CONFIG_SRCDIR(xedit/xedit.c)
|
AC_CONFIG_SRCDIR(xed/xed.c)
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
|
||||||
AC_DEFINE(XEDIT_MAJOR_VERSION, xedit_major_version, [Xedit major version])
|
AC_DEFINE(XED_MAJOR_VERSION, xed_major_version, [Xed major version])
|
||||||
AC_SUBST(XEDIT_MAJOR_VERSION, xedit_major_version)
|
AC_SUBST(XED_MAJOR_VERSION, xed_major_version)
|
||||||
AC_DEFINE(XEDIT_MINOR_VERSION, xedit_minor_version, [Xedit minor version])
|
AC_DEFINE(XED_MINOR_VERSION, xed_minor_version, [Xed minor version])
|
||||||
AC_SUBST(XEDIT_MINOR_VERSION, xedit_minor_version)
|
AC_SUBST(XED_MINOR_VERSION, xed_minor_version)
|
||||||
AC_DEFINE(XEDIT_MICRO_VERSION, xedit_micro_version, [Xedit micro version])
|
AC_DEFINE(XED_MICRO_VERSION, xed_micro_version, [Xed micro version])
|
||||||
AC_SUBST(XEDIT_MICRO_VERSION, xedit_micro_version)
|
AC_SUBST(XED_MICRO_VERSION, xed_micro_version)
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE([1.10 dist-xz no-dist-gzip -Wno-portability check-news])
|
AM_INIT_AUTOMAKE([1.10 dist-xz no-dist-gzip -Wno-portability check-news])
|
||||||
AM_MAINTAINER_MODE
|
AM_MAINTAINER_MODE
|
||||||
|
@ -46,7 +46,7 @@ dnl make sure we keep ACLOCAL_FLAGS around for maintainer builds to work
|
||||||
AC_SUBST(ACLOCAL_AMFLAGS, "$ACLOCAL_FLAGS -I m4")
|
AC_SUBST(ACLOCAL_AMFLAGS, "$ACLOCAL_FLAGS -I m4")
|
||||||
|
|
||||||
dnl toolbar style for GSettings schemas
|
dnl toolbar style for GSettings schemas
|
||||||
TOOLBAR_STYLE="XEDIT_TOOLBAR_SYSTEM"
|
TOOLBAR_STYLE="XED_TOOLBAR_SYSTEM"
|
||||||
AC_SUBST(TOOLBAR_STYLE)
|
AC_SUBST(TOOLBAR_STYLE)
|
||||||
|
|
||||||
# GLib min/max required versions
|
# GLib min/max required versions
|
||||||
|
@ -62,7 +62,7 @@ dnl ===============================================================
|
||||||
# This macro expands DIR and assigns it to RET.
|
# This macro expands DIR and assigns it to RET.
|
||||||
# If DIR is NONE, then it's replaced by DEFAULT.
|
# If DIR is NONE, then it's replaced by DEFAULT.
|
||||||
# Based on AC_DEFINE_DIR
|
# Based on AC_DEFINE_DIR
|
||||||
AC_DEFUN([XEDIT_FULLPATH], [
|
AC_DEFUN([XED_FULLPATH], [
|
||||||
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
|
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
|
||||||
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
||||||
ac_expand=[$]$1
|
ac_expand=[$]$1
|
||||||
|
@ -76,7 +76,7 @@ dnl Gettext stuff.
|
||||||
dnl ================================================================
|
dnl ================================================================
|
||||||
|
|
||||||
IT_PROG_INTLTOOL([0.50.1])
|
IT_PROG_INTLTOOL([0.50.1])
|
||||||
GETTEXT_PACKAGE=xedit
|
GETTEXT_PACKAGE=xed
|
||||||
AC_SUBST([GETTEXT_PACKAGE])
|
AC_SUBST([GETTEXT_PACKAGE])
|
||||||
AM_GLIB_GNU_GETTEXT
|
AM_GLIB_GNU_GETTEXT
|
||||||
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Define to the Gettext package name])
|
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Define to the Gettext package name])
|
||||||
|
@ -169,7 +169,7 @@ esac
|
||||||
AC_SUBST(GTK_API_VERSION)
|
AC_SUBST(GTK_API_VERSION)
|
||||||
|
|
||||||
PKG_CHECK_MODULES(GMODULE,gmodule-2.0,[GMODULE_ADD="gmodule-2.0"],[GMODULE_ADD=""])
|
PKG_CHECK_MODULES(GMODULE,gmodule-2.0,[GMODULE_ADD="gmodule-2.0"],[GMODULE_ADD=""])
|
||||||
PKG_CHECK_MODULES(XEDIT, [
|
PKG_CHECK_MODULES(XED, [
|
||||||
libxml-2.0 >= 2.5.0
|
libxml-2.0 >= 2.5.0
|
||||||
glib-2.0 >= 2.36.0
|
glib-2.0 >= 2.36.0
|
||||||
$GMODULE_ADD
|
$GMODULE_ADD
|
||||||
|
@ -181,11 +181,11 @@ PKG_CHECK_MODULES(XEDIT, [
|
||||||
|
|
||||||
PKG_CHECK_MODULES(X11, [x11])
|
PKG_CHECK_MODULES(X11, [x11])
|
||||||
|
|
||||||
XEDIT_CFLAGS="$XEDIT_CFLAGS $X11_CFLAGS"
|
XED_CFLAGS="$XED_CFLAGS $X11_CFLAGS"
|
||||||
XEDIT_LIBS="$XEDIT_LIBS $X11_LIBS"
|
XED_LIBS="$XED_LIBS $X11_LIBS"
|
||||||
|
|
||||||
AC_SUBST(XEDIT_CFLAGS)
|
AC_SUBST(XED_CFLAGS)
|
||||||
AC_SUBST(XEDIT_LIBS)
|
AC_SUBST(XED_LIBS)
|
||||||
|
|
||||||
PKG_CHECK_MODULES(EGG_SMCLIENT, [sm >= 1.0.0])
|
PKG_CHECK_MODULES(EGG_SMCLIENT, [sm >= 1.0.0])
|
||||||
|
|
||||||
|
@ -351,26 +351,26 @@ LOADER_LIBTOOL_FLAGS="-module -avoid-version"
|
||||||
AC_SUBST(PLUGIN_LIBTOOL_FLAGS)
|
AC_SUBST(PLUGIN_LIBTOOL_FLAGS)
|
||||||
AC_SUBST(LOADER_LIBTOOL_FLAGS)
|
AC_SUBST(LOADER_LIBTOOL_FLAGS)
|
||||||
|
|
||||||
XEDIT_PLUGINS_DATA_DIR="$datadir/xedit/plugins"
|
XED_PLUGINS_DATA_DIR="$datadir/xed/plugins"
|
||||||
AC_SUBST(XEDIT_PLUGINS_DATA_DIR)
|
AC_SUBST(XED_PLUGINS_DATA_DIR)
|
||||||
|
|
||||||
XEDIT_PLUGINS_LIBS_DIR="$libdir/xedit/plugins"
|
XED_PLUGINS_LIBS_DIR="$libdir/xed/plugins"
|
||||||
AC_SUBST(XEDIT_PLUGINS_LIBS_DIR)
|
AC_SUBST(XED_PLUGINS_LIBS_DIR)
|
||||||
|
|
||||||
YELP_HELP_INIT
|
YELP_HELP_INIT
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
Makefile
|
Makefile
|
||||||
data/xedit.desktop.in
|
data/xed.desktop.in
|
||||||
data/xedit-bugreport.sh
|
data/xed-bugreport.sh
|
||||||
data/xedit.pc
|
data/xed.pc
|
||||||
data/org.x.editor.gschema.xml
|
data/org.x.editor.gschema.xml
|
||||||
data/Makefile
|
data/Makefile
|
||||||
docs/Makefile
|
docs/Makefile
|
||||||
docs/reference/Makefile
|
docs/reference/Makefile
|
||||||
xedit/dialogs/Makefile
|
xed/dialogs/Makefile
|
||||||
xedit/smclient/Makefile
|
xed/smclient/Makefile
|
||||||
xedit/Makefile
|
xed/Makefile
|
||||||
help/Makefile
|
help/Makefile
|
||||||
pixmaps/Makefile
|
pixmaps/Makefile
|
||||||
plugin-loaders/Makefile
|
plugin-loaders/Makefile
|
||||||
|
|
|
@ -1,30 +1,30 @@
|
||||||
desktopdir = $(datadir)/applications
|
desktopdir = $(datadir)/applications
|
||||||
desktop_in_files = xedit.desktop.in
|
desktop_in_files = xed.desktop.in
|
||||||
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
||||||
@INTLTOOL_DESKTOP_RULE@
|
@INTLTOOL_DESKTOP_RULE@
|
||||||
|
|
||||||
@INTLTOOL_XML_RULE@
|
@INTLTOOL_XML_RULE@
|
||||||
appdatadir = $(datadir)/appdata
|
appdatadir = $(datadir)/appdata
|
||||||
appdata_in_files = xedit.appdata.xml.in
|
appdata_in_files = xed.appdata.xml.in
|
||||||
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
|
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
|
||||||
|
|
||||||
gsettings_SCHEMAS = org.x.editor.gschema.xml
|
gsettings_SCHEMAS = org.x.editor.gschema.xml
|
||||||
@GSETTINGS_RULES@
|
@GSETTINGS_RULES@
|
||||||
|
|
||||||
man_MANS = xedit.1
|
man_MANS = xed.1
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = xedit.pc
|
pkgconfig_DATA = xed.pc
|
||||||
|
|
||||||
bugreportdir = $(libexecdir)/xedit
|
bugreportdir = $(libexecdir)/xed
|
||||||
bugreport_SCRIPTS = xedit-bugreport.sh
|
bugreport_SCRIPTS = xed-bugreport.sh
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(appdata_in_files) \
|
$(appdata_in_files) \
|
||||||
$(desktop_in_files) \
|
$(desktop_in_files) \
|
||||||
$(man_MANS) \
|
$(man_MANS) \
|
||||||
xedit.pc.in \
|
xed.pc.in \
|
||||||
xedit-bugreport.sh.in
|
xed-bugreport.sh.in
|
||||||
|
|
||||||
CLEANFILES = \
|
CLEANFILES = \
|
||||||
$(desktop_DATA) \
|
$(desktop_DATA) \
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<key name="use-default-font" type="b">
|
<key name="use-default-font" type="b">
|
||||||
<default>true</default>
|
<default>true</default>
|
||||||
<summary>Use Default Font</summary>
|
<summary>Use Default Font</summary>
|
||||||
<description>Whether to use the system's default fixed width font for editing text instead of a font specific to xedit. If this option is turned off, then the font named in the "Editor Font" option will be used instead of the system font.</description>
|
<description>Whether to use the system's default fixed width font for editing text instead of a font specific to xed. If this option is turned off, then the font named in the "Editor Font" option will be used instead of the system font.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="editor-font" type="s">
|
<key name="editor-font" type="s">
|
||||||
<default context="editor-font" l10n="messages">'Monospace 12'</default>
|
<default context="editor-font" l10n="messages">'Monospace 12'</default>
|
||||||
|
@ -19,27 +19,27 @@
|
||||||
<key name="create-backup-copy" type="b">
|
<key name="create-backup-copy" type="b">
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
<summary>Create Backup Copies</summary>
|
<summary>Create Backup Copies</summary>
|
||||||
<description>Whether xedit should create backup copies for the files it saves. You can set the backup file extension with the "Backup Copy Extension" option.</description>
|
<description>Whether xed should create backup copies for the files it saves. You can set the backup file extension with the "Backup Copy Extension" option.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="auto-save" type="b">
|
<key name="auto-save" type="b">
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
<summary>Autosave</summary>
|
<summary>Autosave</summary>
|
||||||
<description>Whether xedit should automatically save modified files after a time interval. You can set the time interval with the "Autosave Interval" option.</description>
|
<description>Whether xed should automatically save modified files after a time interval. You can set the time interval with the "Autosave Interval" option.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="auto-save-interval" type="i">
|
<key name="auto-save-interval" type="i">
|
||||||
<default>10</default>
|
<default>10</default>
|
||||||
<summary>Autosave Interval</summary>
|
<summary>Autosave Interval</summary>
|
||||||
<description>Number of minutes after which xedit will automatically save modified files. This will only take effect if the "Autosave" option is turned on.</description>
|
<description>Number of minutes after which xed will automatically save modified files. This will only take effect if the "Autosave" option is turned on.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="writable-vfs-schemes" type="as">
|
<key name="writable-vfs-schemes" type="as">
|
||||||
<default>[ 'dav', 'davs', 'ftp', 'sftp', 'smb', 'ssh' ]</default>
|
<default>[ 'dav', 'davs', 'ftp', 'sftp', 'smb', 'ssh' ]</default>
|
||||||
<summary>Writable VFS schemes</summary>
|
<summary>Writable VFS schemes</summary>
|
||||||
<description>List of VFS schemes xedit supports in write mode. The 'file' scheme is writable by default.</description>
|
<description>List of VFS schemes xed supports in write mode. The 'file' scheme is writable by default.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="max-undo-actions" type="i">
|
<key name="max-undo-actions" type="i">
|
||||||
<default>2000</default>
|
<default>2000</default>
|
||||||
<summary>Maximum Number of Undo Actions</summary>
|
<summary>Maximum Number of Undo Actions</summary>
|
||||||
<description>Maximum number of actions that xedit will be able to undo or redo. Use "-1" for unlimited number of actions.</description>
|
<description>Maximum number of actions that xed will be able to undo or redo. Use "-1" for unlimited number of actions.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="wrap-mode" type="s">
|
<key name="wrap-mode" type="s">
|
||||||
<default>'GTK_WRAP_WORD'</default>
|
<default>'GTK_WRAP_WORD'</default>
|
||||||
|
@ -54,32 +54,32 @@
|
||||||
<key name="insert-spaces" type="b">
|
<key name="insert-spaces" type="b">
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
<summary>Insert spaces</summary>
|
<summary>Insert spaces</summary>
|
||||||
<description>Whether xedit should insert spaces instead of tabs.</description>
|
<description>Whether xed should insert spaces instead of tabs.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="auto-indent" type="b">
|
<key name="auto-indent" type="b">
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
<summary>Automatic indent</summary>
|
<summary>Automatic indent</summary>
|
||||||
<description>Whether xedit should enable automatic indentation.</description>
|
<description>Whether xed should enable automatic indentation.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="display-line-numbers" type="b">
|
<key name="display-line-numbers" type="b">
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
<summary>Display Line Numbers</summary>
|
<summary>Display Line Numbers</summary>
|
||||||
<description>Whether xedit should display line numbers in the editing area.</description>
|
<description>Whether xed should display line numbers in the editing area.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="highlight-current-line" type="b">
|
<key name="highlight-current-line" type="b">
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
<summary>Highlight Current Line</summary>
|
<summary>Highlight Current Line</summary>
|
||||||
<description>Whether xedit should highlight the current line.</description>
|
<description>Whether xed should highlight the current line.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="bracket-matching" type="b">
|
<key name="bracket-matching" type="b">
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
<summary>Highlight Matching Bracket</summary>
|
<summary>Highlight Matching Bracket</summary>
|
||||||
<description>Whether xedit should highlight the bracket matching the selected one.</description>
|
<description>Whether xed should highlight the bracket matching the selected one.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="display-right-margin" type="b">
|
<key name="display-right-margin" type="b">
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
<summary>Display Right Margin</summary>
|
<summary>Display Right Margin</summary>
|
||||||
<description>Whether xedit should display the right margin in the editing area.</description>
|
<description>Whether xed should display the right margin in the editing area.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="right-margin-position" type="i">
|
<key name="right-margin-position" type="i">
|
||||||
<default>80</default>
|
<default>80</default>
|
||||||
|
@ -94,17 +94,17 @@
|
||||||
<key name="restore-cursor-position" type="b">
|
<key name="restore-cursor-position" type="b">
|
||||||
<default>true</default>
|
<default>true</default>
|
||||||
<summary>Restore Previous Cursor Position</summary>
|
<summary>Restore Previous Cursor Position</summary>
|
||||||
<description>Whether xedit should restore the previous cursor position when a file is loaded.</description>
|
<description>Whether xed should restore the previous cursor position when a file is loaded.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="enable-search-highlighting" type="b">
|
<key name="enable-search-highlighting" type="b">
|
||||||
<default>true</default>
|
<default>true</default>
|
||||||
<summary>Enable Search Highlighting</summary>
|
<summary>Enable Search Highlighting</summary>
|
||||||
<description>Whether xedit should highlight all the occurrences of the searched text.</description>
|
<description>Whether xed should highlight all the occurrences of the searched text.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="enable-syntax-highlighting" type="b">
|
<key name="enable-syntax-highlighting" type="b">
|
||||||
<default>true</default>
|
<default>true</default>
|
||||||
<summary>Enable Syntax Highlighting</summary>
|
<summary>Enable Syntax Highlighting</summary>
|
||||||
<description>Whether xedit should enable syntax highlighting.</description>
|
<description>Whether xed should enable syntax highlighting.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="toolbar-visible" type="b">
|
<key name="toolbar-visible" type="b">
|
||||||
<default>true</default>
|
<default>true</default>
|
||||||
|
@ -114,7 +114,7 @@
|
||||||
<key name="toolbar-buttons-style" type="s">
|
<key name="toolbar-buttons-style" type="s">
|
||||||
<default>'@TOOLBAR_STYLE@'</default>
|
<default>'@TOOLBAR_STYLE@'</default>
|
||||||
<summary>Toolbar Buttons Style</summary>
|
<summary>Toolbar Buttons Style</summary>
|
||||||
<description>Style for the toolbar buttons. Possible values are "XEDIT_TOOLBAR_SYSTEM" to use the system's default style, "XEDIT_TOOLBAR_ICONS" to display icons only, "XEDIT_TOOLBAR_ICONS_AND_TEXT" to display both icons and text, and "XEDIT_TOOLBAR_ICONS_BOTH_HORIZ" to display prioritized text beside icons. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</description>
|
<description>Style for the toolbar buttons. Possible values are "XED_TOOLBAR_SYSTEM" to use the system's default style, "XED_TOOLBAR_ICONS" to display icons only, "XED_TOOLBAR_ICONS_AND_TEXT" to display both icons and text, and "XED_TOOLBAR_ICONS_BOTH_HORIZ" to display prioritized text beside icons. Note that the values are case-sensitive, so make sure they appear exactly as mentioned here.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="statusbar-visible" type="b">
|
<key name="statusbar-visible" type="b">
|
||||||
<default>true</default>
|
<default>true</default>
|
||||||
|
@ -139,12 +139,12 @@
|
||||||
<key name="print-syntax-highlighting" type="b">
|
<key name="print-syntax-highlighting" type="b">
|
||||||
<default>true</default>
|
<default>true</default>
|
||||||
<summary>Print Syntax Highlighting</summary>
|
<summary>Print Syntax Highlighting</summary>
|
||||||
<description>Whether xedit should print syntax highlighting when printing documents.</description>
|
<description>Whether xed should print syntax highlighting when printing documents.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="print-header" type="b">
|
<key name="print-header" type="b">
|
||||||
<default>true</default>
|
<default>true</default>
|
||||||
<summary>Print Header</summary>
|
<summary>Print Header</summary>
|
||||||
<description>Whether xedit should include a document header when printing documents.</description>
|
<description>Whether xed should include a document header when printing documents.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="print-wrap-mode" type="s">
|
<key name="print-wrap-mode" type="s">
|
||||||
<default>'GTK_WRAP_WORD'</default>
|
<default>'GTK_WRAP_WORD'</default>
|
||||||
|
@ -154,7 +154,7 @@
|
||||||
<key name="print-line-numbers" type="i">
|
<key name="print-line-numbers" type="i">
|
||||||
<default>0</default>
|
<default>0</default>
|
||||||
<summary>Print Line Numbers</summary>
|
<summary>Print Line Numbers</summary>
|
||||||
<description>If this value is 0, then no line numbers will be inserted when printing a document. Otherwise, xedit will print line numbers every such number of lines.</description>
|
<description>If this value is 0, then no line numbers will be inserted when printing a document. Otherwise, xed will print line numbers every such number of lines.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="print-font-body-pango" type="s">
|
<key name="print-font-body-pango" type="s">
|
||||||
<default context="print-font-body-pango" l10n="messages">'Monospace 9'</default>
|
<default context="print-font-body-pango" l10n="messages">'Monospace 9'</default>
|
||||||
|
@ -174,7 +174,7 @@
|
||||||
<key name="auto-detected-encodings" type="as">
|
<key name="auto-detected-encodings" type="as">
|
||||||
<default context="auto-detected" l10n="messages">[ 'UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16' ]</default>
|
<default context="auto-detected" l10n="messages">[ 'UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16' ]</default>
|
||||||
<summary>Automatically Detected Encodings</summary>
|
<summary>Automatically Detected Encodings</summary>
|
||||||
<description>Sorted list of encodings used by xedit for automatically detecting the encoding of a file. "CURRENT" represents the current locale encoding. Only recognized encodings are used.</description>
|
<description>Sorted list of encodings used by xed for automatically detecting the encoding of a file. "CURRENT" represents the current locale encoding. Only recognized encodings are used.</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="shown-in-menu-encodings" type="as">
|
<key name="shown-in-menu-encodings" type="as">
|
||||||
<default context="shown-in-menu" l10n="messages">[ 'ISO-8859-15' ]</default>
|
<default context="shown-in-menu" l10n="messages">[ 'ISO-8859-15' ]</default>
|
||||||
|
@ -194,7 +194,7 @@
|
||||||
<key name="active-plugins" type="as">
|
<key name="active-plugins" type="as">
|
||||||
<default>[ 'docinfo', 'modelines', 'filebrowser', 'spell', 'time' ]</default>
|
<default>[ 'docinfo', 'modelines', 'filebrowser', 'spell', 'time' ]</default>
|
||||||
<summary>Active plugins</summary>
|
<summary>Active plugins</summary>
|
||||||
<description>List of active plugins. It contains the "Location" of the active plugins. See the .xedit-plugin file for obtaining the "Location" of a given plugin.</description>
|
<description>List of active plugins. It contains the "Location" of the active plugins. See the .xed-plugin file for obtaining the "Location" of a given plugin.</description>
|
||||||
</key>
|
</key>
|
||||||
</schema>
|
</schema>
|
||||||
</schemalist>
|
</schemalist>
|
||||||
|
|
|
@ -31,11 +31,11 @@ gsettings get org.x.editor active-plugins \
|
||||||
echo
|
echo
|
||||||
|
|
||||||
# Manually installed plugins (in $HOME)
|
# Manually installed plugins (in $HOME)
|
||||||
if [ -d $HOME/.config/xedit/plugins ]
|
if [ -d $HOME/.config/xed/plugins ]
|
||||||
then
|
then
|
||||||
echo "Plugins in \$HOME:"
|
echo "Plugins in \$HOME:"
|
||||||
ls $HOME/.config/xedit/plugins/*.xedit-plugin \
|
ls $HOME/.config/xed/plugins/*.xed-plugin \
|
||||||
| sed -r -e 's#.*/([^/]*)\.xedit-plugin$# - \1#'
|
| sed -r -e 's#.*/([^/]*)\.xed-plugin$# - \1#'
|
||||||
else
|
else
|
||||||
echo "No plugin installed in \$HOME."
|
echo "No plugin installed in \$HOME."
|
||||||
fi
|
fi
|
|
@ -0,0 +1,72 @@
|
||||||
|
.\" Man page for Xed.
|
||||||
|
.TH XED 1
|
||||||
|
.\"
|
||||||
|
.SH "NAME"
|
||||||
|
Xed \- The Text Editor
|
||||||
|
.SH "SYNOPSIS"
|
||||||
|
.B xed [OPTIONS...] [FILES...]
|
||||||
|
.SH "DESCRIPTION"
|
||||||
|
Xed is the official text editor of the X-APPS project, which aims to provide applications to the Cinnamon, MATE and Xfce desktops. While aiming at simplicity and ease of use, Xed is a powerful general purpose text editor. It can be used to create and edit all sorts of text files.
|
||||||
|
.PP
|
||||||
|
Xed features a flexible plugin system which can be used to dynamically add new advanced features to Xed itself.
|
||||||
|
.PP
|
||||||
|
This manual page briefly documents the \fBxed\fR command.
|
||||||
|
|
||||||
|
.SH "OPTIONS"
|
||||||
|
.TP
|
||||||
|
\fBfilename(s)...\fR
|
||||||
|
Specifies the file to open when \fBxed\fR starts. If this is not specified, \fBxed\fR will start a new, blank file with an "Unsaved Document" label. Multiple files can be loaded if they are separated by spaces. \fBxed\fR also supports handling of remote files.
|
||||||
|
.TP
|
||||||
|
\fB\-\-display=DISPLAY\fR
|
||||||
|
X display to use.
|
||||||
|
.TP
|
||||||
|
\fB\-\-encoding\fR
|
||||||
|
Set the character encoding to be used for opening the files listed on the command line.
|
||||||
|
.TP
|
||||||
|
\fB\-\-new\-window\fR
|
||||||
|
Create a new toplevel window in an existing instance of \fBxed\fR.
|
||||||
|
.TP
|
||||||
|
\fB\-\-new\-document\fR
|
||||||
|
Create a new document in an existing instance of \fBxed\fR, on the last Xed window that had focus.
|
||||||
|
.TP
|
||||||
|
\fB+[num]\fR
|
||||||
|
For the first file, go to the line specified by "num" (do not insert a space between the "+" sign and the number).
|
||||||
|
If "num" is missing, go to the last line.
|
||||||
|
.TP
|
||||||
|
\fB\-\-list-encodings\fR
|
||||||
|
Display list of possible values for the encoding option and exit
|
||||||
|
.TP
|
||||||
|
\fB\-\-version\fR
|
||||||
|
Output version information and exit
|
||||||
|
.TP
|
||||||
|
\fB\-?, \-h, \-\-help\fR
|
||||||
|
Print standard command line options.
|
||||||
|
.TP
|
||||||
|
\fB\-\-help\-all\fR
|
||||||
|
Print all command line options.
|
||||||
|
.P
|
||||||
|
This program also accepts the standard GTK options.
|
||||||
|
|
||||||
|
.SH "EXAMPLES"
|
||||||
|
\fBxed \-\-encoding WINDOWS-1252 ftp://ftp.kernel.org/pub/linux/kernel/README\fR
|
||||||
|
.RS 4
|
||||||
|
Open the Linux Kernel README file from kernel.org's FTP server using Windows-1252 character encoding.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fBxed +156 http://www.some-website.com/\fR
|
||||||
|
.RS 4
|
||||||
|
Open the main web page of some-website.com and jump to line 156.
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
\fBxed \-\-new\-window ~/.bashrc ~/.bash_history\fR
|
||||||
|
.RS 4
|
||||||
|
Open the current users .bashrc and .bash_history files in a new window.
|
||||||
|
|
||||||
|
.SH "BUGS"
|
||||||
|
.SS Should you encounter any bugs, they may be reported at:
|
||||||
|
http://github.com/linuxmint/xed/issues
|
||||||
|
|
||||||
|
.fi
|
||||||
|
.SH "SEE ALSO"
|
||||||
|
.SS
|
||||||
|
Xed documentation can be found from the "Help" menu, or by pressing the F1 key.
|
|
@ -1,24 +1,24 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<component type="desktop">
|
<component type="desktop">
|
||||||
<id>xedit.desktop</id>
|
<id>xed.desktop</id>
|
||||||
<metadata_license>CC0-1.0</metadata_license>
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
<project_license>GPL-2.0+</project_license>
|
<project_license>GPL-2.0+</project_license>
|
||||||
<name>Xedit</name>
|
<name>Xed</name>
|
||||||
<_summary>A Text Editor</_summary>
|
<_summary>A Text Editor</_summary>
|
||||||
<_description>
|
<_description>
|
||||||
<p>
|
<p>
|
||||||
Xedit is a small, but powerful text editor. It has most standard text editor functions and fully
|
Xed is a small, but powerful text editor. It has most standard text editor functions and fully
|
||||||
supports international text in Unicode. Advanced features include syntax
|
supports international text in Unicode. Advanced features include syntax
|
||||||
highlighting and automatic indentation of source code, printing and editing
|
highlighting and automatic indentation of source code, printing and editing
|
||||||
of multiple documents in one window.
|
of multiple documents in one window.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Xedit is extensible through a plugin system, which currently includes
|
Xed is extensible through a plugin system, which currently includes
|
||||||
support for spell checking, comparing files, viewing CVS ChangeLogs, and
|
support for spell checking, comparing files, viewing CVS ChangeLogs, and
|
||||||
adjusting indentation levels.
|
adjusting indentation levels.
|
||||||
</p>
|
</p>
|
||||||
</_description>
|
</_description>
|
||||||
<url type="homepage">http://www.github.com/linuxmint/xedit</url>
|
<url type="homepage">http://www.github.com/linuxmint/xed</url>
|
||||||
<updatecontact>root@linuxmint.com</updatecontact>
|
<updatecontact>root@linuxmint.com</updatecontact>
|
||||||
<project_group>X-Apps</project_group>
|
<project_group>X-Apps</project_group>
|
||||||
</component>
|
</component>
|
|
@ -1,7 +1,7 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
_Name=Text Editor
|
_Name=Text Editor
|
||||||
_Comment=Edit text files
|
_Comment=Edit text files
|
||||||
Exec=xedit %U
|
Exec=xed %U
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
|
@ -9,4 +9,4 @@ MimeType=text/plain;
|
||||||
Icon=accessories-text-editor
|
Icon=accessories-text-editor
|
||||||
Categories=GTK;Utility;TextEditor;
|
Categories=GTK;Utility;TextEditor;
|
||||||
Keywords=text;editor;tabs;highlighting;code;multiple;files;pluggable;
|
Keywords=text;editor;tabs;highlighting;code;multiple;files;pluggable;
|
||||||
X-MATE-DocPath=xedit/xedit.xml
|
X-MATE-DocPath=xed/xed.xml
|
|
@ -2,11 +2,11 @@ prefix=@prefix@
|
||||||
exec_prefix=@exec_prefix@
|
exec_prefix=@exec_prefix@
|
||||||
libdir=@libdir@
|
libdir=@libdir@
|
||||||
includedir=@includedir@
|
includedir=@includedir@
|
||||||
pluginsdir=@libdir@/xedit/plugins
|
pluginsdir=@libdir@/xed/plugins
|
||||||
|
|
||||||
Name: xedit
|
Name: xed
|
||||||
Description: xedit
|
Description: xed
|
||||||
Requires: gtksourceview-@GTK_API_VERSION@
|
Requires: gtksourceview-@GTK_API_VERSION@
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Cflags: -I${includedir}/xedit
|
Cflags: -I${includedir}/xed
|
||||||
Libs: -L${libdir}
|
Libs: -L${libdir}
|
72
data/xedit.1
|
@ -1,72 +0,0 @@
|
||||||
.\" Man page for Xedit.
|
|
||||||
.TH XEDIT 1
|
|
||||||
.\"
|
|
||||||
.SH "NAME"
|
|
||||||
Xedit \- The Text Editor
|
|
||||||
.SH "SYNOPSIS"
|
|
||||||
.B xedit [OPTIONS...] [FILES...]
|
|
||||||
.SH "DESCRIPTION"
|
|
||||||
Xedit is the official text editor of the X-APPS project, which aims to provide applications to the Cinnamon, MATE and Xfce desktops. While aiming at simplicity and ease of use, Xedit is a powerful general purpose text editor. It can be used to create and edit all sorts of text files.
|
|
||||||
.PP
|
|
||||||
Xedit features a flexible plugin system which can be used to dynamically add new advanced features to Xedit itself.
|
|
||||||
.PP
|
|
||||||
This manual page briefly documents the \fBxedit\fR command.
|
|
||||||
|
|
||||||
.SH "OPTIONS"
|
|
||||||
.TP
|
|
||||||
\fBfilename(s)...\fR
|
|
||||||
Specifies the file to open when \fBxedit\fR starts. If this is not specified, \fBxedit\fR will start a new, blank file with an "Unsaved Document" label. Multiple files can be loaded if they are separated by spaces. \fBxedit\fR also supports handling of remote files.
|
|
||||||
.TP
|
|
||||||
\fB\-\-display=DISPLAY\fR
|
|
||||||
X display to use.
|
|
||||||
.TP
|
|
||||||
\fB\-\-encoding\fR
|
|
||||||
Set the character encoding to be used for opening the files listed on the command line.
|
|
||||||
.TP
|
|
||||||
\fB\-\-new\-window\fR
|
|
||||||
Create a new toplevel window in an existing instance of \fBxedit\fR.
|
|
||||||
.TP
|
|
||||||
\fB\-\-new\-document\fR
|
|
||||||
Create a new document in an existing instance of \fBxedit\fR, on the last Xedit window that had focus.
|
|
||||||
.TP
|
|
||||||
\fB+[num]\fR
|
|
||||||
For the first file, go to the line specified by "num" (do not insert a space between the "+" sign and the number).
|
|
||||||
If "num" is missing, go to the last line.
|
|
||||||
.TP
|
|
||||||
\fB\-\-list-encodings\fR
|
|
||||||
Display list of possible values for the encoding option and exit
|
|
||||||
.TP
|
|
||||||
\fB\-\-version\fR
|
|
||||||
Output version information and exit
|
|
||||||
.TP
|
|
||||||
\fB\-?, \-h, \-\-help\fR
|
|
||||||
Print standard command line options.
|
|
||||||
.TP
|
|
||||||
\fB\-\-help\-all\fR
|
|
||||||
Print all command line options.
|
|
||||||
.P
|
|
||||||
This program also accepts the standard GTK options.
|
|
||||||
|
|
||||||
.SH "EXAMPLES"
|
|
||||||
\fBxedit \-\-encoding WINDOWS-1252 ftp://ftp.kernel.org/pub/linux/kernel/README\fR
|
|
||||||
.RS 4
|
|
||||||
Open the Linux Kernel README file from kernel.org's FTP server using Windows-1252 character encoding.
|
|
||||||
.RE
|
|
||||||
.PP
|
|
||||||
\fBxedit +156 http://www.some-website.com/\fR
|
|
||||||
.RS 4
|
|
||||||
Open the main web page of some-website.com and jump to line 156.
|
|
||||||
.RE
|
|
||||||
.PP
|
|
||||||
\fBxedit \-\-new\-window ~/.bashrc ~/.bash_history\fR
|
|
||||||
.RS 4
|
|
||||||
Open the current users .bashrc and .bash_history files in a new window.
|
|
||||||
|
|
||||||
.SH "BUGS"
|
|
||||||
.SS Should you encounter any bugs, they may be reported at:
|
|
||||||
http://github.com/linuxmint/xedit/issues
|
|
||||||
|
|
||||||
.fi
|
|
||||||
.SH "SEE ALSO"
|
|
||||||
.SS
|
|
||||||
Xedit documentation can be found from the "Help" menu, or by pressing the F1 key.
|
|
|
@ -1,4 +1,4 @@
|
||||||
xedit (1.0.1) sarah; urgency=medium
|
xed (1.0.1) sarah; urgency=medium
|
||||||
|
|
||||||
* Remove branding from window title and menu item
|
* Remove branding from window title and menu item
|
||||||
* Removed more MATE references
|
* Removed more MATE references
|
||||||
|
@ -9,7 +9,7 @@ xedit (1.0.1) sarah; urgency=medium
|
||||||
|
|
||||||
-- Clement Lefebvre <root@linuxmint.com> Wed, 27 Jan 2016 11:17:20 +0000
|
-- Clement Lefebvre <root@linuxmint.com> Wed, 27 Jan 2016 11:17:20 +0000
|
||||||
|
|
||||||
xedit (1.0.0) sarah; urgency=medium
|
xed (1.0.0) sarah; urgency=medium
|
||||||
|
|
||||||
* Initial version
|
* Initial version
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Source: xedit
|
Source: xed
|
||||||
Section: x11
|
Section: x11
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Linux Mint <root@linuxmint.com>
|
Maintainer: Linux Mint <root@linuxmint.com>
|
||||||
|
@ -18,121 +18,121 @@ Build-Depends: autotools-dev,
|
||||||
yelp-tools,
|
yelp-tools,
|
||||||
Standards-Version: 3.9.6
|
Standards-Version: 3.9.6
|
||||||
|
|
||||||
Package: xedit
|
Package: xed
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: iso-codes,
|
Depends: iso-codes,
|
||||||
xedit-common (= ${source:Version}),
|
xed-common (= ${source:Version}),
|
||||||
${misc:Depends},
|
${misc:Depends},
|
||||||
${python:Depends},
|
${python:Depends},
|
||||||
${shlibs:Depends},
|
${shlibs:Depends},
|
||||||
zenity
|
zenity
|
||||||
XB-Python-Version: ${python:Versions}
|
XB-Python-Version: ${python:Versions}
|
||||||
Description: generic text editor
|
Description: generic text editor
|
||||||
Xedit is a text editor which supports most standard editor features,
|
Xed is a text editor which supports most standard editor features,
|
||||||
extending this basic functionality with other features not usually
|
extending this basic functionality with other features not usually
|
||||||
found in simple text editors. Xedit is a graphical application which
|
found in simple text editors. Xed is a graphical application which
|
||||||
supports editing multiple text files in one window (known sometimes as
|
supports editing multiple text files in one window (known sometimes as
|
||||||
tabs or MDI).
|
tabs or MDI).
|
||||||
.
|
.
|
||||||
Xedit fully supports international text through its use of the
|
Xed fully supports international text through its use of the
|
||||||
Unicode UTF-8 encoding in edited files. Its core feature set includes syntax
|
Unicode UTF-8 encoding in edited files. Its core feature set includes syntax
|
||||||
highlighting of source code, auto indentation and printing and print preview
|
highlighting of source code, auto indentation and printing and print preview
|
||||||
support.
|
support.
|
||||||
.
|
.
|
||||||
Xedit is also extensible through its plugin system, which currently
|
Xed is also extensible through its plugin system, which currently
|
||||||
includes support for spell checking, comparing files, viewing CVS
|
includes support for spell checking, comparing files, viewing CVS
|
||||||
ChangeLogs, and adjusting indentation levels.
|
ChangeLogs, and adjusting indentation levels.
|
||||||
|
|
||||||
Package: xedit-common
|
Package: xed-common
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: python,
|
Depends: python,
|
||||||
${misc:Depends},
|
${misc:Depends},
|
||||||
Description: generic text editor (common files)
|
Description: generic text editor (common files)
|
||||||
Xedit is a text editor which supports most standard editor features,
|
Xed is a text editor which supports most standard editor features,
|
||||||
extending this basic functionality with other features not usually
|
extending this basic functionality with other features not usually
|
||||||
found in simple text editors. Xedit is a graphical application which
|
found in simple text editors. Xed is a graphical application which
|
||||||
supports editing multiple text files in one window (known sometimes as
|
supports editing multiple text files in one window (known sometimes as
|
||||||
tabs or MDI).
|
tabs or MDI).
|
||||||
.
|
.
|
||||||
Xedit fully supports international text through its use of the
|
Xed fully supports international text through its use of the
|
||||||
Unicode UTF-8 encoding in edited files. Its core feature set includes syntax
|
Unicode UTF-8 encoding in edited files. Its core feature set includes syntax
|
||||||
highlighting of source code, auto indentation and printing and print preview
|
highlighting of source code, auto indentation and printing and print preview
|
||||||
support.
|
support.
|
||||||
.
|
.
|
||||||
Xedit is also extensible through its plugin system, which currently
|
Xed is also extensible through its plugin system, which currently
|
||||||
includes support for spell checking, comparing files, viewing CVS
|
includes support for spell checking, comparing files, viewing CVS
|
||||||
ChangeLogs, and adjusting indentation levels.
|
ChangeLogs, and adjusting indentation levels.
|
||||||
.
|
.
|
||||||
This package contains the architecture independent files.
|
This package contains the architecture independent files.
|
||||||
|
|
||||||
Package: xedit-dev
|
Package: xed-dev
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Section: devel
|
Section: devel
|
||||||
Depends: xedit (= ${binary:Version}),
|
Depends: xed (= ${binary:Version}),
|
||||||
${misc:Depends},
|
${misc:Depends},
|
||||||
Description: generic text editor (development files)
|
Description: generic text editor (development files)
|
||||||
Xedit is a text editor which supports most standard editor features,
|
Xed is a text editor which supports most standard editor features,
|
||||||
extending this basic functionality with other features not usually
|
extending this basic functionality with other features not usually
|
||||||
found in simple text editors. Xedit is a graphical application which
|
found in simple text editors. Xed is a graphical application which
|
||||||
supports editing multiple text files in one window (known sometimes as
|
supports editing multiple text files in one window (known sometimes as
|
||||||
tabs or MDI).
|
tabs or MDI).
|
||||||
.
|
.
|
||||||
Xedit fully supports international text through its use of the
|
Xed fully supports international text through its use of the
|
||||||
Unicode UTF-8 encoding in edited files. Its core feature set includes syntax
|
Unicode UTF-8 encoding in edited files. Its core feature set includes syntax
|
||||||
highlighting of source code, auto indentation and printing and print preview
|
highlighting of source code, auto indentation and printing and print preview
|
||||||
support.
|
support.
|
||||||
.
|
.
|
||||||
Xedit is also extensible through its plugin system, which currently
|
Xed is also extensible through its plugin system, which currently
|
||||||
includes support for spell checking, comparing files, viewing CVS
|
includes support for spell checking, comparing files, viewing CVS
|
||||||
ChangeLogs, and adjusting indentation levels.
|
ChangeLogs, and adjusting indentation levels.
|
||||||
.
|
.
|
||||||
This package contains the development files for building Xedit plugins.
|
This package contains the development files for building Xed plugins.
|
||||||
|
|
||||||
Package: xedit-dbg
|
Package: xed-dbg
|
||||||
Section: debug
|
Section: debug
|
||||||
Priority: extra
|
Priority: extra
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: xedit (= ${binary:Version}),
|
Depends: xed (= ${binary:Version}),
|
||||||
${misc:Depends},
|
${misc:Depends},
|
||||||
Description: generic text editor (debugging symbols)
|
Description: generic text editor (debugging symbols)
|
||||||
Xedit is a text editor which supports most standard editor features,
|
Xed is a text editor which supports most standard editor features,
|
||||||
extending this basic functionality with other features not usually
|
extending this basic functionality with other features not usually
|
||||||
found in simple text editors. Xedit is a graphical application which
|
found in simple text editors. Xed is a graphical application which
|
||||||
supports editing multiple text files in one window (known sometimes as
|
supports editing multiple text files in one window (known sometimes as
|
||||||
tabs or MDI).
|
tabs or MDI).
|
||||||
.
|
.
|
||||||
Xedit fully supports international text through its use of the
|
Xed fully supports international text through its use of the
|
||||||
Unicode UTF-8 encoding in edited files. Its core feature set includes syntax
|
Unicode UTF-8 encoding in edited files. Its core feature set includes syntax
|
||||||
highlighting of source code, auto indentation and printing and print preview
|
highlighting of source code, auto indentation and printing and print preview
|
||||||
support.
|
support.
|
||||||
.
|
.
|
||||||
Xedit is also extensible through its plugin system, which currently
|
Xed is also extensible through its plugin system, which currently
|
||||||
includes support for spell checking, comparing files, viewing CVS
|
includes support for spell checking, comparing files, viewing CVS
|
||||||
ChangeLogs, and adjusting indentation levels.
|
ChangeLogs, and adjusting indentation levels.
|
||||||
.
|
.
|
||||||
This package contains debugging symbols for Xedit. It is
|
This package contains debugging symbols for Xed. It is
|
||||||
provided to help debugging problems.
|
provided to help debugging problems.
|
||||||
.
|
.
|
||||||
The debugging symbols are installed in /usr/lib/debug and will
|
The debugging symbols are installed in /usr/lib/debug and will
|
||||||
automatically be used by gdb.
|
automatically be used by gdb.
|
||||||
|
|
||||||
Package: xedit-doc
|
Package: xed-doc
|
||||||
Section: doc
|
Section: doc
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends: ${misc:Depends},
|
Depends: ${misc:Depends},
|
||||||
Description: generic text editor (documentation files)
|
Description: generic text editor (documentation files)
|
||||||
Xedit is a text editor which supports most standard editor features,
|
Xed is a text editor which supports most standard editor features,
|
||||||
extending this basic functionality with other features not usually
|
extending this basic functionality with other features not usually
|
||||||
found in simple text editors. Xedit is a graphical application which
|
found in simple text editors. Xed is a graphical application which
|
||||||
supports editing multiple text files in one window (known sometimes as
|
supports editing multiple text files in one window (known sometimes as
|
||||||
tabs or MDI).
|
tabs or MDI).
|
||||||
.
|
.
|
||||||
Xedit fully supports international text through its use of the
|
Xed fully supports international text through its use of the
|
||||||
Unicode UTF-8 encoding in edited files. Its core feature set includes syntax
|
Unicode UTF-8 encoding in edited files. Its core feature set includes syntax
|
||||||
highlighting of source code, auto indentation and printing and print preview
|
highlighting of source code, auto indentation and printing and print preview
|
||||||
support.
|
support.
|
||||||
.
|
.
|
||||||
Xedit is also extensible through its plugin system, which currently
|
Xed is also extensible through its plugin system, which currently
|
||||||
includes support for spell checking, comparing files, viewing CVS
|
includes support for spell checking, comparing files, viewing CVS
|
||||||
ChangeLogs, and adjusting indentation levels.
|
ChangeLogs, and adjusting indentation levels.
|
||||||
.
|
.
|
||||||
|
|
|
@ -1,88 +1,88 @@
|
||||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
Upstream-Name: xedit (old name: mate-text-editor)
|
Upstream-Name: xed (old name: mate-text-editor)
|
||||||
Upstream-Contact: Stefano Karapetsas <stefano@karapetsas.com>
|
Upstream-Contact: Stefano Karapetsas <stefano@karapetsas.com>
|
||||||
Source: http://git.mate-desktop.org/xedit/
|
Source: http://git.mate-desktop.org/xed/
|
||||||
|
|
||||||
Files: plugins/docinfo/xedit-docinfo-plugin.c
|
Files: plugins/docinfo/xed-docinfo-plugin.c
|
||||||
plugins/docinfo/xedit-docinfo-plugin.h
|
plugins/docinfo/xed-docinfo-plugin.h
|
||||||
plugins/spell/xedit-spell-checker-dialog.c
|
plugins/spell/xed-spell-checker-dialog.c
|
||||||
plugins/spell/xedit-spell-checker-dialog.h
|
plugins/spell/xed-spell-checker-dialog.h
|
||||||
plugins/spell/xedit-spell-checker-language.h
|
plugins/spell/xed-spell-checker-language.h
|
||||||
plugins/spell/xedit-spell-checker.c
|
plugins/spell/xed-spell-checker.c
|
||||||
plugins/spell/xedit-spell-checker.h
|
plugins/spell/xed-spell-checker.h
|
||||||
plugins/spell/xedit-spell-language-dialog.c
|
plugins/spell/xed-spell-language-dialog.c
|
||||||
plugins/spell/xedit-spell-language-dialog.h
|
plugins/spell/xed-spell-language-dialog.h
|
||||||
plugins/spell/xedit-spell-plugin.c
|
plugins/spell/xed-spell-plugin.c
|
||||||
plugins/spell/xedit-spell-plugin.h
|
plugins/spell/xed-spell-plugin.h
|
||||||
plugins/taglist/xedit-taglist-plugin-panel.c
|
plugins/taglist/xed-taglist-plugin-panel.c
|
||||||
plugins/taglist/xedit-taglist-plugin-panel.h
|
plugins/taglist/xed-taglist-plugin-panel.h
|
||||||
plugins/taglist/xedit-taglist-plugin-parser.c
|
plugins/taglist/xed-taglist-plugin-parser.c
|
||||||
plugins/taglist/xedit-taglist-plugin-parser.h
|
plugins/taglist/xed-taglist-plugin-parser.h
|
||||||
plugins/taglist/xedit-taglist-plugin.c
|
plugins/taglist/xed-taglist-plugin.c
|
||||||
plugins/taglist/xedit-taglist-plugin.h
|
plugins/taglist/xed-taglist-plugin.h
|
||||||
plugins/time/xedit-time-plugin.c
|
plugins/time/xed-time-plugin.c
|
||||||
plugins/time/xedit-time-plugin.h
|
plugins/time/xed-time-plugin.h
|
||||||
xedit/dialogs/xedit-encodings-dialog.c
|
xed/dialogs/xed-encodings-dialog.c
|
||||||
xedit/dialogs/xedit-encodings-dialog.h
|
xed/dialogs/xed-encodings-dialog.h
|
||||||
xedit/dialogs/xedit-preferences-dialog.c
|
xed/dialogs/xed-preferences-dialog.c
|
||||||
xedit/dialogs/xedit-preferences-dialog.h
|
xed/dialogs/xed-preferences-dialog.h
|
||||||
xedit/dialogs/xedit-search-dialog.c
|
xed/dialogs/xed-search-dialog.c
|
||||||
xedit/dialogs/xedit-search-dialog.h
|
xed/dialogs/xed-search-dialog.h
|
||||||
xedit/xedit-app.c
|
xed/xed-app.c
|
||||||
xedit/xedit-app.h
|
xed/xed-app.h
|
||||||
xedit/xedit-documents-panel.c
|
xed/xed-documents-panel.c
|
||||||
xedit/xedit-documents-panel.h
|
xed/xed-documents-panel.h
|
||||||
xedit/xedit-encodings-combo-box.c
|
xed/xed-encodings-combo-box.c
|
||||||
xedit/xedit-encodings-combo-box.h
|
xed/xed-encodings-combo-box.h
|
||||||
xedit/xedit-encodings.h
|
xed/xed-encodings.h
|
||||||
xedit/xedit-file-chooser-dialog.c
|
xed/xed-file-chooser-dialog.c
|
||||||
xedit/xedit-file-chooser-dialog.h
|
xed/xed-file-chooser-dialog.h
|
||||||
xedit/xedit-help.c
|
xed/xed-help.c
|
||||||
xedit/xedit-help.h
|
xed/xed-help.h
|
||||||
xedit/xedit-io-error-message-area.c
|
xed/xed-io-error-message-area.c
|
||||||
xedit/xedit-io-error-message-area.h
|
xed/xed-io-error-message-area.h
|
||||||
xedit/xedit-language-manager.c
|
xed/xed-language-manager.c
|
||||||
xedit/xedit-language-manager.h
|
xed/xed-language-manager.h
|
||||||
xedit/xedit-metadata-manager.c
|
xed/xed-metadata-manager.c
|
||||||
xedit/xedit-metadata-manager.h
|
xed/xed-metadata-manager.h
|
||||||
xedit/xedit-panel.c
|
xed/xed-panel.c
|
||||||
xedit/xedit-panel.h
|
xed/xed-panel.h
|
||||||
xedit/xedit-plugin-manager.h
|
xed/xed-plugin-manager.h
|
||||||
xedit/xedit-plugin.c
|
xed/xed-plugin.c
|
||||||
xedit/xedit-plugin.h
|
xed/xed-plugin.h
|
||||||
xedit/xedit-plugins-engine.c
|
xed/xed-plugins-engine.c
|
||||||
xedit/xedit-plugins-engine.h
|
xed/xed-plugins-engine.h
|
||||||
xedit/xedit-prefs-manager-app.c
|
xed/xed-prefs-manager-app.c
|
||||||
xedit/xedit-prefs-manager-app.h
|
xed/xed-prefs-manager-app.h
|
||||||
xedit/xedit-prefs-manager-private.h
|
xed/xed-prefs-manager-private.h
|
||||||
xedit/xedit-prefs-manager.c
|
xed/xed-prefs-manager.c
|
||||||
xedit/xedit-prefs-manager.h
|
xed/xed-prefs-manager.h
|
||||||
xedit/xedit-progress-message-area.c
|
xed/xed-progress-message-area.c
|
||||||
xedit/xedit-progress-message-area.h
|
xed/xed-progress-message-area.h
|
||||||
xedit/xedit-tab.c
|
xed/xed-tab.c
|
||||||
xedit/xedit-tab.h
|
xed/xed-tab.h
|
||||||
xedit/xedit-ui.h
|
xed/xed-ui.h
|
||||||
xedit/xedit-ui.xml
|
xed/xed-ui.xml
|
||||||
xedit/xedit-window-private.h
|
xed/xed-window-private.h
|
||||||
xedit/xedit-window.c
|
xed/xed-window.c
|
||||||
xedit/xedit-window.h
|
xed/xed-window.h
|
||||||
xedit/xedit.c
|
xed/xed.c
|
||||||
Copyright: 2001-2007, Paolo Maggi
|
Copyright: 2001-2007, Paolo Maggi
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: plugins/filebrowser/xedit-file-bookmarks-store.c
|
Files: plugins/filebrowser/xed-file-bookmarks-store.c
|
||||||
plugins/filebrowser/xedit-file-bookmarks-store.h
|
plugins/filebrowser/xed-file-bookmarks-store.h
|
||||||
plugins/filebrowser/xedit-file-browser-error.h
|
plugins/filebrowser/xed-file-browser-error.h
|
||||||
plugins/filebrowser/xedit-file-browser-messages.h
|
plugins/filebrowser/xed-file-browser-messages.h
|
||||||
plugins/filebrowser/xedit-file-browser-plugin.c
|
plugins/filebrowser/xed-file-browser-plugin.c
|
||||||
plugins/filebrowser/xedit-file-browser-plugin.h
|
plugins/filebrowser/xed-file-browser-plugin.h
|
||||||
plugins/filebrowser/xedit-file-browser-store.c
|
plugins/filebrowser/xed-file-browser-store.c
|
||||||
plugins/filebrowser/xedit-file-browser-store.h
|
plugins/filebrowser/xed-file-browser-store.h
|
||||||
plugins/filebrowser/xedit-file-browser-utils.c
|
plugins/filebrowser/xed-file-browser-utils.c
|
||||||
plugins/filebrowser/xedit-file-browser-view.c
|
plugins/filebrowser/xed-file-browser-view.c
|
||||||
plugins/filebrowser/xedit-file-browser-view.h
|
plugins/filebrowser/xed-file-browser-view.h
|
||||||
plugins/filebrowser/xedit-file-browser-widget.c
|
plugins/filebrowser/xed-file-browser-widget.c
|
||||||
plugins/filebrowser/xedit-file-browser-widget.h
|
plugins/filebrowser/xed-file-browser-widget.h
|
||||||
plugins/snippets/snippets/Document.py
|
plugins/snippets/snippets/Document.py
|
||||||
plugins/snippets/snippets/Helper.py
|
plugins/snippets/snippets/Helper.py
|
||||||
plugins/snippets/snippets/Library.py
|
plugins/snippets/snippets/Library.py
|
||||||
|
@ -96,98 +96,98 @@ Files: plugins/filebrowser/xedit-file-bookmarks-store.c
|
||||||
Copyright: 2005-2008, Jesse van den Kieboom <jesse@icecrew.nl>
|
Copyright: 2005-2008, Jesse van den Kieboom <jesse@icecrew.nl>
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: plugin-loaders/c/xedit-plugin-loader-c.c
|
Files: plugin-loaders/c/xed-plugin-loader-c.c
|
||||||
plugin-loaders/c/xedit-plugin-loader-c.h
|
plugin-loaders/c/xed-plugin-loader-c.h
|
||||||
plugin-loaders/python/xedit-plugin-loader-python.c
|
plugin-loaders/python/xed-plugin-loader-python.c
|
||||||
plugin-loaders/python/xedit-plugin-loader-python.h
|
plugin-loaders/python/xed-plugin-loader-python.h
|
||||||
plugins/quickopen/quickopen/__init__.py
|
plugins/quickopen/quickopen/__init__.py
|
||||||
plugins/quickopen/quickopen/popup.py
|
plugins/quickopen/quickopen/popup.py
|
||||||
plugins/quickopen/quickopen/virtualdirs.py
|
plugins/quickopen/quickopen/virtualdirs.py
|
||||||
plugins/quickopen/quickopen/windowhelper.py
|
plugins/quickopen/quickopen/windowhelper.py
|
||||||
plugins/spell/xedit-spell-utils.c
|
plugins/spell/xed-spell-utils.c
|
||||||
plugins/spell/xedit-spell-utils.h
|
plugins/spell/xed-spell-utils.h
|
||||||
xedit/xedit-plugin-loader.c
|
xed/xed-plugin-loader.c
|
||||||
xedit/xedit-plugin-loader.h
|
xed/xed-plugin-loader.h
|
||||||
xedit/xedit-status-combo-box.c
|
xed/xed-status-combo-box.c
|
||||||
xedit/xedit-status-combo-box.h
|
xed/xed-status-combo-box.h
|
||||||
tests/document-loader.c
|
tests/document-loader.c
|
||||||
tests/document-saver.c
|
tests/document-saver.c
|
||||||
Copyright: 2008-2010, Jesse van den Kieboom
|
Copyright: 2008-2010, Jesse van den Kieboom
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/xedit-commands-documents.c
|
Files: xed/xed-commands-documents.c
|
||||||
xedit/xedit-commands-edit.c
|
xed/xed-commands-edit.c
|
||||||
xedit/xedit-commands-file-print.c
|
xed/xed-commands-file-print.c
|
||||||
xedit/xedit-commands-file.c
|
xed/xed-commands-file.c
|
||||||
xedit/xedit-commands-search.c
|
xed/xed-commands-search.c
|
||||||
xedit/xedit-commands-view.c
|
xed/xed-commands-view.c
|
||||||
xedit/xedit-commands.h
|
xed/xed-commands.h
|
||||||
xedit/xedit-debug.c
|
xed/xed-debug.c
|
||||||
xedit/xedit-debug.h
|
xed/xed-debug.h
|
||||||
xedit/xedit-document.c
|
xed/xed-document.c
|
||||||
xedit/xedit-document.h
|
xed/xed-document.h
|
||||||
xedit/xedit-utils.c
|
xed/xed-utils.c
|
||||||
xedit/xedit-utils.h
|
xed/xed-utils.h
|
||||||
xedit/xedit-view.c
|
xed/xed-view.c
|
||||||
xedit/xedit-view.h
|
xed/xed-view.h
|
||||||
Copyright: 1998-1999, Alex Roberts, Evan Lawrence
|
Copyright: 1998-1999, Alex Roberts, Evan Lawrence
|
||||||
2000-2002, Chema Celorio, Paolo Maggi
|
2000-2002, Chema Celorio, Paolo Maggi
|
||||||
2002-2006, Paolo Maggi
|
2002-2006, Paolo Maggi
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: plugins/changecase/xedit-changecase-plugin.c
|
Files: plugins/changecase/xed-changecase-plugin.c
|
||||||
plugins/changecase/xedit-changecase-plugin.h
|
plugins/changecase/xed-changecase-plugin.h
|
||||||
xedit/xedit-close-button.c
|
xed/xed-close-button.c
|
||||||
xedit/xedit-close-button.h
|
xed/xed-close-button.h
|
||||||
xedit/xedit-history-entry.c
|
xed/xed-history-entry.c
|
||||||
xedit/xedit-history-entry.h
|
xed/xed-history-entry.h
|
||||||
xedit/xedit-print-preview.c
|
xed/xed-print-preview.c
|
||||||
xedit/xedit-print-preview.h
|
xed/xed-print-preview.h
|
||||||
xedit/xedit-statusbar.c
|
xed/xed-statusbar.c
|
||||||
xedit/xedit-statusbar.h
|
xed/xed-statusbar.h
|
||||||
xedit/xedit-style-scheme-manager.h
|
xed/xed-style-scheme-manager.h
|
||||||
xedit/xedit-tab-label.c
|
xed/xed-tab-label.c
|
||||||
xedit/xedit-tab-label.h
|
xed/xed-tab-label.h
|
||||||
Copyright: 2004-2010, Paolo Borelli
|
Copyright: 2004-2010, Paolo Borelli
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/xedit-dirs.h
|
Files: xed/xed-dirs.h
|
||||||
xedit/xedit-document-input-stream.c
|
xed/xed-document-input-stream.c
|
||||||
xedit/xedit-document-input-stream.h
|
xed/xed-document-input-stream.h
|
||||||
xedit/xedit-document-output-stream.c
|
xed/xed-document-output-stream.c
|
||||||
xedit/xedit-document-output-stream.h
|
xed/xed-document-output-stream.h
|
||||||
xedit/xedit-smart-charset-converter.c
|
xed/xed-smart-charset-converter.c
|
||||||
xedit/xedit-smart-charset-converter.h
|
xed/xed-smart-charset-converter.h
|
||||||
tests/document-input-stream.c
|
tests/document-input-stream.c
|
||||||
tests/document-output-stream.c
|
tests/document-output-stream.c
|
||||||
tests/smart-converter.c
|
tests/smart-converter.c
|
||||||
Copyright: 2008-2010, Ignacio Casal Quinteiro
|
Copyright: 2008-2010, Ignacio Casal Quinteiro
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: plugins/externaltools/scripts/xedit-tool-merge.pl
|
Files: plugins/externaltools/scripts/xed-tool-merge.pl
|
||||||
plugins/externaltools/tools/library.py
|
plugins/externaltools/tools/library.py
|
||||||
plugins/modelines/modeline-parser.c
|
plugins/modelines/modeline-parser.c
|
||||||
plugins/modelines/modeline-parser.h
|
plugins/modelines/modeline-parser.h
|
||||||
plugins/modelines/xedit-modeline-plugin.c
|
plugins/modelines/xed-modeline-plugin.c
|
||||||
plugins/modelines/xedit-modeline-plugin.h
|
plugins/modelines/xed-modeline-plugin.h
|
||||||
Copyright: 2005-2007, Steve Frécinaux <code@istique.net>
|
Copyright: 2005-2007, Steve Frécinaux <code@istique.net>
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/xedit-document-loader.c
|
Files: xed/xed-document-loader.c
|
||||||
xedit/xedit-document-loader.h
|
xed/xed-document-loader.h
|
||||||
xedit/xedit-document-saver.h
|
xed/xed-document-saver.h
|
||||||
xedit/xedit-plugin-info-priv.h
|
xed/xed-plugin-info-priv.h
|
||||||
xedit/xedit-plugin-info.c
|
xed/xed-plugin-info.c
|
||||||
xedit/xedit-plugin-info.h
|
xed/xed-plugin-info.h
|
||||||
Copyright: 2002-2005, Paolo Maggi
|
Copyright: 2002-2005, Paolo Maggi
|
||||||
2007, Paolo Maggi
|
2007, Paolo Maggi
|
||||||
2007, Steve Frécinaux
|
2007, Steve Frécinaux
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/smclient/eggdesktopfile.h
|
Files: xed/smclient/eggdesktopfile.h
|
||||||
xedit/smclient/eggsmclient-private.h
|
xed/smclient/eggsmclient-private.h
|
||||||
xedit/smclient/eggsmclient.c
|
xed/smclient/eggsmclient.c
|
||||||
xedit/smclient/eggsmclient.h
|
xed/smclient/eggsmclient.h
|
||||||
Copyright: 2007, Novell, Inc.
|
Copyright: 2007, Novell, Inc.
|
||||||
License: LGPL-2+
|
License: LGPL-2+
|
||||||
|
|
||||||
|
@ -197,22 +197,22 @@ Files: plugins/externaltools/tools/__init__.py
|
||||||
plugins/externaltools/tools/manager.py
|
plugins/externaltools/tools/manager.py
|
||||||
tools/generate-plugin.py
|
tools/generate-plugin.py
|
||||||
tools/preprocessor.py
|
tools/preprocessor.py
|
||||||
tools/plugin_template/xedit-plugin.c
|
tools/plugin_template/xed-plugin.c
|
||||||
tools/plugin_template/xedit-plugin.h
|
tools/plugin_template/xed-plugin.h
|
||||||
Copyright: 2005-2006, Steve Frécinaux <steve@istique.net>
|
Copyright: 2005-2006, Steve Frécinaux <steve@istique.net>
|
||||||
2006, Steve Frécinaux <steve@istique.net>
|
2006, Steve Frécinaux <steve@istique.net>
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/xedit-gio-document-loader.c
|
Files: xed/xed-gio-document-loader.c
|
||||||
xedit/xedit-gio-document-loader.h
|
xed/xed-gio-document-loader.h
|
||||||
xedit/xedit-gio-document-saver.h
|
xed/xed-gio-document-saver.h
|
||||||
Copyright: 2005, Paolo Maggi
|
Copyright: 2005, Paolo Maggi
|
||||||
2007, Paolo Maggi, Steve Frécinaux
|
2007, Paolo Maggi, Steve Frécinaux
|
||||||
2008, Jesse van den Kieboom
|
2008, Jesse van den Kieboom
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: plugins/sort/xedit-sort-plugin.c
|
Files: plugins/sort/xed-sort-plugin.c
|
||||||
plugins/sort/xedit-sort-plugin.h
|
plugins/sort/xed-sort-plugin.h
|
||||||
Copyright: *No copyright*
|
Copyright: *No copyright*
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
|
@ -223,62 +223,62 @@ Copyright: 1998, James Henstridge <james@daa.com.au>
|
||||||
2006, Steve Frécinaux
|
2006, Steve Frécinaux
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/bacon-message-connection.c
|
Files: xed/bacon-message-connection.c
|
||||||
xedit/bacon-message-connection.h
|
xed/bacon-message-connection.h
|
||||||
Copyright: 2003, Bastien Nocera <hadess@hadess.net>
|
Copyright: 2003, Bastien Nocera <hadess@hadess.net>
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/xedit-print-job.c
|
Files: xed/xed-print-job.c
|
||||||
xedit/xedit-print-job.h
|
xed/xed-print-job.h
|
||||||
Copyright: 2000-2001, Chema Celorio, Paolo Maggi
|
Copyright: 2000-2001, Chema Celorio, Paolo Maggi
|
||||||
2002-2008, Paolo Maggi
|
2002-2008, Paolo Maggi
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/xedit-notebook.c
|
Files: xed/xed-notebook.c
|
||||||
xedit/xedit-notebook.h
|
xed/xed-notebook.h
|
||||||
Copyright: 2002, Christophe Fergeau
|
Copyright: 2002, Christophe Fergeau
|
||||||
2003, Marco Pesenti Gritti
|
2003, Marco Pesenti Gritti
|
||||||
2003-2004, Christian Persch
|
2003-2004, Christian Persch
|
||||||
2005, Paolo Maggi
|
2005, Paolo Maggi
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/xedit-object-module.c
|
Files: xed/xed-object-module.c
|
||||||
xedit/xedit-object-module.h
|
xed/xed-object-module.h
|
||||||
Copyright: 2003, Marco Pesenti Gritti
|
Copyright: 2003, Marco Pesenti Gritti
|
||||||
2003-2004, Christian Persch
|
2003-2004, Christian Persch
|
||||||
2005, Paolo Maggi
|
2005, Paolo Maggi
|
||||||
2008, Jesse van den Kieboom
|
2008, Jesse van den Kieboom
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: plugins/spell/xedit-automatic-spell-checker.c
|
Files: plugins/spell/xed-automatic-spell-checker.c
|
||||||
plugins/spell/xedit-automatic-spell-checker.h
|
plugins/spell/xed-automatic-spell-checker.h
|
||||||
Copyright: 2002, Evan Martin
|
Copyright: 2002, Evan Martin
|
||||||
2002, Paolo Maggi
|
2002, Paolo Maggi
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/xedittextregion.c
|
Files: xed/xedtextregion.c
|
||||||
xedit/xedittextregion.h
|
xed/xedtextregion.h
|
||||||
Copyright: 2002, Gustavo Giráldez <gustavo.giraldez@gmx.net>
|
Copyright: 2002, Gustavo Giráldez <gustavo.giraldez@gmx.net>
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: plugins/checkupdate/xedit-check-update-plugin.c
|
Files: plugins/checkupdate/xed-check-update-plugin.c
|
||||||
plugins/checkupdate/xedit-check-update-plugin.h
|
plugins/checkupdate/xed-check-update-plugin.h
|
||||||
Copyright: 2009, Ignacio Casal Quinteiro <icq@gnome.org>
|
Copyright: 2009, Ignacio Casal Quinteiro <icq@gnome.org>
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: plugin-loaders/python/xedit-plugin-python.c
|
Files: plugin-loaders/python/xed-plugin-python.c
|
||||||
plugin-loaders/python/xedit-plugin-python.h
|
plugin-loaders/python/xed-plugin-python.h
|
||||||
Copyright: 2005, Raphael Slinckx
|
Copyright: 2005, Raphael Slinckx
|
||||||
2008, Jesse van den Kieboom
|
2008, Jesse van den Kieboom
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/dialogs/xedit-close-confirmation-dialog.c
|
Files: xed/dialogs/xed-close-confirmation-dialog.c
|
||||||
xedit/dialogs/xedit-close-confirmation-dialog.h
|
xed/dialogs/xed-close-confirmation-dialog.h
|
||||||
Copyright: 2004-2005, GNOME Foundation
|
Copyright: 2004-2005, GNOME Foundation
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/xedit-session.c
|
Files: xed/xed-session.c
|
||||||
xedit/xedit-session.h
|
xed/xed-session.h
|
||||||
Copyright: 2002, Ximian, Inc.
|
Copyright: 2002, Ximian, Inc.
|
||||||
2005, Paolo Maggi
|
2005, Paolo Maggi
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
@ -288,7 +288,7 @@ Files: plugins/externaltools/tools/filelookup.py
|
||||||
Copyright: 2009-2010, Per Arneng <per.arneng@anyplanet.com>
|
Copyright: 2009-2010, Per Arneng <per.arneng@anyplanet.com>
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: ./xedit/xedit-plugin-info.h
|
Files: ./xed/xed-plugin-info.h
|
||||||
Copyright: 2002-2005, Paolo Maggi
|
Copyright: 2002-2005, Paolo Maggi
|
||||||
2007, Paolo Maggi
|
2007, Paolo Maggi
|
||||||
2007, Steve Frécinaux
|
2007, Steve Frécinaux
|
||||||
|
@ -300,44 +300,44 @@ Copyright: 1998, James Henstridge <james@daa.com.au>
|
||||||
2008, B. Clausius
|
2008, B. Clausius
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/xedit-commands-help.c
|
Files: xed/xed-commands-help.c
|
||||||
Copyright: 1998-1999, Alex Roberts, Evan Lawrence
|
Copyright: 1998-1999, Alex Roberts, Evan Lawrence
|
||||||
2000-2001, Chema Celorio, Paolo Maggi
|
2000-2001, Chema Celorio, Paolo Maggi
|
||||||
2002-2005, Paolo Maggi
|
2002-2005, Paolo Maggi
|
||||||
2011, Perberos
|
2011, Perberos
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: plugins/spell/xedit-spell-checker-language.c
|
Files: plugins/spell/xed-spell-checker-language.c
|
||||||
Copyright: 2003-2004, Christian Persch
|
Copyright: 2003-2004, Christian Persch
|
||||||
2006, Paolo Maggi
|
2006, Paolo Maggi
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/xedit-dirs.c
|
Files: xed/xed-dirs.c
|
||||||
Copyright: 2008, Ignacio Casal Quinteiro
|
Copyright: 2008, Ignacio Casal Quinteiro
|
||||||
2011, Perberos
|
2011, Perberos
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/xedit-gio-document-saver.c
|
Files: xed/xed-gio-document-saver.c
|
||||||
Copyright: 2005-2006, Paolo Borelli and Paolo Maggi
|
Copyright: 2005-2006, Paolo Borelli and Paolo Maggi
|
||||||
2007, Paolo Borelli, Paolo Maggi, Steve Fr<46>cinaux
|
2007, Paolo Borelli, Paolo Maggi, Steve Fr<46>cinaux
|
||||||
2008, Jesse van den Kieboom
|
2008, Jesse van den Kieboom
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/xedit-style-scheme-manager.c
|
Files: xed/xed-style-scheme-manager.c
|
||||||
Copyright: 2007, Paolo Borelli and Paolo Maggi
|
Copyright: 2007, Paolo Borelli and Paolo Maggi
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/xedit-document-saver.c
|
Files: xed/xed-document-saver.c
|
||||||
Copyright: 2005-2006, Paolo Borelli and Paolo Maggi
|
Copyright: 2005-2006, Paolo Borelli and Paolo Maggi
|
||||||
2007, Paolo Borelli, Paolo Maggi, Steve Fr<46>cinaux
|
2007, Paolo Borelli, Paolo Maggi, Steve Fr<46>cinaux
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/xedit-plugin-manager.c
|
Files: xed/xed-plugin-manager.c
|
||||||
Copyright: 2002, Paolo Maggi and James Willcox
|
Copyright: 2002, Paolo Maggi and James Willcox
|
||||||
2003-2006, Paolo Maggi
|
2003-2006, Paolo Maggi
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/xedit-encodings.c
|
Files: xed/xed-encodings.c
|
||||||
Copyright: 2002, Red Hat, Inc.
|
Copyright: 2002, Red Hat, Inc.
|
||||||
2002-2005, Paolo Maggi
|
2002-2005, Paolo Maggi
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
@ -347,13 +347,13 @@ Copyright: 2005-2006, Steve Fr<46>cinaux <steve@istique.net>
|
||||||
2010, Per Arneng <per.arneng@anyplanet.com>
|
2010, Per Arneng <per.arneng@anyplanet.com>
|
||||||
License: GPL-2+
|
License: GPL-2+
|
||||||
|
|
||||||
Files: xedit/smclient/eggsmclient-xsmp.c
|
Files: xed/smclient/eggsmclient-xsmp.c
|
||||||
Copyright: 1998, Carsten Schaar
|
Copyright: 1998, Carsten Schaar
|
||||||
1998, The Open Group
|
1998, The Open Group
|
||||||
2007, Novell, Inc.
|
2007, Novell, Inc.
|
||||||
License: LGPL-2+
|
License: LGPL-2+
|
||||||
|
|
||||||
Files: xedit/smclient/eggdesktopfile.c
|
Files: xed/smclient/eggdesktopfile.c
|
||||||
Copyright: 1999-2000, Red Hat Inc.
|
Copyright: 1999-2000, Red Hat Inc.
|
||||||
2001, George Lebl
|
2001, George Lebl
|
||||||
2007, Novell, Inc.
|
2007, Novell, Inc.
|
||||||
|
@ -361,7 +361,7 @@ License: LGPL-2+
|
||||||
|
|
||||||
Files: data/*.in.in
|
Files: data/*.in.in
|
||||||
data/*.sh.in
|
data/*.sh.in
|
||||||
data/xedit.1
|
data/xed.1
|
||||||
data/*.convert
|
data/*.convert
|
||||||
data/*.desktop.in.in
|
data/*.desktop.in.in
|
||||||
data/*.pc.in
|
data/*.pc.in
|
||||||
|
@ -382,8 +382,8 @@ Files: data/*.in.in
|
||||||
plugins/filebrowser/*.template
|
plugins/filebrowser/*.template
|
||||||
plugins/filebrowser/*-marshal.list
|
plugins/filebrowser/*-marshal.list
|
||||||
plugins/modelines/language-mappings
|
plugins/modelines/language-mappings
|
||||||
plugins/filebrowser/xedit-file-browser-messages.c
|
plugins/filebrowser/xed-file-browser-messages.c
|
||||||
plugins/filebrowser/xedit-file-browser-utils.h
|
plugins/filebrowser/xed-file-browser-utils.h
|
||||||
plugins/snippets/snippets/Completion.py
|
plugins/snippets/snippets/Completion.py
|
||||||
plugins/snippets/snippets/Exporter.py
|
plugins/snippets/snippets/Exporter.py
|
||||||
plugins/snippets/snippets/Importer.py
|
plugins/snippets/snippets/Importer.py
|
||||||
|
@ -392,16 +392,16 @@ Files: data/*.in.in
|
||||||
plugins/snippets/data/lang/snippets.lang
|
plugins/snippets/data/lang/snippets.lang
|
||||||
plugins/snippets/snippets/*.ui
|
plugins/snippets/snippets/*.ui
|
||||||
plugins/taglist/*.xml.in
|
plugins/taglist/*.xml.in
|
||||||
xedit/xedit-message-bus.c
|
xed/xed-message-bus.c
|
||||||
xedit/xedit-message-bus.h
|
xed/xed-message-bus.h
|
||||||
xedit/xedit-message-type.c
|
xed/xed-message-type.c
|
||||||
xedit/xedit-message-type.h
|
xed/xed-message-type.h
|
||||||
xedit/xedit-message.c
|
xed/xed-message.c
|
||||||
xedit/xedit-message.h
|
xed/xed-message.h
|
||||||
xedit/*.template
|
xed/*.template
|
||||||
xedit/*.ui
|
xed/*.ui
|
||||||
xedit/*.rc
|
xed/*.rc
|
||||||
xedit/dialogs/*.ui
|
xed/dialogs/*.ui
|
||||||
tests/setup-document-saver.sh
|
tests/setup-document-saver.sh
|
||||||
data/Makefile.am
|
data/Makefile.am
|
||||||
docs/reference/Makefile.am
|
docs/reference/Makefile.am
|
||||||
|
@ -411,24 +411,24 @@ Files: data/*.in.in
|
||||||
plugin-loaders/Makefile.am
|
plugin-loaders/Makefile.am
|
||||||
plugin-loaders/python/Makefile.am
|
plugin-loaders/python/Makefile.am
|
||||||
plugin-loaders/python/bindings/Makefile.am
|
plugin-loaders/python/bindings/Makefile.am
|
||||||
plugin-loaders/python/bindings/xedit.defs
|
plugin-loaders/python/bindings/xed.defs
|
||||||
plugin-loaders/python/bindings/xedit.override
|
plugin-loaders/python/bindings/xed.override
|
||||||
plugin-loaders/python/bindings/xeditcommands.defs
|
plugin-loaders/python/bindings/xedcommands.defs
|
||||||
plugin-loaders/python/bindings/xeditcommands.override
|
plugin-loaders/python/bindings/xedcommands.override
|
||||||
plugin-loaders/python/bindings/xeditmessage.override
|
plugin-loaders/python/bindings/xedmessage.override
|
||||||
plugin-loaders/python/bindings/xeditplugin.override
|
plugin-loaders/python/bindings/xedplugin.override
|
||||||
plugin-loaders/python/bindings/xeditutils.defs
|
plugin-loaders/python/bindings/xedutils.defs
|
||||||
plugin-loaders/python/bindings/xeditutils.override
|
plugin-loaders/python/bindings/xedutils.override
|
||||||
plugins/time/Makefile.am
|
plugins/time/Makefile.am
|
||||||
plugins/docinfo/Makefile.am
|
plugins/docinfo/Makefile.am
|
||||||
plugins/pythonconsole/pythonconsole/Makefile.am
|
plugins/pythonconsole/pythonconsole/Makefile.am
|
||||||
plugins/pythonconsole/Makefile.am
|
plugins/pythonconsole/Makefile.am
|
||||||
plugins/filebrowser/Makefile.am
|
plugins/filebrowser/Makefile.am
|
||||||
plugins/filebrowser/xedit-file-browser-widget-ui.xml
|
plugins/filebrowser/xed-file-browser-widget-ui.xml
|
||||||
plugins/quickopen/quickopen/Makefile.am
|
plugins/quickopen/quickopen/Makefile.am
|
||||||
plugins/quickopen/Makefile.am
|
plugins/quickopen/Makefile.am
|
||||||
plugins/spell/Makefile.am
|
plugins/spell/Makefile.am
|
||||||
plugins/spell/xedit-spell-marshal.list
|
plugins/spell/xed-spell-marshal.list
|
||||||
plugins/Makefile.am
|
plugins/Makefile.am
|
||||||
plugins/modelines/Makefile.am
|
plugins/modelines/Makefile.am
|
||||||
plugins/externaltools/tools/Makefile.am
|
plugins/externaltools/tools/Makefile.am
|
||||||
|
@ -443,17 +443,17 @@ Files: data/*.in.in
|
||||||
plugins/snippets/data/Makefile.am
|
plugins/snippets/data/Makefile.am
|
||||||
plugins/snippets/snippets/Makefile.am
|
plugins/snippets/snippets/Makefile.am
|
||||||
plugins/sort/Makefile.am
|
plugins/sort/Makefile.am
|
||||||
xedit/xedit-marshal.list
|
xed/xed-marshal.list
|
||||||
po/gnome-copyrights.txt
|
po/gnome-copyrights.txt
|
||||||
xedit/Makefile.am
|
xed/Makefile.am
|
||||||
xedit/smclient/Makefile.am
|
xed/smclient/Makefile.am
|
||||||
xedit/dialogs/Makefile.am
|
xed/dialogs/Makefile.am
|
||||||
po/LINGUAS
|
po/LINGUAS
|
||||||
po/POTFILES.in
|
po/POTFILES.in
|
||||||
po/POTFILES.skip
|
po/POTFILES.skip
|
||||||
tests/Makefile.am
|
tests/Makefile.am
|
||||||
tools/plugin_template/Makefile.am
|
tools/plugin_template/Makefile.am
|
||||||
tools/plugin_template/xedit-plugin.desktop.in
|
tools/plugin_template/xed-plugin.desktop.in
|
||||||
.tx/config
|
.tx/config
|
||||||
AUTHORS
|
AUTHORS
|
||||||
COPYING
|
COPYING
|
||||||
|
|
|
@ -6,8 +6,8 @@ DHFLAGS=--parallel
|
||||||
dh $@ $(DHFLAGS)
|
dh $@ $(DHFLAGS)
|
||||||
|
|
||||||
override_dh_install:
|
override_dh_install:
|
||||||
rm -rfv debian/tmp/usr/lib/*/xedit/plugin-loaders/*.la
|
rm -rfv debian/tmp/usr/lib/*/xed/plugin-loaders/*.la
|
||||||
rm -rfv debian/tmp/usr/lib/*/xedit/plugins/*.la
|
rm -rfv debian/tmp/usr/lib/*/xed/plugins/*.la
|
||||||
dh_install --fail-missing
|
dh_install --fail-missing
|
||||||
|
|
||||||
override_dh_auto_configure:
|
override_dh_auto_configure:
|
||||||
|
@ -27,7 +27,7 @@ override_dh_auto_test:
|
||||||
DEB_BUILD_OPTIONS=nocheck dh_auto_test
|
DEB_BUILD_OPTIONS=nocheck dh_auto_test
|
||||||
|
|
||||||
override_dh_strip:
|
override_dh_strip:
|
||||||
dh_strip --dbg-package=xedit-dbg
|
dh_strip --dbg-package=xed-dbg
|
||||||
|
|
||||||
get-orig-source:
|
get-orig-source:
|
||||||
uscan --noconf --force-download --rename --download-current-version --destdir=..
|
uscan --noconf --force-download --rename --download-current-version --destdir=..
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
version=3
|
version=3
|
||||||
http://git.mate-desktop.org/xedit/ \
|
http://git.mate-desktop.org/xed/ \
|
||||||
snapshot/xedit-(\d\.(?:[0-9]+|)[24680]\.\d)\.tar\.xz
|
snapshot/xed-(\d\.(?:[0-9]+|)[24680]\.\d)\.tar\.xz
|
||||||
|
|
|
@ -2,6 +2,6 @@ usr/share/appdata/
|
||||||
usr/share/glib-2.0/
|
usr/share/glib-2.0/
|
||||||
usr/share/help/
|
usr/share/help/
|
||||||
usr/share/locale/
|
usr/share/locale/
|
||||||
usr/share/xedit/icons/
|
usr/share/xed/icons/
|
||||||
usr/share/xedit/plugins/
|
usr/share/xed/plugins/
|
||||||
usr/share/xedit/ui/
|
usr/share/xed/ui/
|
|
@ -0,0 +1,2 @@
|
||||||
|
# Catch false-positive lintian message
|
||||||
|
xed-common: privacy-breach-generic usr/share/xed/plugins/snippets/mallard.xml (http://$1/)
|
|
@ -1,2 +1,2 @@
|
||||||
usr/include/xedit/
|
usr/include/xed/
|
||||||
usr/lib/*/pkgconfig/
|
usr/lib/*/pkgconfig/
|
|
@ -0,0 +1,6 @@
|
||||||
|
usr/bin/
|
||||||
|
usr/lib/*/xed/plugin-loaders/*.so
|
||||||
|
usr/lib/*/xed/plugins/
|
||||||
|
usr/lib/xed/xed-bugreport.sh
|
||||||
|
usr/share/applications/
|
||||||
|
usr/share/man/
|
|
@ -1,2 +0,0 @@
|
||||||
# Catch false-positive lintian message
|
|
||||||
xedit-common: privacy-breach-generic usr/share/xedit/plugins/snippets/mallard.xml (http://$1/)
|
|
|
@ -1,6 +0,0 @@
|
||||||
usr/bin/
|
|
||||||
usr/lib/*/xedit/plugin-loaders/*.so
|
|
||||||
usr/lib/*/xedit/plugins/
|
|
||||||
usr/lib/xedit/xedit-bugreport.sh
|
|
||||||
usr/share/applications/
|
|
||||||
usr/share/man/
|
|
|
@ -1,10 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
if [ remove = "$1" -o abort-install = "$1" -o disappear = "$1" ]; then
|
|
||||||
dpkg-divert --package xedit --remove --rename --divert /usr/bin/x11edit /usr/bin/xedit
|
|
||||||
dpkg-divert --package xedit --remove --rename --divert /usr/share/man/man1/x11edit.1.gz /usr/share/man/man1/xedit.1.gz
|
|
||||||
fi
|
|
||||||
|
|
||||||
exit 0
|
|
|
@ -1,12 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
case "$1" in
|
|
||||||
install|upgrade)
|
|
||||||
dpkg-divert --package xedit --add --rename --divert /usr/bin/x11edit /usr/bin/xedit
|
|
||||||
dpkg-divert --package xedit --add --rename --divert /usr/share/man/man1/x11edit.1.gz /usr/share/man/man1/xedit.1.gz
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
exit 0
|
|
|
@ -6,7 +6,7 @@
|
||||||
AUTOMAKE_OPTIONS = 1.6
|
AUTOMAKE_OPTIONS = 1.6
|
||||||
|
|
||||||
# The name of the module, e.g. 'glib'.
|
# The name of the module, e.g. 'glib'.
|
||||||
DOC_MODULE=xedit
|
DOC_MODULE=xed
|
||||||
|
|
||||||
# The top-level SGML file. You can change this if you want to.
|
# The top-level SGML file. You can change this if you want to.
|
||||||
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
|
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
|
||||||
|
@ -14,7 +14,7 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
|
||||||
# The directory containing the source code. Relative to $(srcdir).
|
# The directory containing the source code. Relative to $(srcdir).
|
||||||
# gtk-doc will search all .c & .h files beneath here for inline comments
|
# gtk-doc will search all .c & .h files beneath here for inline comments
|
||||||
# documenting the functions and macros.
|
# documenting the functions and macros.
|
||||||
DOC_SOURCE_DIR=../../xedit
|
DOC_SOURCE_DIR=../../xed
|
||||||
|
|
||||||
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
|
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
|
||||||
SCANGOBJ_OPTIONS=
|
SCANGOBJ_OPTIONS=
|
||||||
|
@ -35,39 +35,39 @@ MKTMPL_OPTIONS=
|
||||||
FIXXREF_OPTIONS=
|
FIXXREF_OPTIONS=
|
||||||
|
|
||||||
# Used for dependencies. The docs will be rebuilt if any of these change.
|
# Used for dependencies. The docs will be rebuilt if any of these change.
|
||||||
HFILE_GLOB=$(top_srcdir)/xedit/*.h
|
HFILE_GLOB=$(top_srcdir)/xed/*.h
|
||||||
CFILE_GLOB=$(top_srcdir)/xedit/*.c
|
CFILE_GLOB=$(top_srcdir)/xed/*.c
|
||||||
|
|
||||||
# Header files to ignore when scanning (These are internal to xedit).
|
# Header files to ignore when scanning (These are internal to xed).
|
||||||
IGNORE_HFILES= \
|
IGNORE_HFILES= \
|
||||||
xedit-commands.h \
|
xed-commands.h \
|
||||||
xedit-document-loader.h \
|
xed-document-loader.h \
|
||||||
xedit-document-saver.h \
|
xed-document-saver.h \
|
||||||
xedit-documents-panel.h \
|
xed-documents-panel.h \
|
||||||
xedit-io-error-message-area.h \
|
xed-io-error-message-area.h \
|
||||||
xedit-languages-manager.h \
|
xed-languages-manager.h \
|
||||||
xedit-object-module.h \
|
xed-object-module.h \
|
||||||
xedit-plugin-manager.h \
|
xed-plugin-manager.h \
|
||||||
xedit-plugins-engine.h \
|
xed-plugins-engine.h \
|
||||||
xedit-prefs-manager-private.h \
|
xed-prefs-manager-private.h \
|
||||||
xedit-session.h \
|
xed-session.h \
|
||||||
xedit-ui.h \
|
xed-ui.h \
|
||||||
xedit-window-private.h \
|
xed-window-private.h \
|
||||||
xedit-output-window.h \
|
xed-output-window.h \
|
||||||
xedit-close-confirmation-dialog.h \
|
xed-close-confirmation-dialog.h \
|
||||||
xedit-encodings-dialog.h \
|
xed-encodings-dialog.h \
|
||||||
xedit-open-location-dialog.h \
|
xed-open-location-dialog.h \
|
||||||
xedit-page-setup-dialog.h \
|
xed-page-setup-dialog.h \
|
||||||
xedit-preferences-dialog.h \
|
xed-preferences-dialog.h \
|
||||||
xedit-search-dialog.h \
|
xed-search-dialog.h \
|
||||||
xedit-marshal.h \
|
xed-marshal.h \
|
||||||
xedit-enum-types.h
|
xed-enum-types.h
|
||||||
|
|
||||||
# These files are not part of xedit but were copied into it for some reason.
|
# These files are not part of xed but were copied into it for some reason.
|
||||||
# Do not parse them to make the docs.
|
# Do not parse them to make the docs.
|
||||||
IGNORE_HFILES += \
|
IGNORE_HFILES += \
|
||||||
bacon-message-connection.h \
|
bacon-message-connection.h \
|
||||||
xedittextregion.h \
|
xedtextregion.h \
|
||||||
sexy-icon-entry.h
|
sexy-icon-entry.h
|
||||||
|
|
||||||
# Images to copy into HTML directory.
|
# Images to copy into HTML directory.
|
||||||
|
@ -86,15 +86,15 @@ expand_content_files=
|
||||||
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
|
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
|
||||||
# signals and properties.
|
# signals and properties.
|
||||||
GTKDOC_CFLAGS= \
|
GTKDOC_CFLAGS= \
|
||||||
-I$(top_srcdir)/xedit \
|
-I$(top_srcdir)/xed \
|
||||||
-I$(top_builddir)/xedit \
|
-I$(top_builddir)/xed \
|
||||||
-I$(top_srcdir) \
|
-I$(top_srcdir) \
|
||||||
-I$(top_builddir) \
|
-I$(top_builddir) \
|
||||||
$(XEDIT_CFLAGS)
|
$(XED_CFLAGS)
|
||||||
|
|
||||||
GTKDOC_LIBS= \
|
GTKDOC_LIBS= \
|
||||||
$(top_builddir)/xedit/libxedit.la \
|
$(top_builddir)/xed/libxed.la \
|
||||||
$(XEDIT_LIBS)
|
$(XED_LIBS)
|
||||||
|
|
||||||
if ENABLE_PYTHON
|
if ENABLE_PYTHON
|
||||||
GTKDOC_CFLAGS += \
|
GTKDOC_CFLAGS += \
|
||||||
|
@ -103,7 +103,7 @@ GTKDOC_CFLAGS += \
|
||||||
$(PYTHON_CFLAGS) \
|
$(PYTHON_CFLAGS) \
|
||||||
$(AM_CFLAGS)
|
$(AM_CFLAGS)
|
||||||
GTKDOC_LIBS += \
|
GTKDOC_LIBS += \
|
||||||
$(top_builddir)/plugin-loaders/python/bindings/xedit.la
|
$(top_builddir)/plugin-loaders/python/bindings/xed.la
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# This includes the standard gtk-doc make rules, copied by gtkdocize.
|
# This includes the standard gtk-doc make rules, copied by gtkdocize.
|
||||||
|
@ -113,7 +113,7 @@ include $(top_srcdir)/gtk-doc.make
|
||||||
# e.g. EXTRA_DIST += version.xml.in
|
# e.g. EXTRA_DIST += version.xml.in
|
||||||
|
|
||||||
regenerate-types:
|
regenerate-types:
|
||||||
grep _get_type $(DOC_SOURCE_DIR)/xedit-*.h | grep -oR '^.*\.h' | sort | uniq - | sed -r 's/^.*\.h$/#include "\0"/' > xedit.types
|
grep _get_type $(DOC_SOURCE_DIR)/xed-*.h | grep -oR '^.*\.h' | sort | uniq - | sed -r 's/^.*\.h$/#include "\0"/' > xed.types
|
||||||
grep _get_type $(DOC_SOURCE_DIR)/xedit-*.h | grep -oR '^.*\.h' | sort | uniq - | sed -re 'y/-/_/' -e 's/^(.*)\.h$/\1_get_type/' >> xedit.types.new
|
grep _get_type $(DOC_SOURCE_DIR)/xed-*.h | grep -oR '^.*\.h' | sort | uniq - | sed -re 'y/-/_/' -e 's/^(.*)\.h$/\1_get_type/' >> xed.types.new
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
||||||
|
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
|
||||||
|
<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
|
||||||
|
<bookinfo>
|
||||||
|
<title>xed Reference Manual</title>
|
||||||
|
</bookinfo>
|
||||||
|
|
||||||
|
<chapter>
|
||||||
|
<title>xed</title>
|
||||||
|
<xi:include href="xml/xed-app.xml"/>
|
||||||
|
<xi:include href="xml/xed-document.xml"/>
|
||||||
|
<xi:include href="xml/xed-encodings-option-menu.xml"/>
|
||||||
|
<xi:include href="xml/xed-file-chooser-dialog.xml"/>
|
||||||
|
<xi:include href="xml/xed-message-bus.xml"/>
|
||||||
|
<xi:include href="xml/xed-message-type.xml"/>
|
||||||
|
<xi:include href="xml/xed-message.xml"/>
|
||||||
|
<xi:include href="xml/xed-notebook.xml"/>
|
||||||
|
<xi:include href="xml/xed-panel.xml"/>
|
||||||
|
<xi:include href="xml/xed-plugin.xml"/>
|
||||||
|
<xi:include href="xml/xed-print-job-preview.xml"/>
|
||||||
|
<xi:include href="xml/xed-print.xml"/>
|
||||||
|
<xi:include href="xml/xed-progress-message-area.xml"/>
|
||||||
|
<xi:include href="xml/xed-statusbar.xml"/>
|
||||||
|
<xi:include href="xml/xed-tab.xml"/>
|
||||||
|
<xi:include href="xml/xed-view.xml"/>
|
||||||
|
<xi:include href="xml/xed-window.xml"/>
|
||||||
|
<xi:include href="xml/xed-convert.xml"/>
|
||||||
|
<xi:include href="xml/xed-debug.xml"/>
|
||||||
|
<xi:include href="xml/xed-encodings.xml"/>
|
||||||
|
<xi:include href="xml/xed-help.xml"/>
|
||||||
|
<xi:include href="xml/xed-metadata-manager.xml"/>
|
||||||
|
<xi:include href="xml/xed-prefs-manager-app.xml"/>
|
||||||
|
<xi:include href="xml/xed-prefs-manager.xml"/>
|
||||||
|
<xi:include href="xml/xed-utils.xml"/>
|
||||||
|
</chapter>
|
||||||
|
</book>
|
|
@ -0,0 +1,799 @@
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-app</FILE>
|
||||||
|
XedAppPrivate
|
||||||
|
<TITLE>XedApp</TITLE>
|
||||||
|
XedApp
|
||||||
|
xed_app_get_default
|
||||||
|
xed_app_create_window
|
||||||
|
xed_app_get_windows
|
||||||
|
xed_app_get_active_window
|
||||||
|
xed_app_get_documents
|
||||||
|
xed_app_get_views
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
XED_APP
|
||||||
|
XED_IS_APP
|
||||||
|
XED_TYPE_APP
|
||||||
|
xed_app_get_type
|
||||||
|
XED_APP_CLASS
|
||||||
|
XED_IS_APP_CLASS
|
||||||
|
XED_APP_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-document</FILE>
|
||||||
|
XedSearchFlags
|
||||||
|
XedDocumentPrivate
|
||||||
|
<TITLE>XedDocument</TITLE>
|
||||||
|
XedDocument
|
||||||
|
XedDocumentSaveFlags
|
||||||
|
XED_DOCUMENT_ERROR
|
||||||
|
xed_document_error_quark
|
||||||
|
xed_document_new
|
||||||
|
xed_document_get_uri
|
||||||
|
xed_document_get_uri_for_display
|
||||||
|
xed_document_get_short_name_for_display
|
||||||
|
xed_document_get_mime_type
|
||||||
|
xed_document_get_readonly
|
||||||
|
xed_document_load
|
||||||
|
xed_document_insert_file
|
||||||
|
xed_document_load_cancel
|
||||||
|
xed_document_save
|
||||||
|
xed_document_save_as
|
||||||
|
xed_document_is_untouched
|
||||||
|
xed_document_is_untitled
|
||||||
|
xed_document_get_deleted
|
||||||
|
xed_document_goto_line
|
||||||
|
xed_document_set_search_text
|
||||||
|
xed_document_get_search_text
|
||||||
|
xed_document_get_can_search_again
|
||||||
|
xed_document_search_forward
|
||||||
|
xed_document_search_backward
|
||||||
|
xed_document_replace_all
|
||||||
|
xed_document_set_language
|
||||||
|
xed_document_set_enable_search_highlighting
|
||||||
|
xed_document_get_enable_search_highlighting
|
||||||
|
XED_SEARCH_IS_DONT_SET_FLAGS
|
||||||
|
XED_SEARCH_SET_DONT_SET_FLAGS
|
||||||
|
XED_SEARCH_IS_ENTIRE_WORD
|
||||||
|
XED_SEARCH_SET_ENTIRE_WORD
|
||||||
|
XED_SEARCH_IS_CASE_SENSITIVE
|
||||||
|
XED_SEARCH_SET_CASE_SENSITIVE
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
XED_DOCUMENT
|
||||||
|
XED_IS_DOCUMENT
|
||||||
|
XED_TYPE_DOCUMENT
|
||||||
|
xed_document_get_type
|
||||||
|
XED_DOCUMENT_CLASS
|
||||||
|
XED_IS_DOCUMENT_CLASS
|
||||||
|
XED_DOCUMENT_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-encodings-option-menu</FILE>
|
||||||
|
XedEncodingsOptionMenuPrivate
|
||||||
|
<TITLE>XedEncodingsOptionMenu</TITLE>
|
||||||
|
XedEncodingsOptionMenu
|
||||||
|
xed_encodings_option_menu_new
|
||||||
|
xed_encodings_option_menu_get_selected_encoding
|
||||||
|
xed_encodings_option_menu_set_selected_encoding
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
XED_ENCODINGS_OPTION_MENU
|
||||||
|
XED_IS_ENCODINGS_OPTION_MENU
|
||||||
|
XED_TYPE_ENCODINGS_OPTION_MENU
|
||||||
|
xed_encodings_option_menu_get_type
|
||||||
|
XED_ENCODINGS_OPTION_MENU_CLASS
|
||||||
|
XED_IS_ENCODINGS_OPTION_MENU_CLASS
|
||||||
|
XED_ENCODINGS_OPTION_MENU_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-file-chooser-dialog</FILE>
|
||||||
|
XedFileChooserDialogPrivate
|
||||||
|
<TITLE>XedFileChooserDialog</TITLE>
|
||||||
|
XedFileChooserDialog
|
||||||
|
xed_file_chooser_dialog_new
|
||||||
|
xed_file_chooser_dialog_set_encoding
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
XED_FILE_CHOOSER_DIALOG
|
||||||
|
XED_IS_FILE_CHOOSER_DIALOG
|
||||||
|
XED_TYPE_FILE_CHOOSER_DIALOG
|
||||||
|
xed_file_chooser_dialog_get_type
|
||||||
|
XED_FILE_CHOOSER_DIALOG_CLASS
|
||||||
|
XED_IS_FILE_CHOOSER_DIALOG_CLASS
|
||||||
|
XED_FILE_CHOOSER_DIALOG_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-message-bus</FILE>
|
||||||
|
<TITLE>XedMessageBus</TITLE>
|
||||||
|
XedMessageBus
|
||||||
|
XedMessageCallback
|
||||||
|
xed_message_bus_get_default
|
||||||
|
xed_message_bus_new
|
||||||
|
xed_message_bus_lookup
|
||||||
|
xed_message_bus_register
|
||||||
|
xed_message_bus_unregister
|
||||||
|
xed_message_bus_unregister_all
|
||||||
|
xed_message_bus_is_registered
|
||||||
|
xed_message_bus_foreach
|
||||||
|
xed_message_bus_connect
|
||||||
|
xed_message_bus_disconnect
|
||||||
|
xed_message_bus_disconnect_by_func
|
||||||
|
xed_message_bus_block
|
||||||
|
xed_message_bus_block_by_func
|
||||||
|
xed_message_bus_unblock
|
||||||
|
xed_message_bus_unblock_by_func
|
||||||
|
xed_message_bus_send_message
|
||||||
|
xed_message_bus_send_message_sync
|
||||||
|
xed_message_bus_send
|
||||||
|
xed_message_bus_send_sync
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
XED_MESSAGE_BUS
|
||||||
|
XED_IS_MESSAGE_BUS
|
||||||
|
XED_TYPE_MESSAGE_BUS
|
||||||
|
xed_message_bus_get_type
|
||||||
|
XED_MESSAGE_BUS_CLASS
|
||||||
|
XED_IS_MESSAGE_BUS_CLASS
|
||||||
|
XED_MESSAGE_BUS_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-message-type</FILE>
|
||||||
|
<TITLE>XedMessageType</TITLE>
|
||||||
|
XedMessageType
|
||||||
|
xed_message_type_get_type
|
||||||
|
xed_message_type_is_supported
|
||||||
|
xed_message_type_identifier
|
||||||
|
xed_message_type_is_valid_object_path
|
||||||
|
xed_message_type_new
|
||||||
|
xed_message_type_new_valist
|
||||||
|
xed_message_type_ref
|
||||||
|
xed_message_type_unref
|
||||||
|
xed_message_type_set
|
||||||
|
xed_message_type_set_valist
|
||||||
|
xed_message_type_instantiate
|
||||||
|
xed_message_type_instantiate_valist
|
||||||
|
xed_message_type_get_object_path
|
||||||
|
xed_message_type_get_method
|
||||||
|
xed_message_type_lookup
|
||||||
|
xed_message_type_foreach
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
XED_TYPE_MESSAGE_TYPE
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-message</FILE>
|
||||||
|
<TITLE>XedMessage</TITLE>
|
||||||
|
XedMessage
|
||||||
|
xed_message_get
|
||||||
|
xed_message_get_valist
|
||||||
|
xed_message_get_value
|
||||||
|
xed_message_set
|
||||||
|
xed_message_set_valist
|
||||||
|
xed_message_set_value
|
||||||
|
xed_message_set_valuesv
|
||||||
|
xed_message_get_object_path
|
||||||
|
xed_message_get_method
|
||||||
|
xed_message_has_key
|
||||||
|
xed_message_get_key_type
|
||||||
|
xed_message_validate
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
XED_MESSAGE
|
||||||
|
XED_IS_MESSAGE
|
||||||
|
XED_TYPE_MESSAGE
|
||||||
|
xed_message_get_type
|
||||||
|
XED_MESSAGE_CLASS
|
||||||
|
XED_IS_MESSAGE_CLASS
|
||||||
|
XED_MESSAGE_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-notebook</FILE>
|
||||||
|
XedNotebookPrivate
|
||||||
|
<TITLE>XedNotebook</TITLE>
|
||||||
|
XedNotebook
|
||||||
|
xed_notebook_new
|
||||||
|
xed_notebook_add_tab
|
||||||
|
xed_notebook_remove_tab
|
||||||
|
xed_notebook_remove_all_tabs
|
||||||
|
xed_notebook_reorder_tab
|
||||||
|
xed_notebook_move_tab
|
||||||
|
xed_notebook_set_always_show_tabs
|
||||||
|
xed_notebook_set_close_buttons_sensitive
|
||||||
|
xed_notebook_get_close_buttons_sensitive
|
||||||
|
xed_notebook_set_tab_drag_and_drop_enabled
|
||||||
|
xed_notebook_get_tab_drag_and_drop_enabled
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
XED_NOTEBOOK
|
||||||
|
XED_IS_NOTEBOOK
|
||||||
|
XED_TYPE_NOTEBOOK
|
||||||
|
xed_notebook_get_type
|
||||||
|
XED_NOTEBOOK_CLASS
|
||||||
|
XED_IS_NOTEBOOK_CLASS
|
||||||
|
XED_NOTEBOOK_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-panel</FILE>
|
||||||
|
XedPanelPrivate
|
||||||
|
<TITLE>XedPanel</TITLE>
|
||||||
|
XedPanel
|
||||||
|
xed_panel_new
|
||||||
|
xed_panel_add_item
|
||||||
|
xed_panel_add_item_with_stock_icon
|
||||||
|
xed_panel_remove_item
|
||||||
|
xed_panel_activate_item
|
||||||
|
xed_panel_item_is_active
|
||||||
|
xed_panel_get_orientation
|
||||||
|
xed_panel_get_n_items
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
XED_PANEL
|
||||||
|
XED_IS_PANEL
|
||||||
|
XED_TYPE_PANEL
|
||||||
|
xed_panel_get_type
|
||||||
|
XED_PANEL_CLASS
|
||||||
|
XED_IS_PANEL_CLASS
|
||||||
|
XED_PANEL_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-plugin</FILE>
|
||||||
|
<TITLE>XedPlugin</TITLE>
|
||||||
|
XedPlugin
|
||||||
|
xed_plugin_activate
|
||||||
|
xed_plugin_deactivate
|
||||||
|
xed_plugin_update_ui
|
||||||
|
xed_plugin_is_configurable
|
||||||
|
xed_plugin_create_configure_dialog
|
||||||
|
XED_PLUGIN_REGISTER_TYPE
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
XED_PLUGIN
|
||||||
|
XED_IS_PLUGIN
|
||||||
|
XED_TYPE_PLUGIN
|
||||||
|
xed_plugin_get_type
|
||||||
|
XED_PLUGIN_CLASS
|
||||||
|
XED_IS_PLUGIN_CLASS
|
||||||
|
XED_PLUGIN_GET_CLASS
|
||||||
|
XED_PLUGIN_REGISTER_TYPE_WITH_CODE
|
||||||
|
XED_PLUGIN_REGISTER_TYPE
|
||||||
|
XED_PLUGIN_DEFINE_TYPE_WITH_CODE
|
||||||
|
XED_PLUGIN_DEFINE_TYPE
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-print-job-preview</FILE>
|
||||||
|
XedPrintJobPreviewPrivate
|
||||||
|
<TITLE>XedPrintJobPreview</TITLE>
|
||||||
|
XedPrintJobPreview
|
||||||
|
xed_print_job_preview_new
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
XED_PRINT_JOB_PREVIEW
|
||||||
|
XED_IS_PRINT_JOB_PREVIEW
|
||||||
|
XED_TYPE_PRINT_JOB_PREVIEW
|
||||||
|
xed_print_job_preview_get_type
|
||||||
|
XED_PRINT_JOB_PREVIEW_CLASS
|
||||||
|
XED_IS_PRINT_JOB_PREVIEW_CLASS
|
||||||
|
XED_PRINT_JOB_PREVIEW_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-print</FILE>
|
||||||
|
<TITLE>XedPrintJob</TITLE>
|
||||||
|
XedPrintJob
|
||||||
|
xed_print_job_new
|
||||||
|
xed_print_job_save_config
|
||||||
|
xed_print_dialog_new
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
XED_PRINT_JOB
|
||||||
|
XED_IS_PRINT_JOB
|
||||||
|
XED_TYPE_PRINT_JOB
|
||||||
|
xed_print_job_get_type
|
||||||
|
XED_PRINT_JOB_CLASS
|
||||||
|
XED_IS_PRINT_JOB_CLASS
|
||||||
|
XED_PRINT_JOB_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-progress-message-area</FILE>
|
||||||
|
XedProgressMessageAreaPrivate
|
||||||
|
<TITLE>XedProgressMessageArea</TITLE>
|
||||||
|
XedProgressMessageArea
|
||||||
|
xed_progress_message_area_new
|
||||||
|
xed_progress_message_area_set_stock_image
|
||||||
|
xed_progress_message_area_set_markup
|
||||||
|
xed_progress_message_area_set_text
|
||||||
|
xed_progress_message_area_set_fraction
|
||||||
|
xed_progress_message_area_pulse
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
XED_PROGRESS_MESSAGE_AREA
|
||||||
|
XED_IS_PROGRESS_MESSAGE_AREA
|
||||||
|
XED_TYPE_PROGRESS_MESSAGE_AREA
|
||||||
|
xed_progress_message_area_get_type
|
||||||
|
XED_PROGRESS_MESSAGE_AREA_CLASS
|
||||||
|
XED_IS_PROGRESS_MESSAGE_AREA_CLASS
|
||||||
|
XED_PROGRESS_MESSAGE_AREA_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-statusbar</FILE>
|
||||||
|
XedStatusbarPrivate
|
||||||
|
<TITLE>XedStatusbar</TITLE>
|
||||||
|
XedStatusbar
|
||||||
|
xed_statusbar_new
|
||||||
|
XedStatus
|
||||||
|
xed_statusbar_set_window_state
|
||||||
|
xed_statusbar_set_overwrite
|
||||||
|
xed_statusbar_set_cursor_position
|
||||||
|
xed_statusbar_clear_overwrite
|
||||||
|
xed_statusbar_flash_message
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
XED_STATUSBAR
|
||||||
|
XED_IS_STATUSBAR
|
||||||
|
XED_TYPE_STATUSBAR
|
||||||
|
xed_statusbar_get_type
|
||||||
|
XED_STATUSBAR_CLASS
|
||||||
|
XED_IS_STATUSBAR_CLASS
|
||||||
|
XED_STATUSBAR_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-tab</FILE>
|
||||||
|
XedTabState
|
||||||
|
XedTabPrivate
|
||||||
|
<TITLE>XedTab</TITLE>
|
||||||
|
XedTab
|
||||||
|
xed_tab_get_view
|
||||||
|
xed_tab_get_document
|
||||||
|
xed_tab_get_from_document
|
||||||
|
xed_tab_get_state
|
||||||
|
xed_tab_get_auto_save_enabled
|
||||||
|
xed_tab_set_auto_save_enabled
|
||||||
|
xed_tab_get_auto_save_interval
|
||||||
|
xed_tab_set_auto_save_interval
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
XED_TAB
|
||||||
|
XED_IS_TAB
|
||||||
|
XED_TYPE_TAB
|
||||||
|
xed_tab_get_type
|
||||||
|
XED_TAB_CLASS
|
||||||
|
XED_IS_TAB_CLASS
|
||||||
|
XED_TAB_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-view</FILE>
|
||||||
|
XedViewPrivate
|
||||||
|
<TITLE>XedView</TITLE>
|
||||||
|
XedView
|
||||||
|
xed_view_new
|
||||||
|
xed_view_cut_clipboard
|
||||||
|
xed_view_copy_clipboard
|
||||||
|
xed_view_paste_clipboard
|
||||||
|
xed_view_delete_selection
|
||||||
|
xed_view_select_all
|
||||||
|
xed_view_scroll_to_cursor
|
||||||
|
xed_view_set_colors
|
||||||
|
xed_view_set_font
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
XED_VIEW
|
||||||
|
XED_IS_VIEW
|
||||||
|
XED_TYPE_VIEW
|
||||||
|
xed_view_get_type
|
||||||
|
XED_VIEW_CLASS
|
||||||
|
XED_IS_VIEW_CLASS
|
||||||
|
XED_VIEW_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-window</FILE>
|
||||||
|
XedWindowState
|
||||||
|
XedWindowPrivate
|
||||||
|
<TITLE>XedWindow</TITLE>
|
||||||
|
XedWindow
|
||||||
|
xed_window_create_tab
|
||||||
|
xed_window_create_tab_from_uri
|
||||||
|
xed_window_close_tab
|
||||||
|
xed_window_close_all_tabs
|
||||||
|
xed_window_close_tabs
|
||||||
|
xed_window_get_active_tab
|
||||||
|
xed_window_set_active_tab
|
||||||
|
xed_window_get_active_view
|
||||||
|
xed_window_get_active_document
|
||||||
|
xed_window_get_documents
|
||||||
|
xed_window_get_unsaved_documents
|
||||||
|
xed_window_get_views
|
||||||
|
xed_window_get_group
|
||||||
|
xed_window_get_side_panel
|
||||||
|
xed_window_get_bottom_panel
|
||||||
|
xed_window_get_statusbar
|
||||||
|
xed_window_get_ui_manager
|
||||||
|
xed_window_get_state
|
||||||
|
xed_window_get_tab_from_location
|
||||||
|
xed_window_get_tab_from_uri
|
||||||
|
xed_window_get_message_bus
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
XED_WINDOW
|
||||||
|
XED_IS_WINDOW
|
||||||
|
XED_TYPE_WINDOW
|
||||||
|
xed_window_get_type
|
||||||
|
XED_WINDOW_CLASS
|
||||||
|
XED_IS_WINDOW_CLASS
|
||||||
|
XED_WINDOW_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-convert</FILE>
|
||||||
|
XedConvertError
|
||||||
|
XED_CONVERT_ERROR
|
||||||
|
xed_convert_error_quark
|
||||||
|
xed_convert_to_utf8
|
||||||
|
xed_convert_from_utf8
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-debug</FILE>
|
||||||
|
XedDebugSection
|
||||||
|
DEBUG_VIEW
|
||||||
|
DEBUG_SEARCH
|
||||||
|
DEBUG_PRINT
|
||||||
|
DEBUG_PREFS
|
||||||
|
DEBUG_PLUGINS
|
||||||
|
DEBUG_TAB
|
||||||
|
DEBUG_DOCUMENT
|
||||||
|
DEBUG_COMMANDS
|
||||||
|
DEBUG_APP
|
||||||
|
DEBUG_SESSION
|
||||||
|
DEBUG_UTILS
|
||||||
|
DEBUG_METADATA
|
||||||
|
DEBUG_WINDOW
|
||||||
|
DEBUG_LOADER
|
||||||
|
DEBUG_SAVER
|
||||||
|
xed_debug_init
|
||||||
|
xed_debug
|
||||||
|
xed_debug_message
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-encodings</FILE>
|
||||||
|
XedEncoding
|
||||||
|
XED_TYPE_ENCODING
|
||||||
|
xed_encoding_get_type
|
||||||
|
xed_encoding_copy
|
||||||
|
xed_encoding_free
|
||||||
|
xed_encoding_get_from_charset
|
||||||
|
xed_encoding_get_from_index
|
||||||
|
xed_encoding_to_string
|
||||||
|
xed_encoding_get_name
|
||||||
|
xed_encoding_get_charset
|
||||||
|
xed_encoding_get_utf8
|
||||||
|
xed_encoding_get_current
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-help</FILE>
|
||||||
|
xed_help_display
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-metadata-manager</FILE>
|
||||||
|
xed_metadata_manager_shutdown
|
||||||
|
xed_metadata_manager_get
|
||||||
|
xed_metadata_manager_set
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-prefs-manager-app</FILE>
|
||||||
|
xed_prefs_manager_app_init
|
||||||
|
xed_prefs_manager_app_shutdown
|
||||||
|
xed_prefs_manager_get_window_state
|
||||||
|
xed_prefs_manager_set_window_state
|
||||||
|
xed_prefs_manager_window_state_can_set
|
||||||
|
xed_prefs_manager_get_window_size
|
||||||
|
xed_prefs_manager_get_default_window_size
|
||||||
|
xed_prefs_manager_set_window_size
|
||||||
|
xed_prefs_manager_window_size_can_set
|
||||||
|
xed_prefs_manager_get_side_panel_size
|
||||||
|
xed_prefs_manager_get_default_side_panel_size
|
||||||
|
xed_prefs_manager_set_side_panel_size
|
||||||
|
xed_prefs_manager_side_panel_size_can_set
|
||||||
|
xed_prefs_manager_get_bottom_panel_size
|
||||||
|
xed_prefs_manager_get_default_bottom_panel_size
|
||||||
|
xed_prefs_manager_set_bottom_panel_size
|
||||||
|
xed_prefs_manager_bottom_panel_size_can_set
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-prefs-manager</FILE>
|
||||||
|
XED_BASE_KEY
|
||||||
|
GPM_PREFS_DIR
|
||||||
|
GPM_FONT_DIR
|
||||||
|
GPM_USE_DEFAULT_FONT
|
||||||
|
GPM_EDITOR_FONT
|
||||||
|
GPM_COLORS_DIR
|
||||||
|
GPM_USE_DEFAULT_COLORS
|
||||||
|
GPM_BACKGROUND_COLOR
|
||||||
|
GPM_TEXT_COLOR
|
||||||
|
GPM_SELECTED_TEXT_COLOR
|
||||||
|
GPM_SELECTION_COLOR
|
||||||
|
GPM_SAVE_DIR
|
||||||
|
GPM_CREATE_BACKUP_COPY
|
||||||
|
GPM_BACKUP_COPY_EXTENSION
|
||||||
|
GPM_AUTO_SAVE
|
||||||
|
GPM_AUTO_SAVE_INTERVAL
|
||||||
|
GPM_UNDO_DIR
|
||||||
|
GPM_UNDO_ACTIONS_LIMIT
|
||||||
|
GPM_WRAP_MODE_DIR
|
||||||
|
GPM_WRAP_MODE
|
||||||
|
GPM_TABS_DIR
|
||||||
|
GPM_TABS_SIZE
|
||||||
|
GPM_INSERT_SPACES
|
||||||
|
GPM_AUTO_INDENT_DIR
|
||||||
|
GPM_AUTO_INDENT
|
||||||
|
GPM_LINE_NUMBERS_DIR
|
||||||
|
GPM_DISPLAY_LINE_NUMBERS
|
||||||
|
GPM_CURRENT_LINE_DIR
|
||||||
|
GPM_HIGHLIGHT_CURRENT_LINE
|
||||||
|
GPM_BRACKET_MATCHING_DIR
|
||||||
|
GPM_BRACKET_MATCHING
|
||||||
|
GPM_RIGHT_MARGIN_DIR
|
||||||
|
GPM_DISPLAY_RIGHT_MARGIN
|
||||||
|
GPM_RIGHT_MARGIN_POSITION
|
||||||
|
GPM_CURSOR_POSITION_DIR
|
||||||
|
GPM_RESTORE_CURSOR_POSITION
|
||||||
|
GPM_SEARCH_HIGHLIGHTING_DIR
|
||||||
|
GPM_SEARCH_HIGHLIGHTING_ENABLE
|
||||||
|
GPM_TOOLBAR_DIR
|
||||||
|
GPM_TOOLBAR_VISIBLE
|
||||||
|
GPM_TOOLBAR_BUTTONS_STYLE
|
||||||
|
GPM_STATUSBAR_DIR
|
||||||
|
GPM_STATUSBAR_VISIBLE
|
||||||
|
GPM_SIDE_PANE_DIR
|
||||||
|
GPM_SIDE_PANE_VISIBLE
|
||||||
|
GPM_BOTTOM_PANEL_DIR
|
||||||
|
GPM_BOTTOM_PANEL_VISIBLE
|
||||||
|
GPM_RECENTS_DIR
|
||||||
|
GPM_MAX_RECENTS
|
||||||
|
GPM_PRINT_PAGE_DIR
|
||||||
|
GPM_PRINT_SYNTAX
|
||||||
|
GPM_PRINT_HEADER
|
||||||
|
GPM_PRINT_WRAP_MODE
|
||||||
|
GPM_PRINT_LINE_NUMBERS
|
||||||
|
GPM_PRINT_FONT_DIR
|
||||||
|
GPM_PRINT_FONT_BODY
|
||||||
|
GPM_PRINT_FONT_BODY_PANGO
|
||||||
|
GPM_PRINT_FONT_HEADER
|
||||||
|
GPM_PRINT_FONT_HEADER_PANGO
|
||||||
|
GPM_PRINT_FONT_NUMBERS
|
||||||
|
GPM_PRINT_FONT_NUMBERS_PANGO
|
||||||
|
GPM_WINDOW_DIR
|
||||||
|
GPM_WINDOW_STATE
|
||||||
|
GPM_WINDOW_WIDTH
|
||||||
|
GPM_WINDOW_HEIGHT
|
||||||
|
GPM_SIDE_PANEL_SIZE
|
||||||
|
GPM_BOTTOM_PANEL_SIZE
|
||||||
|
GPM_ENCODINGS_DIR
|
||||||
|
GPM_AUTO_DETECTED_ENCODINGS
|
||||||
|
GPM_SHOWN_IN_MENU_ENCODINGS
|
||||||
|
GPM_SYNTAX_HL_DIR
|
||||||
|
GPM_SYNTAX_HL_ENABLE
|
||||||
|
GPM_WRITABLE_VFS_SCHEMES
|
||||||
|
GPM_DEFAULT_USE_DEFAULT_FONT
|
||||||
|
GPM_DEFAULT_EDITOR_FONT
|
||||||
|
GPM_DEFAULT_USE_DEFAULT_COLORS
|
||||||
|
GPM_DEFAULT_BACKGROUND_COLOR
|
||||||
|
GPM_DEFAULT_TEXT_COLOR
|
||||||
|
GPM_DEFAULT_SELECTED_TEXT_COLOR
|
||||||
|
GPM_DEFAULT_SELECTION_COLOR
|
||||||
|
GPM_DEFAULT_CREATE_BACKUP_COPY
|
||||||
|
GPM_DEFAULT_BACKUP_COPY_EXTENSION
|
||||||
|
GPM_DEFAULT_AUTO_SAVE
|
||||||
|
GPM_DEFAULT_AUTO_SAVE_INTERVAL
|
||||||
|
GPM_DEFAULT_UNDO_ACTIONS_LIMIT
|
||||||
|
GPM_DEFAULT_WRAP_MODE
|
||||||
|
GPM_DEFAULT_TABS_SIZE
|
||||||
|
GPM_DEFAULT_INSERT_SPACES
|
||||||
|
GPM_DEFAULT_AUTO_INDENT
|
||||||
|
GPM_DEFAULT_DISPLAY_LINE_NUMBERS
|
||||||
|
GPM_DEFAULT_AUTO_DETECTED_ENCODINGS
|
||||||
|
GPM_DEFAULT_TOOLBAR_VISIBLE
|
||||||
|
GPM_DEFAULT_TOOLBAR_BUTTONS_STYLE
|
||||||
|
GPM_DEFAULT_TOOLBAR_SHOW_TOOLTIPS
|
||||||
|
GPM_DEFAULT_STATUSBAR_VISIBLE
|
||||||
|
GPM_DEFAULT_SIDE_PANE_VISIBLE
|
||||||
|
GPM_DEFAULT_BOTTOM_PANEL_VISIBLE
|
||||||
|
GPM_DEFAULT_PRINT_SYNTAX
|
||||||
|
GPM_DEFAULT_PRINT_HEADER
|
||||||
|
GPM_DEFAULT_PRINT_WRAP_MODE
|
||||||
|
GPM_DEFAULT_PRINT_LINE_NUMBERS
|
||||||
|
GPM_DEFAULT_PRINT_FONT_BODY_PANGO
|
||||||
|
GPM_DEFAULT_PRINT_FONT_HEADER_PANGO
|
||||||
|
GPM_DEFAULT_PRINT_FONT_NUMBERS_PANGO
|
||||||
|
GPM_DEFAULT_MAX_RECENTS
|
||||||
|
GPM_DEFAULT_WINDOW_STATE
|
||||||
|
GPM_DEFAULT_WINDOW_WIDTH
|
||||||
|
GPM_DEFAULT_WINDOW_HEIGHT
|
||||||
|
GPM_DEFAULT_WINDOW_STATE_STR
|
||||||
|
GPM_DEFAULT_WINDOW_WIDTH_STR
|
||||||
|
GPM_DEFAULT_WINDOW_HEIGHT_STR
|
||||||
|
GPM_DEFAULT_SIDE_PANEL_SIZE
|
||||||
|
GPM_DEFAULT_BOTTOM_PANEL_SIZE
|
||||||
|
GPM_DEFAULT_SIDE_PANEL_SIZE_STR
|
||||||
|
GPM_DEFAULT_BOTTOM_PANEL_SIZE_STR
|
||||||
|
GPM_DEFAULT_HIGHLIGHT_CURRENT_LINE
|
||||||
|
GPM_DEFAULT_BRACKET_MATCHING
|
||||||
|
GPM_DEFAULT_DISPLAY_RIGHT_MARGIN
|
||||||
|
GPM_DEFAULT_RIGHT_MARGIN_POSITION
|
||||||
|
GPM_DEFAULT_SYNTAX_HL_ENABLE
|
||||||
|
GPM_DEFAULT_WRITABLE_VFS_SCHEMES
|
||||||
|
GPM_DEFAULT_RESTORE_CURSOR_POSITION
|
||||||
|
GPM_DEFAULT_SEARCH_HIGHLIGHTING_ENABLE
|
||||||
|
XedToolbarSetting
|
||||||
|
xed_prefs_manager_init
|
||||||
|
xed_prefs_manager_shutdown
|
||||||
|
xed_prefs_manager_get_use_default_font
|
||||||
|
xed_prefs_manager_set_use_default_font
|
||||||
|
xed_prefs_manager_use_default_font_can_set
|
||||||
|
xed_prefs_manager_get_editor_font
|
||||||
|
xed_prefs_manager_set_editor_font
|
||||||
|
xed_prefs_manager_editor_font_can_set
|
||||||
|
xed_prefs_manager_get_use_default_colors
|
||||||
|
xed_prefs_manager_set_use_default_colors
|
||||||
|
xed_prefs_manager_use_default_colors_can_set
|
||||||
|
xed_prefs_manager_get_background_color
|
||||||
|
xed_prefs_manager_set_background_color
|
||||||
|
xed_prefs_manager_background_color_can_set
|
||||||
|
xed_prefs_manager_get_text_color
|
||||||
|
xed_prefs_manager_set_text_color
|
||||||
|
xed_prefs_manager_text_color_can_set
|
||||||
|
xed_prefs_manager_get_selection_color
|
||||||
|
xed_prefs_manager_set_selection_color
|
||||||
|
xed_prefs_manager_selection_color_can_set
|
||||||
|
xed_prefs_manager_get_selected_text_color
|
||||||
|
xed_prefs_manager_set_selected_text_color
|
||||||
|
xed_prefs_manager_selected_text_color_can_set
|
||||||
|
xed_prefs_manager_get_create_backup_copy
|
||||||
|
xed_prefs_manager_set_create_backup_copy
|
||||||
|
xed_prefs_manager_create_backup_copy_can_set
|
||||||
|
xed_prefs_manager_get_backup_extension
|
||||||
|
xed_prefs_manager_get_auto_save
|
||||||
|
xed_prefs_manager_set_auto_save
|
||||||
|
xed_prefs_manager_auto_save_can_set
|
||||||
|
xed_prefs_manager_get_auto_save_interval
|
||||||
|
xed_prefs_manager_set_auto_save_interval
|
||||||
|
xed_prefs_manager_auto_save_interval_can_set
|
||||||
|
xed_prefs_manager_get_undo_actions_limit
|
||||||
|
xed_prefs_manager_set_undo_actions_limit
|
||||||
|
xed_prefs_manager_undo_actions_limit_can_set
|
||||||
|
xed_prefs_manager_get_wrap_mode
|
||||||
|
xed_prefs_manager_set_wrap_mode
|
||||||
|
xed_prefs_manager_wrap_mode_can_set
|
||||||
|
xed_prefs_manager_get_tabs_size
|
||||||
|
xed_prefs_manager_set_tabs_size
|
||||||
|
xed_prefs_manager_tabs_size_can_set
|
||||||
|
xed_prefs_manager_get_insert_spaces
|
||||||
|
xed_prefs_manager_set_insert_spaces
|
||||||
|
xed_prefs_manager_insert_spaces_can_set
|
||||||
|
xed_prefs_manager_get_auto_indent
|
||||||
|
xed_prefs_manager_set_auto_indent
|
||||||
|
xed_prefs_manager_auto_indent_can_set
|
||||||
|
xed_prefs_manager_get_display_line_numbers
|
||||||
|
xed_prefs_manager_set_display_line_numbers
|
||||||
|
xed_prefs_manager_display_line_numbers_can_set
|
||||||
|
xed_prefs_manager_get_toolbar_visible
|
||||||
|
xed_prefs_manager_set_toolbar_visible
|
||||||
|
xed_prefs_manager_toolbar_visible_can_set
|
||||||
|
xed_prefs_manager_get_toolbar_buttons_style
|
||||||
|
xed_prefs_manager_set_toolbar_buttons_style
|
||||||
|
xed_prefs_manager_toolbar_buttons_style_can_set
|
||||||
|
xed_prefs_manager_get_statusbar_visible
|
||||||
|
xed_prefs_manager_set_statusbar_visible
|
||||||
|
xed_prefs_manager_statusbar_visible_can_set
|
||||||
|
xed_prefs_manager_get_side_pane_visible
|
||||||
|
xed_prefs_manager_set_side_pane_visible
|
||||||
|
xed_prefs_manager_side_pane_visible_can_set
|
||||||
|
xed_prefs_manager_get_bottom_panel_visible
|
||||||
|
xed_prefs_manager_set_bottom_panel_visible
|
||||||
|
xed_prefs_manager_bottom_panel_visible_can_set
|
||||||
|
xed_prefs_manager_get_print_syntax_hl
|
||||||
|
xed_prefs_manager_set_print_syntax_hl
|
||||||
|
xed_prefs_manager_print_syntax_hl_can_set
|
||||||
|
xed_prefs_manager_get_print_header
|
||||||
|
xed_prefs_manager_set_print_header
|
||||||
|
xed_prefs_manager_print_header_can_set
|
||||||
|
xed_prefs_manager_get_print_wrap_mode
|
||||||
|
xed_prefs_manager_set_print_wrap_mode
|
||||||
|
xed_prefs_manager_print_wrap_mode_can_set
|
||||||
|
xed_prefs_manager_get_print_line_numbers
|
||||||
|
xed_prefs_manager_set_print_line_numbers
|
||||||
|
xed_prefs_manager_print_line_numbers_can_set
|
||||||
|
xed_prefs_manager_get_print_font_body
|
||||||
|
xed_prefs_manager_set_print_font_body
|
||||||
|
xed_prefs_manager_print_font_body_can_set
|
||||||
|
xed_prefs_manager_get_default_print_font_body
|
||||||
|
xed_prefs_manager_get_print_font_header
|
||||||
|
xed_prefs_manager_set_print_font_header
|
||||||
|
xed_prefs_manager_print_font_header_can_set
|
||||||
|
xed_prefs_manager_get_default_print_font_header
|
||||||
|
xed_prefs_manager_get_print_font_numbers
|
||||||
|
xed_prefs_manager_set_print_font_numbers
|
||||||
|
xed_prefs_manager_print_font_numbers_can_set
|
||||||
|
xed_prefs_manager_get_default_print_font_numbers
|
||||||
|
xed_prefs_manager_get_max_recents
|
||||||
|
xed_prefs_manager_get_auto_detected_encodings
|
||||||
|
xed_prefs_manager_get_shown_in_menu_encodings
|
||||||
|
xed_prefs_manager_set_shown_in_menu_encodings
|
||||||
|
xed_prefs_manager_shown_in_menu_encodings_can_set
|
||||||
|
xed_prefs_manager_get_highlight_current_line
|
||||||
|
xed_prefs_manager_set_highlight_current_line
|
||||||
|
xed_prefs_manager_highlight_current_line_can_set
|
||||||
|
xed_prefs_manager_get_bracket_matching
|
||||||
|
xed_prefs_manager_set_bracket_matching
|
||||||
|
xed_prefs_manager_bracket_matching_can_set
|
||||||
|
xed_prefs_manager_get_display_right_margin
|
||||||
|
xed_prefs_manager_set_display_right_margin
|
||||||
|
xed_prefs_manager_display_right_margin_can_set
|
||||||
|
xed_prefs_manager_get_right_margin_position
|
||||||
|
xed_prefs_manager_set_right_margin_position
|
||||||
|
xed_prefs_manager_right_margin_position_can_set
|
||||||
|
xed_prefs_manager_get_enable_syntax_highlighting
|
||||||
|
xed_prefs_manager_set_enable_syntax_highlighting
|
||||||
|
xed_prefs_manager_enable_syntax_highlighting_can_set
|
||||||
|
xed_prefs_manager_get_writable_vfs_schemes
|
||||||
|
xed_prefs_manager_get_restore_cursor_position
|
||||||
|
xed_prefs_manager_get_enable_search_highlighting
|
||||||
|
xed_prefs_manager_set_enable_search_highlighting
|
||||||
|
xed_prefs_manager_enable_search_highlighting_can_set
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-utils</FILE>
|
||||||
|
GBOOLEAN_TO_POINTER
|
||||||
|
GPOINTER_TO_BOOLEAN
|
||||||
|
IS_VALID_BOOLEAN
|
||||||
|
xed_utils_uri_has_writable_scheme
|
||||||
|
xed_utils_uri_has_file_scheme
|
||||||
|
xed_utils_menu_position_under_widget
|
||||||
|
xed_utils_menu_position_under_tree_view
|
||||||
|
xed_gtk_button_new_with_stock_icon
|
||||||
|
xed_dialog_add_button
|
||||||
|
xed_utils_escape_underscores
|
||||||
|
xed_utils_escape_slashes
|
||||||
|
xed_utils_str_middle_truncate
|
||||||
|
g_utf8_caselessnmatch
|
||||||
|
xed_utils_set_atk_name_description
|
||||||
|
xed_utils_set_atk_relation
|
||||||
|
xed_utils_uri_exists
|
||||||
|
xed_utils_escape_search_text
|
||||||
|
xed_utils_unescape_search_text
|
||||||
|
xed_utils_get_stdin
|
||||||
|
xed_warning
|
||||||
|
xed_utils_make_valid_utf8
|
||||||
|
xed_utils_uri_get_dirname
|
||||||
|
xed_utils_replace_home_dir_with_tilde
|
||||||
|
xed_utils_get_current_workspace
|
||||||
|
xed_utils_get_window_workspace
|
||||||
|
xed_utils_activate_url
|
||||||
|
xed_utils_is_valid_uri
|
||||||
|
xed_utils_get_glade_widgets
|
||||||
|
xed_utils_make_canonical_uri_from_shell_arg
|
||||||
|
xed_utils_format_uri_for_display
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>xed-enum-types</FILE>
|
||||||
|
XED_TYPE_CONVERT_ERROR
|
||||||
|
xed_convert_error_get_type
|
||||||
|
XED_TYPE_DEBUG_SECTION
|
||||||
|
xed_debug_section_get_type
|
||||||
|
XED_TYPE_SEARCH_FLAGS
|
||||||
|
xed_search_flags_get_type
|
||||||
|
XED_TYPE_DOCUMENT_SAVE_FLAGS
|
||||||
|
xed_document_save_flags_get_type
|
||||||
|
XED_TYPE_TOOLBAR_SETTING
|
||||||
|
xed_toolbar_setting_get_type
|
||||||
|
XED_TYPE_TAB_STATE
|
||||||
|
xed_tab_state_get_type
|
||||||
|
XED_TYPE_WINDOW_STATE
|
||||||
|
xed_window_state_get_type
|
||||||
|
</SECTION>
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
#include "xed-app.h"
|
||||||
|
#include "xed-document.h"
|
||||||
|
#include "xed-encodings.h"
|
||||||
|
#include "xed-encodings-combo-box.h"
|
||||||
|
#include "xed-file-chooser-dialog.h"
|
||||||
|
#include "xed-message.h"
|
||||||
|
#include "xed-message-bus.h"
|
||||||
|
#include "xed-message-type.h"
|
||||||
|
#include "xed-notebook.h"
|
||||||
|
#include "xed-panel.h"
|
||||||
|
#include "xed-plugin.h"
|
||||||
|
#include "xed-progress-message-area.h"
|
||||||
|
#include "xed-statusbar.h"
|
||||||
|
#include "xed-tab.h"
|
||||||
|
#include "xed-view.h"
|
||||||
|
#include "xed-window.h"
|
||||||
|
xed_app_get_type
|
||||||
|
xed_document_get_type
|
||||||
|
xed_encoding_get_type
|
||||||
|
xed_encodings_combo_box_get_type
|
||||||
|
xed_file_chooser_dialog_get_type
|
||||||
|
xed_message_get_type
|
||||||
|
xed_message_bus_get_type
|
||||||
|
xed_message_type_get_type
|
||||||
|
xed_notebook_get_type
|
||||||
|
xed_panel_get_type
|
||||||
|
xed_plugin_get_type
|
||||||
|
xed_progress_message_area_get_type
|
||||||
|
xed_statusbar_get_type
|
||||||
|
xed_tab_get_type
|
||||||
|
xed_view_get_type
|
||||||
|
xed_window_get_type
|
|
@ -1,37 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
|
||||||
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
|
|
||||||
<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
|
|
||||||
<bookinfo>
|
|
||||||
<title>xedit Reference Manual</title>
|
|
||||||
</bookinfo>
|
|
||||||
|
|
||||||
<chapter>
|
|
||||||
<title>xedit</title>
|
|
||||||
<xi:include href="xml/xedit-app.xml"/>
|
|
||||||
<xi:include href="xml/xedit-document.xml"/>
|
|
||||||
<xi:include href="xml/xedit-encodings-option-menu.xml"/>
|
|
||||||
<xi:include href="xml/xedit-file-chooser-dialog.xml"/>
|
|
||||||
<xi:include href="xml/xedit-message-bus.xml"/>
|
|
||||||
<xi:include href="xml/xedit-message-type.xml"/>
|
|
||||||
<xi:include href="xml/xedit-message.xml"/>
|
|
||||||
<xi:include href="xml/xedit-notebook.xml"/>
|
|
||||||
<xi:include href="xml/xedit-panel.xml"/>
|
|
||||||
<xi:include href="xml/xedit-plugin.xml"/>
|
|
||||||
<xi:include href="xml/xedit-print-job-preview.xml"/>
|
|
||||||
<xi:include href="xml/xedit-print.xml"/>
|
|
||||||
<xi:include href="xml/xedit-progress-message-area.xml"/>
|
|
||||||
<xi:include href="xml/xedit-statusbar.xml"/>
|
|
||||||
<xi:include href="xml/xedit-tab.xml"/>
|
|
||||||
<xi:include href="xml/xedit-view.xml"/>
|
|
||||||
<xi:include href="xml/xedit-window.xml"/>
|
|
||||||
<xi:include href="xml/xedit-convert.xml"/>
|
|
||||||
<xi:include href="xml/xedit-debug.xml"/>
|
|
||||||
<xi:include href="xml/xedit-encodings.xml"/>
|
|
||||||
<xi:include href="xml/xedit-help.xml"/>
|
|
||||||
<xi:include href="xml/xedit-metadata-manager.xml"/>
|
|
||||||
<xi:include href="xml/xedit-prefs-manager-app.xml"/>
|
|
||||||
<xi:include href="xml/xedit-prefs-manager.xml"/>
|
|
||||||
<xi:include href="xml/xedit-utils.xml"/>
|
|
||||||
</chapter>
|
|
||||||
</book>
|
|
|
@ -1,799 +0,0 @@
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-app</FILE>
|
|
||||||
XeditAppPrivate
|
|
||||||
<TITLE>XeditApp</TITLE>
|
|
||||||
XeditApp
|
|
||||||
xedit_app_get_default
|
|
||||||
xedit_app_create_window
|
|
||||||
xedit_app_get_windows
|
|
||||||
xedit_app_get_active_window
|
|
||||||
xedit_app_get_documents
|
|
||||||
xedit_app_get_views
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
XEDIT_APP
|
|
||||||
XEDIT_IS_APP
|
|
||||||
XEDIT_TYPE_APP
|
|
||||||
xedit_app_get_type
|
|
||||||
XEDIT_APP_CLASS
|
|
||||||
XEDIT_IS_APP_CLASS
|
|
||||||
XEDIT_APP_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-document</FILE>
|
|
||||||
XeditSearchFlags
|
|
||||||
XeditDocumentPrivate
|
|
||||||
<TITLE>XeditDocument</TITLE>
|
|
||||||
XeditDocument
|
|
||||||
XeditDocumentSaveFlags
|
|
||||||
XEDIT_DOCUMENT_ERROR
|
|
||||||
xedit_document_error_quark
|
|
||||||
xedit_document_new
|
|
||||||
xedit_document_get_uri
|
|
||||||
xedit_document_get_uri_for_display
|
|
||||||
xedit_document_get_short_name_for_display
|
|
||||||
xedit_document_get_mime_type
|
|
||||||
xedit_document_get_readonly
|
|
||||||
xedit_document_load
|
|
||||||
xedit_document_insert_file
|
|
||||||
xedit_document_load_cancel
|
|
||||||
xedit_document_save
|
|
||||||
xedit_document_save_as
|
|
||||||
xedit_document_is_untouched
|
|
||||||
xedit_document_is_untitled
|
|
||||||
xedit_document_get_deleted
|
|
||||||
xedit_document_goto_line
|
|
||||||
xedit_document_set_search_text
|
|
||||||
xedit_document_get_search_text
|
|
||||||
xedit_document_get_can_search_again
|
|
||||||
xedit_document_search_forward
|
|
||||||
xedit_document_search_backward
|
|
||||||
xedit_document_replace_all
|
|
||||||
xedit_document_set_language
|
|
||||||
xedit_document_set_enable_search_highlighting
|
|
||||||
xedit_document_get_enable_search_highlighting
|
|
||||||
XEDIT_SEARCH_IS_DONT_SET_FLAGS
|
|
||||||
XEDIT_SEARCH_SET_DONT_SET_FLAGS
|
|
||||||
XEDIT_SEARCH_IS_ENTIRE_WORD
|
|
||||||
XEDIT_SEARCH_SET_ENTIRE_WORD
|
|
||||||
XEDIT_SEARCH_IS_CASE_SENSITIVE
|
|
||||||
XEDIT_SEARCH_SET_CASE_SENSITIVE
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
XEDIT_DOCUMENT
|
|
||||||
XEDIT_IS_DOCUMENT
|
|
||||||
XEDIT_TYPE_DOCUMENT
|
|
||||||
xedit_document_get_type
|
|
||||||
XEDIT_DOCUMENT_CLASS
|
|
||||||
XEDIT_IS_DOCUMENT_CLASS
|
|
||||||
XEDIT_DOCUMENT_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-encodings-option-menu</FILE>
|
|
||||||
XeditEncodingsOptionMenuPrivate
|
|
||||||
<TITLE>XeditEncodingsOptionMenu</TITLE>
|
|
||||||
XeditEncodingsOptionMenu
|
|
||||||
xedit_encodings_option_menu_new
|
|
||||||
xedit_encodings_option_menu_get_selected_encoding
|
|
||||||
xedit_encodings_option_menu_set_selected_encoding
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
XEDIT_ENCODINGS_OPTION_MENU
|
|
||||||
XEDIT_IS_ENCODINGS_OPTION_MENU
|
|
||||||
XEDIT_TYPE_ENCODINGS_OPTION_MENU
|
|
||||||
xedit_encodings_option_menu_get_type
|
|
||||||
XEDIT_ENCODINGS_OPTION_MENU_CLASS
|
|
||||||
XEDIT_IS_ENCODINGS_OPTION_MENU_CLASS
|
|
||||||
XEDIT_ENCODINGS_OPTION_MENU_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-file-chooser-dialog</FILE>
|
|
||||||
XeditFileChooserDialogPrivate
|
|
||||||
<TITLE>XeditFileChooserDialog</TITLE>
|
|
||||||
XeditFileChooserDialog
|
|
||||||
xedit_file_chooser_dialog_new
|
|
||||||
xedit_file_chooser_dialog_set_encoding
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
XEDIT_FILE_CHOOSER_DIALOG
|
|
||||||
XEDIT_IS_FILE_CHOOSER_DIALOG
|
|
||||||
XEDIT_TYPE_FILE_CHOOSER_DIALOG
|
|
||||||
xedit_file_chooser_dialog_get_type
|
|
||||||
XEDIT_FILE_CHOOSER_DIALOG_CLASS
|
|
||||||
XEDIT_IS_FILE_CHOOSER_DIALOG_CLASS
|
|
||||||
XEDIT_FILE_CHOOSER_DIALOG_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-message-bus</FILE>
|
|
||||||
<TITLE>XeditMessageBus</TITLE>
|
|
||||||
XeditMessageBus
|
|
||||||
XeditMessageCallback
|
|
||||||
xedit_message_bus_get_default
|
|
||||||
xedit_message_bus_new
|
|
||||||
xedit_message_bus_lookup
|
|
||||||
xedit_message_bus_register
|
|
||||||
xedit_message_bus_unregister
|
|
||||||
xedit_message_bus_unregister_all
|
|
||||||
xedit_message_bus_is_registered
|
|
||||||
xedit_message_bus_foreach
|
|
||||||
xedit_message_bus_connect
|
|
||||||
xedit_message_bus_disconnect
|
|
||||||
xedit_message_bus_disconnect_by_func
|
|
||||||
xedit_message_bus_block
|
|
||||||
xedit_message_bus_block_by_func
|
|
||||||
xedit_message_bus_unblock
|
|
||||||
xedit_message_bus_unblock_by_func
|
|
||||||
xedit_message_bus_send_message
|
|
||||||
xedit_message_bus_send_message_sync
|
|
||||||
xedit_message_bus_send
|
|
||||||
xedit_message_bus_send_sync
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
XEDIT_MESSAGE_BUS
|
|
||||||
XEDIT_IS_MESSAGE_BUS
|
|
||||||
XEDIT_TYPE_MESSAGE_BUS
|
|
||||||
xedit_message_bus_get_type
|
|
||||||
XEDIT_MESSAGE_BUS_CLASS
|
|
||||||
XEDIT_IS_MESSAGE_BUS_CLASS
|
|
||||||
XEDIT_MESSAGE_BUS_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-message-type</FILE>
|
|
||||||
<TITLE>XeditMessageType</TITLE>
|
|
||||||
XeditMessageType
|
|
||||||
xedit_message_type_get_type
|
|
||||||
xedit_message_type_is_supported
|
|
||||||
xedit_message_type_identifier
|
|
||||||
xedit_message_type_is_valid_object_path
|
|
||||||
xedit_message_type_new
|
|
||||||
xedit_message_type_new_valist
|
|
||||||
xedit_message_type_ref
|
|
||||||
xedit_message_type_unref
|
|
||||||
xedit_message_type_set
|
|
||||||
xedit_message_type_set_valist
|
|
||||||
xedit_message_type_instantiate
|
|
||||||
xedit_message_type_instantiate_valist
|
|
||||||
xedit_message_type_get_object_path
|
|
||||||
xedit_message_type_get_method
|
|
||||||
xedit_message_type_lookup
|
|
||||||
xedit_message_type_foreach
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
XEDIT_TYPE_MESSAGE_TYPE
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-message</FILE>
|
|
||||||
<TITLE>XeditMessage</TITLE>
|
|
||||||
XeditMessage
|
|
||||||
xedit_message_get
|
|
||||||
xedit_message_get_valist
|
|
||||||
xedit_message_get_value
|
|
||||||
xedit_message_set
|
|
||||||
xedit_message_set_valist
|
|
||||||
xedit_message_set_value
|
|
||||||
xedit_message_set_valuesv
|
|
||||||
xedit_message_get_object_path
|
|
||||||
xedit_message_get_method
|
|
||||||
xedit_message_has_key
|
|
||||||
xedit_message_get_key_type
|
|
||||||
xedit_message_validate
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
XEDIT_MESSAGE
|
|
||||||
XEDIT_IS_MESSAGE
|
|
||||||
XEDIT_TYPE_MESSAGE
|
|
||||||
xedit_message_get_type
|
|
||||||
XEDIT_MESSAGE_CLASS
|
|
||||||
XEDIT_IS_MESSAGE_CLASS
|
|
||||||
XEDIT_MESSAGE_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-notebook</FILE>
|
|
||||||
XeditNotebookPrivate
|
|
||||||
<TITLE>XeditNotebook</TITLE>
|
|
||||||
XeditNotebook
|
|
||||||
xedit_notebook_new
|
|
||||||
xedit_notebook_add_tab
|
|
||||||
xedit_notebook_remove_tab
|
|
||||||
xedit_notebook_remove_all_tabs
|
|
||||||
xedit_notebook_reorder_tab
|
|
||||||
xedit_notebook_move_tab
|
|
||||||
xedit_notebook_set_always_show_tabs
|
|
||||||
xedit_notebook_set_close_buttons_sensitive
|
|
||||||
xedit_notebook_get_close_buttons_sensitive
|
|
||||||
xedit_notebook_set_tab_drag_and_drop_enabled
|
|
||||||
xedit_notebook_get_tab_drag_and_drop_enabled
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
XEDIT_NOTEBOOK
|
|
||||||
XEDIT_IS_NOTEBOOK
|
|
||||||
XEDIT_TYPE_NOTEBOOK
|
|
||||||
xedit_notebook_get_type
|
|
||||||
XEDIT_NOTEBOOK_CLASS
|
|
||||||
XEDIT_IS_NOTEBOOK_CLASS
|
|
||||||
XEDIT_NOTEBOOK_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-panel</FILE>
|
|
||||||
XeditPanelPrivate
|
|
||||||
<TITLE>XeditPanel</TITLE>
|
|
||||||
XeditPanel
|
|
||||||
xedit_panel_new
|
|
||||||
xedit_panel_add_item
|
|
||||||
xedit_panel_add_item_with_stock_icon
|
|
||||||
xedit_panel_remove_item
|
|
||||||
xedit_panel_activate_item
|
|
||||||
xedit_panel_item_is_active
|
|
||||||
xedit_panel_get_orientation
|
|
||||||
xedit_panel_get_n_items
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
XEDIT_PANEL
|
|
||||||
XEDIT_IS_PANEL
|
|
||||||
XEDIT_TYPE_PANEL
|
|
||||||
xedit_panel_get_type
|
|
||||||
XEDIT_PANEL_CLASS
|
|
||||||
XEDIT_IS_PANEL_CLASS
|
|
||||||
XEDIT_PANEL_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-plugin</FILE>
|
|
||||||
<TITLE>XeditPlugin</TITLE>
|
|
||||||
XeditPlugin
|
|
||||||
xedit_plugin_activate
|
|
||||||
xedit_plugin_deactivate
|
|
||||||
xedit_plugin_update_ui
|
|
||||||
xedit_plugin_is_configurable
|
|
||||||
xedit_plugin_create_configure_dialog
|
|
||||||
XEDIT_PLUGIN_REGISTER_TYPE
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
XEDIT_PLUGIN
|
|
||||||
XEDIT_IS_PLUGIN
|
|
||||||
XEDIT_TYPE_PLUGIN
|
|
||||||
xedit_plugin_get_type
|
|
||||||
XEDIT_PLUGIN_CLASS
|
|
||||||
XEDIT_IS_PLUGIN_CLASS
|
|
||||||
XEDIT_PLUGIN_GET_CLASS
|
|
||||||
XEDIT_PLUGIN_REGISTER_TYPE_WITH_CODE
|
|
||||||
XEDIT_PLUGIN_REGISTER_TYPE
|
|
||||||
XEDIT_PLUGIN_DEFINE_TYPE_WITH_CODE
|
|
||||||
XEDIT_PLUGIN_DEFINE_TYPE
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-print-job-preview</FILE>
|
|
||||||
XeditPrintJobPreviewPrivate
|
|
||||||
<TITLE>XeditPrintJobPreview</TITLE>
|
|
||||||
XeditPrintJobPreview
|
|
||||||
xedit_print_job_preview_new
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
XEDIT_PRINT_JOB_PREVIEW
|
|
||||||
XEDIT_IS_PRINT_JOB_PREVIEW
|
|
||||||
XEDIT_TYPE_PRINT_JOB_PREVIEW
|
|
||||||
xedit_print_job_preview_get_type
|
|
||||||
XEDIT_PRINT_JOB_PREVIEW_CLASS
|
|
||||||
XEDIT_IS_PRINT_JOB_PREVIEW_CLASS
|
|
||||||
XEDIT_PRINT_JOB_PREVIEW_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-print</FILE>
|
|
||||||
<TITLE>XeditPrintJob</TITLE>
|
|
||||||
XeditPrintJob
|
|
||||||
xedit_print_job_new
|
|
||||||
xedit_print_job_save_config
|
|
||||||
xedit_print_dialog_new
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
XEDIT_PRINT_JOB
|
|
||||||
XEDIT_IS_PRINT_JOB
|
|
||||||
XEDIT_TYPE_PRINT_JOB
|
|
||||||
xedit_print_job_get_type
|
|
||||||
XEDIT_PRINT_JOB_CLASS
|
|
||||||
XEDIT_IS_PRINT_JOB_CLASS
|
|
||||||
XEDIT_PRINT_JOB_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-progress-message-area</FILE>
|
|
||||||
XeditProgressMessageAreaPrivate
|
|
||||||
<TITLE>XeditProgressMessageArea</TITLE>
|
|
||||||
XeditProgressMessageArea
|
|
||||||
xedit_progress_message_area_new
|
|
||||||
xedit_progress_message_area_set_stock_image
|
|
||||||
xedit_progress_message_area_set_markup
|
|
||||||
xedit_progress_message_area_set_text
|
|
||||||
xedit_progress_message_area_set_fraction
|
|
||||||
xedit_progress_message_area_pulse
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
XEDIT_PROGRESS_MESSAGE_AREA
|
|
||||||
XEDIT_IS_PROGRESS_MESSAGE_AREA
|
|
||||||
XEDIT_TYPE_PROGRESS_MESSAGE_AREA
|
|
||||||
xedit_progress_message_area_get_type
|
|
||||||
XEDIT_PROGRESS_MESSAGE_AREA_CLASS
|
|
||||||
XEDIT_IS_PROGRESS_MESSAGE_AREA_CLASS
|
|
||||||
XEDIT_PROGRESS_MESSAGE_AREA_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-statusbar</FILE>
|
|
||||||
XeditStatusbarPrivate
|
|
||||||
<TITLE>XeditStatusbar</TITLE>
|
|
||||||
XeditStatusbar
|
|
||||||
xedit_statusbar_new
|
|
||||||
XeditStatus
|
|
||||||
xedit_statusbar_set_window_state
|
|
||||||
xedit_statusbar_set_overwrite
|
|
||||||
xedit_statusbar_set_cursor_position
|
|
||||||
xedit_statusbar_clear_overwrite
|
|
||||||
xedit_statusbar_flash_message
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
XEDIT_STATUSBAR
|
|
||||||
XEDIT_IS_STATUSBAR
|
|
||||||
XEDIT_TYPE_STATUSBAR
|
|
||||||
xedit_statusbar_get_type
|
|
||||||
XEDIT_STATUSBAR_CLASS
|
|
||||||
XEDIT_IS_STATUSBAR_CLASS
|
|
||||||
XEDIT_STATUSBAR_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-tab</FILE>
|
|
||||||
XeditTabState
|
|
||||||
XeditTabPrivate
|
|
||||||
<TITLE>XeditTab</TITLE>
|
|
||||||
XeditTab
|
|
||||||
xedit_tab_get_view
|
|
||||||
xedit_tab_get_document
|
|
||||||
xedit_tab_get_from_document
|
|
||||||
xedit_tab_get_state
|
|
||||||
xedit_tab_get_auto_save_enabled
|
|
||||||
xedit_tab_set_auto_save_enabled
|
|
||||||
xedit_tab_get_auto_save_interval
|
|
||||||
xedit_tab_set_auto_save_interval
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
XEDIT_TAB
|
|
||||||
XEDIT_IS_TAB
|
|
||||||
XEDIT_TYPE_TAB
|
|
||||||
xedit_tab_get_type
|
|
||||||
XEDIT_TAB_CLASS
|
|
||||||
XEDIT_IS_TAB_CLASS
|
|
||||||
XEDIT_TAB_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-view</FILE>
|
|
||||||
XeditViewPrivate
|
|
||||||
<TITLE>XeditView</TITLE>
|
|
||||||
XeditView
|
|
||||||
xedit_view_new
|
|
||||||
xedit_view_cut_clipboard
|
|
||||||
xedit_view_copy_clipboard
|
|
||||||
xedit_view_paste_clipboard
|
|
||||||
xedit_view_delete_selection
|
|
||||||
xedit_view_select_all
|
|
||||||
xedit_view_scroll_to_cursor
|
|
||||||
xedit_view_set_colors
|
|
||||||
xedit_view_set_font
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
XEDIT_VIEW
|
|
||||||
XEDIT_IS_VIEW
|
|
||||||
XEDIT_TYPE_VIEW
|
|
||||||
xedit_view_get_type
|
|
||||||
XEDIT_VIEW_CLASS
|
|
||||||
XEDIT_IS_VIEW_CLASS
|
|
||||||
XEDIT_VIEW_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-window</FILE>
|
|
||||||
XeditWindowState
|
|
||||||
XeditWindowPrivate
|
|
||||||
<TITLE>XeditWindow</TITLE>
|
|
||||||
XeditWindow
|
|
||||||
xedit_window_create_tab
|
|
||||||
xedit_window_create_tab_from_uri
|
|
||||||
xedit_window_close_tab
|
|
||||||
xedit_window_close_all_tabs
|
|
||||||
xedit_window_close_tabs
|
|
||||||
xedit_window_get_active_tab
|
|
||||||
xedit_window_set_active_tab
|
|
||||||
xedit_window_get_active_view
|
|
||||||
xedit_window_get_active_document
|
|
||||||
xedit_window_get_documents
|
|
||||||
xedit_window_get_unsaved_documents
|
|
||||||
xedit_window_get_views
|
|
||||||
xedit_window_get_group
|
|
||||||
xedit_window_get_side_panel
|
|
||||||
xedit_window_get_bottom_panel
|
|
||||||
xedit_window_get_statusbar
|
|
||||||
xedit_window_get_ui_manager
|
|
||||||
xedit_window_get_state
|
|
||||||
xedit_window_get_tab_from_location
|
|
||||||
xedit_window_get_tab_from_uri
|
|
||||||
xedit_window_get_message_bus
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
XEDIT_WINDOW
|
|
||||||
XEDIT_IS_WINDOW
|
|
||||||
XEDIT_TYPE_WINDOW
|
|
||||||
xedit_window_get_type
|
|
||||||
XEDIT_WINDOW_CLASS
|
|
||||||
XEDIT_IS_WINDOW_CLASS
|
|
||||||
XEDIT_WINDOW_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-convert</FILE>
|
|
||||||
XeditConvertError
|
|
||||||
XEDIT_CONVERT_ERROR
|
|
||||||
xedit_convert_error_quark
|
|
||||||
xedit_convert_to_utf8
|
|
||||||
xedit_convert_from_utf8
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-debug</FILE>
|
|
||||||
XeditDebugSection
|
|
||||||
DEBUG_VIEW
|
|
||||||
DEBUG_SEARCH
|
|
||||||
DEBUG_PRINT
|
|
||||||
DEBUG_PREFS
|
|
||||||
DEBUG_PLUGINS
|
|
||||||
DEBUG_TAB
|
|
||||||
DEBUG_DOCUMENT
|
|
||||||
DEBUG_COMMANDS
|
|
||||||
DEBUG_APP
|
|
||||||
DEBUG_SESSION
|
|
||||||
DEBUG_UTILS
|
|
||||||
DEBUG_METADATA
|
|
||||||
DEBUG_WINDOW
|
|
||||||
DEBUG_LOADER
|
|
||||||
DEBUG_SAVER
|
|
||||||
xedit_debug_init
|
|
||||||
xedit_debug
|
|
||||||
xedit_debug_message
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-encodings</FILE>
|
|
||||||
XeditEncoding
|
|
||||||
XEDIT_TYPE_ENCODING
|
|
||||||
xedit_encoding_get_type
|
|
||||||
xedit_encoding_copy
|
|
||||||
xedit_encoding_free
|
|
||||||
xedit_encoding_get_from_charset
|
|
||||||
xedit_encoding_get_from_index
|
|
||||||
xedit_encoding_to_string
|
|
||||||
xedit_encoding_get_name
|
|
||||||
xedit_encoding_get_charset
|
|
||||||
xedit_encoding_get_utf8
|
|
||||||
xedit_encoding_get_current
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-help</FILE>
|
|
||||||
xedit_help_display
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-metadata-manager</FILE>
|
|
||||||
xedit_metadata_manager_shutdown
|
|
||||||
xedit_metadata_manager_get
|
|
||||||
xedit_metadata_manager_set
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-prefs-manager-app</FILE>
|
|
||||||
xedit_prefs_manager_app_init
|
|
||||||
xedit_prefs_manager_app_shutdown
|
|
||||||
xedit_prefs_manager_get_window_state
|
|
||||||
xedit_prefs_manager_set_window_state
|
|
||||||
xedit_prefs_manager_window_state_can_set
|
|
||||||
xedit_prefs_manager_get_window_size
|
|
||||||
xedit_prefs_manager_get_default_window_size
|
|
||||||
xedit_prefs_manager_set_window_size
|
|
||||||
xedit_prefs_manager_window_size_can_set
|
|
||||||
xedit_prefs_manager_get_side_panel_size
|
|
||||||
xedit_prefs_manager_get_default_side_panel_size
|
|
||||||
xedit_prefs_manager_set_side_panel_size
|
|
||||||
xedit_prefs_manager_side_panel_size_can_set
|
|
||||||
xedit_prefs_manager_get_bottom_panel_size
|
|
||||||
xedit_prefs_manager_get_default_bottom_panel_size
|
|
||||||
xedit_prefs_manager_set_bottom_panel_size
|
|
||||||
xedit_prefs_manager_bottom_panel_size_can_set
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-prefs-manager</FILE>
|
|
||||||
XEDIT_BASE_KEY
|
|
||||||
GPM_PREFS_DIR
|
|
||||||
GPM_FONT_DIR
|
|
||||||
GPM_USE_DEFAULT_FONT
|
|
||||||
GPM_EDITOR_FONT
|
|
||||||
GPM_COLORS_DIR
|
|
||||||
GPM_USE_DEFAULT_COLORS
|
|
||||||
GPM_BACKGROUND_COLOR
|
|
||||||
GPM_TEXT_COLOR
|
|
||||||
GPM_SELECTED_TEXT_COLOR
|
|
||||||
GPM_SELECTION_COLOR
|
|
||||||
GPM_SAVE_DIR
|
|
||||||
GPM_CREATE_BACKUP_COPY
|
|
||||||
GPM_BACKUP_COPY_EXTENSION
|
|
||||||
GPM_AUTO_SAVE
|
|
||||||
GPM_AUTO_SAVE_INTERVAL
|
|
||||||
GPM_UNDO_DIR
|
|
||||||
GPM_UNDO_ACTIONS_LIMIT
|
|
||||||
GPM_WRAP_MODE_DIR
|
|
||||||
GPM_WRAP_MODE
|
|
||||||
GPM_TABS_DIR
|
|
||||||
GPM_TABS_SIZE
|
|
||||||
GPM_INSERT_SPACES
|
|
||||||
GPM_AUTO_INDENT_DIR
|
|
||||||
GPM_AUTO_INDENT
|
|
||||||
GPM_LINE_NUMBERS_DIR
|
|
||||||
GPM_DISPLAY_LINE_NUMBERS
|
|
||||||
GPM_CURRENT_LINE_DIR
|
|
||||||
GPM_HIGHLIGHT_CURRENT_LINE
|
|
||||||
GPM_BRACKET_MATCHING_DIR
|
|
||||||
GPM_BRACKET_MATCHING
|
|
||||||
GPM_RIGHT_MARGIN_DIR
|
|
||||||
GPM_DISPLAY_RIGHT_MARGIN
|
|
||||||
GPM_RIGHT_MARGIN_POSITION
|
|
||||||
GPM_CURSOR_POSITION_DIR
|
|
||||||
GPM_RESTORE_CURSOR_POSITION
|
|
||||||
GPM_SEARCH_HIGHLIGHTING_DIR
|
|
||||||
GPM_SEARCH_HIGHLIGHTING_ENABLE
|
|
||||||
GPM_TOOLBAR_DIR
|
|
||||||
GPM_TOOLBAR_VISIBLE
|
|
||||||
GPM_TOOLBAR_BUTTONS_STYLE
|
|
||||||
GPM_STATUSBAR_DIR
|
|
||||||
GPM_STATUSBAR_VISIBLE
|
|
||||||
GPM_SIDE_PANE_DIR
|
|
||||||
GPM_SIDE_PANE_VISIBLE
|
|
||||||
GPM_BOTTOM_PANEL_DIR
|
|
||||||
GPM_BOTTOM_PANEL_VISIBLE
|
|
||||||
GPM_RECENTS_DIR
|
|
||||||
GPM_MAX_RECENTS
|
|
||||||
GPM_PRINT_PAGE_DIR
|
|
||||||
GPM_PRINT_SYNTAX
|
|
||||||
GPM_PRINT_HEADER
|
|
||||||
GPM_PRINT_WRAP_MODE
|
|
||||||
GPM_PRINT_LINE_NUMBERS
|
|
||||||
GPM_PRINT_FONT_DIR
|
|
||||||
GPM_PRINT_FONT_BODY
|
|
||||||
GPM_PRINT_FONT_BODY_PANGO
|
|
||||||
GPM_PRINT_FONT_HEADER
|
|
||||||
GPM_PRINT_FONT_HEADER_PANGO
|
|
||||||
GPM_PRINT_FONT_NUMBERS
|
|
||||||
GPM_PRINT_FONT_NUMBERS_PANGO
|
|
||||||
GPM_WINDOW_DIR
|
|
||||||
GPM_WINDOW_STATE
|
|
||||||
GPM_WINDOW_WIDTH
|
|
||||||
GPM_WINDOW_HEIGHT
|
|
||||||
GPM_SIDE_PANEL_SIZE
|
|
||||||
GPM_BOTTOM_PANEL_SIZE
|
|
||||||
GPM_ENCODINGS_DIR
|
|
||||||
GPM_AUTO_DETECTED_ENCODINGS
|
|
||||||
GPM_SHOWN_IN_MENU_ENCODINGS
|
|
||||||
GPM_SYNTAX_HL_DIR
|
|
||||||
GPM_SYNTAX_HL_ENABLE
|
|
||||||
GPM_WRITABLE_VFS_SCHEMES
|
|
||||||
GPM_DEFAULT_USE_DEFAULT_FONT
|
|
||||||
GPM_DEFAULT_EDITOR_FONT
|
|
||||||
GPM_DEFAULT_USE_DEFAULT_COLORS
|
|
||||||
GPM_DEFAULT_BACKGROUND_COLOR
|
|
||||||
GPM_DEFAULT_TEXT_COLOR
|
|
||||||
GPM_DEFAULT_SELECTED_TEXT_COLOR
|
|
||||||
GPM_DEFAULT_SELECTION_COLOR
|
|
||||||
GPM_DEFAULT_CREATE_BACKUP_COPY
|
|
||||||
GPM_DEFAULT_BACKUP_COPY_EXTENSION
|
|
||||||
GPM_DEFAULT_AUTO_SAVE
|
|
||||||
GPM_DEFAULT_AUTO_SAVE_INTERVAL
|
|
||||||
GPM_DEFAULT_UNDO_ACTIONS_LIMIT
|
|
||||||
GPM_DEFAULT_WRAP_MODE
|
|
||||||
GPM_DEFAULT_TABS_SIZE
|
|
||||||
GPM_DEFAULT_INSERT_SPACES
|
|
||||||
GPM_DEFAULT_AUTO_INDENT
|
|
||||||
GPM_DEFAULT_DISPLAY_LINE_NUMBERS
|
|
||||||
GPM_DEFAULT_AUTO_DETECTED_ENCODINGS
|
|
||||||
GPM_DEFAULT_TOOLBAR_VISIBLE
|
|
||||||
GPM_DEFAULT_TOOLBAR_BUTTONS_STYLE
|
|
||||||
GPM_DEFAULT_TOOLBAR_SHOW_TOOLTIPS
|
|
||||||
GPM_DEFAULT_STATUSBAR_VISIBLE
|
|
||||||
GPM_DEFAULT_SIDE_PANE_VISIBLE
|
|
||||||
GPM_DEFAULT_BOTTOM_PANEL_VISIBLE
|
|
||||||
GPM_DEFAULT_PRINT_SYNTAX
|
|
||||||
GPM_DEFAULT_PRINT_HEADER
|
|
||||||
GPM_DEFAULT_PRINT_WRAP_MODE
|
|
||||||
GPM_DEFAULT_PRINT_LINE_NUMBERS
|
|
||||||
GPM_DEFAULT_PRINT_FONT_BODY_PANGO
|
|
||||||
GPM_DEFAULT_PRINT_FONT_HEADER_PANGO
|
|
||||||
GPM_DEFAULT_PRINT_FONT_NUMBERS_PANGO
|
|
||||||
GPM_DEFAULT_MAX_RECENTS
|
|
||||||
GPM_DEFAULT_WINDOW_STATE
|
|
||||||
GPM_DEFAULT_WINDOW_WIDTH
|
|
||||||
GPM_DEFAULT_WINDOW_HEIGHT
|
|
||||||
GPM_DEFAULT_WINDOW_STATE_STR
|
|
||||||
GPM_DEFAULT_WINDOW_WIDTH_STR
|
|
||||||
GPM_DEFAULT_WINDOW_HEIGHT_STR
|
|
||||||
GPM_DEFAULT_SIDE_PANEL_SIZE
|
|
||||||
GPM_DEFAULT_BOTTOM_PANEL_SIZE
|
|
||||||
GPM_DEFAULT_SIDE_PANEL_SIZE_STR
|
|
||||||
GPM_DEFAULT_BOTTOM_PANEL_SIZE_STR
|
|
||||||
GPM_DEFAULT_HIGHLIGHT_CURRENT_LINE
|
|
||||||
GPM_DEFAULT_BRACKET_MATCHING
|
|
||||||
GPM_DEFAULT_DISPLAY_RIGHT_MARGIN
|
|
||||||
GPM_DEFAULT_RIGHT_MARGIN_POSITION
|
|
||||||
GPM_DEFAULT_SYNTAX_HL_ENABLE
|
|
||||||
GPM_DEFAULT_WRITABLE_VFS_SCHEMES
|
|
||||||
GPM_DEFAULT_RESTORE_CURSOR_POSITION
|
|
||||||
GPM_DEFAULT_SEARCH_HIGHLIGHTING_ENABLE
|
|
||||||
XeditToolbarSetting
|
|
||||||
xedit_prefs_manager_init
|
|
||||||
xedit_prefs_manager_shutdown
|
|
||||||
xedit_prefs_manager_get_use_default_font
|
|
||||||
xedit_prefs_manager_set_use_default_font
|
|
||||||
xedit_prefs_manager_use_default_font_can_set
|
|
||||||
xedit_prefs_manager_get_editor_font
|
|
||||||
xedit_prefs_manager_set_editor_font
|
|
||||||
xedit_prefs_manager_editor_font_can_set
|
|
||||||
xedit_prefs_manager_get_use_default_colors
|
|
||||||
xedit_prefs_manager_set_use_default_colors
|
|
||||||
xedit_prefs_manager_use_default_colors_can_set
|
|
||||||
xedit_prefs_manager_get_background_color
|
|
||||||
xedit_prefs_manager_set_background_color
|
|
||||||
xedit_prefs_manager_background_color_can_set
|
|
||||||
xedit_prefs_manager_get_text_color
|
|
||||||
xedit_prefs_manager_set_text_color
|
|
||||||
xedit_prefs_manager_text_color_can_set
|
|
||||||
xedit_prefs_manager_get_selection_color
|
|
||||||
xedit_prefs_manager_set_selection_color
|
|
||||||
xedit_prefs_manager_selection_color_can_set
|
|
||||||
xedit_prefs_manager_get_selected_text_color
|
|
||||||
xedit_prefs_manager_set_selected_text_color
|
|
||||||
xedit_prefs_manager_selected_text_color_can_set
|
|
||||||
xedit_prefs_manager_get_create_backup_copy
|
|
||||||
xedit_prefs_manager_set_create_backup_copy
|
|
||||||
xedit_prefs_manager_create_backup_copy_can_set
|
|
||||||
xedit_prefs_manager_get_backup_extension
|
|
||||||
xedit_prefs_manager_get_auto_save
|
|
||||||
xedit_prefs_manager_set_auto_save
|
|
||||||
xedit_prefs_manager_auto_save_can_set
|
|
||||||
xedit_prefs_manager_get_auto_save_interval
|
|
||||||
xedit_prefs_manager_set_auto_save_interval
|
|
||||||
xedit_prefs_manager_auto_save_interval_can_set
|
|
||||||
xedit_prefs_manager_get_undo_actions_limit
|
|
||||||
xedit_prefs_manager_set_undo_actions_limit
|
|
||||||
xedit_prefs_manager_undo_actions_limit_can_set
|
|
||||||
xedit_prefs_manager_get_wrap_mode
|
|
||||||
xedit_prefs_manager_set_wrap_mode
|
|
||||||
xedit_prefs_manager_wrap_mode_can_set
|
|
||||||
xedit_prefs_manager_get_tabs_size
|
|
||||||
xedit_prefs_manager_set_tabs_size
|
|
||||||
xedit_prefs_manager_tabs_size_can_set
|
|
||||||
xedit_prefs_manager_get_insert_spaces
|
|
||||||
xedit_prefs_manager_set_insert_spaces
|
|
||||||
xedit_prefs_manager_insert_spaces_can_set
|
|
||||||
xedit_prefs_manager_get_auto_indent
|
|
||||||
xedit_prefs_manager_set_auto_indent
|
|
||||||
xedit_prefs_manager_auto_indent_can_set
|
|
||||||
xedit_prefs_manager_get_display_line_numbers
|
|
||||||
xedit_prefs_manager_set_display_line_numbers
|
|
||||||
xedit_prefs_manager_display_line_numbers_can_set
|
|
||||||
xedit_prefs_manager_get_toolbar_visible
|
|
||||||
xedit_prefs_manager_set_toolbar_visible
|
|
||||||
xedit_prefs_manager_toolbar_visible_can_set
|
|
||||||
xedit_prefs_manager_get_toolbar_buttons_style
|
|
||||||
xedit_prefs_manager_set_toolbar_buttons_style
|
|
||||||
xedit_prefs_manager_toolbar_buttons_style_can_set
|
|
||||||
xedit_prefs_manager_get_statusbar_visible
|
|
||||||
xedit_prefs_manager_set_statusbar_visible
|
|
||||||
xedit_prefs_manager_statusbar_visible_can_set
|
|
||||||
xedit_prefs_manager_get_side_pane_visible
|
|
||||||
xedit_prefs_manager_set_side_pane_visible
|
|
||||||
xedit_prefs_manager_side_pane_visible_can_set
|
|
||||||
xedit_prefs_manager_get_bottom_panel_visible
|
|
||||||
xedit_prefs_manager_set_bottom_panel_visible
|
|
||||||
xedit_prefs_manager_bottom_panel_visible_can_set
|
|
||||||
xedit_prefs_manager_get_print_syntax_hl
|
|
||||||
xedit_prefs_manager_set_print_syntax_hl
|
|
||||||
xedit_prefs_manager_print_syntax_hl_can_set
|
|
||||||
xedit_prefs_manager_get_print_header
|
|
||||||
xedit_prefs_manager_set_print_header
|
|
||||||
xedit_prefs_manager_print_header_can_set
|
|
||||||
xedit_prefs_manager_get_print_wrap_mode
|
|
||||||
xedit_prefs_manager_set_print_wrap_mode
|
|
||||||
xedit_prefs_manager_print_wrap_mode_can_set
|
|
||||||
xedit_prefs_manager_get_print_line_numbers
|
|
||||||
xedit_prefs_manager_set_print_line_numbers
|
|
||||||
xedit_prefs_manager_print_line_numbers_can_set
|
|
||||||
xedit_prefs_manager_get_print_font_body
|
|
||||||
xedit_prefs_manager_set_print_font_body
|
|
||||||
xedit_prefs_manager_print_font_body_can_set
|
|
||||||
xedit_prefs_manager_get_default_print_font_body
|
|
||||||
xedit_prefs_manager_get_print_font_header
|
|
||||||
xedit_prefs_manager_set_print_font_header
|
|
||||||
xedit_prefs_manager_print_font_header_can_set
|
|
||||||
xedit_prefs_manager_get_default_print_font_header
|
|
||||||
xedit_prefs_manager_get_print_font_numbers
|
|
||||||
xedit_prefs_manager_set_print_font_numbers
|
|
||||||
xedit_prefs_manager_print_font_numbers_can_set
|
|
||||||
xedit_prefs_manager_get_default_print_font_numbers
|
|
||||||
xedit_prefs_manager_get_max_recents
|
|
||||||
xedit_prefs_manager_get_auto_detected_encodings
|
|
||||||
xedit_prefs_manager_get_shown_in_menu_encodings
|
|
||||||
xedit_prefs_manager_set_shown_in_menu_encodings
|
|
||||||
xedit_prefs_manager_shown_in_menu_encodings_can_set
|
|
||||||
xedit_prefs_manager_get_highlight_current_line
|
|
||||||
xedit_prefs_manager_set_highlight_current_line
|
|
||||||
xedit_prefs_manager_highlight_current_line_can_set
|
|
||||||
xedit_prefs_manager_get_bracket_matching
|
|
||||||
xedit_prefs_manager_set_bracket_matching
|
|
||||||
xedit_prefs_manager_bracket_matching_can_set
|
|
||||||
xedit_prefs_manager_get_display_right_margin
|
|
||||||
xedit_prefs_manager_set_display_right_margin
|
|
||||||
xedit_prefs_manager_display_right_margin_can_set
|
|
||||||
xedit_prefs_manager_get_right_margin_position
|
|
||||||
xedit_prefs_manager_set_right_margin_position
|
|
||||||
xedit_prefs_manager_right_margin_position_can_set
|
|
||||||
xedit_prefs_manager_get_enable_syntax_highlighting
|
|
||||||
xedit_prefs_manager_set_enable_syntax_highlighting
|
|
||||||
xedit_prefs_manager_enable_syntax_highlighting_can_set
|
|
||||||
xedit_prefs_manager_get_writable_vfs_schemes
|
|
||||||
xedit_prefs_manager_get_restore_cursor_position
|
|
||||||
xedit_prefs_manager_get_enable_search_highlighting
|
|
||||||
xedit_prefs_manager_set_enable_search_highlighting
|
|
||||||
xedit_prefs_manager_enable_search_highlighting_can_set
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-utils</FILE>
|
|
||||||
GBOOLEAN_TO_POINTER
|
|
||||||
GPOINTER_TO_BOOLEAN
|
|
||||||
IS_VALID_BOOLEAN
|
|
||||||
xedit_utils_uri_has_writable_scheme
|
|
||||||
xedit_utils_uri_has_file_scheme
|
|
||||||
xedit_utils_menu_position_under_widget
|
|
||||||
xedit_utils_menu_position_under_tree_view
|
|
||||||
xedit_gtk_button_new_with_stock_icon
|
|
||||||
xedit_dialog_add_button
|
|
||||||
xedit_utils_escape_underscores
|
|
||||||
xedit_utils_escape_slashes
|
|
||||||
xedit_utils_str_middle_truncate
|
|
||||||
g_utf8_caselessnmatch
|
|
||||||
xedit_utils_set_atk_name_description
|
|
||||||
xedit_utils_set_atk_relation
|
|
||||||
xedit_utils_uri_exists
|
|
||||||
xedit_utils_escape_search_text
|
|
||||||
xedit_utils_unescape_search_text
|
|
||||||
xedit_utils_get_stdin
|
|
||||||
xedit_warning
|
|
||||||
xedit_utils_make_valid_utf8
|
|
||||||
xedit_utils_uri_get_dirname
|
|
||||||
xedit_utils_replace_home_dir_with_tilde
|
|
||||||
xedit_utils_get_current_workspace
|
|
||||||
xedit_utils_get_window_workspace
|
|
||||||
xedit_utils_activate_url
|
|
||||||
xedit_utils_is_valid_uri
|
|
||||||
xedit_utils_get_glade_widgets
|
|
||||||
xedit_utils_make_canonical_uri_from_shell_arg
|
|
||||||
xedit_utils_format_uri_for_display
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>xedit-enum-types</FILE>
|
|
||||||
XEDIT_TYPE_CONVERT_ERROR
|
|
||||||
xedit_convert_error_get_type
|
|
||||||
XEDIT_TYPE_DEBUG_SECTION
|
|
||||||
xedit_debug_section_get_type
|
|
||||||
XEDIT_TYPE_SEARCH_FLAGS
|
|
||||||
xedit_search_flags_get_type
|
|
||||||
XEDIT_TYPE_DOCUMENT_SAVE_FLAGS
|
|
||||||
xedit_document_save_flags_get_type
|
|
||||||
XEDIT_TYPE_TOOLBAR_SETTING
|
|
||||||
xedit_toolbar_setting_get_type
|
|
||||||
XEDIT_TYPE_TAB_STATE
|
|
||||||
xedit_tab_state_get_type
|
|
||||||
XEDIT_TYPE_WINDOW_STATE
|
|
||||||
xedit_window_state_get_type
|
|
||||||
</SECTION>
|
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
#include "xedit-app.h"
|
|
||||||
#include "xedit-document.h"
|
|
||||||
#include "xedit-encodings.h"
|
|
||||||
#include "xedit-encodings-combo-box.h"
|
|
||||||
#include "xedit-file-chooser-dialog.h"
|
|
||||||
#include "xedit-message.h"
|
|
||||||
#include "xedit-message-bus.h"
|
|
||||||
#include "xedit-message-type.h"
|
|
||||||
#include "xedit-notebook.h"
|
|
||||||
#include "xedit-panel.h"
|
|
||||||
#include "xedit-plugin.h"
|
|
||||||
#include "xedit-progress-message-area.h"
|
|
||||||
#include "xedit-statusbar.h"
|
|
||||||
#include "xedit-tab.h"
|
|
||||||
#include "xedit-view.h"
|
|
||||||
#include "xedit-window.h"
|
|
||||||
xedit_app_get_type
|
|
||||||
xedit_document_get_type
|
|
||||||
xedit_encoding_get_type
|
|
||||||
xedit_encodings_combo_box_get_type
|
|
||||||
xedit_file_chooser_dialog_get_type
|
|
||||||
xedit_message_get_type
|
|
||||||
xedit_message_bus_get_type
|
|
||||||
xedit_message_type_get_type
|
|
||||||
xedit_notebook_get_type
|
|
||||||
xedit_panel_get_type
|
|
||||||
xedit_plugin_get_type
|
|
||||||
xedit_progress_message_area_get_type
|
|
||||||
xedit_statusbar_get_type
|
|
||||||
xedit_tab_get_type
|
|
||||||
xedit_view_get_type
|
|
||||||
xedit_window_get_type
|
|
Before Width: | Height: | Size: 726 B After Width: | Height: | Size: 726 B |
Before Width: | Height: | Size: 689 B After Width: | Height: | Size: 689 B |
Before Width: | Height: | Size: 743 B After Width: | Height: | Size: 743 B |
Before Width: | Height: | Size: 737 B After Width: | Height: | Size: 737 B |
Before Width: | Height: | Size: 430 B After Width: | Height: | Size: 430 B |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
|
@ -4,7 +4,7 @@
|
||||||
<!ENTITY appversion "1.10">
|
<!ENTITY appversion "1.10">
|
||||||
<!ENTITY manrevision "3.0">
|
<!ENTITY manrevision "3.0">
|
||||||
<!ENTITY date "July 2015">
|
<!ENTITY date "July 2015">
|
||||||
<!ENTITY app "xedit">
|
<!ENTITY app "xed">
|
||||||
]>
|
]>
|
||||||
|
|
||||||
<!-- =============Document Header ============================= -->
|
<!-- =============Document Header ============================= -->
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
<!-- Remember to remove the &manrevision; entity from the revision entries other
|
<!-- Remember to remove the &manrevision; entity from the revision entries other
|
||||||
than the current revision. -->
|
than the current revision. -->
|
||||||
<revision>
|
<revision>
|
||||||
<revnumber>xedit V1.0</revnumber>
|
<revnumber>xed V1.0</revnumber>
|
||||||
<date>2000</date>
|
<date>2000</date>
|
||||||
<revdescription>
|
<revdescription>
|
||||||
<para role="author">Eric Baudais <email>baudais@okstate.edu</email>
|
<para role="author">Eric Baudais <email>baudais@okstate.edu</email>
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
</revdescription>
|
</revdescription>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<revnumber>xedit Manual V2.0</revnumber>
|
<revnumber>xed Manual V2.0</revnumber>
|
||||||
<date>March 2002</date>
|
<date>March 2002</date>
|
||||||
<revdescription>
|
<revdescription>
|
||||||
<para role="author">Sun GNOME Documentation Team</para>
|
<para role="author">Sun GNOME Documentation Team</para>
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
</revdescription>
|
</revdescription>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<revnumber>xedit Manual V2.1</revnumber>
|
<revnumber>xed Manual V2.1</revnumber>
|
||||||
<date>June 2002</date>
|
<date>June 2002</date>
|
||||||
<revdescription>
|
<revdescription>
|
||||||
<para role="author">Sun GNOME Documentation Team</para>
|
<para role="author">Sun GNOME Documentation Team</para>
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
</revdescription>
|
</revdescription>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<revnumber>xedit Manual V2.2</revnumber>
|
<revnumber>xed Manual V2.2</revnumber>
|
||||||
<date>August 2002</date>
|
<date>August 2002</date>
|
||||||
<revdescription>
|
<revdescription>
|
||||||
<para role="author">Sun GNOME Documentation Team</para>
|
<para role="author">Sun GNOME Documentation Team</para>
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
</revdescription>
|
</revdescription>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<revnumber>xedit Manual V2.3</revnumber>
|
<revnumber>xed Manual V2.3</revnumber>
|
||||||
<date>September 2002</date>
|
<date>September 2002</date>
|
||||||
<revdescription>
|
<revdescription>
|
||||||
<para role="author">Sun GNOME Documentation Team</para>
|
<para role="author">Sun GNOME Documentation Team</para>
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
</revdescription>
|
</revdescription>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<revnumber>xedit Manual V2.4</revnumber>
|
<revnumber>xed Manual V2.4</revnumber>
|
||||||
<date>January 2003</date>
|
<date>January 2003</date>
|
||||||
<revdescription>
|
<revdescription>
|
||||||
<para role="author">Sun GNOME Documentation Team</para>
|
<para role="author">Sun GNOME Documentation Team</para>
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
</revdescription>
|
</revdescription>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<revnumber>xedit Manual V2.5</revnumber>
|
<revnumber>xed Manual V2.5</revnumber>
|
||||||
<date>March 2003</date>
|
<date>March 2003</date>
|
||||||
<revdescription>
|
<revdescription>
|
||||||
<para role="author">Sun GNOME Documentation Team</para>
|
<para role="author">Sun GNOME Documentation Team</para>
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
</revdescription>
|
</revdescription>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<revnumber>xedit Manual V2.6</revnumber>
|
<revnumber>xed Manual V2.6</revnumber>
|
||||||
<date>September 2003</date>
|
<date>September 2003</date>
|
||||||
<revdescription>
|
<revdescription>
|
||||||
<para role="author">Sun GNOME Documentation Team</para>
|
<para role="author">Sun GNOME Documentation Team</para>
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
</revdescription>
|
</revdescription>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<revnumber>xedit Manual V2.7</revnumber>
|
<revnumber>xed Manual V2.7</revnumber>
|
||||||
<date>March 2004</date>
|
<date>March 2004</date>
|
||||||
<revdescription>
|
<revdescription>
|
||||||
<para role="author">Sun GNOME Documentation Team</para>
|
<para role="author">Sun GNOME Documentation Team</para>
|
||||||
|
@ -123,27 +123,27 @@
|
||||||
<releaseinfo> This manual describes version &appversion; of &app;.
|
<releaseinfo> This manual describes version &appversion; of &app;.
|
||||||
</releaseinfo>
|
</releaseinfo>
|
||||||
</articleinfo>
|
</articleinfo>
|
||||||
<indexterm><primary>xedit</primary></indexterm>
|
<indexterm><primary>xed</primary></indexterm>
|
||||||
<indexterm><primary>text editor</primary></indexterm>
|
<indexterm><primary>text editor</primary></indexterm>
|
||||||
|
|
||||||
<!-- ============= Document Body ============================= -->
|
<!-- ============= Document Body ============================= -->
|
||||||
<!-- ============= Introduction ============================== -->
|
<!-- ============= Introduction ============================== -->
|
||||||
<sect1 id="xedit-intro">
|
<sect1 id="xed-intro">
|
||||||
<title>Introduction</title>
|
<title>Introduction</title>
|
||||||
|
|
||||||
<!-- removed ids, here as anchors to prevent possible breakage -->
|
<!-- removed ids, here as anchors to prevent possible breakage -->
|
||||||
<anchor id="xedit-customize-toolbar"/>
|
<anchor id="xed-customize-toolbar"/>
|
||||||
|
|
||||||
<para>The <application>&app;</application> application enables you to create and edit text files.</para>
|
<para>The <application>&app;</application> application enables you to create and edit text files.</para>
|
||||||
|
|
||||||
<para>The aim of <application>&app;</application> is to be a simple and easy to use text editor. More powerful features can be enabled with different <firstterm>plugins</firstterm>, allowing a variety of tasks related to text-editing.</para>
|
<para>The aim of <application>&app;</application> is to be a simple and easy to use text editor. More powerful features can be enabled with different <firstterm>plugins</firstterm>, allowing a variety of tasks related to text-editing.</para>
|
||||||
</sect1>
|
</sect1>
|
||||||
<!-- ============= Getting Started =========================== -->
|
<!-- ============= Getting Started =========================== -->
|
||||||
<sect1 id="xedit-getting-started">
|
<sect1 id="xed-getting-started">
|
||||||
<title>Getting Started</title>
|
<title>Getting Started</title>
|
||||||
|
|
||||||
<!-- ============= To Start xedit ============================ -->
|
<!-- ============= To Start xed ============================ -->
|
||||||
<sect2 id="xedit-to-start">
|
<sect2 id="xed-to-start">
|
||||||
<title>Starting &app;</title>
|
<title>Starting &app;</title>
|
||||||
<para>You can start <application>&app;</application> in the following ways:</para>
|
<para>You can start <application>&app;</application> in the following ways:</para>
|
||||||
<variablelist>
|
<variablelist>
|
||||||
|
@ -156,26 +156,26 @@
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>Command line</term>
|
<term>Command line</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Execute the following command: <command>xedit</command></para>
|
<para>Execute the following command: <command>xed</command></para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
<para>By default, when you open a text document in the file manager, xedit will start, and display the document.</para>
|
<para>By default, when you open a text document in the file manager, xed will start, and display the document.</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="xedit-when-you-start">
|
<sect2 id="xed-when-you-start">
|
||||||
|
|
||||||
<title>The &app; Window</title>
|
<title>The &app; Window</title>
|
||||||
<para>When you start <application>&app;</application>, the following window is displayed:</para>
|
<para>When you start <application>&app;</application>, the following window is displayed:</para>
|
||||||
|
|
||||||
<figure id="xedit-window">
|
<figure id="xed-window">
|
||||||
<title>&app; Window</title>
|
<title>&app; Window</title>
|
||||||
<screenshot>
|
<screenshot>
|
||||||
<mediaobject>
|
<mediaobject>
|
||||||
<imageobject>
|
<imageobject>
|
||||||
<imagedata fileref="figures/xedit_window.png" format="PNG"/>
|
<imagedata fileref="figures/xed_window.png" format="PNG"/>
|
||||||
</imageobject>
|
</imageobject>
|
||||||
<textobject> <phrase>Shows xedit main window.</phrase>
|
<textobject> <phrase>Shows xed main window.</phrase>
|
||||||
</textobject>
|
</textobject>
|
||||||
</mediaobject>
|
</mediaobject>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
|
@ -229,37 +229,37 @@
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= To Open Multiple Files from the Command Line ========= -->
|
<!-- ============= To Open Multiple Files from the Command Line ========= -->
|
||||||
<sect2 id="xedit-run-from-cmd-line">
|
<sect2 id="xed-run-from-cmd-line">
|
||||||
<title>Running &app; from a Command Line</title>
|
<title>Running &app; from a Command Line</title>
|
||||||
<para>You can run <application>&app;</application> from a command line and open a single file or multiple files. To open multiple files from a command line, type the following command, then press <keycap>Return</keycap>:</para>
|
<para>You can run <application>&app;</application> from a command line and open a single file or multiple files. To open multiple files from a command line, type the following command, then press <keycap>Return</keycap>:</para>
|
||||||
<para><command>xedit <replaceable>file1.txt file2.txt file3.txt</replaceable></command></para>
|
<para><command>xed <replaceable>file1.txt file2.txt file3.txt</replaceable></command></para>
|
||||||
<para>Alternatively, you can specify a URI instead of a filename.</para>
|
<para>Alternatively, you can specify a URI instead of a filename.</para>
|
||||||
<para>For more information on how to run <application>&app;</application> from a command line, see the unix manual page for &app;, <ulink url="man:xedit" type="man"><citerefentry><refentrytitle>&app;</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>.</para>
|
<para>For more information on how to run <application>&app;</application> from a command line, see the unix manual page for &app;, <ulink url="man:xed" type="man"><citerefentry><refentrytitle>&app;</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>.</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
</sect1>
|
</sect1>
|
||||||
<!-- ================ Usage ================================ -->
|
<!-- ================ Usage ================================ -->
|
||||||
<sect1 id="xedit-usage">
|
<sect1 id="xed-usage">
|
||||||
<title>Working with Files</title>
|
<title>Working with Files</title>
|
||||||
|
|
||||||
<!-- ============= To Create a New File ======================== -->
|
<!-- ============= To Create a New File ======================== -->
|
||||||
<sect2 id="xedit-create-new-file">
|
<sect2 id="xed-create-new-file">
|
||||||
<title>Creating a New Document</title>
|
<title>Creating a New Document</title>
|
||||||
<para>To create a new document, choose <menuchoice><guimenu>File</guimenu><guimenuitem>New</guimenuitem></menuchoice>. The application displays a new blank document in the <application>&app;</application> window.</para>
|
<para>To create a new document, choose <menuchoice><guimenu>File</guimenu><guimenuitem>New</guimenuitem></menuchoice>. The application displays a new blank document in the <application>&app;</application> window.</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= To Open a File ============================= -->
|
<!-- ============= To Open a File ============================= -->
|
||||||
<sect2 id="xedit-open-file">
|
<sect2 id="xed-open-file">
|
||||||
<title>Opening a File</title>
|
<title>Opening a File</title>
|
||||||
<para>To open a file, choose <menuchoice><guimenu>File</guimenu><guimenuitem>Open</guimenuitem></menuchoice> to display the <guilabel>Open File</guilabel> dialog. Select the file that you want to open, then click <guibutton>Open</guibutton>. The file is displayed in the <application>&app;</application> window. </para>
|
<para>To open a file, choose <menuchoice><guimenu>File</guimenu><guimenuitem>Open</guimenuitem></menuchoice> to display the <guilabel>Open File</guilabel> dialog. Select the file that you want to open, then click <guibutton>Open</guibutton>. The file is displayed in the <application>&app;</application> window. </para>
|
||||||
|
|
||||||
<para>The application records the paths and filenames of the five most recent files that you edited and displays the files as menu items on the <menuchoice><guimenu>File</guimenu></menuchoice> menu. You can also click on the <inlinemediaobject><imageobject><imagedata fileref="figures/xedit_recent_files_menu_icon.png" format="PNG"/></imageobject><textobject><phrase>Shows Recent Files menu icon.</phrase></textobject></inlinemediaobject> icon on the toolbar to display the list of recent files. </para>
|
<para>The application records the paths and filenames of the five most recent files that you edited and displays the files as menu items on the <menuchoice><guimenu>File</guimenu></menuchoice> menu. You can also click on the <inlinemediaobject><imageobject><imagedata fileref="figures/xed_recent_files_menu_icon.png" format="PNG"/></imageobject><textobject><phrase>Shows Recent Files menu icon.</phrase></textobject></inlinemediaobject> icon on the toolbar to display the list of recent files. </para>
|
||||||
|
|
||||||
<note><para>You can open multiple files in <application>&app;</application>. The application adds a tab for each open file to the window. For more on this see <xref linkend="xedit-tabs"/>.</para></note>
|
<note><para>You can open multiple files in <application>&app;</application>. The application adds a tab for each open file to the window. For more on this see <xref linkend="xed-tabs"/>.</para></note>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= To Save a File ============================== -->
|
<!-- ============= To Save a File ============================== -->
|
||||||
<sect2 id="xedit-save-file">
|
<sect2 id="xed-save-file">
|
||||||
<title>Saving a File</title>
|
<title>Saving a File</title>
|
||||||
<para>You can save files in the following ways:</para>
|
<para>You can save files in the following ways:</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
@ -274,7 +274,7 @@
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= To Open a File from a URI ======================= -->
|
<!-- ============= To Open a File from a URI ======================= -->
|
||||||
<sect2 id="xedit-open-from-uri">
|
<sect2 id="xed-open-from-uri">
|
||||||
<title>Opening a File from a URI</title>
|
<title>Opening a File from a URI</title>
|
||||||
<para>To open a file from a Uniform Resource Identifier (URI), perform the following steps:</para>
|
<para>To open a file from a Uniform Resource Identifier (URI), perform the following steps:</para>
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
|
@ -296,7 +296,7 @@
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= Working with tabs ======================== -->
|
<!-- ============= Working with tabs ======================== -->
|
||||||
<sect2 id="xedit-tabs">
|
<sect2 id="xed-tabs">
|
||||||
<title>Working With Tabs</title>
|
<title>Working With Tabs</title>
|
||||||
|
|
||||||
<para>When more than one file is open, <application>&app;</application> shows a <firstterm>tab</firstterm> for each document above the display area. To switch to another document, click on its tab.</para>
|
<para>When more than one file is open, <application>&app;</application> shows a <firstterm>tab</firstterm> for each document above the display area. To switch to another document, click on its tab.</para>
|
||||||
|
@ -310,7 +310,7 @@
|
||||||
<title>Working with Text</title>
|
<title>Working with Text</title>
|
||||||
|
|
||||||
<!-- ============= To Edit Text ================================ -->
|
<!-- ============= To Edit Text ================================ -->
|
||||||
<sect2 id="xedit-edit-text">
|
<sect2 id="xed-edit-text">
|
||||||
<title>Editing Text</title>
|
<title>Editing Text</title>
|
||||||
<para>You can edit the text of a file in the following ways:</para>
|
<para>You can edit the text of a file in the following ways:</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
@ -329,26 +329,26 @@
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</sect2>
|
</sect2>
|
||||||
<!-- ============== To Undo or Redo Edits ====================== -->
|
<!-- ============== To Undo or Redo Edits ====================== -->
|
||||||
<sect2 id="xedit-undo-redo-edits">
|
<sect2 id="xed-undo-redo-edits">
|
||||||
<title>Undoing and Redoing Changes</title>
|
<title>Undoing and Redoing Changes</title>
|
||||||
<para>To undo a change you have made, choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Undo</guimenuitem> </menuchoice>. To reverse this action, choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Redo</guimenuitem> </menuchoice>.</para>
|
<para>To undo a change you have made, choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Undo</guimenuitem> </menuchoice>. To reverse this action, choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Redo</guimenuitem> </menuchoice>.</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
<sect1 id="xedit-find">
|
<sect1 id="xed-find">
|
||||||
<title>Finding and Replacing</title>
|
<title>Finding and Replacing</title>
|
||||||
|
|
||||||
<para>In <application>&app;</application>, there are two ways of searching for text. You can use the <guilabel>Find</guilabel> dialog to search for a specific piece of text, or <guilabel>Incremental Search</guilabel> to highlight matching text as you type it.
|
<para>In <application>&app;</application>, there are two ways of searching for text. You can use the <guilabel>Find</guilabel> dialog to search for a specific piece of text, or <guilabel>Incremental Search</guilabel> to highlight matching text as you type it.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<!-- ============= To Find Text ================================ -->
|
<!-- ============= To Find Text ================================ -->
|
||||||
<sect2 id="xedit-find-text">
|
<sect2 id="xed-find-text">
|
||||||
<title>Finding Text</title>
|
<title>Finding Text</title>
|
||||||
<para>To search a file for a string of text, perform the following steps:</para>
|
<para>To search a file for a string of text, perform the following steps:</para>
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
<listitem><para>Choose <menuchoice> <guimenu>Search</guimenu> <guimenuitem>Find</guimenuitem> </menuchoice> to display the <guilabel>Find</guilabel> dialog.</para>
|
<listitem><para>Choose <menuchoice> <guimenu>Search</guimenu> <guimenuitem>Find</guimenuitem> </menuchoice> to display the <guilabel>Find</guilabel> dialog.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem><para>Type the string that you want to find in the <guilabel>Search for</guilabel> field. You can include special characters such as a new line or tab: see <xref linkend="xedit-find-escapes"/>.</para>
|
<listitem><para>Type the string that you want to find in the <guilabel>Search for</guilabel> field. You can include special characters such as a new line or tab: see <xref linkend="xed-find-escapes"/>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem><para>Click <guibutton>Find</guibutton> to search the file for the first occurrence of the string after your current cursor position. If <application>&app;</application> finds the string, the application selects first occurrence of the string. Other occurrences of the string are highlighted.</para>
|
<listitem><para>Click <guibutton>Find</guibutton> to search the file for the first occurrence of the string after your current cursor position. If <application>&app;</application> finds the string, the application selects first occurrence of the string. Other occurrences of the string are highlighted.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
@ -359,7 +359,7 @@
|
||||||
<para>To remove the highlighting from the text, choose <menuchoice> <guimenu>Search</guimenu> <guimenuitem>Clear Highlight</guimenuitem> </menuchoice>.</para>
|
<para>To remove the highlighting from the text, choose <menuchoice> <guimenu>Search</guimenu> <guimenuitem>Clear Highlight</guimenuitem> </menuchoice>.</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="xedit-find-incremental">
|
<sect2 id="xed-find-incremental">
|
||||||
<title>Incremental Search</title>
|
<title>Incremental Search</title>
|
||||||
|
|
||||||
<para>Incremental search highlights matching text in the document as you type it letter by letter. (This is similar to the search feature in several web browsers.)</para>
|
<para>Incremental search highlights matching text in the document as you type it letter by letter. (This is similar to the search feature in several web browsers.)</para>
|
||||||
|
@ -370,14 +370,14 @@
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= To Find and Replace Text =================== -->
|
<!-- ============= To Find and Replace Text =================== -->
|
||||||
<sect2 id="xedit-find-replace-text">
|
<sect2 id="xed-find-replace-text">
|
||||||
<title>Replacing Text</title>
|
<title>Replacing Text</title>
|
||||||
|
|
||||||
<para>To search a file for a string, and replace the string with an alternative string, perform the following steps:</para>
|
<para>To search a file for a string, and replace the string with an alternative string, perform the following steps:</para>
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
<listitem><para>Choose <menuchoice> <guimenu>Search</guimenu> <guimenuitem>Replace</guimenuitem> </menuchoice> to display the <guilabel>Replace</guilabel> dialog.</para>
|
<listitem><para>Choose <menuchoice> <guimenu>Search</guimenu> <guimenuitem>Replace</guimenuitem> </menuchoice> to display the <guilabel>Replace</guilabel> dialog.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem><para>Type the string that you want to find, in the <guilabel>Search for</guilabel> field. You can include special characters such as a new line or tab: see <xref linkend="xedit-find-escapes"/>.</para></listitem>
|
<listitem><para>Type the string that you want to find, in the <guilabel>Search for</guilabel> field. You can include special characters such as a new line or tab: see <xref linkend="xed-find-escapes"/>.</para></listitem>
|
||||||
<listitem><para>Type the string that you want to use to replace the string that you find, in the <guilabel>Replace with</guilabel> field.</para>
|
<listitem><para>Type the string that you want to use to replace the string that you find, in the <guilabel>Replace with</guilabel> field.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
|
@ -387,7 +387,7 @@
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= Find and Replace Options ============================ -->
|
<!-- ============= Find and Replace Options ============================ -->
|
||||||
<sect2 id="xedit-find-options">
|
<sect2 id="xed-find-options">
|
||||||
<title>Find and Replace Options</title>
|
<title>Find and Replace Options</title>
|
||||||
<para>The <guilabel>Find</guilabel> dialog and the <guilabel>Replace</guilabel> dialog both have the following options:</para>
|
<para>The <guilabel>Find</guilabel> dialog and the <guilabel>Replace</guilabel> dialog both have the following options:</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
@ -403,7 +403,7 @@
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= Special Characters ============================ -->
|
<!-- ============= Special Characters ============================ -->
|
||||||
<sect2 id="xedit-find-escapes">
|
<sect2 id="xed-find-escapes">
|
||||||
<title>Special Characters</title>
|
<title>Special Characters</title>
|
||||||
<para>You can include the following escape sequences in the text to find or replace to represent special characters:</para>
|
<para>You can include the following escape sequences in the text to find or replace to represent special characters:</para>
|
||||||
<variablelist>
|
<variablelist>
|
||||||
|
@ -439,7 +439,7 @@
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= To Position the Cursor on a Specific Line ======================= -->
|
<!-- ============= To Position the Cursor on a Specific Line ======================= -->
|
||||||
<sect2 id="xedit-goto-line">
|
<sect2 id="xed-goto-line">
|
||||||
<title>Positioning the Cursor on a Specific Line</title>
|
<title>Positioning the Cursor on a Specific Line</title>
|
||||||
|
|
||||||
<para>To position the cursor on a specific line in the current file, choose <menuchoice> <guimenu>Search</guimenu> <guimenuitem>Go to Line</guimenuitem> </menuchoice>. The line number box appears at the top of the display area.</para>
|
<para>To position the cursor on a specific line in the current file, choose <menuchoice> <guimenu>Search</guimenu> <guimenuitem>Go to Line</guimenuitem> </menuchoice>. The line number box appears at the top of the display area.</para>
|
||||||
|
@ -449,23 +449,23 @@
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1 id="xedit-printing">
|
<sect1 id="xed-printing">
|
||||||
<title>Printing</title>
|
<title>Printing</title>
|
||||||
|
|
||||||
<!-- ============= To Set the Page Options ============================ -->
|
<!-- ============= To Set the Page Options ============================ -->
|
||||||
<sect2 id="xedit-page-setup">
|
<sect2 id="xed-page-setup">
|
||||||
<title>Setting the Page Options</title>
|
<title>Setting the Page Options</title>
|
||||||
|
|
||||||
<para>To set the page options, choose <menuchoice> <guimenu>File</guimenu> <guimenuitem>Page Setup</guimenuitem> </menuchoice> to display the <guilabel>Page Setup</guilabel> dialog.</para>
|
<para>To set the page options, choose <menuchoice> <guimenu>File</guimenu> <guimenuitem>Page Setup</guimenuitem> </menuchoice> to display the <guilabel>Page Setup</guilabel> dialog.</para>
|
||||||
|
|
||||||
<para>The <guilabel>Page Setup</guilabel> dialog enables you to specify the following print options:</para>
|
<para>The <guilabel>Page Setup</guilabel> dialog enables you to specify the following print options:</para>
|
||||||
|
|
||||||
<sect3 id="xedit-page-setup-general">
|
<sect3 id="xed-page-setup-general">
|
||||||
<title>General Tabbed Section</title>
|
<title>General Tabbed Section</title>
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry> <term><guilabel>Print syntax highlighting</guilabel> </term>
|
<varlistentry> <term><guilabel>Print syntax highlighting</guilabel> </term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Select this option to print syntax highlighting. For more information about syntax highlighting, see <xref linkend="xedit-set-highlightmode"/>. </para>
|
<para>Select this option to print syntax highlighting. For more information about syntax highlighting, see <xref linkend="xed-set-highlightmode"/>. </para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry> <term><guilabel>Print page headers</guilabel> </term>
|
<varlistentry> <term><guilabel>Print page headers</guilabel> </term>
|
||||||
|
@ -491,7 +491,7 @@
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
<sect3 id="xedit-page-setup-fonts">
|
<sect3 id="xed-page-setup-fonts">
|
||||||
<title>Fonts</title>
|
<title>Fonts</title>
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry> <term><guilabel>Body</guilabel> </term>
|
<varlistentry> <term><guilabel>Body</guilabel> </term>
|
||||||
|
@ -517,7 +517,7 @@
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= To Print a File ============================ -->
|
<!-- ============= To Print a File ============================ -->
|
||||||
<sect2 id="xedit-print-file">
|
<sect2 id="xed-print-file">
|
||||||
<title>Printing a Document</title>
|
<title>Printing a Document</title>
|
||||||
<para>You can use <application>&app;</application> to perform the following print operations:</para>
|
<para>You can use <application>&app;</application> to perform the following print operations:</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
@ -700,13 +700,13 @@
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1 id="xedit-programming-features">
|
<sect1 id="xed-programming-features">
|
||||||
<title>Programming Features</title>
|
<title>Programming Features</title>
|
||||||
|
|
||||||
<para>Several of <application>&app;</application>'s features for programming are provided with plugins. For example, the Tag List plugin provides a list of commonly-used tags for different markup languages: see <xref linkend="xedit-tag-list-plugin"/>.</para>
|
<para>Several of <application>&app;</application>'s features for programming are provided with plugins. For example, the Tag List plugin provides a list of commonly-used tags for different markup languages: see <xref linkend="xed-tag-list-plugin"/>.</para>
|
||||||
|
|
||||||
<!-- ============= Syntax Highlighting =================== -->
|
<!-- ============= Syntax Highlighting =================== -->
|
||||||
<sect2 id="xedit-set-highlightmode">
|
<sect2 id="xed-set-highlightmode">
|
||||||
<title>Syntax Highlighting</title>
|
<title>Syntax Highlighting</title>
|
||||||
<para>Syntax highlighting makes source code easier to read by showing different parts of the text in different colors.</para>
|
<para>Syntax highlighting makes source code easier to read by showing different parts of the text in different colors.</para>
|
||||||
|
|
||||||
|
@ -746,16 +746,16 @@
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= To Pipe the Output of a Command to a File ======= -->
|
<!-- ============= To Pipe the Output of a Command to a File ======= -->
|
||||||
<sect2 id="xedit-pipe-output">
|
<sect2 id="xed-pipe-output">
|
||||||
<title>Piping the Output of a Command to a File</title>
|
<title>Piping the Output of a Command to a File</title>
|
||||||
<para>You can use <application>&app;</application> to pipe the output of a command to a text file. For example, to pipe the output of an <command>ls</command> command to a text file, type <command>ls | xedit</command>, then press <keycap>Return</keycap>.</para>
|
<para>You can use <application>&app;</application> to pipe the output of a command to a text file. For example, to pipe the output of an <command>ls</command> command to a text file, type <command>ls | xed</command>, then press <keycap>Return</keycap>.</para>
|
||||||
<para>The output of the <command>ls</command> command is displayed in a new text file in the <application>&app;</application> window.</para>
|
<para>The output of the <command>ls</command> command is displayed in a new text file in the <application>&app;</application> window.</para>
|
||||||
<para>Alternatively, you can use the <application>External tools</application> plugin to pipe command output to the current file. <!-- fixme: xref needed! --></para>
|
<para>Alternatively, you can use the <application>External tools</application> plugin to pipe command output to the current file. <!-- fixme: xref needed! --></para>
|
||||||
</sect2>
|
</sect2>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<!-- ================ Shortcut Keys ============================= -->
|
<!-- ================ Shortcut Keys ============================= -->
|
||||||
<sect1 id="xedit-shortcutkeys">
|
<sect1 id="xed-shortcutkeys">
|
||||||
<title>Shortcut Keys</title>
|
<title>Shortcut Keys</title>
|
||||||
<para>Use shortcut keys to perform common tasks more quickly than with the mouse and menus. The following tables list all of <application>&app;</application>'s shortcut keys.</para>
|
<para>Use shortcut keys to perform common tasks more quickly than with the mouse and menus. The following tables list all of <application>&app;</application>'s shortcut keys.</para>
|
||||||
|
|
||||||
|
@ -853,7 +853,7 @@
|
||||||
</row>
|
</row>
|
||||||
<row valign="top">
|
<row valign="top">
|
||||||
<entry><para>Ctrl + Q</para></entry>
|
<entry><para>Ctrl + Q</para></entry>
|
||||||
<entry><para>Quit Xedit.</para></entry>
|
<entry><para>Quit Xed.</para></entry>
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
|
@ -1062,18 +1062,18 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- ============= Preferences ============================= -->
|
<!-- ============= Preferences ============================= -->
|
||||||
<sect1 id="xedit-prefs">
|
<sect1 id="xed-prefs">
|
||||||
<title>Preferences</title>
|
<title>Preferences</title>
|
||||||
|
|
||||||
<para>To configure <application>&app;</application>, choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Preferences</guimenuitem> </menuchoice>. The <guilabel>Preferences</guilabel> dialog contains the following categories:</para>
|
<para>To configure <application>&app;</application>, choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Preferences</guimenuitem> </menuchoice>. The <guilabel>Preferences</guilabel> dialog contains the following categories:</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem><para><xref linkend="xedit-prefs-view"/></para></listitem>
|
<listitem><para><xref linkend="xed-prefs-view"/></para></listitem>
|
||||||
<listitem><para><xref linkend="xedit-prefs-editor"/></para></listitem>
|
<listitem><para><xref linkend="xed-prefs-editor"/></para></listitem>
|
||||||
<listitem><para><xref linkend="xedit-prefs-fontsandcolors"/></para></listitem>
|
<listitem><para><xref linkend="xed-prefs-fontsandcolors"/></para></listitem>
|
||||||
<listitem><para><xref linkend="xedit-prefs-plugins"/></para></listitem>
|
<listitem><para><xref linkend="xed-prefs-plugins"/></para></listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<sect2 id="xedit-prefs-view">
|
<sect2 id="xed-prefs-view">
|
||||||
<title>View Preferences</title>
|
<title>View Preferences</title>
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
|
@ -1112,7 +1112,7 @@
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="xedit-prefs-editor">
|
<sect2 id="xed-prefs-editor">
|
||||||
<title>Editor Preferences</title>
|
<title>Editor Preferences</title>
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
|
@ -1138,7 +1138,7 @@
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="xedit-prefs-fontsandcolors">
|
<sect2 id="xed-prefs-fontsandcolors">
|
||||||
<title>Font & Colors Preferences</title>
|
<title>Font & Colors Preferences</title>
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
|
@ -1191,12 +1191,12 @@
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="xedit-prefs-plugins">
|
<sect2 id="xed-prefs-plugins">
|
||||||
<title>Plugins Preferences</title>
|
<title>Plugins Preferences</title>
|
||||||
<para>Plugins add extra features to <application>&app;</application>. For more information on plugins and how to use the built-in plugins, see <xref linkend="xedit-plugins-overview"/>.</para>
|
<para>Plugins add extra features to <application>&app;</application>. For more information on plugins and how to use the built-in plugins, see <xref linkend="xed-plugins-overview"/>.</para>
|
||||||
|
|
||||||
<!-- ============= To Load xedit Plugins ========================= -->
|
<!-- ============= To Load xed Plugins ========================= -->
|
||||||
<sect3 id="xedit-install-plugins">
|
<sect3 id="xed-install-plugins">
|
||||||
<title>Enabling a Plugin</title>
|
<title>Enabling a Plugin</title>
|
||||||
<para>To enable a <application>&app;</application> plugin, perform the following steps:</para>
|
<para>To enable a <application>&app;</application> plugin, perform the following steps:</para>
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
|
@ -1215,8 +1215,8 @@
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
<!-- ============= To Remove xedit Plugins ========================= -->
|
<!-- ============= To Remove xed Plugins ========================= -->
|
||||||
<sect3 id="xedit-remove-plugins">
|
<sect3 id="xed-remove-plugins">
|
||||||
<title>Disabling a Plugin</title>
|
<title>Disabling a Plugin</title>
|
||||||
<para>A plugin remains enabled when you quit <application>&app;</application>. </para>
|
<para>A plugin remains enabled when you quit <application>&app;</application>. </para>
|
||||||
<para>To disable a <application>&app;</application> plugin, perform the following steps:</para>
|
<para>To disable a <application>&app;</application> plugin, perform the following steps:</para>
|
||||||
|
@ -1238,52 +1238,52 @@
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
<!-- ============= To Use the xedit Plugins ========================= -->
|
<!-- ============= To Use the xed Plugins ========================= -->
|
||||||
<sect1 id="xedit-plugins">
|
<sect1 id="xed-plugins">
|
||||||
<title>Plugins</title>
|
<title>Plugins</title>
|
||||||
<sect2 id="xedit-plugins-overview">
|
<sect2 id="xed-plugins-overview">
|
||||||
<title>Working with Plugins</title>
|
<title>Working with Plugins</title>
|
||||||
<para>You can add extra features to <application>&app;</application> by enabling <firstterm>plugins</firstterm>. A plugin is a supplementary program that enhances the functionality of an application. Plugins add new items to the <application>&app;</application> menus for the new features they provide.
|
<para>You can add extra features to <application>&app;</application> by enabling <firstterm>plugins</firstterm>. A plugin is a supplementary program that enhances the functionality of an application. Plugins add new items to the <application>&app;</application> menus for the new features they provide.
|
||||||
</para>
|
</para>
|
||||||
<para>Several plugins come built-in with <application>&app;</application>, and you can install more. The <ulink type="http" url="http://live.gnome.org/Xedit/Plugins">xedit website</ulink> lists third-party plugins.</para>
|
<para>Several plugins come built-in with <application>&app;</application>, and you can install more. The <ulink type="http" url="http://live.gnome.org/Xed/Plugins">xed website</ulink> lists third-party plugins.</para>
|
||||||
<para>To enable and disable plugins, or see which plugins are currently enabled, use the <link linkend="xedit-prefs-plugins">Plugins Preferences</link>.</para>
|
<para>To enable and disable plugins, or see which plugins are currently enabled, use the <link linkend="xed-prefs-plugins">Plugins Preferences</link>.</para>
|
||||||
<para>The following plugins come built-in with <application>&app;</application>:</para>
|
<para>The following plugins come built-in with <application>&app;</application>:</para>
|
||||||
<!-- Not yet documented:
|
<!-- Not yet documented:
|
||||||
File browser
|
File browser
|
||||||
-->
|
-->
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><link linkend="xedit-change-case-plugin"><application>Change Case</application></link> allows you to change the case of the selected text.</para>
|
<para><link linkend="xed-change-case-plugin"><application>Change Case</application></link> allows you to change the case of the selected text.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><application><link linkend="xedit-document-statistics-plugin">Document Statistics</link></application> shows the number of lines, words, and characters in the document. </para>
|
<para><application><link linkend="xed-document-statistics-plugin">Document Statistics</link></application> shows the number of lines, words, and characters in the document. </para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><application><!-- <link linkend="xedit-file-browser-plugin">File Browser</link>-->File Browser</application> allows you to browse your files and folders in the side pane.</para>
|
<para><application><!-- <link linkend="xed-file-browser-plugin">File Browser</link>-->File Browser</application> allows you to browse your files and folders in the side pane.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><application><link linkend="xedit-indent-lines-plugin">Indent Lines</link></application> adds or removes indentation from the selected lines.</para>
|
<para><application><link linkend="xed-indent-lines-plugin">Indent Lines</link></application> adds or removes indentation from the selected lines.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><application><link linkend="xedit-insert-date-time-plugin">Insert Date/Time</link></application> adds the current date and time into a document.</para>
|
<para><application><link linkend="xed-insert-date-time-plugin">Insert Date/Time</link></application> adds the current date and time into a document.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><application><link linkend="xedit-modelines-plugin">Modelines</link></application> allows you to set editing preferences for individual documents, and supports <application>Emacs</application>, <application>Kate</application> and <application>Vim</application>-style modelines.</para>
|
<para><application><link linkend="xed-modelines-plugin">Modelines</link></application> allows you to set editing preferences for individual documents, and supports <application>Emacs</application>, <application>Kate</application> and <application>Vim</application>-style modelines.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><application><link linkend="xedit-sort-plugin">Sort</link></application> arranges selected lines of text into alphabetical order.</para>
|
<para><application><link linkend="xed-sort-plugin">Sort</link></application> arranges selected lines of text into alphabetical order.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><application><link linkend="xedit-spell-checker-plugin">Spell Checker</link></application> corrects the spelling in the selected text, or marks errors automatically in the document.</para>
|
<para><application><link linkend="xed-spell-checker-plugin">Spell Checker</link></application> corrects the spelling in the selected text, or marks errors automatically in the document.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><application><link linkend="xedit-tag-list-plugin">Tag List</link></application> lets you insert commonly-used tags for HTML and other languages from a list in the side pane.</para>
|
<para><application><link linkend="xed-tag-list-plugin">Tag List</link></application> lets you insert commonly-used tags for HTML and other languages from a list in the side pane.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="xedit-change-case-plugin">
|
<sect2 id="xed-change-case-plugin">
|
||||||
<title>Change Case Plugin</title>
|
<title>Change Case Plugin</title>
|
||||||
<para>The <application>Change Case</application> plugin changes the case of the selected text.</para>
|
<para>The <application>Change Case</application> plugin changes the case of the selected text.</para>
|
||||||
<para>The following items are added to the <guimenu>Edit</guimenu> menu when the <application>Change Case</application> plugin is enabled:</para>
|
<para>The following items are added to the <guimenu>Edit</guimenu> menu when the <application>Change Case</application> plugin is enabled:</para>
|
||||||
|
@ -1334,7 +1334,7 @@
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="xedit-document-statistics-plugin">
|
<sect2 id="xed-document-statistics-plugin">
|
||||||
<title>Document Statistics Plugin</title>
|
<title>Document Statistics Plugin</title>
|
||||||
<para>The <application>Document Statistics</application> plugin counts the number of lines, words, characters with spaces, characters without spaces, and bytes in the current file. The plugin displays the results in a <guilabel>Document Statistics</guilabel> dialog. To use the Document Statistics plugin, perform the following steps:</para>
|
<para>The <application>Document Statistics</application> plugin counts the number of lines, words, characters with spaces, characters without spaces, and bytes in the current file. The plugin displays the results in a <guilabel>Document Statistics</guilabel> dialog. To use the Document Statistics plugin, perform the following steps:</para>
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
|
@ -1364,28 +1364,28 @@
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="xedit-file-browser-plugin">
|
<sect2 id="xed-file-browser-plugin">
|
||||||
<title>File Browser Plugin</title>
|
<title>File Browser Plugin</title>
|
||||||
<para>The <application>File Browser</application> Plugin shows your files and folders in the side pane, allowing you to quickly open files.</para>
|
<para>The <application>File Browser</application> Plugin shows your files and folders in the side pane, allowing you to quickly open files.</para>
|
||||||
<para>To view the File Browser, choose <menuchoice><guimenu>View</guimenu> <guimenuitem>Side Pane</guimenuitem> </menuchoice> and then click on the tab showing the File Browser icon at the bottom of the side pane.</para>
|
<para>To view the File Browser, choose <menuchoice><guimenu>View</guimenu> <guimenuitem>Side Pane</guimenuitem> </menuchoice> and then click on the tab showing the File Browser icon at the bottom of the side pane.</para>
|
||||||
<sect3 id="xedit-file-browser-plugin-browsing">
|
<sect3 id="xed-file-browser-plugin-browsing">
|
||||||
<title>Browsing your Files</title>
|
<title>Browsing your Files</title>
|
||||||
<para>The File Browser tab initially shows your file manager bookmarks. To browse the contents of any item, double-click it.</para>
|
<para>The File Browser tab initially shows your file manager bookmarks. To browse the contents of any item, double-click it.</para>
|
||||||
<para>To show a parent folder, choose from the drop-down list, or press the up arrow on the File Browser's toolbar.</para>
|
<para>To show a parent folder, choose from the drop-down list, or press the up arrow on the File Browser's toolbar.</para>
|
||||||
<para>To show the folder that contains the document you are currently working on, right-click in the file list and choose <guimenuitem>Set root to active document</guimenuitem>.</para>
|
<para>To show the folder that contains the document you are currently working on, right-click in the file list and choose <guimenuitem>Set root to active document</guimenuitem>.</para>
|
||||||
</sect3>
|
</sect3>
|
||||||
<sect3 id="xedit-file-browser-plugin-open">
|
<sect3 id="xed-file-browser-plugin-open">
|
||||||
<title>Opening a File</title>
|
<title>Opening a File</title>
|
||||||
<para>To open a file in <application>&app;</application>, double-click it in the file list.</para>
|
<para>To open a file in <application>&app;</application>, double-click it in the file list.</para>
|
||||||
</sect3>
|
</sect3>
|
||||||
<sect3 id="xedit-file-browser-plugin-create">
|
<sect3 id="xed-file-browser-plugin-create">
|
||||||
<title>Creating Files and Folders</title>
|
<title>Creating Files and Folders</title>
|
||||||
<para>To create a new, empty text file in the current folder shown in the browser, right-click in the file list and choose <guimenuitem>New File</guimenuitem>.</para>
|
<para>To create a new, empty text file in the current folder shown in the browser, right-click in the file list and choose <guimenuitem>New File</guimenuitem>.</para>
|
||||||
<para>To create a new folder in the current folder shown in the browser, right-click in the file list and choose <guimenuitem>New Folder</guimenuitem>.</para>
|
<para>To create a new folder in the current folder shown in the browser, right-click in the file list and choose <guimenuitem>New Folder</guimenuitem>.</para>
|
||||||
</sect3>
|
</sect3>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="xedit-indent-lines-plugin">
|
<sect2 id="xed-indent-lines-plugin">
|
||||||
<title>Indent Lines Plugin</title>
|
<title>Indent Lines Plugin</title>
|
||||||
<para>The <application>Indent Lines</application> plugin adds or removes space from the beginning of lines of text.</para>
|
<para>The <application>Indent Lines</application> plugin adds or removes space from the beginning of lines of text.</para>
|
||||||
<para>To indent or unindent text, perform the following steps:</para>
|
<para>To indent or unindent text, perform the following steps:</para>
|
||||||
|
@ -1403,11 +1403,11 @@
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</listitem>
|
</listitem>
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
<para>The amount of space used, and whether tab character or space characters are used, depends on the <guilabel>Tab Stops</guilabel> settings in the Editor Preferences: see <xref linkend="xedit-prefs-editor"/>.</para>
|
<para>The amount of space used, and whether tab character or space characters are used, depends on the <guilabel>Tab Stops</guilabel> settings in the Editor Preferences: see <xref linkend="xed-prefs-editor"/>.</para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="xedit-insert-date-time-plugin">
|
<sect2 id="xed-insert-date-time-plugin">
|
||||||
<title>Insert Date/Time Plugin</title>
|
<title>Insert Date/Time Plugin</title>
|
||||||
<para>The <application>Insert Date/Time</application> plugin inserts the current date and time into a document. To use the Insert Date/Time plugin, perform the following steps:</para>
|
<para>The <application>Insert Date/Time</application> plugin inserts the current date and time into a document. To use the Insert Date/Time plugin, perform the following steps:</para>
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
|
@ -1417,7 +1417,7 @@
|
||||||
</listitem>
|
</listitem>
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
|
|
||||||
<sect3 id="xedit-date-time-configure">
|
<sect3 id="xed-date-time-configure">
|
||||||
<title>Configuring the Insert Date/Time Plugin</title>
|
<title>Configuring the Insert Date/Time Plugin</title>
|
||||||
<para>To configure the Insert Date/Time plugin, perform the following steps:</para>
|
<para>To configure the Insert Date/Time plugin, perform the following steps:</para>
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
|
@ -1455,7 +1455,7 @@
|
||||||
</sect3>
|
</sect3>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="xedit-modelines-plugin">
|
<sect2 id="xed-modelines-plugin">
|
||||||
<title>Modelines Plugin</title>
|
<title>Modelines Plugin</title>
|
||||||
<para>The <application>Modelines</application> plugin allows you to set preferences for individual documents. A <firstterm>modeline</firstterm> is a line of text at the start or end of the document with settings that <application>&app;</application> recognises.</para>
|
<para>The <application>Modelines</application> plugin allows you to set preferences for individual documents. A <firstterm>modeline</firstterm> is a line of text at the start or end of the document with settings that <application>&app;</application> recognises.</para>
|
||||||
<para>Preferences set using modelines take precedence over the ones specified in the preference dialog.</para>
|
<para>Preferences set using modelines take precedence over the ones specified in the preference dialog.</para>
|
||||||
|
@ -1480,24 +1480,24 @@
|
||||||
|
|
||||||
<para>The <application>Modelines</application> plugin supports a subset of the options used by other text editors <application>Emacs</application>, <application>Kate</application> and <application>Vim</application>.</para>
|
<para>The <application>Modelines</application> plugin supports a subset of the options used by other text editors <application>Emacs</application>, <application>Kate</application> and <application>Vim</application>.</para>
|
||||||
|
|
||||||
<sect3 id="xedit-modelines-plugin-emacs">
|
<sect3 id="xed-modelines-plugin-emacs">
|
||||||
<title>Emacs Modelines</title>
|
<title>Emacs Modelines</title>
|
||||||
<para>The first two lines of a document are scanned for <application>Emacs</application> modelines.</para>
|
<para>The first two lines of a document are scanned for <application>Emacs</application> modelines.</para>
|
||||||
<para>The <application>Emacs</application> options for tab-width, indent-offset, indent-tabs-mode and autowrap are supported. For more information, see the <ulink type="http" url="http://www.delorie.com/gnu/docs/emacs/emacs_486.html">GNU Emacs Manual</ulink>.</para>
|
<para>The <application>Emacs</application> options for tab-width, indent-offset, indent-tabs-mode and autowrap are supported. For more information, see the <ulink type="http" url="http://www.delorie.com/gnu/docs/emacs/emacs_486.html">GNU Emacs Manual</ulink>.</para>
|
||||||
</sect3>
|
</sect3>
|
||||||
<sect3 id="xedit-modelines-plugin-kate">
|
<sect3 id="xed-modelines-plugin-kate">
|
||||||
<title>Kate Modelines</title>
|
<title>Kate Modelines</title>
|
||||||
<para>The first and last ten lines a document are scanned for <application>Kate</application> modelines.</para>
|
<para>The first and last ten lines a document are scanned for <application>Kate</application> modelines.</para>
|
||||||
<para>The <application>Kate</application> options for tab-width, indent-width, space-indent, word-wrap and word-wrap-column are supported. For more information, see the <ulink type="http" url="http://www.kate-editor.org/article/katepart_modelines">Kate website</ulink>.</para>
|
<para>The <application>Kate</application> options for tab-width, indent-width, space-indent, word-wrap and word-wrap-column are supported. For more information, see the <ulink type="http" url="http://www.kate-editor.org/article/katepart_modelines">Kate website</ulink>.</para>
|
||||||
</sect3>
|
</sect3>
|
||||||
<sect3 id="xedit-modelines-plugin-vim">
|
<sect3 id="xed-modelines-plugin-vim">
|
||||||
<title>Vim Modelines</title>
|
<title>Vim Modelines</title>
|
||||||
<para>The first and last three lines a document are scanned for <application>Vim</application> modelines.</para>
|
<para>The first and last three lines a document are scanned for <application>Vim</application> modelines.</para>
|
||||||
<para>The <application>Vim</application> options for et, expandtab, ts, tabstop, sw, shiftwidth, wrap, and textwidth are supported. For more information, see the <ulink type="http" url="http://vimdoc.sourceforge.net/htmldoc/options.html#modeline">Vim website</ulink>.</para>
|
<para>The <application>Vim</application> options for et, expandtab, ts, tabstop, sw, shiftwidth, wrap, and textwidth are supported. For more information, see the <ulink type="http" url="http://vimdoc.sourceforge.net/htmldoc/options.html#modeline">Vim website</ulink>.</para>
|
||||||
</sect3>
|
</sect3>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="xedit-sort-plugin">
|
<sect2 id="xed-sort-plugin">
|
||||||
<title>Sort Plugin</title>
|
<title>Sort Plugin</title>
|
||||||
<para>The <application>Sort</application> plugin arranges selected lines of text into alphabetical order.</para>
|
<para>The <application>Sort</application> plugin arranges selected lines of text into alphabetical order.</para>
|
||||||
<caution><para>You cannot undo the Sort operation, so you should save the file before performing the sort. To revert to the saved version of the file after the sort operation, choose <menuchoice> <guimenu>File</guimenu> <guimenuitem>Revert</guimenuitem> </menuchoice>.
|
<caution><para>You cannot undo the Sort operation, so you should save the file before performing the sort. To revert to the saved version of the file after the sort operation, choose <menuchoice> <guimenu>File</guimenu> <guimenuitem>Revert</guimenuitem> </menuchoice>.
|
||||||
|
@ -1534,7 +1534,7 @@
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="xedit-spell-checker-plugin">
|
<sect2 id="xed-spell-checker-plugin">
|
||||||
<title>Spell Checker Plugin</title>
|
<title>Spell Checker Plugin</title>
|
||||||
<para>The <application>Spell Checker</application> plugin checks the spelling in the selected text. You can configure <application>&app;</application> to check the spelling automatically, or you can check the spelling manually, in the specified language. The language setting, and the autocheck spelling properties, apply per document. To use the Spell checker plugin, perform the following steps:</para>
|
<para>The <application>Spell Checker</application> plugin checks the spelling in the selected text. You can configure <application>&app;</application> to check the spelling automatically, or you can check the spelling manually, in the specified language. The language setting, and the autocheck spelling properties, apply per document. To use the Spell checker plugin, perform the following steps:</para>
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
|
@ -1589,7 +1589,7 @@
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="xedit-tag-list-plugin">
|
<sect2 id="xed-tag-list-plugin">
|
||||||
<title>Tag List Plugin</title>
|
<title>Tag List Plugin</title>
|
||||||
<para>The <application>Tag List</application> plugin allows you to insert common tags from a list in the side pane.</para>
|
<para>The <application>Tag List</application> plugin allows you to insert common tags from a list in the side pane.</para>
|
||||||
<para>To use the Tag List plugin, perform the following steps:</para>
|
<para>To use the Tag List plugin, perform the following steps:</para>
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
@YELP_HELP_RULES@
|
@YELP_HELP_RULES@
|
||||||
|
|
||||||
HELP_ID = xedit
|
HELP_ID = xed
|
||||||
HELP_FILES = index.docbook legal.xml
|
HELP_FILES = index.docbook legal.xml
|
||||||
HELP_MEDIA = \
|
HELP_MEDIA = \
|
||||||
figures/xedit_format_bold.png \
|
figures/xed_format_bold.png \
|
||||||
figures/xedit_format_italic.png \
|
figures/xed_format_italic.png \
|
||||||
figures/xedit_format_strikethrough.png \
|
figures/xed_format_strikethrough.png \
|
||||||
figures/xedit_format_underline.png \
|
figures/xed_format_underline.png \
|
||||||
figures/xedit_recent_files_menu_icon.png \
|
figures/xed_recent_files_menu_icon.png \
|
||||||
figures/xedit_window.png
|
figures/xed_window.png
|
||||||
|
|
||||||
HELP_LINGUAS = ar bg ca cs da de el es fi fr hu it ja ko oc pt_BR ru sv th uk zh_CN zh_HK zh_TW
|
HELP_LINGUAS = ar bg ca cs da de el es fi fr hu it ja ko oc pt_BR ru sv th uk zh_CN zh_HK zh_TW
|
||||||
|
|
||||||
|
|
1750
help/ar/ar.po
1392
help/bg/bg.po
1940
help/ca/ca.po
1906
help/cs/cs.po
1984
help/da/da.po
1930
help/de/de.po
1942
help/el/el.po
1942
help/es/es.po
1934
help/fi/fi.po
1896
help/fr/fr.po
1902
help/hu/hu.po
1930
help/it/it.po
1970
help/ja/ja.po
1948
help/ko/ko.po
1702
help/oc/oc.po
1936
help/pt_BR/pt_BR.po
1906
help/ru/ru.po
1980
help/sv/sv.po
1752
help/th/th.po
1942
help/uk/uk.po
2068
help/zh_CN/zh_CN.po
|
@ -10,8 +10,8 @@ msgstr ""
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
#: ../base.xml:24(title) ../base.xml:95(revnumber)
|
#: ../base.xml:24(title) ../base.xml:95(revnumber)
|
||||||
msgid "xedit Manual V2.5.1"
|
msgid "xed Manual V2.5.1"
|
||||||
msgstr "xedit 手冊 V2.5.1"
|
msgstr "xed 手冊 V2.5.1"
|
||||||
|
|
||||||
#: ../base.xml:26(year)
|
#: ../base.xml:26(year)
|
||||||
msgid "2003"
|
msgid "2003"
|
||||||
|
@ -58,8 +58,8 @@ msgstr "Baris"
|
||||||
|
|
||||||
#: ../base.xml:65(surname)
|
#: ../base.xml:65(surname)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Cicek provided information from earlier revisions of the xedit application."
|
"Cicek provided information from earlier revisions of the xed application."
|
||||||
msgstr "Cicek 提供 xedit 應用程式較早版本的資訊。"
|
msgstr "Cicek 提供 xed 應用程式較早版本的資訊。"
|
||||||
|
|
||||||
#: ../base.xml:66(contrib)
|
#: ../base.xml:66(contrib)
|
||||||
msgid "Acknowledgements"
|
msgid "Acknowledgements"
|
||||||
|
@ -80,64 +80,64 @@ msgid "Sun MATE Documentation Team"
|
||||||
msgstr "Sun MATE 文件小組"
|
msgstr "Sun MATE 文件小組"
|
||||||
|
|
||||||
#: ../base.xml:103(revnumber)
|
#: ../base.xml:103(revnumber)
|
||||||
msgid "xedit Manual V2.5"
|
msgid "xed Manual V2.5"
|
||||||
msgstr "xedit 手冊 V2.5"
|
msgstr "xed 手冊 V2.5"
|
||||||
|
|
||||||
#: ../base.xml:104(date)
|
#: ../base.xml:104(date)
|
||||||
msgid "March 2003"
|
msgid "March 2003"
|
||||||
msgstr "2003 年 3 月"
|
msgstr "2003 年 3 月"
|
||||||
|
|
||||||
#: ../base.xml:111(revnumber)
|
#: ../base.xml:111(revnumber)
|
||||||
msgid "xedit Manual V2.4"
|
msgid "xed Manual V2.4"
|
||||||
msgstr "xedit 手冊 V2.4"
|
msgstr "xed 手冊 V2.4"
|
||||||
|
|
||||||
#: ../base.xml:112(date)
|
#: ../base.xml:112(date)
|
||||||
msgid "January 2003"
|
msgid "January 2003"
|
||||||
msgstr "2003 年 1 月"
|
msgstr "2003 年 1 月"
|
||||||
|
|
||||||
#: ../base.xml:119(revnumber)
|
#: ../base.xml:119(revnumber)
|
||||||
msgid "xedit Manual V2.3"
|
msgid "xed Manual V2.3"
|
||||||
msgstr "xedit 手冊 V2.3"
|
msgstr "xed 手冊 V2.3"
|
||||||
|
|
||||||
#: ../base.xml:120(date)
|
#: ../base.xml:120(date)
|
||||||
msgid "September 2002"
|
msgid "September 2002"
|
||||||
msgstr "2002 年 9 月"
|
msgstr "2002 年 9 月"
|
||||||
|
|
||||||
#: ../base.xml:127(revnumber)
|
#: ../base.xml:127(revnumber)
|
||||||
msgid "xedit Manual V2.2"
|
msgid "xed Manual V2.2"
|
||||||
msgstr "xedit 手冊 V2.2"
|
msgstr "xed 手冊 V2.2"
|
||||||
|
|
||||||
#: ../base.xml:128(date)
|
#: ../base.xml:128(date)
|
||||||
msgid "August 2002"
|
msgid "August 2002"
|
||||||
msgstr "2002 年 8 月"
|
msgstr "2002 年 8 月"
|
||||||
|
|
||||||
#: ../base.xml:135(revnumber)
|
#: ../base.xml:135(revnumber)
|
||||||
msgid "xedit Manual V2.1"
|
msgid "xed Manual V2.1"
|
||||||
msgstr "xedit 手冊 V2.1"
|
msgstr "xed 手冊 V2.1"
|
||||||
|
|
||||||
#: ../base.xml:136(date)
|
#: ../base.xml:136(date)
|
||||||
msgid "June 2002"
|
msgid "June 2002"
|
||||||
msgstr "2002 年 6 月"
|
msgstr "2002 年 6 月"
|
||||||
|
|
||||||
#: ../base.xml:143(revnumber)
|
#: ../base.xml:143(revnumber)
|
||||||
msgid "xedit Manual V2.0"
|
msgid "xed Manual V2.0"
|
||||||
msgstr "xedit 手冊 V2.0"
|
msgstr "xed 手冊 V2.0"
|
||||||
|
|
||||||
#: ../base.xml:144(date)
|
#: ../base.xml:144(date)
|
||||||
msgid "March 2002"
|
msgid "March 2002"
|
||||||
msgstr "2002 年 3 月"
|
msgstr "2002 年 3 月"
|
||||||
|
|
||||||
#: ../base.xml:151(revnumber)
|
#: ../base.xml:151(revnumber)
|
||||||
msgid "xedit V1.0"
|
msgid "xed V1.0"
|
||||||
msgstr "xedit 手冊 V1.0"
|
msgstr "xed 手冊 V1.0"
|
||||||
|
|
||||||
#: ../base.xml:154(para)
|
#: ../base.xml:154(para)
|
||||||
msgid "Eric Baudais <email>baudais@okstate.edu</email>"
|
msgid "Eric Baudais <email>baudais@okstate.edu</email>"
|
||||||
msgstr "Eric Baudais <email>baudais@okstate.edu</email>"
|
msgstr "Eric Baudais <email>baudais@okstate.edu</email>"
|
||||||
|
|
||||||
#: ../base.xml:160(releaseinfo)
|
#: ../base.xml:160(releaseinfo)
|
||||||
msgid "This manual describes version 2.2.1 of xedit."
|
msgid "This manual describes version 2.2.1 of xed."
|
||||||
msgstr "本手冊的內容是說明 2.2.1 版的 xedit。"
|
msgstr "本手冊的內容是說明 2.2.1 版的 xed。"
|
||||||
|
|
||||||
#: ../base.xml:163(title)
|
#: ../base.xml:163(title)
|
||||||
msgid "Feedback"
|
msgid "Feedback"
|
||||||
|
@ -145,17 +145,17 @@ msgstr "意見回饋"
|
||||||
|
|
||||||
#: ../base.xml:164(para)
|
#: ../base.xml:164(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"To report a bug or make a suggestion regarding the <application>xedit</"
|
"To report a bug or make a suggestion regarding the <application>xed</"
|
||||||
"application> application or this manual, follow the directions in the <ulink "
|
"application> application or this manual, follow the directions in the <ulink "
|
||||||
"url=\"help:mate-feedback\" type=\"help\">MATE Feedback Page</ulink>."
|
"url=\"help:mate-feedback\" type=\"help\">MATE Feedback Page</ulink>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"關於本 <application>xedit</application> 應用程式或本手冊,如果要報告錯誤 或提"
|
"關於本 <application>xed</application> 應用程式或本手冊,如果要報告錯誤 或提"
|
||||||
"出建議,請遵照 <ulink url=\"help:mate-feedback\" type=\"help\">MATE "
|
"出建議,請遵照 <ulink url=\"help:mate-feedback\" type=\"help\">MATE "
|
||||||
"Feedback Page</ulink> 的指示。"
|
"Feedback Page</ulink> 的指示。"
|
||||||
|
|
||||||
#: ../base.xml:171(primary)
|
#: ../base.xml:171(primary)
|
||||||
msgid "xedit"
|
msgid "xed"
|
||||||
msgstr "xedit"
|
msgstr "xed"
|
||||||
|
|
||||||
#: ../base.xml:172(primary)
|
#: ../base.xml:172(primary)
|
||||||
msgid "text editor"
|
msgid "text editor"
|
||||||
|
@ -167,13 +167,13 @@ msgstr "介紹"
|
||||||
|
|
||||||
#: ../base.xml:178(para)
|
#: ../base.xml:178(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"The <application>xedit</application> application enables you to create and "
|
"The <application>xed</application> application enables you to create and "
|
||||||
"edit text files. You can use <application>xedit</application> plugins to "
|
"edit text files. You can use <application>xed</application> plugins to "
|
||||||
"perform a variety of tasks related to text-editing from within the "
|
"perform a variety of tasks related to text-editing from within the "
|
||||||
"<application>xedit</application> window."
|
"<application>xed</application> window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"您可以使用 <application>xedit</application> 應用程式建立和編輯文字 檔案。您可"
|
"您可以使用 <application>xed</application> 應用程式建立和編輯文字 檔案。您可"
|
||||||
"以使用 <application>xedit</application> 增效模組在 <application>xedit</"
|
"以使用 <application>xed</application> 增效模組在 <application>xed</"
|
||||||
"application> 視窗中 執行各種和文字編輯相關的工作。"
|
"application> 視窗中 執行各種和文字編輯相關的工作。"
|
||||||
|
|
||||||
#: ../base.xml:185(title)
|
#: ../base.xml:185(title)
|
||||||
|
@ -181,12 +181,12 @@ msgid "Getting Started"
|
||||||
msgstr "入門"
|
msgstr "入門"
|
||||||
|
|
||||||
#: ../base.xml:189(title)
|
#: ../base.xml:189(title)
|
||||||
msgid "To Start xedit"
|
msgid "To Start xed"
|
||||||
msgstr "啟動 xedit"
|
msgstr "啟動 xed"
|
||||||
|
|
||||||
#: ../base.xml:190(para)
|
#: ../base.xml:190(para)
|
||||||
msgid "You can start <application>xedit</application> in the following ways:"
|
msgid "You can start <application>xed</application> in the following ways:"
|
||||||
msgstr "您可以使用下列方式啟動 <application>xedit</application>:"
|
msgstr "您可以使用下列方式啟動 <application>xed</application>:"
|
||||||
|
|
||||||
#: ../base.xml:193(guimenu)
|
#: ../base.xml:193(guimenu)
|
||||||
msgid "Menu"
|
msgid "Menu"
|
||||||
|
@ -194,11 +194,11 @@ msgstr "功能表"
|
||||||
|
|
||||||
#: ../base.xml:195(para)
|
#: ../base.xml:195(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"For information about how to start <application>xedit</application> from a "
|
"For information about how to start <application>xed</application> from a "
|
||||||
"menu, see the latest version of the MATE Desktop User Guide for your "
|
"menu, see the latest version of the MATE Desktop User Guide for your "
|
||||||
"platform."
|
"platform."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"若需如何從功能表啟動 <application>xedit</application> 的詳細資訊,請參閱最新"
|
"若需如何從功能表啟動 <application>xed</application> 的詳細資訊,請參閱最新"
|
||||||
"版的平台 MATE Desktop User Guide。"
|
"版的平台 MATE Desktop User Guide。"
|
||||||
|
|
||||||
#: ../base.xml:200(term)
|
#: ../base.xml:200(term)
|
||||||
|
@ -206,32 +206,32 @@ msgid "Command line"
|
||||||
msgstr "指令行"
|
msgstr "指令行"
|
||||||
|
|
||||||
#: ../base.xml:202(para)
|
#: ../base.xml:202(para)
|
||||||
msgid "Execute the following command: <command>xedit</command>"
|
msgid "Execute the following command: <command>xed</command>"
|
||||||
msgstr "執行以下的指令: <command>xedit</command>"
|
msgstr "執行以下的指令: <command>xed</command>"
|
||||||
|
|
||||||
#: ../base.xml:210(title)
|
#: ../base.xml:210(title)
|
||||||
msgid "When You Start xedit"
|
msgid "When You Start xed"
|
||||||
msgstr "當您啟動 xedit"
|
msgstr "當您啟動 xed"
|
||||||
|
|
||||||
#: ../base.xml:211(para)
|
#: ../base.xml:211(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"When you start <application>xedit</application>, the following window is "
|
"When you start <application>xed</application>, the following window is "
|
||||||
"displayed:"
|
"displayed:"
|
||||||
msgstr "當您啟動 <application>xedit</application> 後,會顯示下面的視窗:"
|
msgstr "當您啟動 <application>xed</application> 後,會顯示下面的視窗:"
|
||||||
|
|
||||||
#: ../base.xml:214(title)
|
#: ../base.xml:214(title)
|
||||||
msgid "xedit Window"
|
msgid "xed Window"
|
||||||
msgstr "xedit 視窗"
|
msgstr "xed 視窗"
|
||||||
|
|
||||||
#: ../base.xml:220(phrase)
|
#: ../base.xml:220(phrase)
|
||||||
msgid "Shows xedit main window."
|
msgid "Shows xed main window."
|
||||||
msgstr "顯示 xedit 主視窗。"
|
msgstr "顯示 xed 主視窗。"
|
||||||
|
|
||||||
#: ../base.xml:226(para)
|
#: ../base.xml:226(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"The <application>xedit</application> window contains the following elements:"
|
"The <application>xed</application> window contains the following elements:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"<application>xedit</application> 視窗包含下列的 元素:您可以選擇下列條件中的"
|
"<application>xed</application> 視窗包含下列的 元素:您可以選擇下列條件中的"
|
||||||
"一項或以上:"
|
"一項或以上:"
|
||||||
|
|
||||||
#: ../base.xml:229(term)
|
#: ../base.xml:229(term)
|
||||||
|
@ -241,9 +241,9 @@ msgstr "功能表列"
|
||||||
#: ../base.xml:231(para)
|
#: ../base.xml:231(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"The menus on the menubar contain all of the commands you need to work with "
|
"The menus on the menubar contain all of the commands you need to work with "
|
||||||
"files in <application>xedit</application>."
|
"files in <application>xed</application>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"在功能表列上的功能表中,有您在 <application>xedit</application> 中與檔案工作"
|
"在功能表列上的功能表中,有您在 <application>xed</application> 中與檔案工作"
|
||||||
"所需的所有指令。"
|
"所需的所有指令。"
|
||||||
|
|
||||||
#: ../base.xml:235(term)
|
#: ../base.xml:235(term)
|
||||||
|
@ -280,19 +280,19 @@ msgstr "狀態列"
|
||||||
|
|
||||||
#: ../base.xml:254(para)
|
#: ../base.xml:254(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"The statusbar displays information about current <application>xedit</"
|
"The statusbar displays information about current <application>xed</"
|
||||||
"application> activity and contextual information about the menu items."
|
"application> activity and contextual information about the menu items."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"狀態列可以顯示目前 <application>xedit</application> 活動的資訊,以及有關功能"
|
"狀態列可以顯示目前 <application>xed</application> 活動的資訊,以及有關功能"
|
||||||
"表項目 的上下文資訊。"
|
"表項目 的上下文資訊。"
|
||||||
|
|
||||||
#: ../base.xml:260(para)
|
#: ../base.xml:260(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"When you right-click in the <application>xedit</application> window, the "
|
"When you right-click in the <application>xed</application> window, the "
|
||||||
"application displays a popup menu. The popup menu contains the most common "
|
"application displays a popup menu. The popup menu contains the most common "
|
||||||
"text editing commands."
|
"text editing commands."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"當您在 <application>xedit</application> 視窗中按滑鼠右鍵時,應用程式會顯示即"
|
"當您在 <application>xed</application> 視窗中按滑鼠右鍵時,應用程式會顯示即"
|
||||||
"現式功能表。即現式功能表包含了 最常用的文字編輯指令。"
|
"現式功能表。即現式功能表包含了 最常用的文字編輯指令。"
|
||||||
|
|
||||||
#: ../base.xml:266(title)
|
#: ../base.xml:266(title)
|
||||||
|
@ -304,27 +304,27 @@ msgid ""
|
||||||
"To open a file, choose <menuchoice><guimenu>File</guimenu><guimenuitem>Open</"
|
"To open a file, choose <menuchoice><guimenu>File</guimenu><guimenuitem>Open</"
|
||||||
"guimenuitem></menuchoice> to display the <guilabel>Open File</guilabel> "
|
"guimenuitem></menuchoice> to display the <guilabel>Open File</guilabel> "
|
||||||
"dialog. Select the file that you want to open, then click <guibutton>OK</"
|
"dialog. Select the file that you want to open, then click <guibutton>OK</"
|
||||||
"guibutton>. The file is displayed in the <application>xedit</application> "
|
"guibutton>. The file is displayed in the <application>xed</application> "
|
||||||
"window."
|
"window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要開啟檔案,請選擇 <menuchoice><guimenu>檔案</guimenu><guimenuitem>開啟</"
|
"如果要開啟檔案,請選擇 <menuchoice><guimenu>檔案</guimenu><guimenuitem>開啟</"
|
||||||
"guimenuitem></menuchoice> ,顯示<guilabel>開啟檔案</guilabel>對話方塊。選取要"
|
"guimenuitem></menuchoice> ,顯示<guilabel>開啟檔案</guilabel>對話方塊。選取要"
|
||||||
"開啟的檔案 ,然後按一下<guibutton>確定</guibutton>。這個檔案便會 顯示在 "
|
"開啟的檔案 ,然後按一下<guibutton>確定</guibutton>。這個檔案便會 顯示在 "
|
||||||
"<application>xedit</application> 視窗中。"
|
"<application>xed</application> 視窗中。"
|
||||||
|
|
||||||
#: ../base.xml:273(para)
|
#: ../base.xml:273(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"You can open multiple files in <application>xedit</application>. The "
|
"You can open multiple files in <application>xed</application>. The "
|
||||||
"application displays one file at a time in the application window. The "
|
"application displays one file at a time in the application window. The "
|
||||||
"application adds a tab for each open file to the window. To display another "
|
"application adds a tab for each open file to the window. To display another "
|
||||||
"open file, click on the tab that corresponds to the file. To create a new "
|
"open file, click on the tab that corresponds to the file. To create a new "
|
||||||
"<application> xedit</application> window for each file that is open, drag "
|
"<application> xed</application> window for each file that is open, drag "
|
||||||
"the tab corresponding to each file to the desktop background."
|
"the tab corresponding to each file to the desktop background."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"您可以在 <application>xedit</application> 中,開啟多個檔案。 本應用程式在應用"
|
"您可以在 <application>xed</application> 中,開啟多個檔案。 本應用程式在應用"
|
||||||
"程式視窗中,一次只會顯示一個檔案。 應用程式會為每個開啟的檔案,在視窗中增加一"
|
"程式視窗中,一次只會顯示一個檔案。 應用程式會為每個開啟的檔案,在視窗中增加一"
|
||||||
"個標籤。如果要顯示另外一個 開啟的檔案,請按該檔案的標籤。如果為每一個開啟的檔"
|
"個標籤。如果要顯示另外一個 開啟的檔案,請按該檔案的標籤。如果為每一個開啟的檔"
|
||||||
"案,建立一個新的 <application> xedit</application> 視窗,請將檔案的 標籤一個"
|
"案,建立一個新的 <application> xed</application> 視窗,請將檔案的 標籤一個"
|
||||||
"個地拖曳至桌面背景上。"
|
"個地拖曳至桌面背景上。"
|
||||||
|
|
||||||
#: ../base.xml:279(para)
|
#: ../base.xml:279(para)
|
||||||
|
@ -332,11 +332,11 @@ msgid ""
|
||||||
"You can also use the <guimenu>Documents</guimenu> menu to move between the "
|
"You can also use the <guimenu>Documents</guimenu> menu to move between the "
|
||||||
"open files. You can choose <menuchoice><guimenu>Documents</"
|
"open files. You can choose <menuchoice><guimenu>Documents</"
|
||||||
"guimenu><guimenuitem>Move to New Window</guimenuitem></menuchoice> to move a "
|
"guimenu><guimenuitem>Move to New Window</guimenuitem></menuchoice> to move a "
|
||||||
"document to a new <application> xedit</application> window."
|
"document to a new <application> xed</application> window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"您也可以使用 <guimenu>文件</guimenu>功能表,在開啟的檔案之間移動。您可以選擇"
|
"您也可以使用 <guimenu>文件</guimenu>功能表,在開啟的檔案之間移動。您可以選擇"
|
||||||
"<menuchoice><guimenu>文件</guimenu><guimenuitem>移至新視窗</guimenuitem></"
|
"<menuchoice><guimenu>文件</guimenu><guimenuitem>移至新視窗</guimenuitem></"
|
||||||
"menuchoice>,將文件移到新的 <application> xedit</application> 視窗。"
|
"menuchoice>,將文件移到新的 <application> xed</application> 視窗。"
|
||||||
|
|
||||||
#: ../base.xml:290(phrase)
|
#: ../base.xml:290(phrase)
|
||||||
msgid "Shows Recent Files menu icon."
|
msgid "Shows Recent Files menu icon."
|
||||||
|
@ -361,11 +361,11 @@ msgstr "從指令行開啟多個檔案"
|
||||||
|
|
||||||
#: ../base.xml:298(para)
|
#: ../base.xml:298(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"You can run <application>xedit</application> from a command line and open a "
|
"You can run <application>xed</application> from a command line and open a "
|
||||||
"single file or multiple files. To open multiple files from a command line, "
|
"single file or multiple files. To open multiple files from a command line, "
|
||||||
"type the following command, then press <keycap>Return</keycap>:"
|
"type the following command, then press <keycap>Return</keycap>:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"您可以從指令行執行 <application>xedit</application>,並開啟一個或多個檔案。如"
|
"您可以從指令行執行 <application>xed</application>,並開啟一個或多個檔案。如"
|
||||||
"果要從指令行開啟多個檔案,請鍵入下列指令,然後按一下 <keycap>Return</keycap> "
|
"果要從指令行開啟多個檔案,請鍵入下列指令,然後按一下 <keycap>Return</keycap> "
|
||||||
"鍵。"
|
"鍵。"
|
||||||
|
|
||||||
|
@ -374,26 +374,26 @@ msgid "file1.txt file2.txt file3.txt"
|
||||||
msgstr "file1.txt file2.txt file3.txt"
|
msgstr "file1.txt file2.txt file3.txt"
|
||||||
|
|
||||||
#: ../base.xml:301(command)
|
#: ../base.xml:301(command)
|
||||||
msgid "xedit <placeholder-1/>"
|
msgid "xed <placeholder-1/>"
|
||||||
msgstr "xedit <placeholder-1/>"
|
msgstr "xed <placeholder-1/>"
|
||||||
|
|
||||||
#: ../base.xml:302(para)
|
#: ../base.xml:302(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"When the application starts, the files that you specify are displayed in the "
|
"When the application starts, the files that you specify are displayed in the "
|
||||||
"<application>xedit</application> window."
|
"<application>xed</application> window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"當應用程式啟動時,您所指定的檔案便會顯示在 <application>xedit</application> "
|
"當應用程式啟動時,您所指定的檔案便會顯示在 <application>xed</application> "
|
||||||
"視窗內。"
|
"視窗內。"
|
||||||
|
|
||||||
#: ../base.xml:304(para)
|
#: ../base.xml:304(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"For more information on how to run <application>xedit</application> from a "
|
"For more information on how to run <application>xed</application> from a "
|
||||||
"command line, see <ulink url=\"man:xedit\" type=\"man"
|
"command line, see <ulink url=\"man:xed\" type=\"man"
|
||||||
"\"><citerefentry><refentrytitle>xedit</refentrytitle><manvolnum>1</"
|
"\"><citerefentry><refentrytitle>xed</refentrytitle><manvolnum>1</"
|
||||||
"manvolnum></citerefentry></ulink>."
|
"manvolnum></citerefentry></ulink>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"若需如何從指令行執行 <application>xedit</application> 的詳細資訊,請參閱 "
|
"若需如何從指令行執行 <application>xed</application> 的詳細資訊,請參閱 "
|
||||||
"<ulink url=\"man:xedit\" type=\"man\"><citerefentry><refentrytitle>xedit</"
|
"<ulink url=\"man:xed\" type=\"man\"><citerefentry><refentrytitle>xed</"
|
||||||
"refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>。"
|
"refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>。"
|
||||||
|
|
||||||
#: ../base.xml:309(title)
|
#: ../base.xml:309(title)
|
||||||
|
@ -408,10 +408,10 @@ msgstr "建立新檔案"
|
||||||
msgid ""
|
msgid ""
|
||||||
"To create a new file, choose <menuchoice><guimenu>File</"
|
"To create a new file, choose <menuchoice><guimenu>File</"
|
||||||
"guimenu><guimenuitem>New</guimenuitem></menuchoice>. The application "
|
"guimenu><guimenuitem>New</guimenuitem></menuchoice>. The application "
|
||||||
"displays a new file in the <application>xedit</application> window."
|
"displays a new file in the <application>xed</application> window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要建立新檔案,請選擇 <menuchoice><guimenu>檔案</guimenu><guimenuitem>開新"
|
"如果要建立新檔案,請選擇 <menuchoice><guimenu>檔案</guimenu><guimenuitem>開新"
|
||||||
"檔案</guimenuitem></menuchoice>。應用程式會在 <application>xedit</"
|
"檔案</guimenuitem></menuchoice>。應用程式會在 <application>xed</"
|
||||||
"application> 視窗內顯示新檔案。"
|
"application> 視窗內顯示新檔案。"
|
||||||
|
|
||||||
#: ../base.xml:321(title)
|
#: ../base.xml:321(title)
|
||||||
|
@ -446,11 +446,11 @@ msgstr ""
|
||||||
|
|
||||||
#: ../base.xml:334(para)
|
#: ../base.xml:334(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"To save all of the files that are currently open in <application>xedit</"
|
"To save all of the files that are currently open in <application>xed</"
|
||||||
"application>, choose <menuchoice><guimenu>Documents</"
|
"application>, choose <menuchoice><guimenu>Documents</"
|
||||||
"guimenu><guimenuitem>Save All</guimenuitem></menuchoice>."
|
"guimenu><guimenuitem>Save All</guimenuitem></menuchoice>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要儲存目前在 <application>xedit</application> 中開啟的所有檔案,請選擇 "
|
"如果要儲存目前在 <application>xed</application> 中開啟的所有檔案,請選擇 "
|
||||||
"<menuchoice><guimenu>文件</guimenu><guimenuitem>全部 儲存</guimenuitem></"
|
"<menuchoice><guimenu>文件</guimenu><guimenuitem>全部 儲存</guimenuitem></"
|
||||||
"menuchoice>。"
|
"menuchoice>。"
|
||||||
|
|
||||||
|
@ -541,14 +541,14 @@ msgid ""
|
||||||
"choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Redo</guimenuitem></"
|
"choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Redo</guimenuitem></"
|
||||||
"menuchoice>. The number of previous edits that you can undo is determined by "
|
"menuchoice>. The number of previous edits that you can undo is determined by "
|
||||||
"the <guilabel>Set limit on undo actions to</guilabel> setting in the <xref "
|
"the <guilabel>Set limit on undo actions to</guilabel> setting in the <xref "
|
||||||
"linkend=\"xedit-prefs-undo\"/> tabbed section of the <guilabel>Preferences</"
|
"linkend=\"xed-prefs-undo\"/> tabbed section of the <guilabel>Preferences</"
|
||||||
"guilabel> dialog."
|
"guilabel> dialog."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要還原或重做編輯,請選擇 <menuchoice><guimenu>編輯</guimenu><guimenuitem>"
|
"如果要還原或重做編輯,請選擇 <menuchoice><guimenu>編輯</guimenu><guimenuitem>"
|
||||||
"還原</guimenuitem></menuchoice>。如果要重做編輯,請選擇 <menuchoice><guimenu>"
|
"還原</guimenuitem></menuchoice>。如果要重做編輯,請選擇 <menuchoice><guimenu>"
|
||||||
"編輯</guimenu><guimenuitem>重做</guimenuitem></menuchoice>。您所能還原之前編"
|
"編輯</guimenu><guimenuitem>重做</guimenuitem></menuchoice>。您所能還原之前編"
|
||||||
"輯的次數,是取決於 <guilabel>限制還原次數為</guilabel>設定 (在 <xref linkend="
|
"輯的次數,是取決於 <guilabel>限制還原次數為</guilabel>設定 (在 <xref linkend="
|
||||||
"\"xedit-prefs-undo\"/>標籤區段中 (在 <guilabel>偏好設定</guilabel>對話方塊"
|
"\"xed-prefs-undo\"/>標籤區段中 (在 <guilabel>偏好設定</guilabel>對話方塊"
|
||||||
"中))。"
|
"中))。"
|
||||||
|
|
||||||
#: ../base.xml:399(title)
|
#: ../base.xml:399(title)
|
||||||
|
@ -626,12 +626,12 @@ msgstr ""
|
||||||
#: ../base.xml:435(para) ../base.xml:490(para)
|
#: ../base.xml:435(para) ../base.xml:490(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Click <guibutton>Find</guibutton> to search the file for the first "
|
"Click <guibutton>Find</guibutton> to search the file for the first "
|
||||||
"occurrence of the string. If <application>xedit</application> finds the "
|
"occurrence of the string. If <application>xed</application> finds the "
|
||||||
"string, the application moves the cursor to the string, and selects the "
|
"string, the application moves the cursor to the string, and selects the "
|
||||||
"string."
|
"string."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"按一下<guibutton>尋找</guibutton>,搜尋檔案中 第一個字串事件。如果 "
|
"按一下<guibutton>尋找</guibutton>,搜尋檔案中 第一個字串事件。如果 "
|
||||||
"<application>xedit</application> 找到字串,應用程式會將游標移動到字串上,並選"
|
"<application>xed</application> 找到字串,應用程式會將游標移動到字串上,並選"
|
||||||
"取 該字串。"
|
"取 該字串。"
|
||||||
|
|
||||||
#: ../base.xml:440(para) ../base.xml:500(para)
|
#: ../base.xml:440(para) ../base.xml:500(para)
|
||||||
|
@ -710,14 +710,14 @@ msgstr ""
|
||||||
|
|
||||||
#: ../base.xml:522(para)
|
#: ../base.xml:522(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Type <command>xedit <replaceable>URI</replaceable></command> at a command "
|
"Type <command>xed <replaceable>URI</replaceable></command> at a command "
|
||||||
"line, where <replaceable>URI</replaceable> is the URI of the file that you "
|
"line, where <replaceable>URI</replaceable> is the URI of the file that you "
|
||||||
"want to open, then press <keycap>Return</keycap>. Valid types of "
|
"want to open, then press <keycap>Return</keycap>. Valid types of "
|
||||||
"<replaceable>URI</replaceable> include <literal>http:</literal>, "
|
"<replaceable>URI</replaceable> include <literal>http:</literal>, "
|
||||||
"<literal>ftp:</literal>, <literal>file:</literal>, and all of the methods "
|
"<literal>ftp:</literal>, <literal>file:</literal>, and all of the methods "
|
||||||
"supported by <literal>gvfs</literal>."
|
"supported by <literal>gvfs</literal>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"在指令行上輸入 <command>xedit <replaceable>URI</replaceable></command> (此處"
|
"在指令行上輸入 <command>xed <replaceable>URI</replaceable></command> (此處"
|
||||||
"的 <replaceable>URI</replaceable> 是指您要開啟之檔案的 URI),然後按下 "
|
"的 <replaceable>URI</replaceable> 是指您要開啟之檔案的 URI),然後按下 "
|
||||||
"<keycap>Return</keycap> 鍵。有效的 <replaceable>URI</replaceable> 類型包括 "
|
"<keycap>Return</keycap> 鍵。有效的 <replaceable>URI</replaceable> 類型包括 "
|
||||||
"<literal>http:</literal>、<literal>ftp:</literal>、<literal>file:</literal>,"
|
"<literal>http:</literal>、<literal>ftp:</literal>、<literal>file:</literal>,"
|
||||||
|
@ -733,31 +733,31 @@ msgstr "輸出指令到檔案"
|
||||||
|
|
||||||
#: ../base.xml:532(para)
|
#: ../base.xml:532(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"You can use <application>xedit</application> to pipe the output of a command "
|
"You can use <application>xed</application> to pipe the output of a command "
|
||||||
"to a text file. For example, to pipe the output of an <command>ls </command> "
|
"to a text file. For example, to pipe the output of an <command>ls </command> "
|
||||||
"command to a text file, type <command>ls | xedit</command>, then press "
|
"command to a text file, type <command>ls | xed</command>, then press "
|
||||||
"<keycap>Return</keycap>."
|
"<keycap>Return</keycap>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"您可以使用 <application>xedit</application>,將指令的輸出傳送到 文字檔案。例"
|
"您可以使用 <application>xed</application>,將指令的輸出傳送到 文字檔案。例"
|
||||||
"如,如果要將 <command>ls </command> 指令的輸出傳送到文字檔案,請鍵入 "
|
"如,如果要將 <command>ls </command> 指令的輸出傳送到文字檔案,請鍵入 "
|
||||||
"<command>ls | xedit</command>,然後按下 <keycap>Return</keycap> 鍵。"
|
"<command>ls | xed</command>,然後按下 <keycap>Return</keycap> 鍵。"
|
||||||
|
|
||||||
#: ../base.xml:536(para)
|
#: ../base.xml:536(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"The output of the <command>ls</command> command is displayed in a new text "
|
"The output of the <command>ls</command> command is displayed in a new text "
|
||||||
"file in the <application>xedit</application> window."
|
"file in the <application>xed</application> window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"<command>ls</command> 指令的輸出,會 在 <application>xedit</application> 視窗"
|
"<command>ls</command> 指令的輸出,會 在 <application>xed</application> 視窗"
|
||||||
"中以一個新的文字檔案顯示。"
|
"中以一個新的文字檔案顯示。"
|
||||||
|
|
||||||
#: ../base.xml:538(para)
|
#: ../base.xml:538(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Alternatively, you can use the Shell command plugin to pipe command output "
|
"Alternatively, you can use the Shell command plugin to pipe command output "
|
||||||
"to the current file. For information about how to use the Shell command "
|
"to the current file. For information about how to use the Shell command "
|
||||||
"plugin, see <xref linkend=\"xedit-shell-command-plugin\"/>."
|
"plugin, see <xref linkend=\"xed-shell-command-plugin\"/>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"或者,您可以使用 Shell 指令增效模組,將指令輸出 傳送到目前的檔案中。如需如何"
|
"或者,您可以使用 Shell 指令增效模組,將指令輸出 傳送到目前的檔案中。如需如何"
|
||||||
"使用 Shell 指令增效模組的資訊,請參閱 <xref linkend=\"xedit-shell-command-"
|
"使用 Shell 指令增效模組的資訊,請參閱 <xref linkend=\"xed-shell-command-"
|
||||||
"plugin\"/>。"
|
"plugin\"/>。"
|
||||||
|
|
||||||
#: ../base.xml:543(title)
|
#: ../base.xml:543(title)
|
||||||
|
@ -823,9 +823,9 @@ msgstr "列印檔案"
|
||||||
|
|
||||||
#: ../base.xml:571(para)
|
#: ../base.xml:571(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"You can use <application>xedit</application> to perform the following print "
|
"You can use <application>xed</application> to perform the following print "
|
||||||
"operations:"
|
"operations:"
|
||||||
msgstr "您可以使用<application>xedit</application>,執行 下列列印作業:"
|
msgstr "您可以使用<application>xed</application>,執行 下列列印作業:"
|
||||||
|
|
||||||
#: ../base.xml:574(para)
|
#: ../base.xml:574(para)
|
||||||
msgid "Print a file to a printer."
|
msgid "Print a file to a printer."
|
||||||
|
@ -837,11 +837,11 @@ msgstr "將列印指令的輸出列印到檔案。"
|
||||||
|
|
||||||
#: ../base.xml:579(para)
|
#: ../base.xml:579(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"If you print to a file, <application>xedit</application> sends the output of "
|
"If you print to a file, <application>xed</application> sends the output of "
|
||||||
"the file to a pre-press format file. The most common pre-press formats are "
|
"the file to a pre-press format file. The most common pre-press formats are "
|
||||||
"PostScript and Portable Document Format (PDF)."
|
"PostScript and Portable Document Format (PDF)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果您是列印至檔案,<application>xedit</application> 會先將 檔案輸出傳送到某"
|
"如果您是列印至檔案,<application>xed</application> 會先將 檔案輸出傳送到某"
|
||||||
"個印前格式檔案。最常見的印前 格式為 PostScript 與 Portable Document Format "
|
"個印前格式檔案。最常見的印前 格式為 PostScript 與 Portable Document Format "
|
||||||
"(PDF)。"
|
"(PDF)。"
|
||||||
|
|
||||||
|
@ -1012,13 +1012,13 @@ msgstr "自訂工具列與狀態列"
|
||||||
msgid ""
|
msgid ""
|
||||||
"To display or hide the toolbar, choose <menuchoice><guimenu>View</"
|
"To display or hide the toolbar, choose <menuchoice><guimenu>View</"
|
||||||
"guimenu><guimenuitem>Toolbar</guimenuitem></menuchoice>. To customize how "
|
"guimenu><guimenuitem>Toolbar</guimenuitem></menuchoice>. To customize how "
|
||||||
"<application>xedit</application> displays the toolbar, choose "
|
"<application>xed</application> displays the toolbar, choose "
|
||||||
"<menuchoice><guimenu>View</guimenu><guisubmenu>Customize Toolbar</"
|
"<menuchoice><guimenu>View</guimenu><guisubmenu>Customize Toolbar</"
|
||||||
"guisubmenu></menuchoice>, then select one of the following menu items:"
|
"guisubmenu></menuchoice>, then select one of the following menu items:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要顯示或隱藏工具列,請選擇<menuchoice><guimenu>檢視</"
|
"如果要顯示或隱藏工具列,請選擇<menuchoice><guimenu>檢視</"
|
||||||
"guimenu><guimenuitem>工具列</guimenuitem></menuchoice>。如果要自訂 "
|
"guimenu><guimenuitem>工具列</guimenuitem></menuchoice>。如果要自訂 "
|
||||||
"<application>xedit</application> 顯示工具列的方式,請選擇"
|
"<application>xed</application> 顯示工具列的方式,請選擇"
|
||||||
"<menuchoice><guimenu>檢視</guimenu><guisubmenu>自訂工具列</guisubmenu></"
|
"<menuchoice><guimenu>檢視</guimenu><guisubmenu>自訂工具列</guisubmenu></"
|
||||||
"menuchoice>,然後選取下列任一項 功能表項目:"
|
"menuchoice>,然後選取下列任一項 功能表項目:"
|
||||||
|
|
||||||
|
@ -1058,13 +1058,13 @@ msgstr "顯示圖示,以及顯示一些圖示旁的文字。"
|
||||||
msgid ""
|
msgid ""
|
||||||
"To display or hide the statusbar, choose <menuchoice><guimenu>View</"
|
"To display or hide the statusbar, choose <menuchoice><guimenu>View</"
|
||||||
"guimenu><guimenuitem>Statusbar</guimenuitem></menuchoice>. To customize how "
|
"guimenu><guimenuitem>Statusbar</guimenuitem></menuchoice>. To customize how "
|
||||||
"<application>xedit</application> displays the statusbar, choose "
|
"<application>xed</application> displays the statusbar, choose "
|
||||||
"<menuchoice><guimenu>View</guimenu><guisubmenu>Customize Statusbar</"
|
"<menuchoice><guimenu>View</guimenu><guisubmenu>Customize Statusbar</"
|
||||||
"guisubmenu></menuchoice>, then select one of the following menu items:"
|
"guisubmenu></menuchoice>, then select one of the following menu items:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要顯示或隱藏狀態列,請選擇<menuchoice><guimenu>檢視</"
|
"如果要顯示或隱藏狀態列,請選擇<menuchoice><guimenu>檢視</"
|
||||||
"guimenu><guimenuitem>狀態列</guimenuitem></menuchoice>。如果要自訂 "
|
"guimenu><guimenuitem>狀態列</guimenuitem></menuchoice>。如果要自訂 "
|
||||||
"<application>xedit</application> 顯示狀態列的方式,請選擇"
|
"<application>xed</application> 顯示狀態列的方式,請選擇"
|
||||||
"<menuchoice><guimenu>檢視</guimenu><guisubmenu>自訂狀態列</guisubmenu></"
|
"<menuchoice><guimenu>檢視</guimenu><guisubmenu>自訂狀態列</guisubmenu></"
|
||||||
"menuchoice>,然後選取下列任一項 功能表項目:"
|
"menuchoice>,然後選取下列任一項 功能表項目:"
|
||||||
|
|
||||||
|
@ -1103,12 +1103,12 @@ msgstr "偏好設定"
|
||||||
|
|
||||||
#: ../base.xml:737(para)
|
#: ../base.xml:737(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"To configure <application>xedit</application>, choose "
|
"To configure <application>xed</application>, choose "
|
||||||
"<menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></"
|
"<menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></"
|
||||||
"menuchoice>. The <guilabel>Preferences</guilabel> dialog contains the "
|
"menuchoice>. The <guilabel>Preferences</guilabel> dialog contains the "
|
||||||
"following categories:"
|
"following categories:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要配置 <application>xedit</application>,請選擇 <menuchoice><guimenu>編輯"
|
"如果要配置 <application>xed</application>,請選擇 <menuchoice><guimenu>編輯"
|
||||||
"</guimenu><guimenuitem>偏好設定</guimenuitem></menuchoice>。<guilabel>偏好設"
|
"</guimenu><guimenuitem>偏好設定</guimenuitem></menuchoice>。<guilabel>偏好設"
|
||||||
"定</guilabel>對話方塊含有下列 種類:"
|
"定</guilabel>對話方塊含有下列 種類:"
|
||||||
|
|
||||||
|
@ -1133,9 +1133,9 @@ msgstr "使用預設配色字型"
|
||||||
#: ../base.xml:763(para)
|
#: ../base.xml:763(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Select this option to use the default system font for the text in the "
|
"Select this option to use the default system font for the text in the "
|
||||||
"<application>xedit</application> text window."
|
"<application>xed</application> text window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"選取這個選項,在 <application>xedit</application> 文字視窗的文字中,會使用系"
|
"選取這個選項,在 <application>xed</application> 文字視窗的文字中,會使用系"
|
||||||
"統預設的字型。"
|
"統預設的字型。"
|
||||||
|
|
||||||
#: ../base.xml:766(guilabel)
|
#: ../base.xml:766(guilabel)
|
||||||
|
@ -1144,11 +1144,11 @@ msgstr "編輯器字型"
|
||||||
|
|
||||||
#: ../base.xml:768(para)
|
#: ../base.xml:768(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"This field displays the font that <application>xedit</application> uses to "
|
"This field displays the font that <application>xed</application> uses to "
|
||||||
"display text. Click on the button to specify the font type, style, and size "
|
"display text. Click on the button to specify the font type, style, and size "
|
||||||
"to use for text."
|
"to use for text."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"這個欄位會顯示 <application>xedit</application> 用來顯示文字的字型。 按一下按"
|
"這個欄位會顯示 <application>xed</application> 用來顯示文字的字型。 按一下按"
|
||||||
"鈕,指定文字所使用的字體類型、樣式與大小。"
|
"鈕,指定文字所使用的字體類型、樣式與大小。"
|
||||||
|
|
||||||
#: ../base.xml:772(guilabel)
|
#: ../base.xml:772(guilabel)
|
||||||
|
@ -1158,9 +1158,9 @@ msgstr "使用預設的配色色彩"
|
||||||
#: ../base.xml:774(para)
|
#: ../base.xml:774(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Select this option to use the default theme colors in the "
|
"Select this option to use the default theme colors in the "
|
||||||
"<application>xedit</application> text window."
|
"<application>xed</application> text window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"選取這個選項,會在 <application>xedit</application> 文字視窗中,使用預設的配"
|
"選取這個選項,會在 <application>xed</application> 文字視窗中,使用預設的配"
|
||||||
"色色彩。"
|
"色色彩。"
|
||||||
|
|
||||||
#: ../base.xml:777(guilabel)
|
#: ../base.xml:777(guilabel)
|
||||||
|
@ -1171,10 +1171,10 @@ msgstr "文字色彩"
|
||||||
msgid ""
|
msgid ""
|
||||||
"Click on the <guibutton>Text color</guibutton> button to display the color "
|
"Click on the <guibutton>Text color</guibutton> button to display the color "
|
||||||
"selector dialog. Select a color to use to display text in the "
|
"selector dialog. Select a color to use to display text in the "
|
||||||
"<application>xedit</application> text window."
|
"<application>xed</application> text window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"按一下<guibutton>文字色彩</guibutton>按鈕, 顯示色彩選擇元件對話方塊。請選取"
|
"按一下<guibutton>文字色彩</guibutton>按鈕, 顯示色彩選擇元件對話方塊。請選取"
|
||||||
"顏色,程式會在 <application>xedit</application> 文字視窗中,以該顏色顯示文"
|
"顏色,程式會在 <application>xed</application> 文字視窗中,以該顏色顯示文"
|
||||||
"字。"
|
"字。"
|
||||||
|
|
||||||
#: ../base.xml:784(guilabel)
|
#: ../base.xml:784(guilabel)
|
||||||
|
@ -1184,11 +1184,11 @@ msgstr "背景色彩"
|
||||||
#: ../base.xml:786(para)
|
#: ../base.xml:786(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Click on the <guibutton>Background color</guibutton> button to display the "
|
"Click on the <guibutton>Background color</guibutton> button to display the "
|
||||||
"color selector dialog. Select a background color for the <application>xedit</"
|
"color selector dialog. Select a background color for the <application>xed</"
|
||||||
"application> text window."
|
"application> text window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"按一下<guibutton>背景色彩</guibutton>按鈕, 顯示色彩選擇元件對話方塊。請為 "
|
"按一下<guibutton>背景色彩</guibutton>按鈕, 顯示色彩選擇元件對話方塊。請為 "
|
||||||
"<application>xedit</application> 文字視窗選取背景色彩。"
|
"<application>xed</application> 文字視窗選取背景色彩。"
|
||||||
|
|
||||||
#: ../base.xml:791(guilabel)
|
#: ../base.xml:791(guilabel)
|
||||||
msgid "Selected text color"
|
msgid "Selected text color"
|
||||||
|
@ -1226,9 +1226,9 @@ msgstr "tab 字元的寬度為"
|
||||||
#: ../base.xml:813(para)
|
#: ../base.xml:813(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Use this spin box to specify the width of the space that <application> "
|
"Use this spin box to specify the width of the space that <application> "
|
||||||
"xedit</application> inserts when you press the <keycap>Tab</keycap> key."
|
"xed</application> inserts when you press the <keycap>Tab</keycap> key."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"請使用這個旋轉方塊,指定 <application> xedit</application> 在您按下 "
|
"請使用這個旋轉方塊,指定 <application> xed</application> 在您按下 "
|
||||||
"<keycap>Tab</keycap> 鍵時會加入的空格寬度。"
|
"<keycap>Tab</keycap> 鍵時會加入的空格寬度。"
|
||||||
|
|
||||||
#: ../base.xml:818(guilabel)
|
#: ../base.xml:818(guilabel)
|
||||||
|
@ -1237,11 +1237,11 @@ msgstr "以插入空格取代跳格"
|
||||||
|
|
||||||
#: ../base.xml:820(para)
|
#: ../base.xml:820(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Select this option to specify that <application> xedit</application> inserts "
|
"Select this option to specify that <application> xed</application> inserts "
|
||||||
"spaces instead of a tab character when you press the <keycap>Tab</keycap> "
|
"spaces instead of a tab character when you press the <keycap>Tab</keycap> "
|
||||||
"key."
|
"key."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"選取這個選項可以指定 <application> xedit</application> 在您按下 <keycap>Tab</"
|
"選取這個選項可以指定 <application> xed</application> 在您按下 <keycap>Tab</"
|
||||||
"keycap> 鍵時,以插入空格取 代跳格字元。"
|
"keycap> 鍵時,以插入空格取 代跳格字元。"
|
||||||
|
|
||||||
#: ../base.xml:830(title)
|
#: ../base.xml:830(title)
|
||||||
|
@ -1293,8 +1293,8 @@ msgstr "顯示行號"
|
||||||
#: ../base.xml:861(para)
|
#: ../base.xml:861(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Select this option to display line numbers on the left side of the "
|
"Select this option to display line numbers on the left side of the "
|
||||||
"<application>xedit</application> window."
|
"<application>xed</application> window."
|
||||||
msgstr "選取這個選項,會在 <application>xedit</application> 視窗左側顯示行號。"
|
msgstr "選取這個選項,會在 <application>xed</application> 視窗左側顯示行號。"
|
||||||
|
|
||||||
#: ../base.xml:869(title)
|
#: ../base.xml:869(title)
|
||||||
msgid "Open"
|
msgid "Open"
|
||||||
|
@ -1320,18 +1320,18 @@ msgstr ""
|
||||||
|
|
||||||
#: ../base.xml:877(para)
|
#: ../base.xml:877(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"By default, <application>xedit</application> uses UTF-8 encoding to try to "
|
"By default, <application>xed</application> uses UTF-8 encoding to try to "
|
||||||
"open a file. UTF-8 encoding can be used for multilingual texts, as UTF-8 "
|
"open a file. UTF-8 encoding can be used for multilingual texts, as UTF-8 "
|
||||||
"covers almost all known alphabets and character sets. If the file is not a "
|
"covers almost all known alphabets and character sets. If the file is not a "
|
||||||
"valid UTF-8 file, <application>xedit</application> tries to open the file by "
|
"valid UTF-8 file, <application>xed</application> tries to open the file by "
|
||||||
"using the encoding for the current locale. If this also fails, "
|
"using the encoding for the current locale. If this also fails, "
|
||||||
"<application>xedit</application> tries to use an encoding from the Supported "
|
"<application>xed</application> tries to use an encoding from the Supported "
|
||||||
"encodings list, starting at the top of the list."
|
"encodings list, starting at the top of the list."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"依預設值,<application>xedit</application> 是使用 UTF-8 編碼來開啟檔案。UTF-"
|
"依預設值,<application>xed</application> 是使用 UTF-8 編碼來開啟檔案。UTF-"
|
||||||
"8 編碼可用於內含多種語言的文件,因為 UTF-8 涵蓋了大多數已知的字母與字元集。如"
|
"8 編碼可用於內含多種語言的文件,因為 UTF-8 涵蓋了大多數已知的字母與字元集。如"
|
||||||
"果檔案並不是有效的 UTF-8 檔,<application>xedit</application> 會試著以目前語"
|
"果檔案並不是有效的 UTF-8 檔,<application>xed</application> 會試著以目前語"
|
||||||
"系的編碼來開啟檔案。如果這樣依然有問題,<application>xedit</application> 會從"
|
"系的編碼來開啟檔案。如果這樣依然有問題,<application>xed</application> 會從"
|
||||||
"支援的編碼清單中第一個編碼方式開始,一個個地來試著開啟檔案。"
|
"支援的編碼清單中第一個編碼方式開始,一個個地來試著開啟檔案。"
|
||||||
|
|
||||||
#: ../base.xml:880(para)
|
#: ../base.xml:880(para)
|
||||||
|
@ -1566,10 +1566,10 @@ msgstr "按一下這個按鈕,可以選取列印行號時的字型。"
|
||||||
#: ../base.xml:1043(para)
|
#: ../base.xml:1043(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"To reset the fonts to the default fonts for printing a file from "
|
"To reset the fonts to the default fonts for printing a file from "
|
||||||
"<application>xedit</application> click on the <guibutton>Restore Default "
|
"<application>xed</application> click on the <guibutton>Restore Default "
|
||||||
"Fonts</guibutton> button."
|
"Fonts</guibutton> button."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要將 <application>xedit</application> 列印檔案時的字型,重設為預設值, 請"
|
"如果要將 <application>xed</application> 列印檔案時的字型,重設為預設值, 請"
|
||||||
"按一下<guibutton>還原預設字型</guibutton>按鈕。"
|
"按一下<guibutton>還原預設字型</guibutton>按鈕。"
|
||||||
|
|
||||||
#: ../base.xml:1050(title)
|
#: ../base.xml:1050(title)
|
||||||
|
@ -1579,11 +1579,11 @@ msgstr "增效模組"
|
||||||
#: ../base.xml:1051(para)
|
#: ../base.xml:1051(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"For information about how to use the <guilabel>Plugins</guilabel> category "
|
"For information about how to use the <guilabel>Plugins</guilabel> category "
|
||||||
"of the <guilabel>Preferences</guilabel> dialog, see <xref linkend=\"xedit-"
|
"of the <guilabel>Preferences</guilabel> dialog, see <xref linkend=\"xed-"
|
||||||
"install-plugins\"/>."
|
"install-plugins\"/>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"關於如何使用<guilabel>偏好設定</guilabel>對話方塊的<guilabel>增效模組</"
|
"關於如何使用<guilabel>偏好設定</guilabel>對話方塊的<guilabel>增效模組</"
|
||||||
"guilabel>類別,進一步資訊請參閱 <xref linkend=\"xedit-install-plugins\"/>。"
|
"guilabel>類別,進一步資訊請參閱 <xref linkend=\"xed-install-plugins\"/>。"
|
||||||
|
|
||||||
#: ../base.xml:1058(title)
|
#: ../base.xml:1058(title)
|
||||||
msgid "Working with Plugins"
|
msgid "Working with Plugins"
|
||||||
|
@ -1592,15 +1592,15 @@ msgstr "使用增效模組"
|
||||||
#: ../base.xml:1059(para)
|
#: ../base.xml:1059(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"A plugin is a supplementary program that enhances the functionality of an "
|
"A plugin is a supplementary program that enhances the functionality of an "
|
||||||
"application. The <application>xedit</application> plugins enable you to "
|
"application. The <application>xed</application> plugins enable you to "
|
||||||
"perform a variety of functions related to text editing from within the "
|
"perform a variety of functions related to text editing from within the "
|
||||||
"<application> xedit</application> window. The following table lists the "
|
"<application> xed</application> window. The following table lists the "
|
||||||
"<application> xedit</application> plugins."
|
"<application> xed</application> plugins."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"增效模組是一種以可增強應用程式功能的 補強性程式。您可以使用 "
|
"增效模組是一種以可增強應用程式功能的 補強性程式。您可以使用 "
|
||||||
"<application>xedit</application> 增效模組,在 <application> xedit</"
|
"<application>xed</application> 增效模組,在 <application> xed</"
|
||||||
"application> 視窗內,執行多種文字編輯功能。下表所列的,便是 <application> "
|
"application> 視窗內,執行多種文字編輯功能。下表所列的,便是 <application> "
|
||||||
"xedit</application> 的增效模組。"
|
"xed</application> 的增效模組。"
|
||||||
|
|
||||||
#: ../base.xml:1070(para) ../base.xml:1150(para)
|
#: ../base.xml:1070(para) ../base.xml:1150(para)
|
||||||
msgid "Plugin Name"
|
msgid "Plugin Name"
|
||||||
|
@ -1707,37 +1707,37 @@ msgid "Inserts the username of the current user into the file."
|
||||||
msgstr "將目前的使用者名稱加入到檔案中。"
|
msgstr "將目前的使用者名稱加入到檔案中。"
|
||||||
|
|
||||||
#: ../base.xml:1123(title)
|
#: ../base.xml:1123(title)
|
||||||
msgid "To Load xedit Plugins"
|
msgid "To Load xed Plugins"
|
||||||
msgstr "載入 xedit 增效模組"
|
msgstr "載入 xed 增效模組"
|
||||||
|
|
||||||
#: ../base.xml:1124(para)
|
#: ../base.xml:1124(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"To load <application>xedit</application> plugins, choose "
|
"To load <application>xed</application> plugins, choose "
|
||||||
"<menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></"
|
"<menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></"
|
||||||
"menuchoice>. Within the <guilabel>Plugins</guilabel> category, click on the "
|
"menuchoice>. Within the <guilabel>Plugins</guilabel> category, click on the "
|
||||||
"<guilabel>Manager</guilabel> subcategory. The <guilabel>Manager</guilabel> "
|
"<guilabel>Manager</guilabel> subcategory. The <guilabel>Manager</guilabel> "
|
||||||
"subcategory displays the following information:"
|
"subcategory displays the following information:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要載入 <application>xedit</application>增效模組,請選擇"
|
"如果要載入 <application>xed</application>增效模組,請選擇"
|
||||||
"<menuchoice><guimenu>編輯</guimenu><guimenuitem>偏好設定</guimenuitem></"
|
"<menuchoice><guimenu>編輯</guimenu><guimenuitem>偏好設定</guimenuitem></"
|
||||||
"menuchoice>。在<guilabel>增效模組</guilabel>類別中,按一下<guilabel>管理員</"
|
"menuchoice>。在<guilabel>增效模組</guilabel>類別中,按一下<guilabel>管理員</"
|
||||||
"guilabel>子類別。 <guilabel>管理員</guilabel>子類別會顯示下列資訊:"
|
"guilabel>子類別。 <guilabel>管理員</guilabel>子類別會顯示下列資訊:"
|
||||||
|
|
||||||
#: ../base.xml:1131(para)
|
#: ../base.xml:1131(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"A list of the plugins that you can use with <application>xedit</application>."
|
"A list of the plugins that you can use with <application>xed</application>."
|
||||||
msgstr "可以與 <application>xedit</application> 一同使用之增效模組的清單。"
|
msgstr "可以與 <application>xed</application> 一同使用之增效模組的清單。"
|
||||||
|
|
||||||
#: ../base.xml:1133(para)
|
#: ../base.xml:1133(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"A <guibutton>Configure plugin</guibutton> button. You can use this button to "
|
"A <guibutton>Configure plugin</guibutton> button. You can use this button to "
|
||||||
"open a configuration dialog for the plugins that you can configure. For "
|
"open a configuration dialog for the plugins that you can configure. For "
|
||||||
"example, see <xref linkend=\"xedit-compare-files-configure\"/> and <xref "
|
"example, see <xref linkend=\"xed-compare-files-configure\"/> and <xref "
|
||||||
"linkend=\"xedit-date-time-configure\"/>."
|
"linkend=\"xed-date-time-configure\"/>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"<guibutton>配置增效模組</guibutton> 按鈕。您可以使用這個按鈕,為您可以配置的"
|
"<guibutton>配置增效模組</guibutton> 按鈕。您可以使用這個按鈕,為您可以配置的"
|
||||||
"增效模組,開啟配置對話方塊。例如,請參閱 <xref linkend=\"xedit-compare-files-"
|
"增效模組,開啟配置對話方塊。例如,請參閱 <xref linkend=\"xed-compare-files-"
|
||||||
"configure\"/> 以及 <xref linkend=\"xedit-date-time-configure\"/>。"
|
"configure\"/> 以及 <xref linkend=\"xed-date-time-configure\"/>。"
|
||||||
|
|
||||||
#: ../base.xml:1136(para)
|
#: ../base.xml:1136(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -1753,12 +1753,12 @@ msgstr "增效模組作者及模組名稱之詳細資訊。"
|
||||||
#: ../base.xml:1142(para)
|
#: ../base.xml:1142(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"To load a plugin, select the check box next to the name of the plugin. The "
|
"To load a plugin, select the check box next to the name of the plugin. The "
|
||||||
"<application>xedit</application> application adds the plugin to the "
|
"<application>xed</application> application adds the plugin to the "
|
||||||
"appropriate <application>xedit</application> menu, as described in the "
|
"appropriate <application>xed</application> menu, as described in the "
|
||||||
"following table."
|
"following table."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要載入增效模組,請選取增效模組名稱旁的核取方塊。<application>xedit</"
|
"如果要載入增效模組,請選取增效模組名稱旁的核取方塊。<application>xed</"
|
||||||
"application> 應用程式 會如下表所述,將外掛程式加入適當的 <application>xedit</"
|
"application> 應用程式 會如下表所述,將外掛程式加入適當的 <application>xed</"
|
||||||
"application> 功能表中。"
|
"application> 功能表中。"
|
||||||
|
|
||||||
#: ../base.xml:1151(para)
|
#: ../base.xml:1151(para)
|
||||||
|
@ -1826,23 +1826,23 @@ msgstr ""
|
||||||
"guibutton>。"
|
"guibutton>。"
|
||||||
|
|
||||||
#: ../base.xml:1216(title)
|
#: ../base.xml:1216(title)
|
||||||
msgid "To Remove xedit Plugins"
|
msgid "To Remove xed Plugins"
|
||||||
msgstr "移除 xedit 增效模組"
|
msgstr "移除 xed 增效模組"
|
||||||
|
|
||||||
#: ../base.xml:1217(para)
|
#: ../base.xml:1217(para)
|
||||||
msgid "A plugin remains loaded when you quit <application>xedit</application>."
|
msgid "A plugin remains loaded when you quit <application>xed</application>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"即使您離開了 <application>xedit</application>,增效模組仍然是載入應用程式中。"
|
"即使您離開了 <application>xed</application>,增效模組仍然是載入應用程式中。"
|
||||||
|
|
||||||
#: ../base.xml:1218(para)
|
#: ../base.xml:1218(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"To remove <application>xedit</application> plugins, choose "
|
"To remove <application>xed</application> plugins, choose "
|
||||||
"<menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></"
|
"<menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></"
|
||||||
"menuchoice>. Within the <guilabel>Plugins</guilabel> category, click on the "
|
"menuchoice>. Within the <guilabel>Plugins</guilabel> category, click on the "
|
||||||
"<guilabel>Manager</guilabel> subcategory. To remove a plugin, deselect the "
|
"<guilabel>Manager</guilabel> subcategory. To remove a plugin, deselect the "
|
||||||
"check box next to the name of the plugin."
|
"check box next to the name of the plugin."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要移除 <application>xedit</application> 增效模組,請選擇"
|
"如果要移除 <application>xed</application> 增效模組,請選擇"
|
||||||
"<menuchoice><guimenu>編輯</guimenu><guimenuitem>偏好設定</guimenuitem></"
|
"<menuchoice><guimenu>編輯</guimenu><guimenuitem>偏好設定</guimenuitem></"
|
||||||
"menuchoice>。在<guilabel>增效模組</guilabel>類別中,按一下<guilabel>管理員</"
|
"menuchoice>。在<guilabel>增效模組</guilabel>類別中,按一下<guilabel>管理員</"
|
||||||
"guilabel>子類別。 如果要移除增效模組,請取消選取增效模組名稱旁的核取方塊。"
|
"guilabel>子類別。 如果要移除增效模組,請取消選取增效模組名稱旁的核取方塊。"
|
||||||
|
@ -1912,22 +1912,22 @@ msgstr ""
|
||||||
|
|
||||||
#: ../base.xml:1258(para)
|
#: ../base.xml:1258(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Set the environment variable CVSEDITOR to <application>xedit</application>. "
|
"Set the environment variable CVSEDITOR to <application>xed</application>. "
|
||||||
"For example, if you are using the <command>bash</command> shell, run the "
|
"For example, if you are using the <command>bash</command> shell, run the "
|
||||||
"following command at the operating system prompt: <screen> <userinput>export "
|
"following command at the operating system prompt: <screen> <userinput>export "
|
||||||
"CVSEDITOR=<application>xedit</application> </userinput> </screen>"
|
"CVSEDITOR=<application>xed</application> </userinput> </screen>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"將環境變數 CVSEDITOR 設為 <application>xedit</application>。 例如,如果您正在"
|
"將環境變數 CVSEDITOR 設為 <application>xed</application>。 例如,如果您正在"
|
||||||
"使用 <command>bash</command> shell,請在作業系統 提示的時候,輸入下面的指"
|
"使用 <command>bash</command> shell,請在作業系統 提示的時候,輸入下面的指"
|
||||||
"令: <screen> <userinput>export CVSEDITOR=<application>xedit</application> </"
|
"令: <screen> <userinput>export CVSEDITOR=<application>xed</application> </"
|
||||||
"userinput> </screen>"
|
"userinput> </screen>"
|
||||||
|
|
||||||
#: ../base.xml:1264(para)
|
#: ../base.xml:1264(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Commit a file to CVS in the usual way. A <application>xedit</application> "
|
"Commit a file to CVS in the usual way. A <application>xed</application> "
|
||||||
"window opens, to enable you to enter the commit message."
|
"window opens, to enable you to enter the commit message."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"以平常的方式將檔案確定至 CVS。此時會開啟 <application>xedit</application> 視"
|
"以平常的方式將檔案確定至 CVS。此時會開啟 <application>xed</application> 視"
|
||||||
"窗,讓您輸入 commit 訊息。"
|
"窗,讓您輸入 commit 訊息。"
|
||||||
|
|
||||||
#: ../base.xml:1267(para)
|
#: ../base.xml:1267(para)
|
||||||
|
@ -1938,35 +1938,35 @@ msgstr "載入 CVS ChangeLog 增效模組。"
|
||||||
msgid ""
|
msgid ""
|
||||||
"Choose <menuchoice><guimenu>File</guimenu><guimenuitem>Open CVS ChangeLogs</"
|
"Choose <menuchoice><guimenu>File</guimenu><guimenuitem>Open CVS ChangeLogs</"
|
||||||
"guimenuitem></menuchoice> to open all of the ChangeLog files referenced in "
|
"guimenuitem></menuchoice> to open all of the ChangeLog files referenced in "
|
||||||
"the commit message. <application>xedit</application> opens each ChangeLog "
|
"the commit message. <application>xed</application> opens each ChangeLog "
|
||||||
"file in a new tab."
|
"file in a new tab."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"請選擇 <menuchoice><guimenu>檔案</guimenu><guimenuitem>開啟 CVS ChangeLogs</"
|
"請選擇 <menuchoice><guimenu>檔案</guimenu><guimenuitem>開啟 CVS ChangeLogs</"
|
||||||
"guimenuitem></menuchoice>,開啟所有 commit 訊息中所出現的 ChangeLog 檔案。"
|
"guimenuitem></menuchoice>,開啟所有 commit 訊息中所出現的 ChangeLog 檔案。"
|
||||||
"<application>xedit</application> 會為每個 變更Log 檔案開啟一個新標籤。"
|
"<application>xed</application> 會為每個 變更Log 檔案開啟一個新標籤。"
|
||||||
|
|
||||||
#: ../base.xml:1272(para)
|
#: ../base.xml:1272(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Copy the ChangeLog entries that you want to add to the commit message from "
|
"Copy the ChangeLog entries that you want to add to the commit message from "
|
||||||
"the <application>xedit</application> ChangeLog files."
|
"the <application>xed</application> ChangeLog files."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"<application>xedit</application> ChangeLog 檔案中,複製您想加入 commit 訊息"
|
"<application>xed</application> ChangeLog 檔案中,複製您想加入 commit 訊息"
|
||||||
"的 ChangeLog 記錄。"
|
"的 ChangeLog 記錄。"
|
||||||
|
|
||||||
#: ../base.xml:1275(para)
|
#: ../base.xml:1275(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Insert the copied ChangeLog entries in the <application>xedit</application> "
|
"Insert the copied ChangeLog entries in the <application>xed</application> "
|
||||||
"commit message tab."
|
"commit message tab."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"將 ChangeLog 記錄加入 <application>xedit</application> 的 commit 訊息標籤內。"
|
"將 ChangeLog 記錄加入 <application>xed</application> 的 commit 訊息標籤內。"
|
||||||
|
|
||||||
#: ../base.xml:1278(para)
|
#: ../base.xml:1278(para)
|
||||||
msgid "Save your changes to the commit message, then close all files."
|
msgid "Save your changes to the commit message, then close all files."
|
||||||
msgstr "儲存您對 commit 訊息所做的變更,然後關閉所有的檔案。"
|
msgstr "儲存您對 commit 訊息所做的變更,然後關閉所有的檔案。"
|
||||||
|
|
||||||
#: ../base.xml:1281(para)
|
#: ../base.xml:1281(para)
|
||||||
msgid "Quit <application>xedit</application>."
|
msgid "Quit <application>xed</application>."
|
||||||
msgstr "結束 <application>xedit</application>。"
|
msgstr "結束 <application>xed</application>。"
|
||||||
|
|
||||||
#: ../base.xml:1288(title)
|
#: ../base.xml:1288(title)
|
||||||
msgid "Compare Files Plugin"
|
msgid "Compare Files Plugin"
|
||||||
|
@ -1993,13 +1993,13 @@ msgid ""
|
||||||
"guimenuitem></menuchoice>. When you choose this option for the first time, "
|
"guimenuitem></menuchoice>. When you choose this option for the first time, "
|
||||||
"you are prompted to confirm the location of the <command>diff</command> "
|
"you are prompted to confirm the location of the <command>diff</command> "
|
||||||
"command. You are not prompted for this location again. See <xref linkend="
|
"command. You are not prompted for this location again. See <xref linkend="
|
||||||
"\"xedit-compare-files-configure\"/> for information about how to change this "
|
"\"xed-compare-files-configure\"/> for information about how to change this "
|
||||||
"location later."
|
"location later."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"請選擇 <menuchoice><guimenu>工具</guimenu><guimenuitem>比較檔案</"
|
"請選擇 <menuchoice><guimenu>工具</guimenu><guimenuitem>比較檔案</"
|
||||||
"guimenuitem></menuchoice>。 當您是第一次選擇這個選項,系統會提示您,請您確認 "
|
"guimenuitem></menuchoice>。 當您是第一次選擇這個選項,系統會提示您,請您確認 "
|
||||||
"<command>diff</command> 指令的位置。以後則不會再提示您確認位置。若需如何在日"
|
"<command>diff</command> 指令的位置。以後則不會再提示您確認位置。若需如何在日"
|
||||||
"後變更這個位置的詳細資訊,請參閱 <xref linkend=\"xedit-compare-files-"
|
"後變更這個位置的詳細資訊,請參閱 <xref linkend=\"xed-compare-files-"
|
||||||
"configure\"/>。"
|
"configure\"/>。"
|
||||||
|
|
||||||
#: ../base.xml:1299(para)
|
#: ../base.xml:1299(para)
|
||||||
|
@ -2157,12 +2157,12 @@ msgstr "目前文件的位元組數。"
|
||||||
|
|
||||||
#: ../base.xml:1376(para)
|
#: ../base.xml:1376(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"You can continue to update the <application>xedit</application> file while "
|
"You can continue to update the <application>xed</application> file while "
|
||||||
"the <guilabel>Document Statistics</guilabel> dialog is open. To refresh the "
|
"the <guilabel>Document Statistics</guilabel> dialog is open. To refresh the "
|
||||||
"contents of the <guilabel>Document Statistics</guilabel> dialog, click on "
|
"contents of the <guilabel>Document Statistics</guilabel> dialog, click on "
|
||||||
"the <guibutton>Update</guibutton> button."
|
"the <guibutton>Update</guibutton> button."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"您可以不斷地更新<application>xedit</application> 檔案,而無須關閉<guilabel>文"
|
"您可以不斷地更新<application>xed</application> 檔案,而無須關閉<guilabel>文"
|
||||||
"件統計資料</guilabel>對話方塊。要重新整理<guilabel>文件統計資料</guilabel>對"
|
"件統計資料</guilabel>對話方塊。要重新整理<guilabel>文件統計資料</guilabel>對"
|
||||||
"話方塊的內容,請按一下<guibutton>更新</guibutton>按鈕。"
|
"話方塊的內容,請按一下<guibutton>更新</guibutton>按鈕。"
|
||||||
|
|
||||||
|
@ -2243,36 +2243,36 @@ msgstr ""
|
||||||
msgid ""
|
msgid ""
|
||||||
"If you have not configured the Insert Date/Time plugin to automatically "
|
"If you have not configured the Insert Date/Time plugin to automatically "
|
||||||
"insert the date/time without prompting you for the format, "
|
"insert the date/time without prompting you for the format, "
|
||||||
"<application>xedit</application> displays the <guilabel>Insert Date and "
|
"<application>xed</application> displays the <guilabel>Insert Date and "
|
||||||
"Time</guilabel> dialog. Select the appropriate date/time format from the "
|
"Time</guilabel> dialog. Select the appropriate date/time format from the "
|
||||||
"list. Click on the <guibutton>Insert</guibutton> button to close the "
|
"list. Click on the <guibutton>Insert</guibutton> button to close the "
|
||||||
"<guilabel>Insert Date and Time</guilabel> dialog; <application>xedit</"
|
"<guilabel>Insert Date and Time</guilabel> dialog; <application>xed</"
|
||||||
"application> inserts the date/time at the cursor position in the current "
|
"application> inserts the date/time at the cursor position in the current "
|
||||||
"file."
|
"file."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果您尚未將加入日期/時間增效模組配置成不需提示即自動加入日期/時間,"
|
"如果您尚未將加入日期/時間增效模組配置成不需提示即自動加入日期/時間,"
|
||||||
"<application>xedit</application> 會顯示<guilabel>加入日期和時間</guilabel>對"
|
"<application>xed</application> 會顯示<guilabel>加入日期和時間</guilabel>對"
|
||||||
"話方塊。從清單中選取適當的日期/時間格式。按一下<guibutton>插入</guibutton>按"
|
"話方塊。從清單中選取適當的日期/時間格式。按一下<guibutton>插入</guibutton>按"
|
||||||
"鈕,關閉<guilabel>加入日期和時間</guilabel>對話方塊;<application>xedit</"
|
"鈕,關閉<guilabel>加入日期和時間</guilabel>對話方塊;<application>xed</"
|
||||||
"application> 會在目前檔案的游標位置上插入日期/時間。"
|
"application> 會在目前檔案的游標位置上插入日期/時間。"
|
||||||
|
|
||||||
#: ../base.xml:1416(para)
|
#: ../base.xml:1416(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"If you have configured <application>xedit</application> to use one "
|
"If you have configured <application>xed</application> to use one "
|
||||||
"particular date/time format, the <guilabel>Insert Date and Time</guilabel> "
|
"particular date/time format, the <guilabel>Insert Date and Time</guilabel> "
|
||||||
"dialog is not displayed; the date/time is automatically entered at the "
|
"dialog is not displayed; the date/time is automatically entered at the "
|
||||||
"cursor position in the current file."
|
"cursor position in the current file."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果您已經將 <application>xedit</application> 配置成使用特定的日期/時間格式,"
|
"如果您已經將 <application>xed</application> 配置成使用特定的日期/時間格式,"
|
||||||
"則不會顯示<guilabel>加入日期和時間</guilabel>對話方塊;即會在目前檔案的游標位"
|
"則不會顯示<guilabel>加入日期和時間</guilabel>對話方塊;即會在目前檔案的游標位"
|
||||||
"置上插入日期/時間。"
|
"置上插入日期/時間。"
|
||||||
|
|
||||||
#: ../base.xml:1417(para)
|
#: ../base.xml:1417(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"See <xref linkend=\"xedit-date-time-configure\"/> for information about how "
|
"See <xref linkend=\"xed-date-time-configure\"/> for information about how "
|
||||||
"to configure the Insert Date/Time plugin."
|
"to configure the Insert Date/Time plugin."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"若需如何配置加入日期/時間增效模組的詳細資訊,請參閱 <xref linkend=\"xedit-"
|
"若需如何配置加入日期/時間增效模組的詳細資訊,請參閱 <xref linkend=\"xed-"
|
||||||
"date-time-configure\"/>。"
|
"date-time-configure\"/>。"
|
||||||
|
|
||||||
#: ../base.xml:1422(title)
|
#: ../base.xml:1422(title)
|
||||||
|
@ -2309,17 +2309,17 @@ msgstr ""
|
||||||
|
|
||||||
#: ../base.xml:1443(para)
|
#: ../base.xml:1443(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"To use the same <application>xedit</application>-provided date/time format "
|
"To use the same <application>xed</application>-provided date/time format "
|
||||||
"each time you insert the date/time, select the <guilabel>Use the selected "
|
"each time you insert the date/time, select the <guilabel>Use the selected "
|
||||||
"format</guilabel> option, then select the appropriate format from the list. "
|
"format</guilabel> option, then select the appropriate format from the list. "
|
||||||
"When you select this option, <application>xedit</application> does not "
|
"When you select this option, <application>xed</application> does not "
|
||||||
"prompt you for the date/time format when you choose "
|
"prompt you for the date/time format when you choose "
|
||||||
"<menuchoice><guimenu>Edit</guimenu><guimenuitem>Insert Date and Time</"
|
"<menuchoice><guimenu>Edit</guimenu><guimenuitem>Insert Date and Time</"
|
||||||
"guimenuitem></menuchoice>."
|
"guimenuitem></menuchoice>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要在每次加入日期/時間時都使用 <application>xedit</application> 提供的日"
|
"如果要在每次加入日期/時間時都使用 <application>xed</application> 提供的日"
|
||||||
"期/時間格式,請選取<guilabel>使用選取的格式</guilabel>選項,然後從清單中選取"
|
"期/時間格式,請選取<guilabel>使用選取的格式</guilabel>選項,然後從清單中選取"
|
||||||
"適當的格式。當您選取這個選項後,<application>xedit</application> 並不會在您選"
|
"適當的格式。當您選取這個選項後,<application>xed</application> 並不會在您選"
|
||||||
"擇<menuchoice><guimenu>編輯</guimenu><guimenuitem>加入日期和時間</"
|
"擇<menuchoice><guimenu>編輯</guimenu><guimenuitem>加入日期和時間</"
|
||||||
"guimenuitem></menuchoice>時,提示您設定日期/時間的格式。"
|
"guimenuitem></menuchoice>時,提示您設定日期/時間的格式。"
|
||||||
|
|
||||||
|
@ -2331,7 +2331,7 @@ msgid ""
|
||||||
"specify a custom format, see <ulink url=\"man:strftime\" type=\"man"
|
"specify a custom format, see <ulink url=\"man:strftime\" type=\"man"
|
||||||
"\"><citerefentry><refentrytitle>strftime</refentrytitle><manvolnum>3</"
|
"\"><citerefentry><refentrytitle>strftime</refentrytitle><manvolnum>3</"
|
||||||
"manvolnum></citerefentry></ulink>. When you select this option, "
|
"manvolnum></citerefentry></ulink>. When you select this option, "
|
||||||
"<application>xedit</application> does not prompt you for the date/time "
|
"<application>xed</application> does not prompt you for the date/time "
|
||||||
"format when you choose <menuchoice><guimenu>Edit</"
|
"format when you choose <menuchoice><guimenu>Edit</"
|
||||||
"guimenu><guimenuitem>Insert Date and Time</guimenuitem></menuchoice>."
|
"guimenu><guimenuitem>Insert Date and Time</guimenuitem></menuchoice>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -2339,7 +2339,7 @@ msgstr ""
|
||||||
"自訂格式</guilabel>選項,然後在文字方塊中輸入適當的格式。若需如何自訂格式的詳"
|
"自訂格式</guilabel>選項,然後在文字方塊中輸入適當的格式。若需如何自訂格式的詳"
|
||||||
"細資訊,請參閱 <ulink url=\"man:strftime\" type=\"man"
|
"細資訊,請參閱 <ulink url=\"man:strftime\" type=\"man"
|
||||||
"\"><citerefentry><refentrytitle>strftime</refentrytitle><manvolnum>3</"
|
"\"><citerefentry><refentrytitle>strftime</refentrytitle><manvolnum>3</"
|
||||||
"manvolnum></citerefentry></ulink>。當您選取這個選項後,<application>xedit</"
|
"manvolnum></citerefentry></ulink>。當您選取這個選項後,<application>xed</"
|
||||||
"application> 並不會在您選擇<menuchoice><guimenu>編輯</guimenu><guimenuitem>加"
|
"application> 並不會在您選擇<menuchoice><guimenu>編輯</guimenu><guimenuitem>加"
|
||||||
"入日期和時間</guimenuitem></menuchoice>時,提示您設定日期/時間的格式。"
|
"入日期和時間</guimenuitem></menuchoice>時,提示您設定日期/時間的格式。"
|
||||||
|
|
||||||
|
@ -2358,11 +2358,11 @@ msgstr "Shell 指令增效模組"
|
||||||
#: ../base.xml:1463(para)
|
#: ../base.xml:1463(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"The Shell Command plugin enables you to capture the output from a shell "
|
"The Shell Command plugin enables you to capture the output from a shell "
|
||||||
"command in <application>xedit</application>, by displaying the text output "
|
"command in <application>xed</application>, by displaying the text output "
|
||||||
"of the shell command in the output window. To use the Shell command plugin, "
|
"of the shell command in the output window. To use the Shell command plugin, "
|
||||||
"perform the following steps:"
|
"perform the following steps:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Shell 指令增效模組可以從 <application>xedit</application> 的 shell 指令擷取輸"
|
"Shell 指令增效模組可以從 <application>xed</application> 的 shell 指令擷取輸"
|
||||||
"出,而將 shell 指令的文字輸出 顯示於輸出視窗中。如果要使用 Shell 指令增效模"
|
"出,而將 shell 指令的文字輸出 顯示於輸出視窗中。如果要使用 Shell 指令增效模"
|
||||||
"組,請執行 下列的步驟:"
|
"組,請執行 下列的步驟:"
|
||||||
|
|
||||||
|
@ -2406,11 +2406,11 @@ msgstr "%n"
|
||||||
#: ../base.xml:1485(para)
|
#: ../base.xml:1485(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Use these special characters to specify the filename of the current active "
|
"Use these special characters to specify the filename of the current active "
|
||||||
"document, without the path. In this case, <application>xedit</application> "
|
"document, without the path. In this case, <application>xed</application> "
|
||||||
"looks for the file in the Working directory."
|
"looks for the file in the Working directory."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"使用此類特殊字元,指定目前使用中的檔案名稱,不包括路徑。此時,"
|
"使用此類特殊字元,指定目前使用中的檔案名稱,不包括路徑。此時,"
|
||||||
"<application>xedit</application> 會在工作目錄中找尋檔案。"
|
"<application>xed</application> 會在工作目錄中找尋檔案。"
|
||||||
|
|
||||||
#: ../base.xml:1489(para)
|
#: ../base.xml:1489(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -2425,11 +2425,11 @@ msgstr ""
|
||||||
msgid ""
|
msgid ""
|
||||||
"Select the <guilabel>Show results in Output Window</guilabel> option to "
|
"Select the <guilabel>Show results in Output Window</guilabel> option to "
|
||||||
"display the results of the command in the output window. If you do not "
|
"display the results of the command in the output window. If you do not "
|
||||||
"select this option, <application>xedit</application> discards the results of "
|
"select this option, <application>xed</application> discards the results of "
|
||||||
"the command."
|
"the command."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"選取<guilabel>在輸出視窗顯示結果</guilabel>選項,在輸出視窗顯示指令的執行結"
|
"選取<guilabel>在輸出視窗顯示結果</guilabel>選項,在輸出視窗顯示指令的執行結"
|
||||||
"果。如果沒有選取這個選項,<application>xedit</application> 會放棄指令結果。"
|
"果。如果沒有選取這個選項,<application>xed</application> 會放棄指令結果。"
|
||||||
|
|
||||||
#: ../base.xml:1496(para)
|
#: ../base.xml:1496(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
|
|
|
@ -10,8 +10,8 @@ msgstr ""
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
#: ../base.xml:24(title) ../base.xml:95(revnumber)
|
#: ../base.xml:24(title) ../base.xml:95(revnumber)
|
||||||
msgid "xedit Manual V2.5.1"
|
msgid "xed Manual V2.5.1"
|
||||||
msgstr "xedit 手冊 V2.5.1"
|
msgstr "xed 手冊 V2.5.1"
|
||||||
|
|
||||||
#: ../base.xml:26(year)
|
#: ../base.xml:26(year)
|
||||||
msgid "2003"
|
msgid "2003"
|
||||||
|
@ -58,8 +58,8 @@ msgstr "Baris"
|
||||||
|
|
||||||
#: ../base.xml:65(surname)
|
#: ../base.xml:65(surname)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Cicek provided information from earlier revisions of the xedit application."
|
"Cicek provided information from earlier revisions of the xed application."
|
||||||
msgstr "Cicek 提供 xedit 應用程式較早版本的資訊。"
|
msgstr "Cicek 提供 xed 應用程式較早版本的資訊。"
|
||||||
|
|
||||||
#: ../base.xml:66(contrib)
|
#: ../base.xml:66(contrib)
|
||||||
msgid "Acknowledgements"
|
msgid "Acknowledgements"
|
||||||
|
@ -80,64 +80,64 @@ msgid "Sun MATE Documentation Team"
|
||||||
msgstr "Sun MATE 文件小組"
|
msgstr "Sun MATE 文件小組"
|
||||||
|
|
||||||
#: ../base.xml:103(revnumber)
|
#: ../base.xml:103(revnumber)
|
||||||
msgid "xedit Manual V2.5"
|
msgid "xed Manual V2.5"
|
||||||
msgstr "xedit 手冊 V2.5"
|
msgstr "xed 手冊 V2.5"
|
||||||
|
|
||||||
#: ../base.xml:104(date)
|
#: ../base.xml:104(date)
|
||||||
msgid "March 2003"
|
msgid "March 2003"
|
||||||
msgstr "2003 年 3 月"
|
msgstr "2003 年 3 月"
|
||||||
|
|
||||||
#: ../base.xml:111(revnumber)
|
#: ../base.xml:111(revnumber)
|
||||||
msgid "xedit Manual V2.4"
|
msgid "xed Manual V2.4"
|
||||||
msgstr "xedit 手冊 V2.4"
|
msgstr "xed 手冊 V2.4"
|
||||||
|
|
||||||
#: ../base.xml:112(date)
|
#: ../base.xml:112(date)
|
||||||
msgid "January 2003"
|
msgid "January 2003"
|
||||||
msgstr "2003 年 1 月"
|
msgstr "2003 年 1 月"
|
||||||
|
|
||||||
#: ../base.xml:119(revnumber)
|
#: ../base.xml:119(revnumber)
|
||||||
msgid "xedit Manual V2.3"
|
msgid "xed Manual V2.3"
|
||||||
msgstr "xedit 手冊 V2.3"
|
msgstr "xed 手冊 V2.3"
|
||||||
|
|
||||||
#: ../base.xml:120(date)
|
#: ../base.xml:120(date)
|
||||||
msgid "September 2002"
|
msgid "September 2002"
|
||||||
msgstr "2002 年 9 月"
|
msgstr "2002 年 9 月"
|
||||||
|
|
||||||
#: ../base.xml:127(revnumber)
|
#: ../base.xml:127(revnumber)
|
||||||
msgid "xedit Manual V2.2"
|
msgid "xed Manual V2.2"
|
||||||
msgstr "xedit 手冊 V2.2"
|
msgstr "xed 手冊 V2.2"
|
||||||
|
|
||||||
#: ../base.xml:128(date)
|
#: ../base.xml:128(date)
|
||||||
msgid "August 2002"
|
msgid "August 2002"
|
||||||
msgstr "2002 年 8 月"
|
msgstr "2002 年 8 月"
|
||||||
|
|
||||||
#: ../base.xml:135(revnumber)
|
#: ../base.xml:135(revnumber)
|
||||||
msgid "xedit Manual V2.1"
|
msgid "xed Manual V2.1"
|
||||||
msgstr "xedit 手冊 V2.1"
|
msgstr "xed 手冊 V2.1"
|
||||||
|
|
||||||
#: ../base.xml:136(date)
|
#: ../base.xml:136(date)
|
||||||
msgid "June 2002"
|
msgid "June 2002"
|
||||||
msgstr "2002 年 6 月"
|
msgstr "2002 年 6 月"
|
||||||
|
|
||||||
#: ../base.xml:143(revnumber)
|
#: ../base.xml:143(revnumber)
|
||||||
msgid "xedit Manual V2.0"
|
msgid "xed Manual V2.0"
|
||||||
msgstr "xedit 手冊 V2.0"
|
msgstr "xed 手冊 V2.0"
|
||||||
|
|
||||||
#: ../base.xml:144(date)
|
#: ../base.xml:144(date)
|
||||||
msgid "March 2002"
|
msgid "March 2002"
|
||||||
msgstr "2002 年 3 月"
|
msgstr "2002 年 3 月"
|
||||||
|
|
||||||
#: ../base.xml:151(revnumber)
|
#: ../base.xml:151(revnumber)
|
||||||
msgid "xedit V1.0"
|
msgid "xed V1.0"
|
||||||
msgstr "xedit 手冊 V1.0"
|
msgstr "xed 手冊 V1.0"
|
||||||
|
|
||||||
#: ../base.xml:154(para)
|
#: ../base.xml:154(para)
|
||||||
msgid "Eric Baudais <email>baudais@okstate.edu</email>"
|
msgid "Eric Baudais <email>baudais@okstate.edu</email>"
|
||||||
msgstr "Eric Baudais <email>baudais@okstate.edu</email>"
|
msgstr "Eric Baudais <email>baudais@okstate.edu</email>"
|
||||||
|
|
||||||
#: ../base.xml:160(releaseinfo)
|
#: ../base.xml:160(releaseinfo)
|
||||||
msgid "This manual describes version 2.2.1 of xedit."
|
msgid "This manual describes version 2.2.1 of xed."
|
||||||
msgstr "本手冊的內容是說明 2.2.1 版的 xedit。"
|
msgstr "本手冊的內容是說明 2.2.1 版的 xed。"
|
||||||
|
|
||||||
#: ../base.xml:163(title)
|
#: ../base.xml:163(title)
|
||||||
msgid "Feedback"
|
msgid "Feedback"
|
||||||
|
@ -145,17 +145,17 @@ msgstr "意見回饋"
|
||||||
|
|
||||||
#: ../base.xml:164(para)
|
#: ../base.xml:164(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"To report a bug or make a suggestion regarding the <application>xedit</"
|
"To report a bug or make a suggestion regarding the <application>xed</"
|
||||||
"application> application or this manual, follow the directions in the <ulink "
|
"application> application or this manual, follow the directions in the <ulink "
|
||||||
"url=\"help:mate-feedback\" type=\"help\">MATE Feedback Page</ulink>."
|
"url=\"help:mate-feedback\" type=\"help\">MATE Feedback Page</ulink>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"關於本 <application>xedit</application> 應用程式或本手冊,如果要報告錯誤 或提"
|
"關於本 <application>xed</application> 應用程式或本手冊,如果要報告錯誤 或提"
|
||||||
"出建議,請遵照 <ulink url=\"help:mate-feedback\" type=\"help\">MATE "
|
"出建議,請遵照 <ulink url=\"help:mate-feedback\" type=\"help\">MATE "
|
||||||
"Feedback Page</ulink> 的指示。"
|
"Feedback Page</ulink> 的指示。"
|
||||||
|
|
||||||
#: ../base.xml:171(primary)
|
#: ../base.xml:171(primary)
|
||||||
msgid "xedit"
|
msgid "xed"
|
||||||
msgstr "xedit"
|
msgstr "xed"
|
||||||
|
|
||||||
#: ../base.xml:172(primary)
|
#: ../base.xml:172(primary)
|
||||||
msgid "text editor"
|
msgid "text editor"
|
||||||
|
@ -167,13 +167,13 @@ msgstr "介紹"
|
||||||
|
|
||||||
#: ../base.xml:178(para)
|
#: ../base.xml:178(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"The <application>xedit</application> application enables you to create and "
|
"The <application>xed</application> application enables you to create and "
|
||||||
"edit text files. You can use <application>xedit</application> plugins to "
|
"edit text files. You can use <application>xed</application> plugins to "
|
||||||
"perform a variety of tasks related to text-editing from within the "
|
"perform a variety of tasks related to text-editing from within the "
|
||||||
"<application>xedit</application> window."
|
"<application>xed</application> window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"您可以使用 <application>xedit</application> 應用程式建立和編輯文字 檔案。您可"
|
"您可以使用 <application>xed</application> 應用程式建立和編輯文字 檔案。您可"
|
||||||
"以使用 <application>xedit</application> 增效模組在 <application>xedit</"
|
"以使用 <application>xed</application> 增效模組在 <application>xed</"
|
||||||
"application> 視窗中 執行各種和文字編輯相關的工作。"
|
"application> 視窗中 執行各種和文字編輯相關的工作。"
|
||||||
|
|
||||||
#: ../base.xml:185(title)
|
#: ../base.xml:185(title)
|
||||||
|
@ -181,12 +181,12 @@ msgid "Getting Started"
|
||||||
msgstr "入門"
|
msgstr "入門"
|
||||||
|
|
||||||
#: ../base.xml:189(title)
|
#: ../base.xml:189(title)
|
||||||
msgid "To Start xedit"
|
msgid "To Start xed"
|
||||||
msgstr "啟動 xedit"
|
msgstr "啟動 xed"
|
||||||
|
|
||||||
#: ../base.xml:190(para)
|
#: ../base.xml:190(para)
|
||||||
msgid "You can start <application>xedit</application> in the following ways:"
|
msgid "You can start <application>xed</application> in the following ways:"
|
||||||
msgstr "您可以使用下列方式啟動 <application>xedit</application>:"
|
msgstr "您可以使用下列方式啟動 <application>xed</application>:"
|
||||||
|
|
||||||
#: ../base.xml:193(guimenu)
|
#: ../base.xml:193(guimenu)
|
||||||
msgid "Menu"
|
msgid "Menu"
|
||||||
|
@ -194,11 +194,11 @@ msgstr "功能表"
|
||||||
|
|
||||||
#: ../base.xml:195(para)
|
#: ../base.xml:195(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"For information about how to start <application>xedit</application> from a "
|
"For information about how to start <application>xed</application> from a "
|
||||||
"menu, see the latest version of the MATE Desktop User Guide for your "
|
"menu, see the latest version of the MATE Desktop User Guide for your "
|
||||||
"platform."
|
"platform."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"若需如何從功能表啟動 <application>xedit</application> 的詳細資訊,請參閱最新"
|
"若需如何從功能表啟動 <application>xed</application> 的詳細資訊,請參閱最新"
|
||||||
"版的平台 MATE Desktop User Guide。"
|
"版的平台 MATE Desktop User Guide。"
|
||||||
|
|
||||||
#: ../base.xml:200(term)
|
#: ../base.xml:200(term)
|
||||||
|
@ -206,32 +206,32 @@ msgid "Command line"
|
||||||
msgstr "指令行"
|
msgstr "指令行"
|
||||||
|
|
||||||
#: ../base.xml:202(para)
|
#: ../base.xml:202(para)
|
||||||
msgid "Execute the following command: <command>xedit</command>"
|
msgid "Execute the following command: <command>xed</command>"
|
||||||
msgstr "執行以下的指令: <command>xedit</command>"
|
msgstr "執行以下的指令: <command>xed</command>"
|
||||||
|
|
||||||
#: ../base.xml:210(title)
|
#: ../base.xml:210(title)
|
||||||
msgid "When You Start xedit"
|
msgid "When You Start xed"
|
||||||
msgstr "當您啟動 xedit"
|
msgstr "當您啟動 xed"
|
||||||
|
|
||||||
#: ../base.xml:211(para)
|
#: ../base.xml:211(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"When you start <application>xedit</application>, the following window is "
|
"When you start <application>xed</application>, the following window is "
|
||||||
"displayed:"
|
"displayed:"
|
||||||
msgstr "當您啟動 <application>xedit</application> 後,會顯示下面的視窗:"
|
msgstr "當您啟動 <application>xed</application> 後,會顯示下面的視窗:"
|
||||||
|
|
||||||
#: ../base.xml:214(title)
|
#: ../base.xml:214(title)
|
||||||
msgid "xedit Window"
|
msgid "xed Window"
|
||||||
msgstr "xedit 視窗"
|
msgstr "xed 視窗"
|
||||||
|
|
||||||
#: ../base.xml:220(phrase)
|
#: ../base.xml:220(phrase)
|
||||||
msgid "Shows xedit main window."
|
msgid "Shows xed main window."
|
||||||
msgstr "顯示 xedit 主視窗。"
|
msgstr "顯示 xed 主視窗。"
|
||||||
|
|
||||||
#: ../base.xml:226(para)
|
#: ../base.xml:226(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"The <application>xedit</application> window contains the following elements:"
|
"The <application>xed</application> window contains the following elements:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"<application>xedit</application> 視窗包含下列的 元素:您可以選擇下列條件中的"
|
"<application>xed</application> 視窗包含下列的 元素:您可以選擇下列條件中的"
|
||||||
"一項或以上:"
|
"一項或以上:"
|
||||||
|
|
||||||
#: ../base.xml:229(term)
|
#: ../base.xml:229(term)
|
||||||
|
@ -241,9 +241,9 @@ msgstr "功能表列"
|
||||||
#: ../base.xml:231(para)
|
#: ../base.xml:231(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"The menus on the menubar contain all of the commands you need to work with "
|
"The menus on the menubar contain all of the commands you need to work with "
|
||||||
"files in <application>xedit</application>."
|
"files in <application>xed</application>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"在功能表列上的功能表中,有您在 <application>xedit</application> 中與檔案工作"
|
"在功能表列上的功能表中,有您在 <application>xed</application> 中與檔案工作"
|
||||||
"所需的所有指令。"
|
"所需的所有指令。"
|
||||||
|
|
||||||
#: ../base.xml:235(term)
|
#: ../base.xml:235(term)
|
||||||
|
@ -280,19 +280,19 @@ msgstr "狀態列"
|
||||||
|
|
||||||
#: ../base.xml:254(para)
|
#: ../base.xml:254(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"The statusbar displays information about current <application>xedit</"
|
"The statusbar displays information about current <application>xed</"
|
||||||
"application> activity and contextual information about the menu items."
|
"application> activity and contextual information about the menu items."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"狀態列可以顯示目前 <application>xedit</application> 活動的資訊,以及有關功能"
|
"狀態列可以顯示目前 <application>xed</application> 活動的資訊,以及有關功能"
|
||||||
"表項目 的上下文資訊。"
|
"表項目 的上下文資訊。"
|
||||||
|
|
||||||
#: ../base.xml:260(para)
|
#: ../base.xml:260(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"When you right-click in the <application>xedit</application> window, the "
|
"When you right-click in the <application>xed</application> window, the "
|
||||||
"application displays a popup menu. The popup menu contains the most common "
|
"application displays a popup menu. The popup menu contains the most common "
|
||||||
"text editing commands."
|
"text editing commands."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"當您在 <application>xedit</application> 視窗中按滑鼠右鍵時,應用程式會顯示即"
|
"當您在 <application>xed</application> 視窗中按滑鼠右鍵時,應用程式會顯示即"
|
||||||
"現式功能表。即現式功能表包含了 最常用的文字編輯指令。"
|
"現式功能表。即現式功能表包含了 最常用的文字編輯指令。"
|
||||||
|
|
||||||
#: ../base.xml:266(title)
|
#: ../base.xml:266(title)
|
||||||
|
@ -304,27 +304,27 @@ msgid ""
|
||||||
"To open a file, choose <menuchoice><guimenu>File</guimenu><guimenuitem>Open</"
|
"To open a file, choose <menuchoice><guimenu>File</guimenu><guimenuitem>Open</"
|
||||||
"guimenuitem></menuchoice> to display the <guilabel>Open File</guilabel> "
|
"guimenuitem></menuchoice> to display the <guilabel>Open File</guilabel> "
|
||||||
"dialog. Select the file that you want to open, then click <guibutton>OK</"
|
"dialog. Select the file that you want to open, then click <guibutton>OK</"
|
||||||
"guibutton>. The file is displayed in the <application>xedit</application> "
|
"guibutton>. The file is displayed in the <application>xed</application> "
|
||||||
"window."
|
"window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要開啟檔案,請選擇 <menuchoice><guimenu>檔案</guimenu><guimenuitem>開啟</"
|
"如果要開啟檔案,請選擇 <menuchoice><guimenu>檔案</guimenu><guimenuitem>開啟</"
|
||||||
"guimenuitem></menuchoice> ,顯示<guilabel>開啟檔案</guilabel>對話方塊。選取要"
|
"guimenuitem></menuchoice> ,顯示<guilabel>開啟檔案</guilabel>對話方塊。選取要"
|
||||||
"開啟的檔案 ,然後按一下<guibutton>確定</guibutton>。這個檔案便會 顯示在 "
|
"開啟的檔案 ,然後按一下<guibutton>確定</guibutton>。這個檔案便會 顯示在 "
|
||||||
"<application>xedit</application> 視窗中。"
|
"<application>xed</application> 視窗中。"
|
||||||
|
|
||||||
#: ../base.xml:273(para)
|
#: ../base.xml:273(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"You can open multiple files in <application>xedit</application>. The "
|
"You can open multiple files in <application>xed</application>. The "
|
||||||
"application displays one file at a time in the application window. The "
|
"application displays one file at a time in the application window. The "
|
||||||
"application adds a tab for each open file to the window. To display another "
|
"application adds a tab for each open file to the window. To display another "
|
||||||
"open file, click on the tab that corresponds to the file. To create a new "
|
"open file, click on the tab that corresponds to the file. To create a new "
|
||||||
"<application> xedit</application> window for each file that is open, drag "
|
"<application> xed</application> window for each file that is open, drag "
|
||||||
"the tab corresponding to each file to the desktop background."
|
"the tab corresponding to each file to the desktop background."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"您可以在 <application>xedit</application> 中,開啟多個檔案。 本應用程式在應用"
|
"您可以在 <application>xed</application> 中,開啟多個檔案。 本應用程式在應用"
|
||||||
"程式視窗中,一次只會顯示一個檔案。 應用程式會為每個開啟的檔案,在視窗中增加一"
|
"程式視窗中,一次只會顯示一個檔案。 應用程式會為每個開啟的檔案,在視窗中增加一"
|
||||||
"個標籤。如果要顯示另外一個 開啟的檔案,請按該檔案的標籤。如果為每一個開啟的檔"
|
"個標籤。如果要顯示另外一個 開啟的檔案,請按該檔案的標籤。如果為每一個開啟的檔"
|
||||||
"案,建立一個新的 <application> xedit</application> 視窗,請將檔案的 標籤一個"
|
"案,建立一個新的 <application> xed</application> 視窗,請將檔案的 標籤一個"
|
||||||
"個地拖曳至桌面背景上。"
|
"個地拖曳至桌面背景上。"
|
||||||
|
|
||||||
#: ../base.xml:279(para)
|
#: ../base.xml:279(para)
|
||||||
|
@ -332,11 +332,11 @@ msgid ""
|
||||||
"You can also use the <guimenu>Documents</guimenu> menu to move between the "
|
"You can also use the <guimenu>Documents</guimenu> menu to move between the "
|
||||||
"open files. You can choose <menuchoice><guimenu>Documents</"
|
"open files. You can choose <menuchoice><guimenu>Documents</"
|
||||||
"guimenu><guimenuitem>Move to New Window</guimenuitem></menuchoice> to move a "
|
"guimenu><guimenuitem>Move to New Window</guimenuitem></menuchoice> to move a "
|
||||||
"document to a new <application> xedit</application> window."
|
"document to a new <application> xed</application> window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"您也可以使用 <guimenu>文件</guimenu>功能表,在開啟的檔案之間移動。您可以選擇"
|
"您也可以使用 <guimenu>文件</guimenu>功能表,在開啟的檔案之間移動。您可以選擇"
|
||||||
"<menuchoice><guimenu>文件</guimenu><guimenuitem>移至新視窗</guimenuitem></"
|
"<menuchoice><guimenu>文件</guimenu><guimenuitem>移至新視窗</guimenuitem></"
|
||||||
"menuchoice>,將文件移到新的 <application> xedit</application> 視窗。"
|
"menuchoice>,將文件移到新的 <application> xed</application> 視窗。"
|
||||||
|
|
||||||
#: ../base.xml:290(phrase)
|
#: ../base.xml:290(phrase)
|
||||||
msgid "Shows Recent Files menu icon."
|
msgid "Shows Recent Files menu icon."
|
||||||
|
@ -361,11 +361,11 @@ msgstr "從指令行開啟多個檔案"
|
||||||
|
|
||||||
#: ../base.xml:298(para)
|
#: ../base.xml:298(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"You can run <application>xedit</application> from a command line and open a "
|
"You can run <application>xed</application> from a command line and open a "
|
||||||
"single file or multiple files. To open multiple files from a command line, "
|
"single file or multiple files. To open multiple files from a command line, "
|
||||||
"type the following command, then press <keycap>Return</keycap>:"
|
"type the following command, then press <keycap>Return</keycap>:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"您可以從指令行執行 <application>xedit</application>,並開啟一個或多個檔案。如"
|
"您可以從指令行執行 <application>xed</application>,並開啟一個或多個檔案。如"
|
||||||
"果要從指令行開啟多個檔案,請鍵入下列指令,然後按一下 <keycap>Return</keycap> "
|
"果要從指令行開啟多個檔案,請鍵入下列指令,然後按一下 <keycap>Return</keycap> "
|
||||||
"鍵。"
|
"鍵。"
|
||||||
|
|
||||||
|
@ -374,26 +374,26 @@ msgid "file1.txt file2.txt file3.txt"
|
||||||
msgstr "file1.txt file2.txt file3.txt"
|
msgstr "file1.txt file2.txt file3.txt"
|
||||||
|
|
||||||
#: ../base.xml:301(command)
|
#: ../base.xml:301(command)
|
||||||
msgid "xedit <placeholder-1/>"
|
msgid "xed <placeholder-1/>"
|
||||||
msgstr "xedit <placeholder-1/>"
|
msgstr "xed <placeholder-1/>"
|
||||||
|
|
||||||
#: ../base.xml:302(para)
|
#: ../base.xml:302(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"When the application starts, the files that you specify are displayed in the "
|
"When the application starts, the files that you specify are displayed in the "
|
||||||
"<application>xedit</application> window."
|
"<application>xed</application> window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"當應用程式啟動時,您所指定的檔案便會顯示在 <application>xedit</application> "
|
"當應用程式啟動時,您所指定的檔案便會顯示在 <application>xed</application> "
|
||||||
"視窗內。"
|
"視窗內。"
|
||||||
|
|
||||||
#: ../base.xml:304(para)
|
#: ../base.xml:304(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"For more information on how to run <application>xedit</application> from a "
|
"For more information on how to run <application>xed</application> from a "
|
||||||
"command line, see <ulink url=\"man:xedit\" type=\"man"
|
"command line, see <ulink url=\"man:xed\" type=\"man"
|
||||||
"\"><citerefentry><refentrytitle>xedit</refentrytitle><manvolnum>1</"
|
"\"><citerefentry><refentrytitle>xed</refentrytitle><manvolnum>1</"
|
||||||
"manvolnum></citerefentry></ulink>."
|
"manvolnum></citerefentry></ulink>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"若需如何從指令行執行 <application>xedit</application> 的詳細資訊,請參閱 "
|
"若需如何從指令行執行 <application>xed</application> 的詳細資訊,請參閱 "
|
||||||
"<ulink url=\"man:xedit\" type=\"man\"><citerefentry><refentrytitle>xedit</"
|
"<ulink url=\"man:xed\" type=\"man\"><citerefentry><refentrytitle>xed</"
|
||||||
"refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>。"
|
"refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>。"
|
||||||
|
|
||||||
#: ../base.xml:309(title)
|
#: ../base.xml:309(title)
|
||||||
|
@ -408,10 +408,10 @@ msgstr "建立新檔案"
|
||||||
msgid ""
|
msgid ""
|
||||||
"To create a new file, choose <menuchoice><guimenu>File</"
|
"To create a new file, choose <menuchoice><guimenu>File</"
|
||||||
"guimenu><guimenuitem>New</guimenuitem></menuchoice>. The application "
|
"guimenu><guimenuitem>New</guimenuitem></menuchoice>. The application "
|
||||||
"displays a new file in the <application>xedit</application> window."
|
"displays a new file in the <application>xed</application> window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要建立新檔案,請選擇 <menuchoice><guimenu>檔案</guimenu><guimenuitem>開新"
|
"如果要建立新檔案,請選擇 <menuchoice><guimenu>檔案</guimenu><guimenuitem>開新"
|
||||||
"檔案</guimenuitem></menuchoice>。應用程式會在 <application>xedit</"
|
"檔案</guimenuitem></menuchoice>。應用程式會在 <application>xed</"
|
||||||
"application> 視窗內顯示新檔案。"
|
"application> 視窗內顯示新檔案。"
|
||||||
|
|
||||||
#: ../base.xml:321(title)
|
#: ../base.xml:321(title)
|
||||||
|
@ -446,11 +446,11 @@ msgstr ""
|
||||||
|
|
||||||
#: ../base.xml:334(para)
|
#: ../base.xml:334(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"To save all of the files that are currently open in <application>xedit</"
|
"To save all of the files that are currently open in <application>xed</"
|
||||||
"application>, choose <menuchoice><guimenu>Documents</"
|
"application>, choose <menuchoice><guimenu>Documents</"
|
||||||
"guimenu><guimenuitem>Save All</guimenuitem></menuchoice>."
|
"guimenu><guimenuitem>Save All</guimenuitem></menuchoice>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要儲存目前在 <application>xedit</application> 中開啟的所有檔案,請選擇 "
|
"如果要儲存目前在 <application>xed</application> 中開啟的所有檔案,請選擇 "
|
||||||
"<menuchoice><guimenu>文件</guimenu><guimenuitem>全部 儲存</guimenuitem></"
|
"<menuchoice><guimenu>文件</guimenu><guimenuitem>全部 儲存</guimenuitem></"
|
||||||
"menuchoice>。"
|
"menuchoice>。"
|
||||||
|
|
||||||
|
@ -541,14 +541,14 @@ msgid ""
|
||||||
"choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Redo</guimenuitem></"
|
"choose <menuchoice><guimenu>Edit</guimenu><guimenuitem>Redo</guimenuitem></"
|
||||||
"menuchoice>. The number of previous edits that you can undo is determined by "
|
"menuchoice>. The number of previous edits that you can undo is determined by "
|
||||||
"the <guilabel>Set limit on undo actions to</guilabel> setting in the <xref "
|
"the <guilabel>Set limit on undo actions to</guilabel> setting in the <xref "
|
||||||
"linkend=\"xedit-prefs-undo\"/> tabbed section of the <guilabel>Preferences</"
|
"linkend=\"xed-prefs-undo\"/> tabbed section of the <guilabel>Preferences</"
|
||||||
"guilabel> dialog."
|
"guilabel> dialog."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要還原或重做編輯,請選擇 <menuchoice><guimenu>編輯</guimenu><guimenuitem>"
|
"如果要還原或重做編輯,請選擇 <menuchoice><guimenu>編輯</guimenu><guimenuitem>"
|
||||||
"還原</guimenuitem></menuchoice>。如果要重做編輯,請選擇 <menuchoice><guimenu>"
|
"還原</guimenuitem></menuchoice>。如果要重做編輯,請選擇 <menuchoice><guimenu>"
|
||||||
"編輯</guimenu><guimenuitem>重做</guimenuitem></menuchoice>。您所能還原之前編"
|
"編輯</guimenu><guimenuitem>重做</guimenuitem></menuchoice>。您所能還原之前編"
|
||||||
"輯的次數,是取決於 <guilabel>限制還原次數為</guilabel>設定 (在 <xref linkend="
|
"輯的次數,是取決於 <guilabel>限制還原次數為</guilabel>設定 (在 <xref linkend="
|
||||||
"\"xedit-prefs-undo\"/>標籤區段中 (在 <guilabel>偏好設定</guilabel>對話方塊"
|
"\"xed-prefs-undo\"/>標籤區段中 (在 <guilabel>偏好設定</guilabel>對話方塊"
|
||||||
"中))。"
|
"中))。"
|
||||||
|
|
||||||
#: ../base.xml:399(title)
|
#: ../base.xml:399(title)
|
||||||
|
@ -626,12 +626,12 @@ msgstr ""
|
||||||
#: ../base.xml:435(para) ../base.xml:490(para)
|
#: ../base.xml:435(para) ../base.xml:490(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Click <guibutton>Find</guibutton> to search the file for the first "
|
"Click <guibutton>Find</guibutton> to search the file for the first "
|
||||||
"occurrence of the string. If <application>xedit</application> finds the "
|
"occurrence of the string. If <application>xed</application> finds the "
|
||||||
"string, the application moves the cursor to the string, and selects the "
|
"string, the application moves the cursor to the string, and selects the "
|
||||||
"string."
|
"string."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"按一下<guibutton>尋找</guibutton>,搜尋檔案中 第一個字串事件。如果 "
|
"按一下<guibutton>尋找</guibutton>,搜尋檔案中 第一個字串事件。如果 "
|
||||||
"<application>xedit</application> 找到字串,應用程式會將游標移動到字串上,並選"
|
"<application>xed</application> 找到字串,應用程式會將游標移動到字串上,並選"
|
||||||
"取 該字串。"
|
"取 該字串。"
|
||||||
|
|
||||||
#: ../base.xml:440(para) ../base.xml:500(para)
|
#: ../base.xml:440(para) ../base.xml:500(para)
|
||||||
|
@ -710,14 +710,14 @@ msgstr ""
|
||||||
|
|
||||||
#: ../base.xml:522(para)
|
#: ../base.xml:522(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Type <command>xedit <replaceable>URI</replaceable></command> at a command "
|
"Type <command>xed <replaceable>URI</replaceable></command> at a command "
|
||||||
"line, where <replaceable>URI</replaceable> is the URI of the file that you "
|
"line, where <replaceable>URI</replaceable> is the URI of the file that you "
|
||||||
"want to open, then press <keycap>Return</keycap>. Valid types of "
|
"want to open, then press <keycap>Return</keycap>. Valid types of "
|
||||||
"<replaceable>URI</replaceable> include <literal>http:</literal>, "
|
"<replaceable>URI</replaceable> include <literal>http:</literal>, "
|
||||||
"<literal>ftp:</literal>, <literal>file:</literal>, and all of the methods "
|
"<literal>ftp:</literal>, <literal>file:</literal>, and all of the methods "
|
||||||
"supported by <literal>gvfs</literal>."
|
"supported by <literal>gvfs</literal>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"在指令行上輸入 <command>xedit <replaceable>URI</replaceable></command> (此處"
|
"在指令行上輸入 <command>xed <replaceable>URI</replaceable></command> (此處"
|
||||||
"的 <replaceable>URI</replaceable> 是指您要開啟之檔案的 URI),然後按下 "
|
"的 <replaceable>URI</replaceable> 是指您要開啟之檔案的 URI),然後按下 "
|
||||||
"<keycap>Return</keycap> 鍵。有效的 <replaceable>URI</replaceable> 類型包括 "
|
"<keycap>Return</keycap> 鍵。有效的 <replaceable>URI</replaceable> 類型包括 "
|
||||||
"<literal>http:</literal>、<literal>ftp:</literal>、<literal>file:</literal>,"
|
"<literal>http:</literal>、<literal>ftp:</literal>、<literal>file:</literal>,"
|
||||||
|
@ -733,31 +733,31 @@ msgstr "輸出指令到檔案"
|
||||||
|
|
||||||
#: ../base.xml:532(para)
|
#: ../base.xml:532(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"You can use <application>xedit</application> to pipe the output of a command "
|
"You can use <application>xed</application> to pipe the output of a command "
|
||||||
"to a text file. For example, to pipe the output of an <command>ls </command> "
|
"to a text file. For example, to pipe the output of an <command>ls </command> "
|
||||||
"command to a text file, type <command>ls | xedit</command>, then press "
|
"command to a text file, type <command>ls | xed</command>, then press "
|
||||||
"<keycap>Return</keycap>."
|
"<keycap>Return</keycap>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"您可以使用 <application>xedit</application>,將指令的輸出傳送到 文字檔案。例"
|
"您可以使用 <application>xed</application>,將指令的輸出傳送到 文字檔案。例"
|
||||||
"如,如果要將 <command>ls </command> 指令的輸出傳送到文字檔案,請鍵入 "
|
"如,如果要將 <command>ls </command> 指令的輸出傳送到文字檔案,請鍵入 "
|
||||||
"<command>ls | xedit</command>,然後按下 <keycap>Return</keycap> 鍵。"
|
"<command>ls | xed</command>,然後按下 <keycap>Return</keycap> 鍵。"
|
||||||
|
|
||||||
#: ../base.xml:536(para)
|
#: ../base.xml:536(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"The output of the <command>ls</command> command is displayed in a new text "
|
"The output of the <command>ls</command> command is displayed in a new text "
|
||||||
"file in the <application>xedit</application> window."
|
"file in the <application>xed</application> window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"<command>ls</command> 指令的輸出,會 在 <application>xedit</application> 視窗"
|
"<command>ls</command> 指令的輸出,會 在 <application>xed</application> 視窗"
|
||||||
"中以一個新的文字檔案顯示。"
|
"中以一個新的文字檔案顯示。"
|
||||||
|
|
||||||
#: ../base.xml:538(para)
|
#: ../base.xml:538(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Alternatively, you can use the Shell command plugin to pipe command output "
|
"Alternatively, you can use the Shell command plugin to pipe command output "
|
||||||
"to the current file. For information about how to use the Shell command "
|
"to the current file. For information about how to use the Shell command "
|
||||||
"plugin, see <xref linkend=\"xedit-shell-command-plugin\"/>."
|
"plugin, see <xref linkend=\"xed-shell-command-plugin\"/>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"或者,您可以使用 Shell 指令增效模組,將指令輸出 傳送到目前的檔案中。如需如何"
|
"或者,您可以使用 Shell 指令增效模組,將指令輸出 傳送到目前的檔案中。如需如何"
|
||||||
"使用 Shell 指令增效模組的資訊,請參閱 <xref linkend=\"xedit-shell-command-"
|
"使用 Shell 指令增效模組的資訊,請參閱 <xref linkend=\"xed-shell-command-"
|
||||||
"plugin\"/>。"
|
"plugin\"/>。"
|
||||||
|
|
||||||
#: ../base.xml:543(title)
|
#: ../base.xml:543(title)
|
||||||
|
@ -823,9 +823,9 @@ msgstr "列印檔案"
|
||||||
|
|
||||||
#: ../base.xml:571(para)
|
#: ../base.xml:571(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"You can use <application>xedit</application> to perform the following print "
|
"You can use <application>xed</application> to perform the following print "
|
||||||
"operations:"
|
"operations:"
|
||||||
msgstr "您可以使用<application>xedit</application>,執行 下列列印作業:"
|
msgstr "您可以使用<application>xed</application>,執行 下列列印作業:"
|
||||||
|
|
||||||
#: ../base.xml:574(para)
|
#: ../base.xml:574(para)
|
||||||
msgid "Print a file to a printer."
|
msgid "Print a file to a printer."
|
||||||
|
@ -837,11 +837,11 @@ msgstr "將列印指令的輸出列印到檔案。"
|
||||||
|
|
||||||
#: ../base.xml:579(para)
|
#: ../base.xml:579(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"If you print to a file, <application>xedit</application> sends the output of "
|
"If you print to a file, <application>xed</application> sends the output of "
|
||||||
"the file to a pre-press format file. The most common pre-press formats are "
|
"the file to a pre-press format file. The most common pre-press formats are "
|
||||||
"PostScript and Portable Document Format (PDF)."
|
"PostScript and Portable Document Format (PDF)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果您是列印至檔案,<application>xedit</application> 會先將 檔案輸出傳送到某"
|
"如果您是列印至檔案,<application>xed</application> 會先將 檔案輸出傳送到某"
|
||||||
"個印前格式檔案。最常見的印前 格式為 PostScript 與 Portable Document Format "
|
"個印前格式檔案。最常見的印前 格式為 PostScript 與 Portable Document Format "
|
||||||
"(PDF)。"
|
"(PDF)。"
|
||||||
|
|
||||||
|
@ -1012,13 +1012,13 @@ msgstr "自訂工具列與狀態列"
|
||||||
msgid ""
|
msgid ""
|
||||||
"To display or hide the toolbar, choose <menuchoice><guimenu>View</"
|
"To display or hide the toolbar, choose <menuchoice><guimenu>View</"
|
||||||
"guimenu><guimenuitem>Toolbar</guimenuitem></menuchoice>. To customize how "
|
"guimenu><guimenuitem>Toolbar</guimenuitem></menuchoice>. To customize how "
|
||||||
"<application>xedit</application> displays the toolbar, choose "
|
"<application>xed</application> displays the toolbar, choose "
|
||||||
"<menuchoice><guimenu>View</guimenu><guisubmenu>Customize Toolbar</"
|
"<menuchoice><guimenu>View</guimenu><guisubmenu>Customize Toolbar</"
|
||||||
"guisubmenu></menuchoice>, then select one of the following menu items:"
|
"guisubmenu></menuchoice>, then select one of the following menu items:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要顯示或隱藏工具列,請選擇<menuchoice><guimenu>檢視</"
|
"如果要顯示或隱藏工具列,請選擇<menuchoice><guimenu>檢視</"
|
||||||
"guimenu><guimenuitem>工具列</guimenuitem></menuchoice>。如果要自訂 "
|
"guimenu><guimenuitem>工具列</guimenuitem></menuchoice>。如果要自訂 "
|
||||||
"<application>xedit</application> 顯示工具列的方式,請選擇"
|
"<application>xed</application> 顯示工具列的方式,請選擇"
|
||||||
"<menuchoice><guimenu>檢視</guimenu><guisubmenu>自訂工具列</guisubmenu></"
|
"<menuchoice><guimenu>檢視</guimenu><guisubmenu>自訂工具列</guisubmenu></"
|
||||||
"menuchoice>,然後選取下列任一項 功能表項目:"
|
"menuchoice>,然後選取下列任一項 功能表項目:"
|
||||||
|
|
||||||
|
@ -1058,13 +1058,13 @@ msgstr "顯示圖示,以及顯示一些圖示旁的文字。"
|
||||||
msgid ""
|
msgid ""
|
||||||
"To display or hide the statusbar, choose <menuchoice><guimenu>View</"
|
"To display or hide the statusbar, choose <menuchoice><guimenu>View</"
|
||||||
"guimenu><guimenuitem>Statusbar</guimenuitem></menuchoice>. To customize how "
|
"guimenu><guimenuitem>Statusbar</guimenuitem></menuchoice>. To customize how "
|
||||||
"<application>xedit</application> displays the statusbar, choose "
|
"<application>xed</application> displays the statusbar, choose "
|
||||||
"<menuchoice><guimenu>View</guimenu><guisubmenu>Customize Statusbar</"
|
"<menuchoice><guimenu>View</guimenu><guisubmenu>Customize Statusbar</"
|
||||||
"guisubmenu></menuchoice>, then select one of the following menu items:"
|
"guisubmenu></menuchoice>, then select one of the following menu items:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要顯示或隱藏狀態列,請選擇<menuchoice><guimenu>檢視</"
|
"如果要顯示或隱藏狀態列,請選擇<menuchoice><guimenu>檢視</"
|
||||||
"guimenu><guimenuitem>狀態列</guimenuitem></menuchoice>。如果要自訂 "
|
"guimenu><guimenuitem>狀態列</guimenuitem></menuchoice>。如果要自訂 "
|
||||||
"<application>xedit</application> 顯示狀態列的方式,請選擇"
|
"<application>xed</application> 顯示狀態列的方式,請選擇"
|
||||||
"<menuchoice><guimenu>檢視</guimenu><guisubmenu>自訂狀態列</guisubmenu></"
|
"<menuchoice><guimenu>檢視</guimenu><guisubmenu>自訂狀態列</guisubmenu></"
|
||||||
"menuchoice>,然後選取下列任一項 功能表項目:"
|
"menuchoice>,然後選取下列任一項 功能表項目:"
|
||||||
|
|
||||||
|
@ -1103,12 +1103,12 @@ msgstr "偏好設定"
|
||||||
|
|
||||||
#: ../base.xml:737(para)
|
#: ../base.xml:737(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"To configure <application>xedit</application>, choose "
|
"To configure <application>xed</application>, choose "
|
||||||
"<menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></"
|
"<menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></"
|
||||||
"menuchoice>. The <guilabel>Preferences</guilabel> dialog contains the "
|
"menuchoice>. The <guilabel>Preferences</guilabel> dialog contains the "
|
||||||
"following categories:"
|
"following categories:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要配置 <application>xedit</application>,請選擇 <menuchoice><guimenu>編輯"
|
"如果要配置 <application>xed</application>,請選擇 <menuchoice><guimenu>編輯"
|
||||||
"</guimenu><guimenuitem>偏好設定</guimenuitem></menuchoice>。<guilabel>偏好設"
|
"</guimenu><guimenuitem>偏好設定</guimenuitem></menuchoice>。<guilabel>偏好設"
|
||||||
"定</guilabel>對話方塊含有下列 種類:"
|
"定</guilabel>對話方塊含有下列 種類:"
|
||||||
|
|
||||||
|
@ -1133,9 +1133,9 @@ msgstr "使用預設配色字型"
|
||||||
#: ../base.xml:763(para)
|
#: ../base.xml:763(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Select this option to use the default system font for the text in the "
|
"Select this option to use the default system font for the text in the "
|
||||||
"<application>xedit</application> text window."
|
"<application>xed</application> text window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"選取這個選項,在 <application>xedit</application> 文字視窗的文字中,會使用系"
|
"選取這個選項,在 <application>xed</application> 文字視窗的文字中,會使用系"
|
||||||
"統預設的字型。"
|
"統預設的字型。"
|
||||||
|
|
||||||
#: ../base.xml:766(guilabel)
|
#: ../base.xml:766(guilabel)
|
||||||
|
@ -1144,11 +1144,11 @@ msgstr "編輯器字型"
|
||||||
|
|
||||||
#: ../base.xml:768(para)
|
#: ../base.xml:768(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"This field displays the font that <application>xedit</application> uses to "
|
"This field displays the font that <application>xed</application> uses to "
|
||||||
"display text. Click on the button to specify the font type, style, and size "
|
"display text. Click on the button to specify the font type, style, and size "
|
||||||
"to use for text."
|
"to use for text."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"這個欄位會顯示 <application>xedit</application> 用來顯示文字的字型。 按一下按"
|
"這個欄位會顯示 <application>xed</application> 用來顯示文字的字型。 按一下按"
|
||||||
"鈕,指定文字所使用的字體類型、樣式與大小。"
|
"鈕,指定文字所使用的字體類型、樣式與大小。"
|
||||||
|
|
||||||
#: ../base.xml:772(guilabel)
|
#: ../base.xml:772(guilabel)
|
||||||
|
@ -1158,9 +1158,9 @@ msgstr "使用預設的配色色彩"
|
||||||
#: ../base.xml:774(para)
|
#: ../base.xml:774(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Select this option to use the default theme colors in the "
|
"Select this option to use the default theme colors in the "
|
||||||
"<application>xedit</application> text window."
|
"<application>xed</application> text window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"選取這個選項,會在 <application>xedit</application> 文字視窗中,使用預設的配"
|
"選取這個選項,會在 <application>xed</application> 文字視窗中,使用預設的配"
|
||||||
"色色彩。"
|
"色色彩。"
|
||||||
|
|
||||||
#: ../base.xml:777(guilabel)
|
#: ../base.xml:777(guilabel)
|
||||||
|
@ -1171,10 +1171,10 @@ msgstr "文字色彩"
|
||||||
msgid ""
|
msgid ""
|
||||||
"Click on the <guibutton>Text color</guibutton> button to display the color "
|
"Click on the <guibutton>Text color</guibutton> button to display the color "
|
||||||
"selector dialog. Select a color to use to display text in the "
|
"selector dialog. Select a color to use to display text in the "
|
||||||
"<application>xedit</application> text window."
|
"<application>xed</application> text window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"按一下<guibutton>文字色彩</guibutton>按鈕, 顯示色彩選擇元件對話方塊。請選取"
|
"按一下<guibutton>文字色彩</guibutton>按鈕, 顯示色彩選擇元件對話方塊。請選取"
|
||||||
"顏色,程式會在 <application>xedit</application> 文字視窗中,以該顏色顯示文"
|
"顏色,程式會在 <application>xed</application> 文字視窗中,以該顏色顯示文"
|
||||||
"字。"
|
"字。"
|
||||||
|
|
||||||
#: ../base.xml:784(guilabel)
|
#: ../base.xml:784(guilabel)
|
||||||
|
@ -1184,11 +1184,11 @@ msgstr "背景色彩"
|
||||||
#: ../base.xml:786(para)
|
#: ../base.xml:786(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Click on the <guibutton>Background color</guibutton> button to display the "
|
"Click on the <guibutton>Background color</guibutton> button to display the "
|
||||||
"color selector dialog. Select a background color for the <application>xedit</"
|
"color selector dialog. Select a background color for the <application>xed</"
|
||||||
"application> text window."
|
"application> text window."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"按一下<guibutton>背景色彩</guibutton>按鈕, 顯示色彩選擇元件對話方塊。請為 "
|
"按一下<guibutton>背景色彩</guibutton>按鈕, 顯示色彩選擇元件對話方塊。請為 "
|
||||||
"<application>xedit</application> 文字視窗選取背景色彩。"
|
"<application>xed</application> 文字視窗選取背景色彩。"
|
||||||
|
|
||||||
#: ../base.xml:791(guilabel)
|
#: ../base.xml:791(guilabel)
|
||||||
msgid "Selected text color"
|
msgid "Selected text color"
|
||||||
|
@ -1226,9 +1226,9 @@ msgstr "tab 字元的寬度為"
|
||||||
#: ../base.xml:813(para)
|
#: ../base.xml:813(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Use this spin box to specify the width of the space that <application> "
|
"Use this spin box to specify the width of the space that <application> "
|
||||||
"xedit</application> inserts when you press the <keycap>Tab</keycap> key."
|
"xed</application> inserts when you press the <keycap>Tab</keycap> key."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"請使用這個旋轉方塊,指定 <application> xedit</application> 在您按下 "
|
"請使用這個旋轉方塊,指定 <application> xed</application> 在您按下 "
|
||||||
"<keycap>Tab</keycap> 鍵時會加入的空格寬度。"
|
"<keycap>Tab</keycap> 鍵時會加入的空格寬度。"
|
||||||
|
|
||||||
#: ../base.xml:818(guilabel)
|
#: ../base.xml:818(guilabel)
|
||||||
|
@ -1237,11 +1237,11 @@ msgstr "以插入空格取代跳格"
|
||||||
|
|
||||||
#: ../base.xml:820(para)
|
#: ../base.xml:820(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Select this option to specify that <application> xedit</application> inserts "
|
"Select this option to specify that <application> xed</application> inserts "
|
||||||
"spaces instead of a tab character when you press the <keycap>Tab</keycap> "
|
"spaces instead of a tab character when you press the <keycap>Tab</keycap> "
|
||||||
"key."
|
"key."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"選取這個選項可以指定 <application> xedit</application> 在您按下 <keycap>Tab</"
|
"選取這個選項可以指定 <application> xed</application> 在您按下 <keycap>Tab</"
|
||||||
"keycap> 鍵時,以插入空格取 代跳格字元。"
|
"keycap> 鍵時,以插入空格取 代跳格字元。"
|
||||||
|
|
||||||
#: ../base.xml:830(title)
|
#: ../base.xml:830(title)
|
||||||
|
@ -1293,8 +1293,8 @@ msgstr "顯示行號"
|
||||||
#: ../base.xml:861(para)
|
#: ../base.xml:861(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Select this option to display line numbers on the left side of the "
|
"Select this option to display line numbers on the left side of the "
|
||||||
"<application>xedit</application> window."
|
"<application>xed</application> window."
|
||||||
msgstr "選取這個選項,會在 <application>xedit</application> 視窗左側顯示行號。"
|
msgstr "選取這個選項,會在 <application>xed</application> 視窗左側顯示行號。"
|
||||||
|
|
||||||
#: ../base.xml:869(title)
|
#: ../base.xml:869(title)
|
||||||
msgid "Open"
|
msgid "Open"
|
||||||
|
@ -1320,18 +1320,18 @@ msgstr ""
|
||||||
|
|
||||||
#: ../base.xml:877(para)
|
#: ../base.xml:877(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"By default, <application>xedit</application> uses UTF-8 encoding to try to "
|
"By default, <application>xed</application> uses UTF-8 encoding to try to "
|
||||||
"open a file. UTF-8 encoding can be used for multilingual texts, as UTF-8 "
|
"open a file. UTF-8 encoding can be used for multilingual texts, as UTF-8 "
|
||||||
"covers almost all known alphabets and character sets. If the file is not a "
|
"covers almost all known alphabets and character sets. If the file is not a "
|
||||||
"valid UTF-8 file, <application>xedit</application> tries to open the file by "
|
"valid UTF-8 file, <application>xed</application> tries to open the file by "
|
||||||
"using the encoding for the current locale. If this also fails, "
|
"using the encoding for the current locale. If this also fails, "
|
||||||
"<application>xedit</application> tries to use an encoding from the Supported "
|
"<application>xed</application> tries to use an encoding from the Supported "
|
||||||
"encodings list, starting at the top of the list."
|
"encodings list, starting at the top of the list."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"依預設值,<application>xedit</application> 是使用 UTF-8 編碼來開啟檔案。UTF-"
|
"依預設值,<application>xed</application> 是使用 UTF-8 編碼來開啟檔案。UTF-"
|
||||||
"8 編碼可用於內含多種語言的文件,因為 UTF-8 涵蓋了大多數已知的字母與字元集。如"
|
"8 編碼可用於內含多種語言的文件,因為 UTF-8 涵蓋了大多數已知的字母與字元集。如"
|
||||||
"果檔案並不是有效的 UTF-8 檔,<application>xedit</application> 會試著以目前語"
|
"果檔案並不是有效的 UTF-8 檔,<application>xed</application> 會試著以目前語"
|
||||||
"系的編碼來開啟檔案。如果這樣依然有問題,<application>xedit</application> 會從"
|
"系的編碼來開啟檔案。如果這樣依然有問題,<application>xed</application> 會從"
|
||||||
"支援的編碼清單中第一個編碼方式開始,一個個地來試著開啟檔案。"
|
"支援的編碼清單中第一個編碼方式開始,一個個地來試著開啟檔案。"
|
||||||
|
|
||||||
#: ../base.xml:880(para)
|
#: ../base.xml:880(para)
|
||||||
|
@ -1566,10 +1566,10 @@ msgstr "按一下這個按鈕,可以選取列印行號時的字型。"
|
||||||
#: ../base.xml:1043(para)
|
#: ../base.xml:1043(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"To reset the fonts to the default fonts for printing a file from "
|
"To reset the fonts to the default fonts for printing a file from "
|
||||||
"<application>xedit</application> click on the <guibutton>Restore Default "
|
"<application>xed</application> click on the <guibutton>Restore Default "
|
||||||
"Fonts</guibutton> button."
|
"Fonts</guibutton> button."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要將 <application>xedit</application> 列印檔案時的字型,重設為預設值, 請"
|
"如果要將 <application>xed</application> 列印檔案時的字型,重設為預設值, 請"
|
||||||
"按一下<guibutton>還原預設字型</guibutton>按鈕。"
|
"按一下<guibutton>還原預設字型</guibutton>按鈕。"
|
||||||
|
|
||||||
#: ../base.xml:1050(title)
|
#: ../base.xml:1050(title)
|
||||||
|
@ -1579,11 +1579,11 @@ msgstr "增效模組"
|
||||||
#: ../base.xml:1051(para)
|
#: ../base.xml:1051(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"For information about how to use the <guilabel>Plugins</guilabel> category "
|
"For information about how to use the <guilabel>Plugins</guilabel> category "
|
||||||
"of the <guilabel>Preferences</guilabel> dialog, see <xref linkend=\"xedit-"
|
"of the <guilabel>Preferences</guilabel> dialog, see <xref linkend=\"xed-"
|
||||||
"install-plugins\"/>."
|
"install-plugins\"/>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"關於如何使用<guilabel>偏好設定</guilabel>對話方塊的<guilabel>增效模組</"
|
"關於如何使用<guilabel>偏好設定</guilabel>對話方塊的<guilabel>增效模組</"
|
||||||
"guilabel>類別,進一步資訊請參閱 <xref linkend=\"xedit-install-plugins\"/>。"
|
"guilabel>類別,進一步資訊請參閱 <xref linkend=\"xed-install-plugins\"/>。"
|
||||||
|
|
||||||
#: ../base.xml:1058(title)
|
#: ../base.xml:1058(title)
|
||||||
msgid "Working with Plugins"
|
msgid "Working with Plugins"
|
||||||
|
@ -1592,15 +1592,15 @@ msgstr "使用增效模組"
|
||||||
#: ../base.xml:1059(para)
|
#: ../base.xml:1059(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"A plugin is a supplementary program that enhances the functionality of an "
|
"A plugin is a supplementary program that enhances the functionality of an "
|
||||||
"application. The <application>xedit</application> plugins enable you to "
|
"application. The <application>xed</application> plugins enable you to "
|
||||||
"perform a variety of functions related to text editing from within the "
|
"perform a variety of functions related to text editing from within the "
|
||||||
"<application> xedit</application> window. The following table lists the "
|
"<application> xed</application> window. The following table lists the "
|
||||||
"<application> xedit</application> plugins."
|
"<application> xed</application> plugins."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"增效模組是一種以可增強應用程式功能的 補強性程式。您可以使用 "
|
"增效模組是一種以可增強應用程式功能的 補強性程式。您可以使用 "
|
||||||
"<application>xedit</application> 增效模組,在 <application> xedit</"
|
"<application>xed</application> 增效模組,在 <application> xed</"
|
||||||
"application> 視窗內,執行多種文字編輯功能。下表所列的,便是 <application> "
|
"application> 視窗內,執行多種文字編輯功能。下表所列的,便是 <application> "
|
||||||
"xedit</application> 的增效模組。"
|
"xed</application> 的增效模組。"
|
||||||
|
|
||||||
#: ../base.xml:1070(para) ../base.xml:1150(para)
|
#: ../base.xml:1070(para) ../base.xml:1150(para)
|
||||||
msgid "Plugin Name"
|
msgid "Plugin Name"
|
||||||
|
@ -1707,37 +1707,37 @@ msgid "Inserts the username of the current user into the file."
|
||||||
msgstr "將目前的使用者名稱加入到檔案中。"
|
msgstr "將目前的使用者名稱加入到檔案中。"
|
||||||
|
|
||||||
#: ../base.xml:1123(title)
|
#: ../base.xml:1123(title)
|
||||||
msgid "To Load xedit Plugins"
|
msgid "To Load xed Plugins"
|
||||||
msgstr "載入 xedit 增效模組"
|
msgstr "載入 xed 增效模組"
|
||||||
|
|
||||||
#: ../base.xml:1124(para)
|
#: ../base.xml:1124(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"To load <application>xedit</application> plugins, choose "
|
"To load <application>xed</application> plugins, choose "
|
||||||
"<menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></"
|
"<menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></"
|
||||||
"menuchoice>. Within the <guilabel>Plugins</guilabel> category, click on the "
|
"menuchoice>. Within the <guilabel>Plugins</guilabel> category, click on the "
|
||||||
"<guilabel>Manager</guilabel> subcategory. The <guilabel>Manager</guilabel> "
|
"<guilabel>Manager</guilabel> subcategory. The <guilabel>Manager</guilabel> "
|
||||||
"subcategory displays the following information:"
|
"subcategory displays the following information:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要載入 <application>xedit</application>增效模組,請選擇"
|
"如果要載入 <application>xed</application>增效模組,請選擇"
|
||||||
"<menuchoice><guimenu>編輯</guimenu><guimenuitem>偏好設定</guimenuitem></"
|
"<menuchoice><guimenu>編輯</guimenu><guimenuitem>偏好設定</guimenuitem></"
|
||||||
"menuchoice>。在<guilabel>增效模組</guilabel>類別中,按一下<guilabel>管理員</"
|
"menuchoice>。在<guilabel>增效模組</guilabel>類別中,按一下<guilabel>管理員</"
|
||||||
"guilabel>子類別。 <guilabel>管理員</guilabel>子類別會顯示下列資訊:"
|
"guilabel>子類別。 <guilabel>管理員</guilabel>子類別會顯示下列資訊:"
|
||||||
|
|
||||||
#: ../base.xml:1131(para)
|
#: ../base.xml:1131(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"A list of the plugins that you can use with <application>xedit</application>."
|
"A list of the plugins that you can use with <application>xed</application>."
|
||||||
msgstr "可以與 <application>xedit</application> 一同使用之增效模組的清單。"
|
msgstr "可以與 <application>xed</application> 一同使用之增效模組的清單。"
|
||||||
|
|
||||||
#: ../base.xml:1133(para)
|
#: ../base.xml:1133(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"A <guibutton>Configure plugin</guibutton> button. You can use this button to "
|
"A <guibutton>Configure plugin</guibutton> button. You can use this button to "
|
||||||
"open a configuration dialog for the plugins that you can configure. For "
|
"open a configuration dialog for the plugins that you can configure. For "
|
||||||
"example, see <xref linkend=\"xedit-compare-files-configure\"/> and <xref "
|
"example, see <xref linkend=\"xed-compare-files-configure\"/> and <xref "
|
||||||
"linkend=\"xedit-date-time-configure\"/>."
|
"linkend=\"xed-date-time-configure\"/>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"<guibutton>配置增效模組</guibutton> 按鈕。您可以使用這個按鈕,為您可以配置的"
|
"<guibutton>配置增效模組</guibutton> 按鈕。您可以使用這個按鈕,為您可以配置的"
|
||||||
"增效模組,開啟配置對話方塊。例如,請參閱 <xref linkend=\"xedit-compare-files-"
|
"增效模組,開啟配置對話方塊。例如,請參閱 <xref linkend=\"xed-compare-files-"
|
||||||
"configure\"/> 以及 <xref linkend=\"xedit-date-time-configure\"/>。"
|
"configure\"/> 以及 <xref linkend=\"xed-date-time-configure\"/>。"
|
||||||
|
|
||||||
#: ../base.xml:1136(para)
|
#: ../base.xml:1136(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -1753,12 +1753,12 @@ msgstr "增效模組作者及模組名稱之詳細資訊。"
|
||||||
#: ../base.xml:1142(para)
|
#: ../base.xml:1142(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"To load a plugin, select the check box next to the name of the plugin. The "
|
"To load a plugin, select the check box next to the name of the plugin. The "
|
||||||
"<application>xedit</application> application adds the plugin to the "
|
"<application>xed</application> application adds the plugin to the "
|
||||||
"appropriate <application>xedit</application> menu, as described in the "
|
"appropriate <application>xed</application> menu, as described in the "
|
||||||
"following table."
|
"following table."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要載入增效模組,請選取增效模組名稱旁的核取方塊。<application>xedit</"
|
"如果要載入增效模組,請選取增效模組名稱旁的核取方塊。<application>xed</"
|
||||||
"application> 應用程式 會如下表所述,將外掛程式加入適當的 <application>xedit</"
|
"application> 應用程式 會如下表所述,將外掛程式加入適當的 <application>xed</"
|
||||||
"application> 功能表中。"
|
"application> 功能表中。"
|
||||||
|
|
||||||
#: ../base.xml:1151(para)
|
#: ../base.xml:1151(para)
|
||||||
|
@ -1826,23 +1826,23 @@ msgstr ""
|
||||||
"guibutton>。"
|
"guibutton>。"
|
||||||
|
|
||||||
#: ../base.xml:1216(title)
|
#: ../base.xml:1216(title)
|
||||||
msgid "To Remove xedit Plugins"
|
msgid "To Remove xed Plugins"
|
||||||
msgstr "移除 xedit 增效模組"
|
msgstr "移除 xed 增效模組"
|
||||||
|
|
||||||
#: ../base.xml:1217(para)
|
#: ../base.xml:1217(para)
|
||||||
msgid "A plugin remains loaded when you quit <application>xedit</application>."
|
msgid "A plugin remains loaded when you quit <application>xed</application>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"即使您離開了 <application>xedit</application>,增效模組仍然是載入應用程式中。"
|
"即使您離開了 <application>xed</application>,增效模組仍然是載入應用程式中。"
|
||||||
|
|
||||||
#: ../base.xml:1218(para)
|
#: ../base.xml:1218(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"To remove <application>xedit</application> plugins, choose "
|
"To remove <application>xed</application> plugins, choose "
|
||||||
"<menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></"
|
"<menuchoice><guimenu>Edit</guimenu><guimenuitem>Preferences</guimenuitem></"
|
||||||
"menuchoice>. Within the <guilabel>Plugins</guilabel> category, click on the "
|
"menuchoice>. Within the <guilabel>Plugins</guilabel> category, click on the "
|
||||||
"<guilabel>Manager</guilabel> subcategory. To remove a plugin, deselect the "
|
"<guilabel>Manager</guilabel> subcategory. To remove a plugin, deselect the "
|
||||||
"check box next to the name of the plugin."
|
"check box next to the name of the plugin."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要移除 <application>xedit</application> 增效模組,請選擇"
|
"如果要移除 <application>xed</application> 增效模組,請選擇"
|
||||||
"<menuchoice><guimenu>編輯</guimenu><guimenuitem>偏好設定</guimenuitem></"
|
"<menuchoice><guimenu>編輯</guimenu><guimenuitem>偏好設定</guimenuitem></"
|
||||||
"menuchoice>。在<guilabel>增效模組</guilabel>類別中,按一下<guilabel>管理員</"
|
"menuchoice>。在<guilabel>增效模組</guilabel>類別中,按一下<guilabel>管理員</"
|
||||||
"guilabel>子類別。 如果要移除增效模組,請取消選取增效模組名稱旁的核取方塊。"
|
"guilabel>子類別。 如果要移除增效模組,請取消選取增效模組名稱旁的核取方塊。"
|
||||||
|
@ -1912,22 +1912,22 @@ msgstr ""
|
||||||
|
|
||||||
#: ../base.xml:1258(para)
|
#: ../base.xml:1258(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Set the environment variable CVSEDITOR to <application>xedit</application>. "
|
"Set the environment variable CVSEDITOR to <application>xed</application>. "
|
||||||
"For example, if you are using the <command>bash</command> shell, run the "
|
"For example, if you are using the <command>bash</command> shell, run the "
|
||||||
"following command at the operating system prompt: <screen> <userinput>export "
|
"following command at the operating system prompt: <screen> <userinput>export "
|
||||||
"CVSEDITOR=<application>xedit</application> </userinput> </screen>"
|
"CVSEDITOR=<application>xed</application> </userinput> </screen>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"將環境變數 CVSEDITOR 設為 <application>xedit</application>。 例如,如果您正在"
|
"將環境變數 CVSEDITOR 設為 <application>xed</application>。 例如,如果您正在"
|
||||||
"使用 <command>bash</command> shell,請在作業系統 提示的時候,輸入下面的指"
|
"使用 <command>bash</command> shell,請在作業系統 提示的時候,輸入下面的指"
|
||||||
"令: <screen> <userinput>export CVSEDITOR=<application>xedit</application> </"
|
"令: <screen> <userinput>export CVSEDITOR=<application>xed</application> </"
|
||||||
"userinput> </screen>"
|
"userinput> </screen>"
|
||||||
|
|
||||||
#: ../base.xml:1264(para)
|
#: ../base.xml:1264(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Commit a file to CVS in the usual way. A <application>xedit</application> "
|
"Commit a file to CVS in the usual way. A <application>xed</application> "
|
||||||
"window opens, to enable you to enter the commit message."
|
"window opens, to enable you to enter the commit message."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"以平常的方式將檔案確定至 CVS。此時會開啟 <application>xedit</application> 視"
|
"以平常的方式將檔案確定至 CVS。此時會開啟 <application>xed</application> 視"
|
||||||
"窗,讓您輸入 commit 訊息。"
|
"窗,讓您輸入 commit 訊息。"
|
||||||
|
|
||||||
#: ../base.xml:1267(para)
|
#: ../base.xml:1267(para)
|
||||||
|
@ -1938,35 +1938,35 @@ msgstr "載入 CVS ChangeLog 增效模組。"
|
||||||
msgid ""
|
msgid ""
|
||||||
"Choose <menuchoice><guimenu>File</guimenu><guimenuitem>Open CVS ChangeLogs</"
|
"Choose <menuchoice><guimenu>File</guimenu><guimenuitem>Open CVS ChangeLogs</"
|
||||||
"guimenuitem></menuchoice> to open all of the ChangeLog files referenced in "
|
"guimenuitem></menuchoice> to open all of the ChangeLog files referenced in "
|
||||||
"the commit message. <application>xedit</application> opens each ChangeLog "
|
"the commit message. <application>xed</application> opens each ChangeLog "
|
||||||
"file in a new tab."
|
"file in a new tab."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"請選擇 <menuchoice><guimenu>檔案</guimenu><guimenuitem>開啟 CVS ChangeLogs</"
|
"請選擇 <menuchoice><guimenu>檔案</guimenu><guimenuitem>開啟 CVS ChangeLogs</"
|
||||||
"guimenuitem></menuchoice>,開啟所有 commit 訊息中所出現的 ChangeLog 檔案。"
|
"guimenuitem></menuchoice>,開啟所有 commit 訊息中所出現的 ChangeLog 檔案。"
|
||||||
"<application>xedit</application> 會為每個 變更Log 檔案開啟一個新標籤。"
|
"<application>xed</application> 會為每個 變更Log 檔案開啟一個新標籤。"
|
||||||
|
|
||||||
#: ../base.xml:1272(para)
|
#: ../base.xml:1272(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Copy the ChangeLog entries that you want to add to the commit message from "
|
"Copy the ChangeLog entries that you want to add to the commit message from "
|
||||||
"the <application>xedit</application> ChangeLog files."
|
"the <application>xed</application> ChangeLog files."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"<application>xedit</application> ChangeLog 檔案中,複製您想加入 commit 訊息"
|
"<application>xed</application> ChangeLog 檔案中,複製您想加入 commit 訊息"
|
||||||
"的 ChangeLog 記錄。"
|
"的 ChangeLog 記錄。"
|
||||||
|
|
||||||
#: ../base.xml:1275(para)
|
#: ../base.xml:1275(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Insert the copied ChangeLog entries in the <application>xedit</application> "
|
"Insert the copied ChangeLog entries in the <application>xed</application> "
|
||||||
"commit message tab."
|
"commit message tab."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"將 ChangeLog 記錄加入 <application>xedit</application> 的 commit 訊息標籤內。"
|
"將 ChangeLog 記錄加入 <application>xed</application> 的 commit 訊息標籤內。"
|
||||||
|
|
||||||
#: ../base.xml:1278(para)
|
#: ../base.xml:1278(para)
|
||||||
msgid "Save your changes to the commit message, then close all files."
|
msgid "Save your changes to the commit message, then close all files."
|
||||||
msgstr "儲存您對 commit 訊息所做的變更,然後關閉所有的檔案。"
|
msgstr "儲存您對 commit 訊息所做的變更,然後關閉所有的檔案。"
|
||||||
|
|
||||||
#: ../base.xml:1281(para)
|
#: ../base.xml:1281(para)
|
||||||
msgid "Quit <application>xedit</application>."
|
msgid "Quit <application>xed</application>."
|
||||||
msgstr "結束 <application>xedit</application>。"
|
msgstr "結束 <application>xed</application>。"
|
||||||
|
|
||||||
#: ../base.xml:1288(title)
|
#: ../base.xml:1288(title)
|
||||||
msgid "Compare Files Plugin"
|
msgid "Compare Files Plugin"
|
||||||
|
@ -1993,13 +1993,13 @@ msgid ""
|
||||||
"guimenuitem></menuchoice>. When you choose this option for the first time, "
|
"guimenuitem></menuchoice>. When you choose this option for the first time, "
|
||||||
"you are prompted to confirm the location of the <command>diff</command> "
|
"you are prompted to confirm the location of the <command>diff</command> "
|
||||||
"command. You are not prompted for this location again. See <xref linkend="
|
"command. You are not prompted for this location again. See <xref linkend="
|
||||||
"\"xedit-compare-files-configure\"/> for information about how to change this "
|
"\"xed-compare-files-configure\"/> for information about how to change this "
|
||||||
"location later."
|
"location later."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"請選擇 <menuchoice><guimenu>工具</guimenu><guimenuitem>比較檔案</"
|
"請選擇 <menuchoice><guimenu>工具</guimenu><guimenuitem>比較檔案</"
|
||||||
"guimenuitem></menuchoice>。 當您是第一次選擇這個選項,系統會提示您,請您確認 "
|
"guimenuitem></menuchoice>。 當您是第一次選擇這個選項,系統會提示您,請您確認 "
|
||||||
"<command>diff</command> 指令的位置。以後則不會再提示您確認位置。若需如何在日"
|
"<command>diff</command> 指令的位置。以後則不會再提示您確認位置。若需如何在日"
|
||||||
"後變更這個位置的詳細資訊,請參閱 <xref linkend=\"xedit-compare-files-"
|
"後變更這個位置的詳細資訊,請參閱 <xref linkend=\"xed-compare-files-"
|
||||||
"configure\"/>。"
|
"configure\"/>。"
|
||||||
|
|
||||||
#: ../base.xml:1299(para)
|
#: ../base.xml:1299(para)
|
||||||
|
@ -2153,12 +2153,12 @@ msgstr "目前文件的位元組數。"
|
||||||
|
|
||||||
#: ../base.xml:1376(para)
|
#: ../base.xml:1376(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"You can continue to update the <application>xedit</application> file while "
|
"You can continue to update the <application>xed</application> file while "
|
||||||
"the <guilabel>Document Statistics</guilabel> dialog is open. To refresh the "
|
"the <guilabel>Document Statistics</guilabel> dialog is open. To refresh the "
|
||||||
"contents of the <guilabel>Document Statistics</guilabel> dialog, click on "
|
"contents of the <guilabel>Document Statistics</guilabel> dialog, click on "
|
||||||
"the <guibutton>Update</guibutton> button."
|
"the <guibutton>Update</guibutton> button."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"您可以不斷地更新<application>xedit</application> 檔案,而無須關閉<guilabel>文"
|
"您可以不斷地更新<application>xed</application> 檔案,而無須關閉<guilabel>文"
|
||||||
"件統計資料</guilabel>對話方塊。要重新整理<guilabel>文件統計資料</guilabel>對"
|
"件統計資料</guilabel>對話方塊。要重新整理<guilabel>文件統計資料</guilabel>對"
|
||||||
"話方塊的內容,請按一下<guibutton>更新</guibutton>按鈕。"
|
"話方塊的內容,請按一下<guibutton>更新</guibutton>按鈕。"
|
||||||
|
|
||||||
|
@ -2239,36 +2239,36 @@ msgstr ""
|
||||||
msgid ""
|
msgid ""
|
||||||
"If you have not configured the Insert Date/Time plugin to automatically "
|
"If you have not configured the Insert Date/Time plugin to automatically "
|
||||||
"insert the date/time without prompting you for the format, "
|
"insert the date/time without prompting you for the format, "
|
||||||
"<application>xedit</application> displays the <guilabel>Insert Date and "
|
"<application>xed</application> displays the <guilabel>Insert Date and "
|
||||||
"Time</guilabel> dialog. Select the appropriate date/time format from the "
|
"Time</guilabel> dialog. Select the appropriate date/time format from the "
|
||||||
"list. Click on the <guibutton>Insert</guibutton> button to close the "
|
"list. Click on the <guibutton>Insert</guibutton> button to close the "
|
||||||
"<guilabel>Insert Date and Time</guilabel> dialog; <application>xedit</"
|
"<guilabel>Insert Date and Time</guilabel> dialog; <application>xed</"
|
||||||
"application> inserts the date/time at the cursor position in the current "
|
"application> inserts the date/time at the cursor position in the current "
|
||||||
"file."
|
"file."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果您尚未將加入日期/時間增效模組配置成不需提示即自動加入日期/時間,"
|
"如果您尚未將加入日期/時間增效模組配置成不需提示即自動加入日期/時間,"
|
||||||
"<application>xedit</application> 會顯示<guilabel>加入日期和時間</guilabel>對"
|
"<application>xed</application> 會顯示<guilabel>加入日期和時間</guilabel>對"
|
||||||
"話方塊。從清單中選取適當的日期/時間格式。按一下<guibutton>插入</guibutton>按"
|
"話方塊。從清單中選取適當的日期/時間格式。按一下<guibutton>插入</guibutton>按"
|
||||||
"鈕,關閉<guilabel>加入日期和時間</guilabel>對話方塊;<application>xedit</"
|
"鈕,關閉<guilabel>加入日期和時間</guilabel>對話方塊;<application>xed</"
|
||||||
"application> 會在目前檔案的游標位置上插入日期/時間。"
|
"application> 會在目前檔案的游標位置上插入日期/時間。"
|
||||||
|
|
||||||
#: ../base.xml:1416(para)
|
#: ../base.xml:1416(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"If you have configured <application>xedit</application> to use one "
|
"If you have configured <application>xed</application> to use one "
|
||||||
"particular date/time format, the <guilabel>Insert Date and Time</guilabel> "
|
"particular date/time format, the <guilabel>Insert Date and Time</guilabel> "
|
||||||
"dialog is not displayed; the date/time is automatically entered at the "
|
"dialog is not displayed; the date/time is automatically entered at the "
|
||||||
"cursor position in the current file."
|
"cursor position in the current file."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果您已經將 <application>xedit</application> 配置成使用特定的日期/時間格式,"
|
"如果您已經將 <application>xed</application> 配置成使用特定的日期/時間格式,"
|
||||||
"則不會顯示<guilabel>加入日期和時間</guilabel>對話方塊;即會在目前檔案的游標位"
|
"則不會顯示<guilabel>加入日期和時間</guilabel>對話方塊;即會在目前檔案的游標位"
|
||||||
"置上插入日期/時間。"
|
"置上插入日期/時間。"
|
||||||
|
|
||||||
#: ../base.xml:1417(para)
|
#: ../base.xml:1417(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"See <xref linkend=\"xedit-date-time-configure\"/> for information about how "
|
"See <xref linkend=\"xed-date-time-configure\"/> for information about how "
|
||||||
"to configure the Insert Date/Time plugin."
|
"to configure the Insert Date/Time plugin."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"若需如何配置加入日期/時間增效模組的詳細資訊,請參閱 <xref linkend=\"xedit-"
|
"若需如何配置加入日期/時間增效模組的詳細資訊,請參閱 <xref linkend=\"xed-"
|
||||||
"date-time-configure\"/>。"
|
"date-time-configure\"/>。"
|
||||||
|
|
||||||
#: ../base.xml:1422(title)
|
#: ../base.xml:1422(title)
|
||||||
|
@ -2305,17 +2305,17 @@ msgstr ""
|
||||||
|
|
||||||
#: ../base.xml:1443(para)
|
#: ../base.xml:1443(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"To use the same <application>xedit</application>-provided date/time format "
|
"To use the same <application>xed</application>-provided date/time format "
|
||||||
"each time you insert the date/time, select the <guilabel>Use the selected "
|
"each time you insert the date/time, select the <guilabel>Use the selected "
|
||||||
"format</guilabel> option, then select the appropriate format from the list. "
|
"format</guilabel> option, then select the appropriate format from the list. "
|
||||||
"When you select this option, <application>xedit</application> does not "
|
"When you select this option, <application>xed</application> does not "
|
||||||
"prompt you for the date/time format when you choose "
|
"prompt you for the date/time format when you choose "
|
||||||
"<menuchoice><guimenu>Edit</guimenu><guimenuitem>Insert Date and Time</"
|
"<menuchoice><guimenu>Edit</guimenu><guimenuitem>Insert Date and Time</"
|
||||||
"guimenuitem></menuchoice>."
|
"guimenuitem></menuchoice>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"如果要在每次加入日期/時間時都使用 <application>xedit</application> 提供的日"
|
"如果要在每次加入日期/時間時都使用 <application>xed</application> 提供的日"
|
||||||
"期/時間格式,請選取<guilabel>使用選取的格式</guilabel>選項,然後從清單中選取"
|
"期/時間格式,請選取<guilabel>使用選取的格式</guilabel>選項,然後從清單中選取"
|
||||||
"適當的格式。當您選取這個選項後,<application>xedit</application> 並不會在您選"
|
"適當的格式。當您選取這個選項後,<application>xed</application> 並不會在您選"
|
||||||
"擇<menuchoice><guimenu>編輯</guimenu><guimenuitem>加入日期和時間</"
|
"擇<menuchoice><guimenu>編輯</guimenu><guimenuitem>加入日期和時間</"
|
||||||
"guimenuitem></menuchoice>時,提示您設定日期/時間的格式。"
|
"guimenuitem></menuchoice>時,提示您設定日期/時間的格式。"
|
||||||
|
|
||||||
|
@ -2326,11 +2326,11 @@ msgstr "Shell 指令增效模組"
|
||||||
#: ../base.xml:1463(para)
|
#: ../base.xml:1463(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"The Shell Command plugin enables you to capture the output from a shell "
|
"The Shell Command plugin enables you to capture the output from a shell "
|
||||||
"command in <application>xedit</application>, by displaying the text output "
|
"command in <application>xed</application>, by displaying the text output "
|
||||||
"of the shell command in the output window. To use the Shell command plugin, "
|
"of the shell command in the output window. To use the Shell command plugin, "
|
||||||
"perform the following steps:"
|
"perform the following steps:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Shell 指令增效模組可以從 <application>xedit</application> 的 shell 指令擷取輸"
|
"Shell 指令增效模組可以從 <application>xed</application> 的 shell 指令擷取輸"
|
||||||
"出,而將 shell 指令的文字輸出 顯示於輸出視窗中。如果要使用 Shell 指令增效模"
|
"出,而將 shell 指令的文字輸出 顯示於輸出視窗中。如果要使用 Shell 指令增效模"
|
||||||
"組,請執行 下列的步驟:"
|
"組,請執行 下列的步驟:"
|
||||||
|
|
||||||
|
@ -2374,11 +2374,11 @@ msgstr "%n"
|
||||||
#: ../base.xml:1485(para)
|
#: ../base.xml:1485(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
"Use these special characters to specify the filename of the current active "
|
"Use these special characters to specify the filename of the current active "
|
||||||
"document, without the path. In this case, <application>xedit</application> "
|
"document, without the path. In this case, <application>xed</application> "
|
||||||
"looks for the file in the Working directory."
|
"looks for the file in the Working directory."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"使用此類特殊字元,指定目前使用中的檔案名稱,不包括路徑。此時,"
|
"使用此類特殊字元,指定目前使用中的檔案名稱,不包括路徑。此時,"
|
||||||
"<application>xedit</application> 會在工作目錄中找尋檔案。"
|
"<application>xed</application> 會在工作目錄中找尋檔案。"
|
||||||
|
|
||||||
#: ../base.xml:1489(para)
|
#: ../base.xml:1489(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -2393,11 +2393,11 @@ msgstr ""
|
||||||
msgid ""
|
msgid ""
|
||||||
"Select the <guilabel>Show results in Output Window</guilabel> option to "
|
"Select the <guilabel>Show results in Output Window</guilabel> option to "
|
||||||
"display the results of the command in the output window. If you do not "
|
"display the results of the command in the output window. If you do not "
|
||||||
"select this option, <application>xedit</application> discards the results of "
|
"select this option, <application>xed</application> discards the results of "
|
||||||
"the command."
|
"the command."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"選取<guilabel>在輸出視窗顯示結果</guilabel>選項,在輸出視窗顯示指令的執行結"
|
"選取<guilabel>在輸出視窗顯示結果</guilabel>選項,在輸出視窗顯示指令的執行結"
|
||||||
"果。如果沒有選取這個選項,<application>xedit</application> 會放棄指令結果。"
|
"果。如果沒有選取這個選項,<application>xed</application> 會放棄指令結果。"
|
||||||
|
|
||||||
#: ../base.xml:1496(para)
|
#: ../base.xml:1496(para)
|
||||||
msgid ""
|
msgid ""
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
icondir = $(datadir)/xedit/icons
|
icondir = $(datadir)/xed/icons
|
||||||
icon_DATA = xedit-plugin.png
|
icon_DATA = xed-plugin.png
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(icon_DATA) \
|
$(icon_DATA) \
|
||||||
xedit.ico
|
xed.ico
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.4 KiB |
|
@ -1,24 +1,24 @@
|
||||||
# C plugin loader
|
# C plugin loader
|
||||||
|
|
||||||
loaderdir = $(libdir)/xedit/plugin-loaders
|
loaderdir = $(libdir)/xed/plugin-loaders
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
-I$(top_srcdir) \
|
-I$(top_srcdir) \
|
||||||
$(XEDIT_CFLAGS) \
|
$(XED_CFLAGS) \
|
||||||
$(WARN_CFLAGS) \
|
$(WARN_CFLAGS) \
|
||||||
$(DISABLE_DEPRECATED_CFLAGS) \
|
$(DISABLE_DEPRECATED_CFLAGS) \
|
||||||
-DXEDIT_LOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\"
|
-DXED_LOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\"
|
||||||
|
|
||||||
loader_LTLIBRARIES = libcloader.la
|
loader_LTLIBRARIES = libcloader.la
|
||||||
|
|
||||||
NOINST_H_FILES = \
|
NOINST_H_FILES = \
|
||||||
xedit-plugin-loader-c.h
|
xed-plugin-loader-c.h
|
||||||
|
|
||||||
libcloader_la_SOURCES = \
|
libcloader_la_SOURCES = \
|
||||||
xedit-plugin-loader-c.c \
|
xed-plugin-loader-c.c \
|
||||||
$(NOINST_H_FILES)
|
$(NOINST_H_FILES)
|
||||||
|
|
||||||
libcloader_la_LDFLAGS = $(LOADER_LIBTOOL_FLAGS)
|
libcloader_la_LDFLAGS = $(LOADER_LIBTOOL_FLAGS)
|
||||||
libcloader_la_LIBADD = $(XEDIT_LIBS)
|
libcloader_la_LIBADD = $(XED_LIBS)
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* xedit-plugin-loader-c.c
|
* xed-plugin-loader-c.c
|
||||||
* This file is part of xedit
|
* This file is part of xed
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008 - Jesse van den Kieboom
|
* Copyright (C) 2008 - Jesse van den Kieboom
|
||||||
*
|
*
|
||||||
|
@ -20,46 +20,46 @@
|
||||||
* Boston, MA 02110-1301, USA.
|
* Boston, MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "xedit-plugin-loader-c.h"
|
#include "xed-plugin-loader-c.h"
|
||||||
#include <xedit/xedit-object-module.h>
|
#include <xed/xed-object-module.h>
|
||||||
|
|
||||||
#define XEDIT_PLUGIN_LOADER_C_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), XEDIT_TYPE_PLUGIN_LOADER_C, XeditPluginLoaderCPrivate))
|
#define XED_PLUGIN_LOADER_C_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), XED_TYPE_PLUGIN_LOADER_C, XedPluginLoaderCPrivate))
|
||||||
|
|
||||||
struct _XeditPluginLoaderCPrivate
|
struct _XedPluginLoaderCPrivate
|
||||||
{
|
{
|
||||||
GHashTable *loaded_plugins;
|
GHashTable *loaded_plugins;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void xedit_plugin_loader_iface_init (gpointer g_iface, gpointer iface_data);
|
static void xed_plugin_loader_iface_init (gpointer g_iface, gpointer iface_data);
|
||||||
|
|
||||||
XEDIT_PLUGIN_LOADER_REGISTER_TYPE (XeditPluginLoaderC, xedit_plugin_loader_c, G_TYPE_OBJECT, xedit_plugin_loader_iface_init);
|
XED_PLUGIN_LOADER_REGISTER_TYPE (XedPluginLoaderC, xed_plugin_loader_c, G_TYPE_OBJECT, xed_plugin_loader_iface_init);
|
||||||
|
|
||||||
|
|
||||||
static const gchar *
|
static const gchar *
|
||||||
xedit_plugin_loader_iface_get_id (void)
|
xed_plugin_loader_iface_get_id (void)
|
||||||
{
|
{
|
||||||
return "C";
|
return "C";
|
||||||
}
|
}
|
||||||
|
|
||||||
static XeditPlugin *
|
static XedPlugin *
|
||||||
xedit_plugin_loader_iface_load (XeditPluginLoader *loader,
|
xed_plugin_loader_iface_load (XedPluginLoader *loader,
|
||||||
XeditPluginInfo *info,
|
XedPluginInfo *info,
|
||||||
const gchar *path)
|
const gchar *path)
|
||||||
{
|
{
|
||||||
XeditPluginLoaderC *cloader = XEDIT_PLUGIN_LOADER_C (loader);
|
XedPluginLoaderC *cloader = XED_PLUGIN_LOADER_C (loader);
|
||||||
XeditObjectModule *module;
|
XedObjectModule *module;
|
||||||
const gchar *module_name;
|
const gchar *module_name;
|
||||||
XeditPlugin *result;
|
XedPlugin *result;
|
||||||
|
|
||||||
module = (XeditObjectModule *)g_hash_table_lookup (cloader->priv->loaded_plugins, info);
|
module = (XedObjectModule *)g_hash_table_lookup (cloader->priv->loaded_plugins, info);
|
||||||
module_name = xedit_plugin_info_get_module_name (info);
|
module_name = xed_plugin_info_get_module_name (info);
|
||||||
|
|
||||||
if (module == NULL)
|
if (module == NULL)
|
||||||
{
|
{
|
||||||
/* For now we force all modules to be resident */
|
/* For now we force all modules to be resident */
|
||||||
module = xedit_object_module_new (module_name,
|
module = xed_object_module_new (module_name,
|
||||||
path,
|
path,
|
||||||
"register_xedit_plugin",
|
"register_xed_plugin",
|
||||||
TRUE);
|
TRUE);
|
||||||
|
|
||||||
/* Infos are available for all the lifetime of the loader.
|
/* Infos are available for all the lifetime of the loader.
|
||||||
|
@ -70,7 +70,7 @@ xedit_plugin_loader_iface_load (XeditPluginLoader *loader,
|
||||||
|
|
||||||
if (!g_type_module_use (G_TYPE_MODULE (module)))
|
if (!g_type_module_use (G_TYPE_MODULE (module)))
|
||||||
{
|
{
|
||||||
g_warning ("Could not load plugin module: %s", xedit_plugin_info_get_name (info));
|
g_warning ("Could not load plugin module: %s", xed_plugin_info_get_name (info));
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -78,14 +78,14 @@ xedit_plugin_loader_iface_load (XeditPluginLoader *loader,
|
||||||
/* TODO: for now we force data-dir-name = module-name... if needed we can
|
/* TODO: for now we force data-dir-name = module-name... if needed we can
|
||||||
* add a datadir field to the plugin descriptor file.
|
* add a datadir field to the plugin descriptor file.
|
||||||
*/
|
*/
|
||||||
result = (XeditPlugin *)xedit_object_module_new_object (module,
|
result = (XedPlugin *)xed_object_module_new_object (module,
|
||||||
"install-dir", path,
|
"install-dir", path,
|
||||||
"data-dir-name", module_name,
|
"data-dir-name", module_name,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
if (!result)
|
if (!result)
|
||||||
{
|
{
|
||||||
g_warning ("Could not create plugin object: %s", xedit_plugin_info_get_name (info));
|
g_warning ("Could not create plugin object: %s", xed_plugin_info_get_name (info));
|
||||||
g_type_module_unuse (G_TYPE_MODULE (module));
|
g_type_module_unuse (G_TYPE_MODULE (module));
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -97,10 +97,10 @@ xedit_plugin_loader_iface_load (XeditPluginLoader *loader,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_plugin_loader_iface_unload (XeditPluginLoader *loader,
|
xed_plugin_loader_iface_unload (XedPluginLoader *loader,
|
||||||
XeditPluginInfo *info)
|
XedPluginInfo *info)
|
||||||
{
|
{
|
||||||
//XeditPluginLoaderC *cloader = XEDIT_PLUGIN_LOADER_C (loader);
|
//XedPluginLoaderC *cloader = XED_PLUGIN_LOADER_C (loader);
|
||||||
|
|
||||||
/* this is a no-op, since the type module will be properly unused as
|
/* this is a no-op, since the type module will be properly unused as
|
||||||
the last reference to the plugin dies. When the plugin is activated
|
the last reference to the plugin dies. When the plugin is activated
|
||||||
|
@ -108,20 +108,20 @@ xedit_plugin_loader_iface_unload (XeditPluginLoader *loader,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_plugin_loader_iface_init (gpointer g_iface,
|
xed_plugin_loader_iface_init (gpointer g_iface,
|
||||||
gpointer iface_data)
|
gpointer iface_data)
|
||||||
{
|
{
|
||||||
XeditPluginLoaderInterface *iface = (XeditPluginLoaderInterface *)g_iface;
|
XedPluginLoaderInterface *iface = (XedPluginLoaderInterface *)g_iface;
|
||||||
|
|
||||||
iface->get_id = xedit_plugin_loader_iface_get_id;
|
iface->get_id = xed_plugin_loader_iface_get_id;
|
||||||
iface->load = xedit_plugin_loader_iface_load;
|
iface->load = xed_plugin_loader_iface_load;
|
||||||
iface->unload = xedit_plugin_loader_iface_unload;
|
iface->unload = xed_plugin_loader_iface_unload;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_plugin_loader_c_finalize (GObject *object)
|
xed_plugin_loader_c_finalize (GObject *object)
|
||||||
{
|
{
|
||||||
XeditPluginLoaderC *cloader = XEDIT_PLUGIN_LOADER_C (object);
|
XedPluginLoaderC *cloader = XED_PLUGIN_LOADER_C (object);
|
||||||
GList *infos;
|
GList *infos;
|
||||||
GList *item;
|
GList *item;
|
||||||
|
|
||||||
|
@ -132,9 +132,9 @@ xedit_plugin_loader_c_finalize (GObject *object)
|
||||||
|
|
||||||
for (item = infos; item; item = item->next)
|
for (item = infos; item; item = item->next)
|
||||||
{
|
{
|
||||||
XeditPluginInfo *info = (XeditPluginInfo *)item->data;
|
XedPluginInfo *info = (XedPluginInfo *)item->data;
|
||||||
|
|
||||||
if (xedit_plugin_info_is_active (info))
|
if (xed_plugin_info_is_active (info))
|
||||||
{
|
{
|
||||||
g_warning ("There are still C plugins loaded during destruction");
|
g_warning ("There are still C plugins loaded during destruction");
|
||||||
break;
|
break;
|
||||||
|
@ -145,38 +145,38 @@ xedit_plugin_loader_c_finalize (GObject *object)
|
||||||
|
|
||||||
g_hash_table_destroy (cloader->priv->loaded_plugins);
|
g_hash_table_destroy (cloader->priv->loaded_plugins);
|
||||||
|
|
||||||
G_OBJECT_CLASS (xedit_plugin_loader_c_parent_class)->finalize (object);
|
G_OBJECT_CLASS (xed_plugin_loader_c_parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_plugin_loader_c_class_init (XeditPluginLoaderCClass *klass)
|
xed_plugin_loader_c_class_init (XedPluginLoaderCClass *klass)
|
||||||
{
|
{
|
||||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||||
|
|
||||||
object_class->finalize = xedit_plugin_loader_c_finalize;
|
object_class->finalize = xed_plugin_loader_c_finalize;
|
||||||
|
|
||||||
g_type_class_add_private (object_class, sizeof (XeditPluginLoaderCPrivate));
|
g_type_class_add_private (object_class, sizeof (XedPluginLoaderCPrivate));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_plugin_loader_c_class_finalize (XeditPluginLoaderCClass *klass)
|
xed_plugin_loader_c_class_finalize (XedPluginLoaderCClass *klass)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_plugin_loader_c_init (XeditPluginLoaderC *self)
|
xed_plugin_loader_c_init (XedPluginLoaderC *self)
|
||||||
{
|
{
|
||||||
self->priv = XEDIT_PLUGIN_LOADER_C_GET_PRIVATE (self);
|
self->priv = XED_PLUGIN_LOADER_C_GET_PRIVATE (self);
|
||||||
|
|
||||||
/* loaded_plugins maps XeditPluginInfo to a XeditObjectModule */
|
/* loaded_plugins maps XedPluginInfo to a XedObjectModule */
|
||||||
self->priv->loaded_plugins = g_hash_table_new (g_direct_hash,
|
self->priv->loaded_plugins = g_hash_table_new (g_direct_hash,
|
||||||
g_direct_equal);
|
g_direct_equal);
|
||||||
}
|
}
|
||||||
|
|
||||||
XeditPluginLoaderC *
|
XedPluginLoaderC *
|
||||||
xedit_plugin_loader_c_new ()
|
xed_plugin_loader_c_new ()
|
||||||
{
|
{
|
||||||
GObject *loader = g_object_new (XEDIT_TYPE_PLUGIN_LOADER_C, NULL);
|
GObject *loader = g_object_new (XED_TYPE_PLUGIN_LOADER_C, NULL);
|
||||||
|
|
||||||
return XEDIT_PLUGIN_LOADER_C (loader);
|
return XED_PLUGIN_LOADER_C (loader);
|
||||||
}
|
}
|
|
@ -0,0 +1,60 @@
|
||||||
|
/*
|
||||||
|
* xed-plugin-loader-c.h
|
||||||
|
* This file is part of xed
|
||||||
|
*
|
||||||
|
* Copyright (C) 2008 - Jesse van den Kieboom
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin St, Fifth Floor,
|
||||||
|
* Boston, MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __XED_PLUGIN_LOADER_C_H__
|
||||||
|
#define __XED_PLUGIN_LOADER_C_H__
|
||||||
|
|
||||||
|
#include <xed/xed-plugin-loader.h>
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
#define XED_TYPE_PLUGIN_LOADER_C (xed_plugin_loader_c_get_type ())
|
||||||
|
#define XED_PLUGIN_LOADER_C(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XED_TYPE_PLUGIN_LOADER_C, XedPluginLoaderC))
|
||||||
|
#define XED_PLUGIN_LOADER_C_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XED_TYPE_PLUGIN_LOADER_C, XedPluginLoaderC const))
|
||||||
|
#define XED_PLUGIN_LOADER_C_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), XED_TYPE_PLUGIN_LOADER_C, XedPluginLoaderCClass))
|
||||||
|
#define XED_IS_PLUGIN_LOADER_C(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XED_TYPE_PLUGIN_LOADER_C))
|
||||||
|
#define XED_IS_PLUGIN_LOADER_C_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), XED_TYPE_PLUGIN_LOADER_C))
|
||||||
|
#define XED_PLUGIN_LOADER_C_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), XED_TYPE_PLUGIN_LOADER_C, XedPluginLoaderCClass))
|
||||||
|
|
||||||
|
typedef struct _XedPluginLoaderC XedPluginLoaderC;
|
||||||
|
typedef struct _XedPluginLoaderCClass XedPluginLoaderCClass;
|
||||||
|
typedef struct _XedPluginLoaderCPrivate XedPluginLoaderCPrivate;
|
||||||
|
|
||||||
|
struct _XedPluginLoaderC {
|
||||||
|
GObject parent;
|
||||||
|
|
||||||
|
XedPluginLoaderCPrivate *priv;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct _XedPluginLoaderCClass {
|
||||||
|
GObjectClass parent_class;
|
||||||
|
};
|
||||||
|
|
||||||
|
GType xed_plugin_loader_c_get_type (void) G_GNUC_CONST;
|
||||||
|
XedPluginLoaderC *xed_plugin_loader_c_new(void);
|
||||||
|
|
||||||
|
/* All the loaders must implement this function */
|
||||||
|
G_MODULE_EXPORT GType register_xed_plugin_loader (GTypeModule * module);
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __XED_PLUGIN_LOADER_C_H__ */
|
|
@ -1,60 +0,0 @@
|
||||||
/*
|
|
||||||
* xedit-plugin-loader-c.h
|
|
||||||
* This file is part of xedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2008 - Jesse van den Kieboom
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
||||||
* Boston, MA 02110-1301, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __XEDIT_PLUGIN_LOADER_C_H__
|
|
||||||
#define __XEDIT_PLUGIN_LOADER_C_H__
|
|
||||||
|
|
||||||
#include <xedit/xedit-plugin-loader.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define XEDIT_TYPE_PLUGIN_LOADER_C (xedit_plugin_loader_c_get_type ())
|
|
||||||
#define XEDIT_PLUGIN_LOADER_C(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XEDIT_TYPE_PLUGIN_LOADER_C, XeditPluginLoaderC))
|
|
||||||
#define XEDIT_PLUGIN_LOADER_C_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XEDIT_TYPE_PLUGIN_LOADER_C, XeditPluginLoaderC const))
|
|
||||||
#define XEDIT_PLUGIN_LOADER_C_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), XEDIT_TYPE_PLUGIN_LOADER_C, XeditPluginLoaderCClass))
|
|
||||||
#define XEDIT_IS_PLUGIN_LOADER_C(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XEDIT_TYPE_PLUGIN_LOADER_C))
|
|
||||||
#define XEDIT_IS_PLUGIN_LOADER_C_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), XEDIT_TYPE_PLUGIN_LOADER_C))
|
|
||||||
#define XEDIT_PLUGIN_LOADER_C_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), XEDIT_TYPE_PLUGIN_LOADER_C, XeditPluginLoaderCClass))
|
|
||||||
|
|
||||||
typedef struct _XeditPluginLoaderC XeditPluginLoaderC;
|
|
||||||
typedef struct _XeditPluginLoaderCClass XeditPluginLoaderCClass;
|
|
||||||
typedef struct _XeditPluginLoaderCPrivate XeditPluginLoaderCPrivate;
|
|
||||||
|
|
||||||
struct _XeditPluginLoaderC {
|
|
||||||
GObject parent;
|
|
||||||
|
|
||||||
XeditPluginLoaderCPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _XeditPluginLoaderCClass {
|
|
||||||
GObjectClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
GType xedit_plugin_loader_c_get_type (void) G_GNUC_CONST;
|
|
||||||
XeditPluginLoaderC *xedit_plugin_loader_c_new(void);
|
|
||||||
|
|
||||||
/* All the loaders must implement this function */
|
|
||||||
G_MODULE_EXPORT GType register_xedit_plugin_loader (GTypeModule * module);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __XEDIT_PLUGIN_LOADER_C_H__ */
|
|
|
@ -1,36 +1,36 @@
|
||||||
# C plugin loader
|
# C plugin loader
|
||||||
|
|
||||||
SUBDIRS = bindings
|
SUBDIRS = bindings
|
||||||
loaderdir = $(libdir)/xedit/plugin-loaders
|
loaderdir = $(libdir)/xed/plugin-loaders
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
-I$(top_srcdir) \
|
-I$(top_srcdir) \
|
||||||
-I$(top_builddir) \
|
-I$(top_builddir) \
|
||||||
-I$(top_srcdir)/xedit \
|
-I$(top_srcdir)/xed \
|
||||||
-I$(top_builddir)/xedit \
|
-I$(top_builddir)/xed \
|
||||||
$(XEDIT_CFLAGS) \
|
$(XED_CFLAGS) \
|
||||||
$(WARN_CFLAGS) \
|
$(WARN_CFLAGS) \
|
||||||
$(DISABLE_DEPRECATED_CFLAGS) \
|
$(DISABLE_DEPRECATED_CFLAGS) \
|
||||||
$(PYGTK_CFLAGS) \
|
$(PYGTK_CFLAGS) \
|
||||||
$(PYTHON_CFLAGS) \
|
$(PYTHON_CFLAGS) \
|
||||||
-DXEDIT_PLUGINS_LIBS_DIR=\"$(XEDIT_PLUGINS_LIBS_DIR)\" \
|
-DXED_PLUGINS_LIBS_DIR=\"$(XED_PLUGINS_LIBS_DIR)\" \
|
||||||
-DXEDIT_LOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\"
|
-DXED_LOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\"
|
||||||
|
|
||||||
loader_LTLIBRARIES = libpythonloader.la
|
loader_LTLIBRARIES = libpythonloader.la
|
||||||
|
|
||||||
|
|
||||||
NOINST_H_FILES = \
|
NOINST_H_FILES = \
|
||||||
xedit-plugin-loader-python.h \
|
xed-plugin-loader-python.h \
|
||||||
xedit-plugin-python.h
|
xed-plugin-python.h
|
||||||
|
|
||||||
libpythonloader_la_SOURCES = \
|
libpythonloader_la_SOURCES = \
|
||||||
xedit-plugin-loader-python.c \
|
xed-plugin-loader-python.c \
|
||||||
xedit-plugin-python.c \
|
xed-plugin-python.c \
|
||||||
$(NOINST_H_FILES)
|
$(NOINST_H_FILES)
|
||||||
|
|
||||||
libpythonloader_la_LDFLAGS = $(LOADER_LIBTOOL_FLAGS)
|
libpythonloader_la_LDFLAGS = $(LOADER_LIBTOOL_FLAGS)
|
||||||
libpythonloader_la_LIBADD = \
|
libpythonloader_la_LIBADD = \
|
||||||
$(XEDIT_LIBS) \
|
$(XED_LIBS) \
|
||||||
bindings/xedit.la
|
bindings/xed.la
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
|
|
@ -1,39 +1,39 @@
|
||||||
## Process this file with automake to produce Makefile.in
|
## Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
noinst_LTLIBRARIES = \
|
noinst_LTLIBRARIES = \
|
||||||
xedit.la
|
xed.la
|
||||||
|
|
||||||
nodist_xedit_la_SOURCES = \
|
nodist_xed_la_SOURCES = \
|
||||||
xedit.c \
|
xed.c \
|
||||||
xeditutils.c \
|
xedutils.c \
|
||||||
xeditcommands.c
|
xedcommands.c
|
||||||
|
|
||||||
xedit_la_LDFLAGS = \
|
xed_la_LDFLAGS = \
|
||||||
-module -avoid-version
|
-module -avoid-version
|
||||||
|
|
||||||
xedit_la_LIBADD = \
|
xed_la_LIBADD = \
|
||||||
$(PYTHON_LIB_LOC) \
|
$(PYTHON_LIB_LOC) \
|
||||||
$(PYTHON_LIBS) \
|
$(PYTHON_LIBS) \
|
||||||
$(PYTHON_EXTRA_LIBS) \
|
$(PYTHON_EXTRA_LIBS) \
|
||||||
$(PYGTK_LIBS)
|
$(PYGTK_LIBS)
|
||||||
|
|
||||||
xedit_la_CFLAGS = \
|
xed_la_CFLAGS = \
|
||||||
-I$(top_srcdir) \
|
-I$(top_srcdir) \
|
||||||
-I$(top_builddir) \
|
-I$(top_builddir) \
|
||||||
-I$(top_srcdir)/xedit \
|
-I$(top_srcdir)/xed \
|
||||||
-I$(top_builddir)/xedit \
|
-I$(top_builddir)/xed \
|
||||||
-I$(top_srcdir)/plugin-loaders/python \
|
-I$(top_srcdir)/plugin-loaders/python \
|
||||||
-I$(top_builddir)/plugin-loaders/python \
|
-I$(top_builddir)/plugin-loaders/python \
|
||||||
$(XEDIT_CFLAGS) \
|
$(XED_CFLAGS) \
|
||||||
$(NO_STRICT_ALIASING_CFLAGS) \
|
$(NO_STRICT_ALIASING_CFLAGS) \
|
||||||
$(PYGTK_CFLAGS) \
|
$(PYGTK_CFLAGS) \
|
||||||
$(PYTHON_CFLAGS) \
|
$(PYTHON_CFLAGS) \
|
||||||
$(AM_CFLAGS)
|
$(AM_CFLAGS)
|
||||||
|
|
||||||
$(top_builddir)/xedit/xedit-enum-types.h:
|
$(top_builddir)/xed/xed-enum-types.h:
|
||||||
cd $(top_builddir)/xedit && $(MAKE) xedit-enum-types.h
|
cd $(top_builddir)/xed && $(MAKE) xed-enum-types.h
|
||||||
|
|
||||||
xedit.c: xedit.defs xedit.override xeditplugin.override xeditmessage.override $(top_builddir)/xedit/xedit-enum-types.h
|
xed.c: xed.defs xed.override xedplugin.override xedmessage.override $(top_builddir)/xed/xed-enum-types.h
|
||||||
( cd $(srcdir) && $(PYGTK_CODEGEN) \
|
( cd $(srcdir) && $(PYGTK_CODEGEN) \
|
||||||
--register $(PYGTK_DEFSDIR)/pango-types.defs \
|
--register $(PYGTK_DEFSDIR)/pango-types.defs \
|
||||||
--register $(PYGTK_DEFSDIR)/gdk-types.defs \
|
--register $(PYGTK_DEFSDIR)/gdk-types.defs \
|
||||||
|
@ -43,69 +43,69 @@ xedit.c: xedit.defs xedit.override xeditplugin.override xeditmessage.override $(
|
||||||
--override $*.override \
|
--override $*.override \
|
||||||
--prefix py$* $(<F) ) > $@
|
--prefix py$* $(<F) ) > $@
|
||||||
|
|
||||||
xeditutils.c: xeditutils.defs xeditutils.override
|
xedutils.c: xedutils.defs xedutils.override
|
||||||
( cd $(srcdir) && $(PYGTK_CODEGEN) \
|
( cd $(srcdir) && $(PYGTK_CODEGEN) \
|
||||||
--override $*.override \
|
--override $*.override \
|
||||||
--prefix py$* $(<F) ) > $@
|
--prefix py$* $(<F) ) > $@
|
||||||
|
|
||||||
xeditcommands.c: xeditcommands.defs xeditcommands.override xedit.defs
|
xedcommands.c: xedcommands.defs xedcommands.override xed.defs
|
||||||
( cd $(srcdir) && $(PYGTK_CODEGEN) \
|
( cd $(srcdir) && $(PYGTK_CODEGEN) \
|
||||||
--register xedit.defs \
|
--register xed.defs \
|
||||||
--register $(PYGTK_DEFSDIR)/gtk-types.defs \
|
--register $(PYGTK_DEFSDIR)/gtk-types.defs \
|
||||||
--override $*.override \
|
--override $*.override \
|
||||||
--prefix py$* $(<F) ) > $@
|
--prefix py$* $(<F) ) > $@
|
||||||
|
|
||||||
BINDING_XEDIT_HEADERS_SRCDIR_IN = \
|
BINDING_XED_HEADERS_SRCDIR_IN = \
|
||||||
xedit/xedit-app.h \
|
xed/xed-app.h \
|
||||||
xedit/xedit-document.h \
|
xed/xed-document.h \
|
||||||
xedit/xedit-encodings.h \
|
xed/xed-encodings.h \
|
||||||
xedit/xedit-plugin.h \
|
xed/xed-plugin.h \
|
||||||
plugin-loaders/python/xedit-plugin-python.h \
|
plugin-loaders/python/xed-plugin-python.h \
|
||||||
xedit/xedit-view.h \
|
xed/xed-view.h \
|
||||||
xedit/xedit-statusbar.h \
|
xed/xed-statusbar.h \
|
||||||
xedit/xedit-tab.h \
|
xed/xed-tab.h \
|
||||||
xedit/xedit-panel.h \
|
xed/xed-panel.h \
|
||||||
xedit/xedit-window.h \
|
xed/xed-window.h \
|
||||||
xedit/xedit-help.h \
|
xed/xed-help.h \
|
||||||
xedit/xedit-debug.h \
|
xed/xed-debug.h \
|
||||||
xedit/xedit-message-type.h \
|
xed/xed-message-type.h \
|
||||||
xedit/xedit-message.h \
|
xed/xed-message.h \
|
||||||
xedit/xedit-message-bus.h \
|
xed/xed-message-bus.h \
|
||||||
xedit/xedit-language-manager.h
|
xed/xed-language-manager.h
|
||||||
|
|
||||||
BINDING_UTILS_HEADERS_SRCDIR_IN = \
|
BINDING_UTILS_HEADERS_SRCDIR_IN = \
|
||||||
xedit/xedit-utils.h
|
xed/xed-utils.h
|
||||||
|
|
||||||
BINDING_COMMANDS_HEADERS_SRCDIR_IN = \
|
BINDING_COMMANDS_HEADERS_SRCDIR_IN = \
|
||||||
xedit/xedit-commands.h
|
xed/xed-commands.h
|
||||||
|
|
||||||
BINDING_HEADERS_BUILDDIR_IN =
|
BINDING_HEADERS_BUILDDIR_IN =
|
||||||
|
|
||||||
BINDING_XEDIT_HEADERS_SRCDIR := $(addprefix $(top_srcdir)/,$(BINDING_XEDIT_HEADERS_SRCDIR_IN))
|
BINDING_XED_HEADERS_SRCDIR := $(addprefix $(top_srcdir)/,$(BINDING_XED_HEADERS_SRCDIR_IN))
|
||||||
BINDING_UTILS_HEADERS_SRCDIR := $(addprefix $(top_srcdir)/,$(BINDING_UTILS_HEADERS_SRCDIR_IN))
|
BINDING_UTILS_HEADERS_SRCDIR := $(addprefix $(top_srcdir)/,$(BINDING_UTILS_HEADERS_SRCDIR_IN))
|
||||||
BINDING_COMMANDS_HEADERS_SRCDIR := $(addprefix $(top_srcdir)/,$(BINDING_COMMANDS_HEADERS_SRCDIR_IN))
|
BINDING_COMMANDS_HEADERS_SRCDIR := $(addprefix $(top_srcdir)/,$(BINDING_COMMANDS_HEADERS_SRCDIR_IN))
|
||||||
|
|
||||||
BINDING_HEADERS_BUILDDIR := $(addprefix $(top_builddir)/,$(BINDING_HEADERS_BUILDDIR_IN))
|
BINDING_HEADERS_BUILDDIR := $(addprefix $(top_builddir)/,$(BINDING_HEADERS_BUILDDIR_IN))
|
||||||
|
|
||||||
regenerate-python-binding:
|
regenerate-python-binding:
|
||||||
$(PYGTK_H2DEF) $(sort $(BINDING_XEDIT_HEADERS_SRCDIR) $(BINDING_HEADERS_BUILDDIR)) > xedit.defs.new
|
$(PYGTK_H2DEF) $(sort $(BINDING_XED_HEADERS_SRCDIR) $(BINDING_HEADERS_BUILDDIR)) > xed.defs.new
|
||||||
$(PYGTK_H2DEF) $(sort $(BINDING_UTILS_HEADERS_SRCDIR) $(BINDING_HEADERS_BUILDDIR)) > xeditutils.defs.new
|
$(PYGTK_H2DEF) $(sort $(BINDING_UTILS_HEADERS_SRCDIR) $(BINDING_HEADERS_BUILDDIR)) > xedutils.defs.new
|
||||||
$(PYGTK_H2DEF) $(sort $(BINDING_COMMANDS_HEADERS_SRCDIR) $(BINDING_HEADERS_BUILDDIR)) > xeditcommands.defs.new
|
$(PYGTK_H2DEF) $(sort $(BINDING_COMMANDS_HEADERS_SRCDIR) $(BINDING_HEADERS_BUILDDIR)) > xedcommands.defs.new
|
||||||
|
|
||||||
BUILT_SOURCES = \
|
BUILT_SOURCES = \
|
||||||
xedit.c \
|
xed.c \
|
||||||
xeditutils.c \
|
xedutils.c \
|
||||||
xeditcommands.c
|
xedcommands.c
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
xedit.override \
|
xed.override \
|
||||||
xedit.defs \
|
xed.defs \
|
||||||
xeditutils.override \
|
xedutils.override \
|
||||||
xeditutils.defs \
|
xedutils.defs \
|
||||||
xeditcommands.override \
|
xedcommands.override \
|
||||||
xeditcommands.defs \
|
xedcommands.defs \
|
||||||
xeditmessage.override \
|
xedmessage.override \
|
||||||
xeditplugin.override
|
xedplugin.override
|
||||||
|
|
||||||
CLEANFILES = $(BUILT_SOURCES)
|
CLEANFILES = $(BUILT_SOURCES)
|
||||||
|
|
||||||
|
|
|
@ -3,19 +3,19 @@ headers
|
||||||
#include <pygobject.h>
|
#include <pygobject.h>
|
||||||
#include <pygtk/pygtk.h>
|
#include <pygtk/pygtk.h>
|
||||||
|
|
||||||
#include <xedit/xedit-language-manager.h>
|
#include <xed/xed-language-manager.h>
|
||||||
#include <xedit/xedit-plugin.h>
|
#include <xed/xed-plugin.h>
|
||||||
#include <xedit/xedit-app.h>
|
#include <xed/xed-app.h>
|
||||||
#include <xedit/xedit-encodings.h>
|
#include <xed/xed-encodings.h>
|
||||||
#include <xedit/xedit-enum-types.h>
|
#include <xed/xed-enum-types.h>
|
||||||
#include <xedit/xedit-statusbar.h>
|
#include <xed/xed-statusbar.h>
|
||||||
#include <xedit/xedit-debug.h>
|
#include <xed/xed-debug.h>
|
||||||
#include <xedit/xedit-help.h>
|
#include <xed/xed-help.h>
|
||||||
|
|
||||||
#include "xedit-plugin-python.h"
|
#include "xed-plugin-python.h"
|
||||||
|
|
||||||
void pyxedit_register_classes (PyObject *d);
|
void pyxed_register_classes (PyObject *d);
|
||||||
void pyxedit_add_constants (PyObject *module, const gchar *strip_prefix);
|
void pyxed_add_constants (PyObject *module, const gchar *strip_prefix);
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_helper_wrap_gobject_glist (const GList *list)
|
_helper_wrap_gobject_glist (const GList *list)
|
||||||
|
@ -62,10 +62,10 @@ _helper_wrap_gobject_gslist (const GSList *list)
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
include
|
include
|
||||||
xeditplugin.override
|
xedplugin.override
|
||||||
xeditmessage.override
|
xedmessage.override
|
||||||
%%
|
%%
|
||||||
modulename xedit
|
modulename xed
|
||||||
%%
|
%%
|
||||||
import gtk.Widget as PyGtkWidget_Type
|
import gtk.Widget as PyGtkWidget_Type
|
||||||
import gobject.GObject as PyGObject_Type
|
import gobject.GObject as PyGObject_Type
|
||||||
|
@ -81,51 +81,51 @@ import gtksourceview2.LanguageManager as PyGtkSourceLanguageManager_Type
|
||||||
%%
|
%%
|
||||||
ignore-glob
|
ignore-glob
|
||||||
*_get_type
|
*_get_type
|
||||||
xedit_document_error_quark
|
xed_document_error_quark
|
||||||
xedit_panel_add_item_with_stock_icon
|
xed_panel_add_item_with_stock_icon
|
||||||
%%
|
%%
|
||||||
override xedit_app_create_window kwargs
|
override xed_app_create_window kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_app_create_window(PyGObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_app_create_window(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
static char *kwlist[] = { "screen", NULL};
|
static char *kwlist[] = { "screen", NULL};
|
||||||
PyGObject *screen = NULL;
|
PyGObject *screen = NULL;
|
||||||
XeditWindow *ret;
|
XedWindow *ret;
|
||||||
|
|
||||||
if (!PyArg_ParseTupleAndKeywords(args, kwargs,
|
if (!PyArg_ParseTupleAndKeywords(args, kwargs,
|
||||||
"|O!", kwlist,
|
"|O!", kwlist,
|
||||||
&PyGdkScreen_Type, &screen))
|
&PyGdkScreen_Type, &screen))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
ret = xedit_app_create_window(XEDIT_APP(self->obj),
|
ret = xed_app_create_window(XED_APP(self->obj),
|
||||||
screen ? GDK_SCREEN(screen->obj) : NULL);
|
screen ? GDK_SCREEN(screen->obj) : NULL);
|
||||||
|
|
||||||
/* pygobject_new handles NULL checking */
|
/* pygobject_new handles NULL checking */
|
||||||
return pygobject_new((GObject *)ret);
|
return pygobject_new((GObject *)ret);
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_app_get_windows
|
override xed_app_get_windows
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_app_get_windows(PyGObject *self)
|
_wrap_xed_app_get_windows(PyGObject *self)
|
||||||
{
|
{
|
||||||
const GList *list;
|
const GList *list;
|
||||||
PyObject *py_list;
|
PyObject *py_list;
|
||||||
|
|
||||||
list = xedit_app_get_windows (XEDIT_APP (self->obj));
|
list = xed_app_get_windows (XED_APP (self->obj));
|
||||||
|
|
||||||
py_list = _helper_wrap_gobject_glist (list);
|
py_list = _helper_wrap_gobject_glist (list);
|
||||||
|
|
||||||
return py_list;
|
return py_list;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_app_get_views
|
override xed_app_get_views
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_app_get_views(PyGObject *self)
|
_wrap_xed_app_get_views(PyGObject *self)
|
||||||
{
|
{
|
||||||
GList *list;
|
GList *list;
|
||||||
PyObject *py_list;
|
PyObject *py_list;
|
||||||
|
|
||||||
list = xedit_app_get_views (XEDIT_APP (self->obj));
|
list = xed_app_get_views (XED_APP (self->obj));
|
||||||
|
|
||||||
py_list = _helper_wrap_gobject_glist (list);
|
py_list = _helper_wrap_gobject_glist (list);
|
||||||
|
|
||||||
|
@ -134,14 +134,14 @@ _wrap_xedit_app_get_views(PyGObject *self)
|
||||||
return py_list;
|
return py_list;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_app_get_documents
|
override xed_app_get_documents
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_app_get_documents(PyGObject *self)
|
_wrap_xed_app_get_documents(PyGObject *self)
|
||||||
{
|
{
|
||||||
GList *list;
|
GList *list;
|
||||||
PyObject *py_list;
|
PyObject *py_list;
|
||||||
|
|
||||||
list = xedit_app_get_documents (XEDIT_APP (self->obj));
|
list = xed_app_get_documents (XED_APP (self->obj));
|
||||||
|
|
||||||
py_list = _helper_wrap_gobject_glist (list);
|
py_list = _helper_wrap_gobject_glist (list);
|
||||||
|
|
||||||
|
@ -150,14 +150,14 @@ _wrap_xedit_app_get_documents(PyGObject *self)
|
||||||
return py_list;
|
return py_list;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_window_get_documents
|
override xed_window_get_documents
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_window_get_documents(PyGObject *self)
|
_wrap_xed_window_get_documents(PyGObject *self)
|
||||||
{
|
{
|
||||||
GList *list;
|
GList *list;
|
||||||
PyObject *py_list;
|
PyObject *py_list;
|
||||||
|
|
||||||
list = xedit_window_get_documents (XEDIT_WINDOW (self->obj));
|
list = xed_window_get_documents (XED_WINDOW (self->obj));
|
||||||
|
|
||||||
py_list = _helper_wrap_gobject_glist (list);
|
py_list = _helper_wrap_gobject_glist (list);
|
||||||
|
|
||||||
|
@ -166,14 +166,14 @@ _wrap_xedit_window_get_documents(PyGObject *self)
|
||||||
return py_list;
|
return py_list;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_window_get_unsaved_documents
|
override xed_window_get_unsaved_documents
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_window_get_unsaved_documents(PyGObject *self)
|
_wrap_xed_window_get_unsaved_documents(PyGObject *self)
|
||||||
{
|
{
|
||||||
GList *list;
|
GList *list;
|
||||||
PyObject *py_list;
|
PyObject *py_list;
|
||||||
|
|
||||||
list = xedit_window_get_unsaved_documents (XEDIT_WINDOW (self->obj));
|
list = xed_window_get_unsaved_documents (XED_WINDOW (self->obj));
|
||||||
|
|
||||||
py_list = _helper_wrap_gobject_glist (list);
|
py_list = _helper_wrap_gobject_glist (list);
|
||||||
|
|
||||||
|
@ -182,14 +182,14 @@ _wrap_xedit_window_get_unsaved_documents(PyGObject *self)
|
||||||
return py_list;
|
return py_list;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_window_get_views
|
override xed_window_get_views
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_window_get_views(PyGObject *self)
|
_wrap_xed_window_get_views(PyGObject *self)
|
||||||
{
|
{
|
||||||
GList *list;
|
GList *list;
|
||||||
PyObject *py_list;
|
PyObject *py_list;
|
||||||
|
|
||||||
list = xedit_window_get_views (XEDIT_WINDOW (self->obj));
|
list = xed_window_get_views (XED_WINDOW (self->obj));
|
||||||
|
|
||||||
py_list = _helper_wrap_gobject_glist (list);
|
py_list = _helper_wrap_gobject_glist (list);
|
||||||
|
|
||||||
|
@ -198,9 +198,9 @@ _wrap_xedit_window_get_views(PyGObject *self)
|
||||||
return py_list;
|
return py_list;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_window_close_tabs kwargs
|
override xed_window_close_tabs kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_window_close_tabs (PyGObject *self,
|
_wrap_xed_window_close_tabs (PyGObject *self,
|
||||||
PyObject *args,
|
PyObject *args,
|
||||||
PyObject *kwargs)
|
PyObject *kwargs)
|
||||||
{
|
{
|
||||||
|
@ -210,7 +210,7 @@ _wrap_xedit_window_close_tabs (PyGObject *self,
|
||||||
int len, i;
|
int len, i;
|
||||||
|
|
||||||
if (!PyArg_ParseTupleAndKeywords (args, kwargs,
|
if (!PyArg_ParseTupleAndKeywords (args, kwargs,
|
||||||
"O:XeditWindow.close_tabs", kwlist,
|
"O:XedWindow.close_tabs", kwlist,
|
||||||
&list))
|
&list))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
@ -228,7 +228,7 @@ _wrap_xedit_window_close_tabs (PyGObject *self,
|
||||||
item = PySequence_GetItem (list, i);
|
item = PySequence_GetItem (list, i);
|
||||||
Py_DECREF(item);
|
Py_DECREF(item);
|
||||||
|
|
||||||
if (!pygobject_check (item, &PyXeditTab_Type))
|
if (!pygobject_check (item, &PyXedTab_Type))
|
||||||
{
|
{
|
||||||
PyErr_SetString (PyExc_TypeError,
|
PyErr_SetString (PyExc_TypeError,
|
||||||
"sequence item not a Gtkwidget object");
|
"sequence item not a Gtkwidget object");
|
||||||
|
@ -239,22 +239,22 @@ _wrap_xedit_window_close_tabs (PyGObject *self,
|
||||||
glist = g_list_append (glist, pygobject_get (item));
|
glist = g_list_append (glist, pygobject_get (item));
|
||||||
}
|
}
|
||||||
|
|
||||||
xedit_window_close_tabs (XEDIT_WINDOW (self->obj), glist);
|
xed_window_close_tabs (XED_WINDOW (self->obj), glist);
|
||||||
|
|
||||||
g_list_free (glist);
|
g_list_free (glist);
|
||||||
Py_INCREF (Py_None);
|
Py_INCREF (Py_None);
|
||||||
return Py_None;
|
return Py_None;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_document_get_search_text
|
override xed_document_get_search_text
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_document_get_search_text(PyGObject *self)
|
_wrap_xed_document_get_search_text(PyGObject *self)
|
||||||
{
|
{
|
||||||
PyObject *tuple, *string;
|
PyObject *tuple, *string;
|
||||||
guint flags;
|
guint flags;
|
||||||
gchar *ret;
|
gchar *ret;
|
||||||
|
|
||||||
ret = xedit_document_get_search_text (XEDIT_DOCUMENT (self->obj), &flags);
|
ret = xed_document_get_search_text (XED_DOCUMENT (self->obj), &flags);
|
||||||
|
|
||||||
tuple = PyTuple_New(2);
|
tuple = PyTuple_New(2);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
@ -271,9 +271,9 @@ _wrap_xedit_document_get_search_text(PyGObject *self)
|
||||||
return tuple;
|
return tuple;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_panel_add_item kwargs
|
override xed_panel_add_item kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_panel_add_item(PyGObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_panel_add_item(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
static char *kwlist1[] = { "item", "name", "image", NULL };
|
static char *kwlist1[] = { "item", "name", "image", NULL };
|
||||||
static char *kwlist2[] = { "item", "name", "stock_id", NULL };
|
static char *kwlist2[] = { "item", "name", "stock_id", NULL };
|
||||||
|
@ -281,16 +281,16 @@ _wrap_xedit_panel_add_item(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
char *name = NULL;
|
char *name = NULL;
|
||||||
char *stock_id = NULL;
|
char *stock_id = NULL;
|
||||||
|
|
||||||
if (PyArg_ParseTupleAndKeywords(args, kwargs, "O!sO!:XeditPanel.add_item", kwlist1, &PyGtkWidget_Type, &item, &name, &PyGtkImage_Type, &image)) {
|
if (PyArg_ParseTupleAndKeywords(args, kwargs, "O!sO!:XedPanel.add_item", kwlist1, &PyGtkWidget_Type, &item, &name, &PyGtkImage_Type, &image)) {
|
||||||
xedit_panel_add_item(XEDIT_PANEL(self->obj), GTK_WIDGET(item->obj), name, GTK_WIDGET(image->obj));
|
xed_panel_add_item(XED_PANEL(self->obj), GTK_WIDGET(item->obj), name, GTK_WIDGET(image->obj));
|
||||||
Py_INCREF(Py_None);
|
Py_INCREF(Py_None);
|
||||||
return Py_None;
|
return Py_None;
|
||||||
}
|
}
|
||||||
|
|
||||||
PyErr_Clear();
|
PyErr_Clear();
|
||||||
|
|
||||||
if (PyArg_ParseTupleAndKeywords(args, kwargs, "O!ss:XeditPanel.add_item", kwlist2, &PyGtkWidget_Type, &item, &name, &stock_id)) {
|
if (PyArg_ParseTupleAndKeywords(args, kwargs, "O!ss:XedPanel.add_item", kwlist2, &PyGtkWidget_Type, &item, &name, &stock_id)) {
|
||||||
xedit_panel_add_item_with_stock_icon(XEDIT_PANEL(self->obj), GTK_WIDGET(item->obj), name, stock_id);
|
xed_panel_add_item_with_stock_icon(XED_PANEL(self->obj), GTK_WIDGET(item->obj), name, stock_id);
|
||||||
Py_INCREF(Py_None);
|
Py_INCREF(Py_None);
|
||||||
return Py_None;
|
return Py_None;
|
||||||
}
|
}
|
||||||
|
@ -300,64 +300,64 @@ _wrap_xedit_panel_add_item(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_app_get_default_deprecated
|
override xed_app_get_default_deprecated
|
||||||
/* deprecated wrappers */
|
/* deprecated wrappers */
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_app_get_default_deprecated(PyObject *self)
|
_wrap_xed_app_get_default_deprecated(PyObject *self)
|
||||||
{
|
{
|
||||||
if (PyErr_Warn(PyExc_DeprecationWarning, "use xedit.app_get_default instead") < 0)
|
if (PyErr_Warn(PyExc_DeprecationWarning, "use xed.app_get_default instead") < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
return _wrap_xedit_app_get_default(self);
|
return _wrap_xed_app_get_default(self);
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_encoding_get_from_charset_deprecated kwargs
|
override xed_encoding_get_from_charset_deprecated kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_encoding_get_from_charset_deprecated(PyObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_encoding_get_from_charset_deprecated(PyObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
if (PyErr_Warn(PyExc_DeprecationWarning, "use xedit.encoding_get_from_charset instead") < 0)
|
if (PyErr_Warn(PyExc_DeprecationWarning, "use xed.encoding_get_from_charset instead") < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
return _wrap_xedit_encoding_get_from_charset(self, args, kwargs);
|
return _wrap_xed_encoding_get_from_charset(self, args, kwargs);
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_encoding_get_from_index_deprecated kwargs
|
override xed_encoding_get_from_index_deprecated kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_encoding_get_from_index_deprecated(PyObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_encoding_get_from_index_deprecated(PyObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
if (PyErr_Warn(PyExc_DeprecationWarning, "use xedit.encoding_get_from_index instead") < 0)
|
if (PyErr_Warn(PyExc_DeprecationWarning, "use xed.encoding_get_from_index instead") < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
return _wrap_xedit_encoding_get_from_index(self, args, kwargs);
|
return _wrap_xed_encoding_get_from_index(self, args, kwargs);
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_encoding_get_utf8_deprecated
|
override xed_encoding_get_utf8_deprecated
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_encoding_get_utf8_deprecated(PyObject *self)
|
_wrap_xed_encoding_get_utf8_deprecated(PyObject *self)
|
||||||
{
|
{
|
||||||
if (PyErr_Warn(PyExc_DeprecationWarning, "use xedit.encoding_get_utf8 instead") < 0)
|
if (PyErr_Warn(PyExc_DeprecationWarning, "use xed.encoding_get_utf8 instead") < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
return _wrap_xedit_encoding_get_utf8(self);
|
return _wrap_xed_encoding_get_utf8(self);
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_encoding_get_current_deprecated
|
override xed_encoding_get_current_deprecated
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_encoding_get_current_deprecated(PyObject *self)
|
_wrap_xed_encoding_get_current_deprecated(PyObject *self)
|
||||||
{
|
{
|
||||||
if (PyErr_Warn(PyExc_DeprecationWarning, "use xedit.encoding_get_current instead") < 0)
|
if (PyErr_Warn(PyExc_DeprecationWarning, "use xed.encoding_get_current instead") < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
return _wrap_xedit_encoding_get_current(self);
|
return _wrap_xed_encoding_get_current(self);
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_tab_get_from_document_deprecated kwargs
|
override xed_tab_get_from_document_deprecated kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_tab_get_from_document_deprecated(PyObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_tab_get_from_document_deprecated(PyObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
if (PyErr_Warn(PyExc_DeprecationWarning, "use xedit.tab_get_from_document instead") < 0)
|
if (PyErr_Warn(PyExc_DeprecationWarning, "use xed.tab_get_from_document instead") < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
return _wrap_xedit_tab_get_from_document(self, args, kwargs);
|
return _wrap_xed_tab_get_from_document(self, args, kwargs);
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_language_manager_list_languages_sorted kwargs
|
override xed_language_manager_list_languages_sorted kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_language_manager_list_languages_sorted(PyObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_language_manager_list_languages_sorted(PyObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
static char *kwlist[] = { "lm", "include_hidden", NULL };
|
static char *kwlist[] = { "lm", "include_hidden", NULL };
|
||||||
PyGObject *lm;
|
PyGObject *lm;
|
||||||
|
@ -371,7 +371,7 @@ _wrap_xedit_language_manager_list_languages_sorted(PyObject *self, PyObject *arg
|
||||||
&include_hidden))
|
&include_hidden))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
list = xedit_language_manager_list_languages_sorted (GTK_SOURCE_LANGUAGE_MANAGER (lm->obj),
|
list = xed_language_manager_list_languages_sorted (GTK_SOURCE_LANGUAGE_MANAGER (lm->obj),
|
||||||
include_hidden);
|
include_hidden);
|
||||||
|
|
||||||
py_list = _helper_wrap_gobject_gslist (list);
|
py_list = _helper_wrap_gobject_gslist (list);
|
||||||
|
@ -381,16 +381,16 @@ _wrap_xedit_language_manager_list_languages_sorted(PyObject *self, PyObject *arg
|
||||||
return py_list;
|
return py_list;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_debug kwargs
|
override xed_debug kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_debug(PyObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_debug(PyObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
static char *kwlist[] = { "message", NULL };
|
static char *kwlist[] = { "message", NULL };
|
||||||
PyObject *traceback_module, *mdict, *func, *traceback, *tuple;
|
PyObject *traceback_module, *mdict, *func, *traceback, *tuple;
|
||||||
PyObject *filename, *lineno, *funcname;
|
PyObject *filename, *lineno, *funcname;
|
||||||
char *message = NULL;
|
char *message = NULL;
|
||||||
|
|
||||||
if (g_getenv ("XEDIT_DEBUG_PLUGINS") == NULL)
|
if (g_getenv ("XED_DEBUG_PLUGINS") == NULL)
|
||||||
{
|
{
|
||||||
Py_INCREF (Py_None);
|
Py_INCREF (Py_None);
|
||||||
return Py_None;
|
return Py_None;
|
||||||
|
@ -423,12 +423,12 @@ _wrap_xedit_debug(PyObject *self, PyObject *args, PyObject *kwargs)
|
||||||
funcname = PyTuple_GetItem (tuple, 2);
|
funcname = PyTuple_GetItem (tuple, 2);
|
||||||
|
|
||||||
if (message == NULL)
|
if (message == NULL)
|
||||||
xedit_debug (XEDIT_DEBUG_PLUGINS,
|
xed_debug (XED_DEBUG_PLUGINS,
|
||||||
PyString_AsString (filename),
|
PyString_AsString (filename),
|
||||||
PyInt_AsLong (lineno),
|
PyInt_AsLong (lineno),
|
||||||
PyString_AsString (funcname));
|
PyString_AsString (funcname));
|
||||||
else
|
else
|
||||||
xedit_debug_message (XEDIT_DEBUG_PLUGINS,
|
xed_debug_message (XED_DEBUG_PLUGINS,
|
||||||
PyString_AsString (filename),
|
PyString_AsString (filename),
|
||||||
PyInt_AsLong (lineno),
|
PyInt_AsLong (lineno),
|
||||||
PyString_AsString (funcname),
|
PyString_AsString (funcname),
|
||||||
|
@ -442,18 +442,18 @@ _wrap_xedit_debug(PyObject *self, PyObject *args, PyObject *kwargs)
|
||||||
return Py_None;
|
return Py_None;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_statusbar_flash_message kwargs
|
override xed_statusbar_flash_message kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_statusbar_flash_message(PyGObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_statusbar_flash_message(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
static char *kwlist[] = { "context_id", "message", NULL };
|
static char *kwlist[] = { "context_id", "message", NULL };
|
||||||
int context_id;
|
int context_id;
|
||||||
char *message;
|
char *message;
|
||||||
|
|
||||||
if (!PyArg_ParseTupleAndKeywords(args, kwargs,"is:XeditStatusbar.flash_message", kwlist, &context_id, &message))
|
if (!PyArg_ParseTupleAndKeywords(args, kwargs,"is:XedStatusbar.flash_message", kwlist, &context_id, &message))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
xedit_statusbar_flash_message(XEDIT_STATUSBAR(self->obj), context_id, "%s", message);
|
xed_statusbar_flash_message(XED_STATUSBAR(self->obj), context_id, "%s", message);
|
||||||
|
|
||||||
Py_INCREF(Py_None);
|
Py_INCREF(Py_None);
|
||||||
return Py_None;
|
return Py_None;
|
|
@ -3,43 +3,43 @@
|
||||||
;; Enumerations and flags ...
|
;; Enumerations and flags ...
|
||||||
|
|
||||||
|
|
||||||
;; From ../../xedit/xedit-commands.h
|
;; From ../../xed/xed-commands.h
|
||||||
|
|
||||||
(define-function load_uri
|
(define-function load_uri
|
||||||
(c-name "xedit_commands_load_uri")
|
(c-name "xed_commands_load_uri")
|
||||||
(return-type "none")
|
(return-type "none")
|
||||||
(parameters
|
(parameters
|
||||||
'("XeditWindow*" "window")
|
'("XedWindow*" "window")
|
||||||
'("const-gchar*" "uri")
|
'("const-gchar*" "uri")
|
||||||
'("const-XeditEncoding*" "encoding")
|
'("const-XedEncoding*" "encoding")
|
||||||
'("gint" "line_pos")
|
'("gint" "line_pos")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
(define-function load_uris
|
(define-function load_uris
|
||||||
(c-name "xedit_commands_load_uris")
|
(c-name "xed_commands_load_uris")
|
||||||
(return-type "gint")
|
(return-type "gint")
|
||||||
(parameters
|
(parameters
|
||||||
'("XeditWindow*" "window")
|
'("XedWindow*" "window")
|
||||||
'("const-GSList*" "uris")
|
'("const-GSList*" "uris")
|
||||||
'("const-XeditEncoding*" "encoding")
|
'("const-XedEncoding*" "encoding")
|
||||||
'("gint" "line_pos")
|
'("gint" "line_pos")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
(define-function save_document
|
(define-function save_document
|
||||||
(c-name "xedit_commands_save_document")
|
(c-name "xed_commands_save_document")
|
||||||
(return-type "none")
|
(return-type "none")
|
||||||
(parameters
|
(parameters
|
||||||
'("XeditWindow*" "window")
|
'("XedWindow*" "window")
|
||||||
'("XeditDocument*" "document")
|
'("XedDocument*" "document")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
(define-function save_all_documents
|
(define-function save_all_documents
|
||||||
(c-name "xedit_commands_save_all_documents")
|
(c-name "xed_commands_save_all_documents")
|
||||||
(return-type "none")
|
(return-type "none")
|
||||||
(parameters
|
(parameters
|
||||||
'("XeditWindow*" "window")
|
'("XedWindow*" "window")
|
||||||
)
|
)
|
||||||
)
|
)
|
|
@ -5,59 +5,59 @@ headers
|
||||||
#include <pygobject.h>
|
#include <pygobject.h>
|
||||||
#include <pygtk/pygtk.h>
|
#include <pygtk/pygtk.h>
|
||||||
|
|
||||||
#include "xedit-commands.h"
|
#include "xed-commands.h"
|
||||||
#include "xedit-window.h"
|
#include "xed-window.h"
|
||||||
|
|
||||||
void pyxeditcommands_register_classes (PyObject *d);
|
void pyxedcommands_register_classes (PyObject *d);
|
||||||
void pyxeditcommands_add_constants (PyObject *module, const gchar *strip_prefix);
|
void pyxedcommands_add_constants (PyObject *module, const gchar *strip_prefix);
|
||||||
|
|
||||||
%%
|
%%
|
||||||
modulename xedit.commands
|
modulename xed.commands
|
||||||
%%
|
%%
|
||||||
import xedit.Window as PyXeditWindow_Type
|
import xed.Window as PyXedWindow_Type
|
||||||
import xedit.Document as PyXeditDocument_Type
|
import xed.Document as PyXedDocument_Type
|
||||||
%%
|
%%
|
||||||
ignore-glob
|
ignore-glob
|
||||||
_*
|
_*
|
||||||
%%
|
%%
|
||||||
override xedit_commands_load_uri kwargs
|
override xed_commands_load_uri kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_commands_load_uri (PyObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_commands_load_uri (PyObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
static char *kwlist[] = { "window", "uri", "encoding", "line_pos", NULL };
|
static char *kwlist[] = { "window", "uri", "encoding", "line_pos", NULL };
|
||||||
PyGObject *window;
|
PyGObject *window;
|
||||||
char *uri;
|
char *uri;
|
||||||
int line_pos = 0;
|
int line_pos = 0;
|
||||||
PyObject *py_encoding = NULL;
|
PyObject *py_encoding = NULL;
|
||||||
XeditEncoding *encoding = NULL;
|
XedEncoding *encoding = NULL;
|
||||||
|
|
||||||
if (!PyArg_ParseTupleAndKeywords (args, kwargs, "O!s|Oi:load_uri",
|
if (!PyArg_ParseTupleAndKeywords (args, kwargs, "O!s|Oi:load_uri",
|
||||||
kwlist, &PyXeditWindow_Type,
|
kwlist, &PyXedWindow_Type,
|
||||||
&window, &uri, &py_encoding,
|
&window, &uri, &py_encoding,
|
||||||
&line_pos))
|
&line_pos))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (py_encoding != NULL && py_encoding != Py_None)
|
if (py_encoding != NULL && py_encoding != Py_None)
|
||||||
{
|
{
|
||||||
if (pyg_boxed_check (py_encoding, XEDIT_TYPE_ENCODING))
|
if (pyg_boxed_check (py_encoding, XED_TYPE_ENCODING))
|
||||||
encoding = pyg_boxed_get (py_encoding, XeditEncoding);
|
encoding = pyg_boxed_get (py_encoding, XedEncoding);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
PyErr_SetString (PyExc_TypeError,
|
PyErr_SetString (PyExc_TypeError,
|
||||||
"encoding should be a XeditEncoding");
|
"encoding should be a XedEncoding");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
xedit_commands_load_uri (XEDIT_WINDOW (window->obj), uri, encoding,
|
xed_commands_load_uri (XED_WINDOW (window->obj), uri, encoding,
|
||||||
line_pos);
|
line_pos);
|
||||||
Py_INCREF (Py_None);
|
Py_INCREF (Py_None);
|
||||||
return Py_None;
|
return Py_None;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_commands_load_uris kwargs
|
override xed_commands_load_uris kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_commands_load_uris (PyObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_commands_load_uris (PyObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
static char *kwlist[] = { "window", "uris", "encoding", "line_pos", NULL };
|
static char *kwlist[] = { "window", "uris", "encoding", "line_pos", NULL };
|
||||||
PyGObject *window;
|
PyGObject *window;
|
||||||
|
@ -66,23 +66,23 @@ _wrap_xedit_commands_load_uris (PyObject *self, PyObject *args, PyObject *kwargs
|
||||||
PyObject *py_encoding = NULL;
|
PyObject *py_encoding = NULL;
|
||||||
PyObject *list;
|
PyObject *list;
|
||||||
PyObject *item;
|
PyObject *item;
|
||||||
XeditEncoding *encoding = NULL;
|
XedEncoding *encoding = NULL;
|
||||||
int len;
|
int len;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (!PyArg_ParseTupleAndKeywords (args, kwargs, "O!O|Oi:load_uri",
|
if (!PyArg_ParseTupleAndKeywords (args, kwargs, "O!O|Oi:load_uri",
|
||||||
kwlist, &PyXeditWindow_Type,
|
kwlist, &PyXedWindow_Type,
|
||||||
&window, &list, &py_encoding,
|
&window, &list, &py_encoding,
|
||||||
&line_pos))
|
&line_pos))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (py_encoding != NULL && py_encoding != Py_None)
|
if (py_encoding != NULL && py_encoding != Py_None)
|
||||||
{
|
{
|
||||||
if (pyg_boxed_check (py_encoding, XEDIT_TYPE_ENCODING))
|
if (pyg_boxed_check (py_encoding, XED_TYPE_ENCODING))
|
||||||
encoding = pyg_boxed_get (py_encoding, XeditEncoding);
|
encoding = pyg_boxed_get (py_encoding, XedEncoding);
|
||||||
else {
|
else {
|
||||||
PyErr_SetString (PyExc_TypeError,
|
PyErr_SetString (PyExc_TypeError,
|
||||||
"encoding should be a XeditEncoding");
|
"encoding should be a XedEncoding");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -113,7 +113,7 @@ _wrap_xedit_commands_load_uris (PyObject *self, PyObject *args, PyObject *kwargs
|
||||||
}
|
}
|
||||||
|
|
||||||
uris = g_slist_reverse (uris);
|
uris = g_slist_reverse (uris);
|
||||||
xedit_commands_load_uris (XEDIT_WINDOW (window->obj), uris,
|
xed_commands_load_uris (XED_WINDOW (window->obj), uris,
|
||||||
encoding, line_pos);
|
encoding, line_pos);
|
||||||
g_slist_free (uris);
|
g_slist_free (uris);
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
%%
|
%%
|
||||||
headers
|
headers
|
||||||
|
|
||||||
#include <xedit/xedit-message-bus.h>
|
#include <xed/xed-message-bus.h>
|
||||||
#include <xedit/xedit-message.h>
|
#include <xed/xed-message.h>
|
||||||
|
|
||||||
static GType
|
static GType
|
||||||
_helper_wrap_get_gtype_from_pytype (PyObject *pytype)
|
_helper_wrap_get_gtype_from_pytype (PyObject *pytype)
|
||||||
|
@ -69,7 +69,7 @@ _helper_wrap_get_gvalue_from_pyobject (GValue *gvalue, PyObject *pyvalue)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_helper_wrap_message_set_value(XeditMessage *message, PyObject *pykey, PyObject *pyvalue)
|
_helper_wrap_message_set_value(XedMessage *message, PyObject *pykey, PyObject *pyvalue)
|
||||||
{
|
{
|
||||||
gchar *key;
|
gchar *key;
|
||||||
GType gtype;
|
GType gtype;
|
||||||
|
@ -80,7 +80,7 @@ _helper_wrap_message_set_value(XeditMessage *message, PyObject *pykey, PyObject
|
||||||
if (key == NULL)
|
if (key == NULL)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
gtype = xedit_message_get_key_type(message, key);
|
gtype = xed_message_get_key_type(message, key);
|
||||||
|
|
||||||
if (gtype == 0) {
|
if (gtype == 0) {
|
||||||
PyErr_SetString(PyExc_TypeError, "invalid key");
|
PyErr_SetString(PyExc_TypeError, "invalid key");
|
||||||
|
@ -97,7 +97,7 @@ _helper_wrap_message_set_value(XeditMessage *message, PyObject *pykey, PyObject
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
xedit_message_set_value(message, key, &value);
|
xed_message_set_value(message, key, &value);
|
||||||
g_value_unset(&value);
|
g_value_unset(&value);
|
||||||
g_free (key);
|
g_free (key);
|
||||||
|
|
||||||
|
@ -141,34 +141,34 @@ _helper_parse_pairs(PyObject *args, PyObject *kwargs, ParsePairFunc func, gpoint
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_helper_message_set(PyObject *key, PyObject *value, XeditMessage *message)
|
_helper_message_set(PyObject *key, PyObject *value, XedMessage *message)
|
||||||
{
|
{
|
||||||
_helper_wrap_message_set_value(message, key, value);
|
_helper_wrap_message_set_value(message, key, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_helper_message_set_values(XeditMessage *message, PyObject *args, PyObject *kwargs)
|
_helper_message_set_values(XedMessage *message, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
_helper_parse_pairs(args, kwargs, (ParsePairFunc)_helper_message_set, message);
|
_helper_parse_pairs(args, kwargs, (ParsePairFunc)_helper_message_set, message);
|
||||||
}
|
}
|
||||||
|
|
||||||
static XeditMessage *
|
static XedMessage *
|
||||||
_helper_wrap_create_message(XeditMessageBus *bus, PyObject *args, PyObject *kwargs)
|
_helper_wrap_create_message(XedMessageBus *bus, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
PyObject *pypath, *pymethod, *pydict;
|
PyObject *pypath, *pymethod, *pydict;
|
||||||
|
|
||||||
if (!PyArg_ParseTuple(args, "OO|O:XeditMessage.create", &pypath, &pymethod, &pydict))
|
if (!PyArg_ParseTuple(args, "OO|O:XedMessage.create", &pypath, &pymethod, &pydict))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
gchar *object_path = _helper_wrap_get_string(pypath);
|
gchar *object_path = _helper_wrap_get_string(pypath);
|
||||||
gchar *method = _helper_wrap_get_string(pymethod);
|
gchar *method = _helper_wrap_get_string(pymethod);
|
||||||
|
|
||||||
XeditMessageType *message_type = xedit_message_bus_lookup (bus, object_path, method);
|
XedMessageType *message_type = xed_message_bus_lookup (bus, object_path, method);
|
||||||
XeditMessage *message;
|
XedMessage *message;
|
||||||
|
|
||||||
if (message_type)
|
if (message_type)
|
||||||
{
|
{
|
||||||
message = xedit_message_type_instantiate(message_type, NULL);
|
message = xed_message_type_instantiate(message_type, NULL);
|
||||||
_helper_message_set_values(message, args, kwargs);
|
_helper_message_set_values(message, args, kwargs);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -186,12 +186,12 @@ _helper_wrap_create_message(XeditMessageBus *bus, PyObject *args, PyObject *kwar
|
||||||
typedef struct {
|
typedef struct {
|
||||||
PyObject *func;
|
PyObject *func;
|
||||||
PyObject *data;
|
PyObject *data;
|
||||||
} PyXeditCustomNotify;
|
} PyXedCustomNotify;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
pyxedit_custom_destroy_notify(gpointer user_data)
|
pyxed_custom_destroy_notify(gpointer user_data)
|
||||||
{
|
{
|
||||||
PyXeditCustomNotify *cunote = user_data;
|
PyXedCustomNotify *cunote = user_data;
|
||||||
PyGILState_STATE state;
|
PyGILState_STATE state;
|
||||||
|
|
||||||
g_return_if_fail(user_data);
|
g_return_if_fail(user_data);
|
||||||
|
@ -205,21 +205,21 @@ pyxedit_custom_destroy_notify(gpointer user_data)
|
||||||
%%
|
%%
|
||||||
ignore-glob
|
ignore-glob
|
||||||
*_get_type
|
*_get_type
|
||||||
xedit_message_type_foreach
|
xed_message_type_foreach
|
||||||
xedit_message_type_instantiate_valist
|
xed_message_type_instantiate_valist
|
||||||
xedit_message_type_new_valist
|
xed_message_type_new_valist
|
||||||
xedit_message_get_valist
|
xed_message_get_valist
|
||||||
xedit_message_set_valist
|
xed_message_set_valist
|
||||||
xedit_message_set_valuesv
|
xed_message_set_valuesv
|
||||||
xedit_message_bus_disconnect_by_func
|
xed_message_bus_disconnect_by_func
|
||||||
xedit_message_bus_block_by_func
|
xed_message_bus_block_by_func
|
||||||
xedit_message_bus_unblock_by_func
|
xed_message_bus_unblock_by_func
|
||||||
%%
|
%%
|
||||||
override xedit_message_type_new kwargs
|
override xed_message_type_new kwargs
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
XeditMessageType *message_type;
|
XedMessageType *message_type;
|
||||||
PyObject *optional;
|
PyObject *optional;
|
||||||
} MessageTypeSetInfo;
|
} MessageTypeSetInfo;
|
||||||
|
|
||||||
|
@ -237,19 +237,19 @@ _message_type_set(PyObject *key, PyObject *value, MessageTypeSetInfo *info)
|
||||||
|
|
||||||
gboolean optional = info->optional && PySequence_Contains(info->optional, key);
|
gboolean optional = info->optional && PySequence_Contains(info->optional, key);
|
||||||
|
|
||||||
xedit_message_type_set(info->message_type, optional, k, gtype, NULL);
|
xed_message_type_set(info->message_type, optional, k, gtype, NULL);
|
||||||
g_free(k);
|
g_free(k);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_wrap_xedit_message_type_new(PyGObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_message_type_new(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
PyObject *pypath, *pymethod, *optional = NULL, *pydict;
|
PyObject *pypath, *pymethod, *optional = NULL, *pydict;
|
||||||
|
|
||||||
if (!PyArg_ParseTuple(args, "OO|OO:XeditMessageType.new", &pypath, &pymethod, &optional, &pydict))
|
if (!PyArg_ParseTuple(args, "OO|OO:XedMessageType.new", &pypath, &pymethod, &optional, &pydict))
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
XeditMessageType *message_type = XEDIT_MESSAGE_TYPE(g_object_new(pyg_type_from_object((PyObject *) self), NULL));
|
XedMessageType *message_type = XED_MESSAGE_TYPE(g_object_new(pyg_type_from_object((PyObject *) self), NULL));
|
||||||
|
|
||||||
MessageTypeSetInfo info = {message_type, optional && PySequence_Check(optional) ? optional : NULL};
|
MessageTypeSetInfo info = {message_type, optional && PySequence_Check(optional) ? optional : NULL};
|
||||||
_helper_parse_pairs (args, kwargs, (ParsePairFunc)_message_type_set, &info);
|
_helper_parse_pairs (args, kwargs, (ParsePairFunc)_message_type_set, &info);
|
||||||
|
@ -260,21 +260,21 @@ _wrap_xedit_message_type_new(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_message_type_instantiate kwargs
|
override xed_message_type_instantiate kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_message_type_instantiate(PyGObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_message_type_instantiate(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
XeditMessageType *message_type = XEDIT_MESSAGE_TYPE (self->obj);
|
XedMessageType *message_type = XED_MESSAGE_TYPE (self->obj);
|
||||||
XeditMessage *message = xedit_message_type_instantiate(message_type, NULL);
|
XedMessage *message = xed_message_type_instantiate(message_type, NULL);
|
||||||
|
|
||||||
_helper_message_set_values(message, args, kwargs);
|
_helper_message_set_values(message, args, kwargs);
|
||||||
|
|
||||||
return pygobject_new((GObject *)message);
|
return pygobject_new((GObject *)message);
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_message_get args
|
override xed_message_get args
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_message_get(PyGObject *self, PyObject *args)
|
_wrap_xed_message_get(PyGObject *self, PyObject *args)
|
||||||
{
|
{
|
||||||
guint len, i;
|
guint len, i;
|
||||||
PyObject *ret;
|
PyObject *ret;
|
||||||
|
@ -294,7 +294,7 @@ _wrap_xedit_message_get(PyGObject *self, PyObject *args)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
xedit_message_get_value (XEDIT_MESSAGE (self->obj), key, &value);
|
xed_message_get_value (XED_MESSAGE (self->obj), key, &value);
|
||||||
g_free (key);
|
g_free (key);
|
||||||
|
|
||||||
PyTuple_SetItem(ret, i, pyg_value_as_pyobject(&value, TRUE));
|
PyTuple_SetItem(ret, i, pyg_value_as_pyobject(&value, TRUE));
|
||||||
|
@ -304,81 +304,81 @@ _wrap_xedit_message_get(PyGObject *self, PyObject *args)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_message_get_value kwargs
|
override xed_message_get_value kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_message_get_value(PyGObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_message_get_value(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
static char *kwlist[] = { "key", NULL };
|
static char *kwlist[] = { "key", NULL };
|
||||||
const gchar *key;
|
const gchar *key;
|
||||||
PyObject *ret;
|
PyObject *ret;
|
||||||
GValue value = { 0, };
|
GValue value = { 0, };
|
||||||
|
|
||||||
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s:XeditMessage.get_value", kwlist, &key))
|
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s:XedMessage.get_value", kwlist, &key))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
xedit_message_get_value(XEDIT_MESSAGE(self->obj), key, &value);
|
xed_message_get_value(XED_MESSAGE(self->obj), key, &value);
|
||||||
ret = pyg_value_as_pyobject(&value, TRUE);
|
ret = pyg_value_as_pyobject(&value, TRUE);
|
||||||
g_value_unset(&value);
|
g_value_unset(&value);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_message_set_value kwargs
|
override xed_message_set_value kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_message_set_value(PyGObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_message_set_value(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
static char *kwlist[] = { "key", "value", NULL };
|
static char *kwlist[] = { "key", "value", NULL };
|
||||||
PyObject *pykey, *pyvalue;
|
PyObject *pykey, *pyvalue;
|
||||||
|
|
||||||
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:XeditMessage.set_value", kwlist, &pykey, &pyvalue))
|
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "OO:XedMessage.set_value", kwlist, &pykey, &pyvalue))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (!_helper_wrap_message_set_value(XEDIT_MESSAGE(self->obj), pykey, pyvalue))
|
if (!_helper_wrap_message_set_value(XED_MESSAGE(self->obj), pykey, pyvalue))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
Py_INCREF(Py_None);
|
Py_INCREF(Py_None);
|
||||||
return Py_None;
|
return Py_None;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_message_set kwargs
|
override xed_message_set kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_message_set (PyGObject *self, PyObject *args, PyObject *kwargs) {
|
_wrap_xed_message_set (PyGObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
_helper_message_set_values(XEDIT_MESSAGE(self->obj), args, kwargs);
|
_helper_message_set_values(XED_MESSAGE(self->obj), args, kwargs);
|
||||||
|
|
||||||
Py_INCREF(Py_None);
|
Py_INCREF(Py_None);
|
||||||
return Py_None;
|
return Py_None;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_message_bus_new
|
override xed_message_bus_new
|
||||||
static int
|
static int
|
||||||
_wrap_xedit_message_bus_new(PyGObject *self)
|
_wrap_xed_message_bus_new(PyGObject *self)
|
||||||
{
|
{
|
||||||
pygobject_construct (self, NULL);
|
pygobject_construct (self, NULL);
|
||||||
|
|
||||||
if (!self->obj) {
|
if (!self->obj) {
|
||||||
PyErr_SetString (PyExc_RuntimeError, "could not create xedit.MessageBus object");
|
PyErr_SetString (PyExc_RuntimeError, "could not create xed.MessageBus object");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
new-constructor XEDIT_TYPE_MESSAGE_BUS
|
new-constructor XED_TYPE_MESSAGE_BUS
|
||||||
%%
|
%%
|
||||||
override xedit_message_bus_register kwargs
|
override xed_message_bus_register kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_message_bus_register(PyGObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_message_bus_register(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
PyObject *pypath, *pymethod, *optional = NULL, *pydict;
|
PyObject *pypath, *pymethod, *optional = NULL, *pydict;
|
||||||
XeditMessageBus *bus = XEDIT_MESSAGE_BUS(self->obj);
|
XedMessageBus *bus = XED_MESSAGE_BUS(self->obj);
|
||||||
|
|
||||||
if (!PyArg_ParseTuple(args, "OO|OO:XeditMessageBus.register", &pypath, &pymethod, &optional, &pydict))
|
if (!PyArg_ParseTuple(args, "OO|OO:XedMessageBus.register", &pypath, &pymethod, &optional, &pydict))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
gchar *object_path = _helper_wrap_get_string(pypath);
|
gchar *object_path = _helper_wrap_get_string(pypath);
|
||||||
gchar *method = _helper_wrap_get_string(pymethod);
|
gchar *method = _helper_wrap_get_string(pymethod);
|
||||||
|
|
||||||
XeditMessageType *message_type = xedit_message_bus_register(bus, object_path, method, 0, NULL);
|
XedMessageType *message_type = xed_message_bus_register(bus, object_path, method, 0, NULL);
|
||||||
|
|
||||||
g_free(object_path);
|
g_free(object_path);
|
||||||
g_free(method);
|
g_free(method);
|
||||||
|
@ -392,15 +392,15 @@ _wrap_xedit_message_bus_register(PyGObject *self, PyObject *args, PyObject *kwar
|
||||||
MessageTypeSetInfo info = {message_type, optional && PySequence_Check(optional) ? optional : NULL};
|
MessageTypeSetInfo info = {message_type, optional && PySequence_Check(optional) ? optional : NULL};
|
||||||
_helper_parse_pairs (args, kwargs, (ParsePairFunc)_message_type_set, &info);
|
_helper_parse_pairs (args, kwargs, (ParsePairFunc)_message_type_set, &info);
|
||||||
|
|
||||||
return pyg_boxed_new(XEDIT_TYPE_MESSAGE_TYPE, message_type, TRUE, TRUE);
|
return pyg_boxed_new(XED_TYPE_MESSAGE_TYPE, message_type, TRUE, TRUE);
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_message_bus_connect kwargs
|
override xed_message_bus_connect kwargs
|
||||||
static void
|
static void
|
||||||
pyxedit_message_bus_connect_cb(XeditMessageBus *bus, XeditMessage *message, gpointer data)
|
pyxed_message_bus_connect_cb(XedMessageBus *bus, XedMessage *message, gpointer data)
|
||||||
{
|
{
|
||||||
PyGILState_STATE state;
|
PyGILState_STATE state;
|
||||||
PyXeditCustomNotify *cunote = data;
|
PyXedCustomNotify *cunote = data;
|
||||||
PyObject *pybus, *pymessage, *retobj;
|
PyObject *pybus, *pymessage, *retobj;
|
||||||
|
|
||||||
g_assert(cunote->func);
|
g_assert(cunote->func);
|
||||||
|
@ -426,16 +426,16 @@ pyxedit_message_bus_connect_cb(XeditMessageBus *bus, XeditMessage *message, gpoi
|
||||||
}
|
}
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_message_bus_connect(PyGObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_message_bus_connect(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
static char *kwlist[] = { "domain", "name", "func", "data", NULL };
|
static char *kwlist[] = { "domain", "name", "func", "data", NULL };
|
||||||
PyObject *pyfunc, *pyarg = NULL;
|
PyObject *pyfunc, *pyarg = NULL;
|
||||||
const gchar *domain;
|
const gchar *domain;
|
||||||
const gchar *name;
|
const gchar *name;
|
||||||
PyXeditCustomNotify *cunote;
|
PyXedCustomNotify *cunote;
|
||||||
|
|
||||||
if (!PyArg_ParseTupleAndKeywords(args, kwargs,
|
if (!PyArg_ParseTupleAndKeywords(args, kwargs,
|
||||||
"ssO|O:XeditMessageBus.connect",
|
"ssO|O:XedMessageBus.connect",
|
||||||
kwlist, &domain, &name, &pyfunc, &pyarg))
|
kwlist, &domain, &name, &pyfunc, &pyarg))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
@ -443,63 +443,63 @@ _wrap_xedit_message_bus_connect(PyGObject *self, PyObject *args, PyObject *kwarg
|
||||||
PyErr_SetString(PyExc_TypeError, "func must be a callable object");
|
PyErr_SetString(PyExc_TypeError, "func must be a callable object");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
cunote = g_new(PyXeditCustomNotify, 1);
|
cunote = g_new(PyXedCustomNotify, 1);
|
||||||
Py_INCREF(pyfunc);
|
Py_INCREF(pyfunc);
|
||||||
cunote->func = pyfunc;
|
cunote->func = pyfunc;
|
||||||
Py_XINCREF(pyarg);
|
Py_XINCREF(pyarg);
|
||||||
cunote->data = pyarg;
|
cunote->data = pyarg;
|
||||||
|
|
||||||
guint id = xedit_message_bus_connect(XEDIT_MESSAGE_BUS(self->obj),
|
guint id = xed_message_bus_connect(XED_MESSAGE_BUS(self->obj),
|
||||||
domain,
|
domain,
|
||||||
name,
|
name,
|
||||||
pyxedit_message_bus_connect_cb,
|
pyxed_message_bus_connect_cb,
|
||||||
(gpointer)cunote,
|
(gpointer)cunote,
|
||||||
pyxedit_custom_destroy_notify);
|
pyxed_custom_destroy_notify);
|
||||||
return PyLong_FromUnsignedLong(id);
|
return PyLong_FromUnsignedLong(id);
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_message_bus_send kwargs
|
override xed_message_bus_send kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_message_bus_send(PyGObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_message_bus_send(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
/* create a new message object */
|
/* create a new message object */
|
||||||
XeditMessage *message;
|
XedMessage *message;
|
||||||
XeditMessageBus *bus = XEDIT_MESSAGE_BUS(self->obj);
|
XedMessageBus *bus = XED_MESSAGE_BUS(self->obj);
|
||||||
message = _helper_wrap_create_message(bus, args, kwargs);
|
message = _helper_wrap_create_message(bus, args, kwargs);
|
||||||
|
|
||||||
if (!message)
|
if (!message)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
xedit_message_bus_send_message(bus, message);
|
xed_message_bus_send_message(bus, message);
|
||||||
g_object_unref (message);
|
g_object_unref (message);
|
||||||
|
|
||||||
Py_INCREF(Py_None);
|
Py_INCREF(Py_None);
|
||||||
return Py_None;
|
return Py_None;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_message_bus_send_sync kwargs
|
override xed_message_bus_send_sync kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_message_bus_send_sync(PyGObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_message_bus_send_sync(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
/* create a new message object */
|
/* create a new message object */
|
||||||
XeditMessage *message;
|
XedMessage *message;
|
||||||
XeditMessageBus *bus = XEDIT_MESSAGE_BUS(self->obj);
|
XedMessageBus *bus = XED_MESSAGE_BUS(self->obj);
|
||||||
|
|
||||||
message = _helper_wrap_create_message(bus, args, kwargs);
|
message = _helper_wrap_create_message(bus, args, kwargs);
|
||||||
|
|
||||||
if (!message)
|
if (!message)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
xedit_message_bus_send_message_sync(bus, message);
|
xed_message_bus_send_message_sync(bus, message);
|
||||||
return pygobject_new((GObject *)message);
|
return pygobject_new((GObject *)message);
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override-slot XeditMessage.tp_getattro
|
override-slot XedMessage.tp_getattro
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_message_tp_getattro(PyObject *self, PyObject *attrname)
|
_wrap_xed_message_tp_getattro(PyObject *self, PyObject *attrname)
|
||||||
{
|
{
|
||||||
XeditMessage *message = XEDIT_MESSAGE(((PyGObject *)self)->obj);
|
XedMessage *message = XED_MESSAGE(((PyGObject *)self)->obj);
|
||||||
XeditMessageType *type;
|
XedMessageType *type;
|
||||||
|
|
||||||
gchar *name = _helper_wrap_get_string (attrname);
|
gchar *name = _helper_wrap_get_string (attrname);
|
||||||
gboolean exists;
|
gboolean exists;
|
||||||
|
@ -513,10 +513,10 @@ _wrap_xedit_message_tp_getattro(PyObject *self, PyObject *attrname)
|
||||||
}
|
}
|
||||||
|
|
||||||
g_object_get (message, "type", &type, NULL);
|
g_object_get (message, "type", &type, NULL);
|
||||||
intype = xedit_message_type_lookup (type, name) != G_TYPE_INVALID;
|
intype = xed_message_type_lookup (type, name) != G_TYPE_INVALID;
|
||||||
xedit_message_type_unref (type);
|
xed_message_type_unref (type);
|
||||||
|
|
||||||
exists = xedit_message_has_key (message, name);
|
exists = xed_message_has_key (message, name);
|
||||||
|
|
||||||
if (!intype)
|
if (!intype)
|
||||||
{
|
{
|
||||||
|
@ -525,7 +525,7 @@ _wrap_xedit_message_tp_getattro(PyObject *self, PyObject *attrname)
|
||||||
else if (exists)
|
else if (exists)
|
||||||
{
|
{
|
||||||
GValue value = { 0, };
|
GValue value = { 0, };
|
||||||
xedit_message_get_value (message, name, &value);
|
xed_message_get_value (message, name, &value);
|
||||||
ret = pyg_value_as_pyobject(&value, TRUE);
|
ret = pyg_value_as_pyobject(&value, TRUE);
|
||||||
g_value_unset (&value);
|
g_value_unset (&value);
|
||||||
}
|
}
|
||||||
|
@ -539,11 +539,11 @@ _wrap_xedit_message_tp_getattro(PyObject *self, PyObject *attrname)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override-slot XeditMessage.tp_setattro
|
override-slot XedMessage.tp_setattro
|
||||||
static int
|
static int
|
||||||
_wrap_xedit_message_tp_setattro(PyObject *self, PyObject *attrname, PyObject *value)
|
_wrap_xed_message_tp_setattro(PyObject *self, PyObject *attrname, PyObject *value)
|
||||||
{
|
{
|
||||||
XeditMessage *message = XEDIT_MESSAGE(((PyGObject *)self)->obj);
|
XedMessage *message = XED_MESSAGE(((PyGObject *)self)->obj);
|
||||||
|
|
||||||
if (!_helper_wrap_message_set_value(message, attrname, value))
|
if (!_helper_wrap_message_set_value(message, attrname, value))
|
||||||
{
|
{
|
|
@ -1,11 +1,11 @@
|
||||||
%%
|
%%
|
||||||
headers
|
headers
|
||||||
#include <xedit/xedit-plugin.h>
|
#include <xed/xed-plugin.h>
|
||||||
#include <xedit/xedit-window.h>
|
#include <xed/xed-window.h>
|
||||||
%%
|
%%
|
||||||
override xedit_plugin_activate kwargs
|
override xed_plugin_activate kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_plugin_activate(PyGObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_plugin_activate(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
gpointer klass, klass2;
|
gpointer klass, klass2;
|
||||||
static char *kwlist[] = { "window", NULL };
|
static char *kwlist[] = { "window", NULL };
|
||||||
|
@ -14,27 +14,27 @@ _wrap_xedit_plugin_activate(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
|
|
||||||
if (!PyArg_ParseTupleAndKeywords (args,
|
if (!PyArg_ParseTupleAndKeywords (args,
|
||||||
kwargs,
|
kwargs,
|
||||||
"O!:XeditPlugin.activate",
|
"O!:XedPlugin.activate",
|
||||||
kwlist,
|
kwlist,
|
||||||
&PyXeditWindow_Type,
|
&PyXedWindow_Type,
|
||||||
&window))
|
&window))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
klass = g_type_class_ref (pyg_type_from_object (cls));
|
klass = g_type_class_ref (pyg_type_from_object (cls));
|
||||||
|
|
||||||
if (XEDIT_IS_PLUGIN_PYTHON_CLASS (klass))
|
if (XED_IS_PLUGIN_PYTHON_CLASS (klass))
|
||||||
{
|
{
|
||||||
klass2 = g_type_class_peek_parent (klass);
|
klass2 = g_type_class_peek_parent (klass);
|
||||||
g_type_class_unref (klass);
|
g_type_class_unref (klass);
|
||||||
klass = g_type_class_ref (G_TYPE_FROM_CLASS (klass2));
|
klass = g_type_class_ref (G_TYPE_FROM_CLASS (klass2));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (XEDIT_PLUGIN_CLASS (klass)->activate)
|
if (XED_PLUGIN_CLASS (klass)->activate)
|
||||||
XEDIT_PLUGIN_CLASS (klass)->activate (XEDIT_PLUGIN (self->obj),
|
XED_PLUGIN_CLASS (klass)->activate (XED_PLUGIN (self->obj),
|
||||||
XEDIT_WINDOW (window->obj));
|
XED_WINDOW (window->obj));
|
||||||
else {
|
else {
|
||||||
PyErr_SetString (PyExc_NotImplementedError,
|
PyErr_SetString (PyExc_NotImplementedError,
|
||||||
"virtual method XeditPlugin.activate not implemented");
|
"virtual method XedPlugin.activate not implemented");
|
||||||
g_type_class_unref (klass);
|
g_type_class_unref (klass);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -45,9 +45,9 @@ _wrap_xedit_plugin_activate(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
}
|
}
|
||||||
|
|
||||||
%%
|
%%
|
||||||
override xedit_plugin_deactivate kwargs
|
override xed_plugin_deactivate kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_plugin_deactivate(PyGObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_plugin_deactivate(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
gpointer klass, klass2;
|
gpointer klass, klass2;
|
||||||
static char *kwlist[] = {"window", NULL};
|
static char *kwlist[] = {"window", NULL};
|
||||||
|
@ -56,27 +56,27 @@ _wrap_xedit_plugin_deactivate(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
|
|
||||||
if (!PyArg_ParseTupleAndKeywords (args,
|
if (!PyArg_ParseTupleAndKeywords (args,
|
||||||
kwargs,
|
kwargs,
|
||||||
"O!:XeditPlugin.deactivate",
|
"O!:XedPlugin.deactivate",
|
||||||
kwlist,
|
kwlist,
|
||||||
&PyXeditWindow_Type,
|
&PyXedWindow_Type,
|
||||||
&window))
|
&window))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
klass = g_type_class_ref (pyg_type_from_object (cls));
|
klass = g_type_class_ref (pyg_type_from_object (cls));
|
||||||
|
|
||||||
if (XEDIT_IS_PLUGIN_PYTHON_CLASS (klass))
|
if (XED_IS_PLUGIN_PYTHON_CLASS (klass))
|
||||||
{
|
{
|
||||||
klass2 = g_type_class_peek_parent (klass);
|
klass2 = g_type_class_peek_parent (klass);
|
||||||
g_type_class_unref (klass);
|
g_type_class_unref (klass);
|
||||||
klass = g_type_class_ref (G_TYPE_FROM_CLASS (klass2));
|
klass = g_type_class_ref (G_TYPE_FROM_CLASS (klass2));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (XEDIT_PLUGIN_CLASS (klass)->deactivate)
|
if (XED_PLUGIN_CLASS (klass)->deactivate)
|
||||||
XEDIT_PLUGIN_CLASS (klass)->deactivate (XEDIT_PLUGIN (self->obj),
|
XED_PLUGIN_CLASS (klass)->deactivate (XED_PLUGIN (self->obj),
|
||||||
XEDIT_WINDOW (window->obj));
|
XED_WINDOW (window->obj));
|
||||||
else {
|
else {
|
||||||
PyErr_SetString (PyExc_NotImplementedError,
|
PyErr_SetString (PyExc_NotImplementedError,
|
||||||
"virtual method XeditPlugin.deactivate not implemented");
|
"virtual method XedPlugin.deactivate not implemented");
|
||||||
g_type_class_unref (klass);
|
g_type_class_unref (klass);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -87,9 +87,9 @@ _wrap_xedit_plugin_deactivate(PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
}
|
}
|
||||||
|
|
||||||
%%
|
%%
|
||||||
override xedit_plugin_update_ui kwargs
|
override xed_plugin_update_ui kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_plugin_update_ui (PyGObject *self, PyObject *args, PyObject *kwargs)
|
_wrap_xed_plugin_update_ui (PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
{
|
{
|
||||||
gpointer klass, klass2;
|
gpointer klass, klass2;
|
||||||
static char *kwlist[] = {"window", NULL};
|
static char *kwlist[] = {"window", NULL};
|
||||||
|
@ -98,27 +98,27 @@ _wrap_xedit_plugin_update_ui (PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
|
|
||||||
if (!PyArg_ParseTupleAndKeywords (args,
|
if (!PyArg_ParseTupleAndKeywords (args,
|
||||||
kwargs,
|
kwargs,
|
||||||
"O!:XeditPlugin.update_ui",
|
"O!:XedPlugin.update_ui",
|
||||||
kwlist,
|
kwlist,
|
||||||
&PyXeditWindow_Type,
|
&PyXedWindow_Type,
|
||||||
&window))
|
&window))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
klass = g_type_class_ref (pyg_type_from_object (cls));
|
klass = g_type_class_ref (pyg_type_from_object (cls));
|
||||||
|
|
||||||
if (XEDIT_IS_PLUGIN_PYTHON_CLASS (klass))
|
if (XED_IS_PLUGIN_PYTHON_CLASS (klass))
|
||||||
{
|
{
|
||||||
klass2 = g_type_class_peek_parent (klass);
|
klass2 = g_type_class_peek_parent (klass);
|
||||||
g_type_class_unref (klass);
|
g_type_class_unref (klass);
|
||||||
klass = g_type_class_ref (G_TYPE_FROM_CLASS (klass2));
|
klass = g_type_class_ref (G_TYPE_FROM_CLASS (klass2));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (XEDIT_PLUGIN_CLASS (klass)->update_ui)
|
if (XED_PLUGIN_CLASS (klass)->update_ui)
|
||||||
XEDIT_PLUGIN_CLASS (klass)->update_ui (XEDIT_PLUGIN (self->obj),
|
XED_PLUGIN_CLASS (klass)->update_ui (XED_PLUGIN (self->obj),
|
||||||
XEDIT_WINDOW (window->obj));
|
XED_WINDOW (window->obj));
|
||||||
else {
|
else {
|
||||||
PyErr_SetString (PyExc_NotImplementedError,
|
PyErr_SetString (PyExc_NotImplementedError,
|
||||||
"virtual method XeditPlugin.update_ui not implemented");
|
"virtual method XedPlugin.update_ui not implemented");
|
||||||
g_type_class_unref (klass);
|
g_type_class_unref (klass);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -129,9 +129,9 @@ _wrap_xedit_plugin_update_ui (PyGObject *self, PyObject *args, PyObject *kwargs)
|
||||||
}
|
}
|
||||||
|
|
||||||
%%
|
%%
|
||||||
override xedit_plugin_is_configurable
|
override xed_plugin_is_configurable
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_plugin_is_configurable (PyGObject *self)
|
_wrap_xed_plugin_is_configurable (PyGObject *self)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
gpointer klass, klass2;
|
gpointer klass, klass2;
|
||||||
|
@ -139,18 +139,18 @@ _wrap_xedit_plugin_is_configurable (PyGObject *self)
|
||||||
|
|
||||||
klass = g_type_class_ref (pyg_type_from_object (cls));
|
klass = g_type_class_ref (pyg_type_from_object (cls));
|
||||||
|
|
||||||
if (XEDIT_IS_PLUGIN_PYTHON_CLASS (klass))
|
if (XED_IS_PLUGIN_PYTHON_CLASS (klass))
|
||||||
{
|
{
|
||||||
klass2 = g_type_class_peek_parent (klass);
|
klass2 = g_type_class_peek_parent (klass);
|
||||||
g_type_class_unref (klass);
|
g_type_class_unref (klass);
|
||||||
klass = g_type_class_ref (G_TYPE_FROM_CLASS (klass2));
|
klass = g_type_class_ref (G_TYPE_FROM_CLASS (klass2));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (XEDIT_PLUGIN_CLASS (klass)->is_configurable)
|
if (XED_PLUGIN_CLASS (klass)->is_configurable)
|
||||||
ret = XEDIT_PLUGIN_CLASS (klass)->is_configurable (XEDIT_PLUGIN (self->obj));
|
ret = XED_PLUGIN_CLASS (klass)->is_configurable (XED_PLUGIN (self->obj));
|
||||||
else {
|
else {
|
||||||
PyErr_SetString (PyExc_NotImplementedError,
|
PyErr_SetString (PyExc_NotImplementedError,
|
||||||
"virtual method XeditPlugin.is_configurable not implemented");
|
"virtual method XedPlugin.is_configurable not implemented");
|
||||||
g_type_class_unref (klass);
|
g_type_class_unref (klass);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -160,9 +160,9 @@ _wrap_xedit_plugin_is_configurable (PyGObject *self)
|
||||||
}
|
}
|
||||||
|
|
||||||
%%
|
%%
|
||||||
override xedit_plugin_configure_dialog
|
override xed_plugin_configure_dialog
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_plugin_create_configure_dialog (PyGObject *self)
|
_wrap_xed_plugin_create_configure_dialog (PyGObject *self)
|
||||||
{
|
{
|
||||||
GtkWidget *ret;
|
GtkWidget *ret;
|
||||||
gpointer klass, klass2;
|
gpointer klass, klass2;
|
||||||
|
@ -170,18 +170,18 @@ _wrap_xedit_plugin_create_configure_dialog (PyGObject *self)
|
||||||
|
|
||||||
klass = g_type_class_ref(pyg_type_from_object (cls));
|
klass = g_type_class_ref(pyg_type_from_object (cls));
|
||||||
|
|
||||||
if (XEDIT_IS_PLUGIN_PYTHON_CLASS (klass))
|
if (XED_IS_PLUGIN_PYTHON_CLASS (klass))
|
||||||
{
|
{
|
||||||
klass2 = g_type_class_peek_parent (klass);
|
klass2 = g_type_class_peek_parent (klass);
|
||||||
g_type_class_unref (klass);
|
g_type_class_unref (klass);
|
||||||
klass = g_type_class_ref (G_TYPE_FROM_CLASS (klass2));
|
klass = g_type_class_ref (G_TYPE_FROM_CLASS (klass2));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (XEDIT_PLUGIN_CLASS (klass)->create_configure_dialog)
|
if (XED_PLUGIN_CLASS (klass)->create_configure_dialog)
|
||||||
ret = XEDIT_PLUGIN_CLASS (klass)->create_configure_dialog (XEDIT_PLUGIN (self->obj));
|
ret = XED_PLUGIN_CLASS (klass)->create_configure_dialog (XED_PLUGIN (self->obj));
|
||||||
else {
|
else {
|
||||||
PyErr_SetString (PyExc_NotImplementedError,
|
PyErr_SetString (PyExc_NotImplementedError,
|
||||||
"virtual method XeditPlugin.create_configure_dialog not implemented");
|
"virtual method XedPlugin.create_configure_dialog not implemented");
|
||||||
g_type_class_unref (klass);
|
g_type_class_unref (klass);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
|
@ -1,9 +1,9 @@
|
||||||
;; -*- scheme -*-
|
;; -*- scheme -*-
|
||||||
|
|
||||||
;; From ../../xedit/xedit-utils.h
|
;; From ../../xed/xed-utils.h
|
||||||
|
|
||||||
(define-function uri_has_writable_scheme
|
(define-function uri_has_writable_scheme
|
||||||
(c-name "xedit_utils_uri_has_writable_scheme")
|
(c-name "xed_utils_uri_has_writable_scheme")
|
||||||
(return-type "gboolean")
|
(return-type "gboolean")
|
||||||
(parameters
|
(parameters
|
||||||
'("const-gchar*" "uri")
|
'("const-gchar*" "uri")
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
)
|
)
|
||||||
|
|
||||||
(define-function uri_has_file_scheme
|
(define-function uri_has_file_scheme
|
||||||
(c-name "xedit_utils_uri_has_file_scheme")
|
(c-name "xed_utils_uri_has_file_scheme")
|
||||||
(return-type "gboolean")
|
(return-type "gboolean")
|
||||||
(parameters
|
(parameters
|
||||||
'("const-gchar*" "uri")
|
'("const-gchar*" "uri")
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
)
|
)
|
||||||
|
|
||||||
(define-function uri_exists
|
(define-function uri_exists
|
||||||
(c-name "xedit_utils_uri_exists")
|
(c-name "xed_utils_uri_exists")
|
||||||
(return-type "gboolean")
|
(return-type "gboolean")
|
||||||
(parameters
|
(parameters
|
||||||
'("const-gchar*" "text_uri")
|
'("const-gchar*" "text_uri")
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
)
|
)
|
||||||
|
|
||||||
(define-function uri_is_valid
|
(define-function uri_is_valid
|
||||||
(c-name "xedit_utils_is_valid_uri")
|
(c-name "xed_utils_is_valid_uri")
|
||||||
(return-type "gboolean")
|
(return-type "gboolean")
|
||||||
(parameters
|
(parameters
|
||||||
'("const-gchar*" "uri")
|
'("const-gchar*" "uri")
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
)
|
)
|
||||||
|
|
||||||
(define-function uri_get_dirname
|
(define-function uri_get_dirname
|
||||||
(c-name "xedit_utils_uri_get_dirname")
|
(c-name "xed_utils_uri_get_dirname")
|
||||||
(return-type "gchar*")
|
(return-type "gchar*")
|
||||||
(parameters
|
(parameters
|
||||||
'("const-char*" "uri")
|
'("const-char*" "uri")
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
)
|
)
|
||||||
|
|
||||||
(define-function menu_position_under_widget
|
(define-function menu_position_under_widget
|
||||||
(c-name "xedit_utils_menu_position_under_widget")
|
(c-name "xed_utils_menu_position_under_widget")
|
||||||
(return-type "none")
|
(return-type "none")
|
||||||
(parameters
|
(parameters
|
||||||
'("GtkMenu*" "menu")
|
'("GtkMenu*" "menu")
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
)
|
)
|
||||||
|
|
||||||
(define-function menu_position_under_tree_view
|
(define-function menu_position_under_tree_view
|
||||||
(c-name "xedit_utils_menu_position_under_tree_view")
|
(c-name "xed_utils_menu_position_under_tree_view")
|
||||||
(return-type "none")
|
(return-type "none")
|
||||||
(parameters
|
(parameters
|
||||||
'("GtkMenu*" "menu")
|
'("GtkMenu*" "menu")
|
|
@ -5,13 +5,13 @@ headers
|
||||||
#include <pygobject.h>
|
#include <pygobject.h>
|
||||||
#include <pygtk/pygtk.h>
|
#include <pygtk/pygtk.h>
|
||||||
|
|
||||||
#include "xedit-utils.h"
|
#include "xed-utils.h"
|
||||||
|
|
||||||
void pyxeditutils_register_classes (PyObject *d);
|
void pyxedutils_register_classes (PyObject *d);
|
||||||
void pyxeditutils_add_constants (PyObject *module, const gchar *strip_prefix);
|
void pyxedutils_add_constants (PyObject *module, const gchar *strip_prefix);
|
||||||
|
|
||||||
%%
|
%%
|
||||||
modulename xedit.utils
|
modulename xed.utils
|
||||||
%%
|
%%
|
||||||
import gtk.Widget as PyGtkWidget_Type
|
import gtk.Widget as PyGtkWidget_Type
|
||||||
import gtk.TreeView as PyGtkTreeView_Type
|
import gtk.TreeView as PyGtkTreeView_Type
|
||||||
|
@ -20,9 +20,9 @@ import gtk.Menu as PyGtkMenu_Type
|
||||||
ignore-glob
|
ignore-glob
|
||||||
_*
|
_*
|
||||||
%%
|
%%
|
||||||
override xedit_utils_menu_position_under_widget kwargs
|
override xed_utils_menu_position_under_widget kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_utils_menu_position_under_widget (PyObject *self,
|
_wrap_xed_utils_menu_position_under_widget (PyObject *self,
|
||||||
PyObject *args,
|
PyObject *args,
|
||||||
PyObject *kwargs)
|
PyObject *kwargs)
|
||||||
{
|
{
|
||||||
|
@ -43,7 +43,7 @@ _wrap_xedit_utils_menu_position_under_widget (PyObject *self,
|
||||||
menu = GTK_MENU (pygobject_get (py_menu));
|
menu = GTK_MENU (pygobject_get (py_menu));
|
||||||
widget = GTK_WIDGET (pygobject_get (py_widget));
|
widget = GTK_WIDGET (pygobject_get (py_widget));
|
||||||
|
|
||||||
xedit_utils_menu_position_under_widget (menu, &x, &y, &push_in, widget);
|
xed_utils_menu_position_under_widget (menu, &x, &y, &push_in, widget);
|
||||||
|
|
||||||
tuple = PyTuple_New (3);
|
tuple = PyTuple_New (3);
|
||||||
PyTuple_SetItem (tuple, 0, PyInt_FromLong (x));
|
PyTuple_SetItem (tuple, 0, PyInt_FromLong (x));
|
||||||
|
@ -52,9 +52,9 @@ _wrap_xedit_utils_menu_position_under_widget (PyObject *self,
|
||||||
return tuple;
|
return tuple;
|
||||||
}
|
}
|
||||||
%%
|
%%
|
||||||
override xedit_utils_menu_position_under_tree_view kwargs
|
override xed_utils_menu_position_under_tree_view kwargs
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_wrap_xedit_utils_menu_position_under_tree_view (PyObject *self,
|
_wrap_xed_utils_menu_position_under_tree_view (PyObject *self,
|
||||||
PyObject *args,
|
PyObject *args,
|
||||||
PyObject *kwargs)
|
PyObject *kwargs)
|
||||||
{
|
{
|
||||||
|
@ -75,7 +75,7 @@ _wrap_xedit_utils_menu_position_under_tree_view (PyObject *self,
|
||||||
menu = GTK_MENU (pygobject_get (py_menu));
|
menu = GTK_MENU (pygobject_get (py_menu));
|
||||||
view = GTK_TREE_VIEW (pygobject_get (py_view));
|
view = GTK_TREE_VIEW (pygobject_get (py_view));
|
||||||
|
|
||||||
xedit_utils_menu_position_under_widget (menu, &x, &y, &push_in, view);
|
xed_utils_menu_position_under_widget (menu, &x, &y, &push_in, view);
|
||||||
|
|
||||||
tuple = PyTuple_New (3);
|
tuple = PyTuple_New (3);
|
||||||
PyTuple_SetItem (tuple, 0, PyInt_FromLong (x));
|
PyTuple_SetItem (tuple, 0, PyInt_FromLong (x));
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* xedit-plugin-loader-python.c
|
* xed-plugin-loader-python.c
|
||||||
* This file is part of xedit
|
* This file is part of xed
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008 - Jesse van den Kieboom
|
* Copyright (C) 2008 - Jesse van den Kieboom
|
||||||
*
|
*
|
||||||
|
@ -20,9 +20,9 @@
|
||||||
* Boston, MA 02110-1301, USA.
|
* Boston, MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "xedit-plugin-loader-python.h"
|
#include "xed-plugin-loader-python.h"
|
||||||
#include "xedit-plugin-python.h"
|
#include "xed-plugin-python.h"
|
||||||
#include <xedit/xedit-object-module.h>
|
#include <xed/xed-object-module.h>
|
||||||
|
|
||||||
#define NO_IMPORT_PYGOBJECT
|
#define NO_IMPORT_PYGOBJECT
|
||||||
#define NO_IMPORT_PYGTK
|
#define NO_IMPORT_PYGTK
|
||||||
|
@ -39,9 +39,9 @@ typedef int Py_ssize_t;
|
||||||
#define PY_SSIZE_T_MIN INT_MIN
|
#define PY_SSIZE_T_MIN INT_MIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define XEDIT_PLUGIN_LOADER_PYTHON_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), XEDIT_TYPE_PLUGIN_LOADER_PYTHON, XeditPluginLoaderPythonPrivate))
|
#define XED_PLUGIN_LOADER_PYTHON_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), XED_TYPE_PLUGIN_LOADER_PYTHON, XedPluginLoaderPythonPrivate))
|
||||||
|
|
||||||
struct _XeditPluginLoaderPythonPrivate
|
struct _XedPluginLoaderPythonPrivate
|
||||||
{
|
{
|
||||||
GHashTable *loaded_plugins;
|
GHashTable *loaded_plugins;
|
||||||
guint idle_gc;
|
guint idle_gc;
|
||||||
|
@ -55,29 +55,29 @@ typedef struct
|
||||||
gchar *path;
|
gchar *path;
|
||||||
} PythonInfo;
|
} PythonInfo;
|
||||||
|
|
||||||
static void xedit_plugin_loader_iface_init (gpointer g_iface, gpointer iface_data);
|
static void xed_plugin_loader_iface_init (gpointer g_iface, gpointer iface_data);
|
||||||
|
|
||||||
/* Exported by pyxedit module */
|
/* Exported by pyxed module */
|
||||||
void pyxedit_register_classes (PyObject *d);
|
void pyxed_register_classes (PyObject *d);
|
||||||
void pyxedit_add_constants (PyObject *module, const gchar *strip_prefix);
|
void pyxed_add_constants (PyObject *module, const gchar *strip_prefix);
|
||||||
extern PyMethodDef pyxedit_functions[];
|
extern PyMethodDef pyxed_functions[];
|
||||||
|
|
||||||
/* Exported by pyxeditutils module */
|
/* Exported by pyxedutils module */
|
||||||
void pyxeditutils_register_classes (PyObject *d);
|
void pyxedutils_register_classes (PyObject *d);
|
||||||
extern PyMethodDef pyxeditutils_functions[];
|
extern PyMethodDef pyxedutils_functions[];
|
||||||
|
|
||||||
/* Exported by pyxeditcommands module */
|
/* Exported by pyxedcommands module */
|
||||||
void pyxeditcommands_register_classes (PyObject *d);
|
void pyxedcommands_register_classes (PyObject *d);
|
||||||
extern PyMethodDef pyxeditcommands_functions[];
|
extern PyMethodDef pyxedcommands_functions[];
|
||||||
|
|
||||||
/* We retreive this to check for correct class hierarchy */
|
/* We retreive this to check for correct class hierarchy */
|
||||||
static PyTypeObject *PyXeditPlugin_Type;
|
static PyTypeObject *PyXedPlugin_Type;
|
||||||
|
|
||||||
XEDIT_PLUGIN_LOADER_REGISTER_TYPE (XeditPluginLoaderPython, xedit_plugin_loader_python, G_TYPE_OBJECT, xedit_plugin_loader_iface_init);
|
XED_PLUGIN_LOADER_REGISTER_TYPE (XedPluginLoaderPython, xed_plugin_loader_python, G_TYPE_OBJECT, xed_plugin_loader_iface_init);
|
||||||
|
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
find_python_plugin_type (XeditPluginInfo *info,
|
find_python_plugin_type (XedPluginInfo *info,
|
||||||
PyObject *pymodule)
|
PyObject *pymodule)
|
||||||
{
|
{
|
||||||
PyObject *locals, *key, *value;
|
PyObject *locals, *key, *value;
|
||||||
|
@ -90,24 +90,24 @@ find_python_plugin_type (XeditPluginInfo *info,
|
||||||
if (!PyType_Check(value))
|
if (!PyType_Check(value))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (PyObject_IsSubclass (value, (PyObject*) PyXeditPlugin_Type))
|
if (PyObject_IsSubclass (value, (PyObject*) PyXedPlugin_Type))
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_warning ("No XeditPlugin derivative found in Python plugin '%s'",
|
g_warning ("No XedPlugin derivative found in Python plugin '%s'",
|
||||||
xedit_plugin_info_get_name (info));
|
xed_plugin_info_get_name (info));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static XeditPlugin *
|
static XedPlugin *
|
||||||
new_plugin_from_info (XeditPluginLoaderPython *loader,
|
new_plugin_from_info (XedPluginLoaderPython *loader,
|
||||||
XeditPluginInfo *info)
|
XedPluginInfo *info)
|
||||||
{
|
{
|
||||||
PythonInfo *pyinfo;
|
PythonInfo *pyinfo;
|
||||||
PyTypeObject *pytype;
|
PyTypeObject *pytype;
|
||||||
PyObject *pyobject;
|
PyObject *pyobject;
|
||||||
PyGObject *pygobject;
|
PyGObject *pygobject;
|
||||||
XeditPlugin *instance;
|
XedPlugin *instance;
|
||||||
PyObject *emptyarg;
|
PyObject *emptyarg;
|
||||||
|
|
||||||
pyinfo = (PythonInfo *)g_hash_table_lookup (loader->priv->loaded_plugins, info);
|
pyinfo = (PythonInfo *)g_hash_table_lookup (loader->priv->loaded_plugins, info);
|
||||||
|
@ -126,7 +126,7 @@ new_plugin_from_info (XeditPluginLoaderPython *loader,
|
||||||
|
|
||||||
if (pyobject == NULL)
|
if (pyobject == NULL)
|
||||||
{
|
{
|
||||||
g_error ("Could not create instance for %s.", xedit_plugin_info_get_name (info));
|
g_error ("Could not create instance for %s.", xed_plugin_info_get_name (info));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -135,18 +135,18 @@ new_plugin_from_info (XeditPluginLoaderPython *loader,
|
||||||
if (pygobject->obj != NULL)
|
if (pygobject->obj != NULL)
|
||||||
{
|
{
|
||||||
Py_DECREF (pyobject);
|
Py_DECREF (pyobject);
|
||||||
g_error ("Could not create instance for %s (GObject already initialized).", xedit_plugin_info_get_name (info));
|
g_error ("Could not create instance for %s (GObject already initialized).", xed_plugin_info_get_name (info));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
pygobject_construct (pygobject,
|
pygobject_construct (pygobject,
|
||||||
"install-dir", pyinfo->path,
|
"install-dir", pyinfo->path,
|
||||||
"data-dir-name", xedit_plugin_info_get_module_name (info),
|
"data-dir-name", xed_plugin_info_get_module_name (info),
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
if (pygobject->obj == NULL)
|
if (pygobject->obj == NULL)
|
||||||
{
|
{
|
||||||
g_error ("Could not create instance for %s (GObject not constructed).", xedit_plugin_info_get_name (info));
|
g_error ("Could not create instance for %s (GObject not constructed).", xed_plugin_info_get_name (info));
|
||||||
Py_DECREF (pyobject);
|
Py_DECREF (pyobject);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -161,20 +161,20 @@ new_plugin_from_info (XeditPluginLoaderPython *loader,
|
||||||
Py_DECREF (emptyarg);
|
Py_DECREF (emptyarg);
|
||||||
}
|
}
|
||||||
|
|
||||||
instance = XEDIT_PLUGIN (pygobject->obj);
|
instance = XED_PLUGIN (pygobject->obj);
|
||||||
pyinfo->instance = (PyObject *)pygobject;
|
pyinfo->instance = (PyObject *)pygobject;
|
||||||
|
|
||||||
/* make sure to register the python instance for the XeditPluginPython
|
/* make sure to register the python instance for the XedPluginPython
|
||||||
object to it can wrap the virtual xedit plugin funcs back to python */
|
object to it can wrap the virtual xed plugin funcs back to python */
|
||||||
_xedit_plugin_python_set_instance (XEDIT_PLUGIN_PYTHON (instance), (PyObject *)pygobject);
|
_xed_plugin_python_set_instance (XED_PLUGIN_PYTHON (instance), (PyObject *)pygobject);
|
||||||
|
|
||||||
/* we return a reference here because the other is owned by python */
|
/* we return a reference here because the other is owned by python */
|
||||||
return XEDIT_PLUGIN (g_object_ref (instance));
|
return XED_PLUGIN (g_object_ref (instance));
|
||||||
}
|
}
|
||||||
|
|
||||||
static XeditPlugin *
|
static XedPlugin *
|
||||||
add_python_info (XeditPluginLoaderPython *loader,
|
add_python_info (XedPluginLoaderPython *loader,
|
||||||
XeditPluginInfo *info,
|
XedPluginInfo *info,
|
||||||
PyObject *module,
|
PyObject *module,
|
||||||
const gchar *path,
|
const gchar *path,
|
||||||
PyObject *type)
|
PyObject *type)
|
||||||
|
@ -193,27 +193,27 @@ add_python_info (XeditPluginLoaderPython *loader,
|
||||||
}
|
}
|
||||||
|
|
||||||
static const gchar *
|
static const gchar *
|
||||||
xedit_plugin_loader_iface_get_id (void)
|
xed_plugin_loader_iface_get_id (void)
|
||||||
{
|
{
|
||||||
return "Python";
|
return "Python";
|
||||||
}
|
}
|
||||||
|
|
||||||
static XeditPlugin *
|
static XedPlugin *
|
||||||
xedit_plugin_loader_iface_load (XeditPluginLoader *loader,
|
xed_plugin_loader_iface_load (XedPluginLoader *loader,
|
||||||
XeditPluginInfo *info,
|
XedPluginInfo *info,
|
||||||
const gchar *path)
|
const gchar *path)
|
||||||
{
|
{
|
||||||
XeditPluginLoaderPython *pyloader = XEDIT_PLUGIN_LOADER_PYTHON (loader);
|
XedPluginLoaderPython *pyloader = XED_PLUGIN_LOADER_PYTHON (loader);
|
||||||
PyObject *main_module, *main_locals, *pytype;
|
PyObject *main_module, *main_locals, *pytype;
|
||||||
PyObject *pymodule, *fromlist;
|
PyObject *pymodule, *fromlist;
|
||||||
gchar *module_name;
|
gchar *module_name;
|
||||||
XeditPlugin *result;
|
XedPlugin *result;
|
||||||
|
|
||||||
if (pyloader->priv->init_failed)
|
if (pyloader->priv->init_failed)
|
||||||
{
|
{
|
||||||
g_warning ("Cannot load python plugin Python '%s' since xedit was"
|
g_warning ("Cannot load python plugin Python '%s' since xed was"
|
||||||
"not able to initialize the Python interpreter.",
|
"not able to initialize the Python interpreter.",
|
||||||
xedit_plugin_info_get_name (info));
|
xed_plugin_info_get_name (info));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -223,10 +223,10 @@ xedit_plugin_loader_iface_load (XeditPluginLoader *loader,
|
||||||
if (result != NULL)
|
if (result != NULL)
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
main_module = PyImport_AddModule ("xedit.plugins");
|
main_module = PyImport_AddModule ("xed.plugins");
|
||||||
if (main_module == NULL)
|
if (main_module == NULL)
|
||||||
{
|
{
|
||||||
g_warning ("Could not get xedit.plugins.");
|
g_warning ("Could not get xed.plugins.");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -247,7 +247,7 @@ xedit_plugin_loader_iface_load (XeditPluginLoader *loader,
|
||||||
/* we need a fromlist to be able to import modules with a '.' in the
|
/* we need a fromlist to be able to import modules with a '.' in the
|
||||||
name. */
|
name. */
|
||||||
fromlist = PyTuple_New(0);
|
fromlist = PyTuple_New(0);
|
||||||
module_name = g_strdup (xedit_plugin_info_get_module_name (info));
|
module_name = g_strdup (xed_plugin_info_get_module_name (info));
|
||||||
|
|
||||||
pymodule = PyImport_ImportModuleEx (module_name,
|
pymodule = PyImport_ImportModuleEx (module_name,
|
||||||
main_locals,
|
main_locals,
|
||||||
|
@ -275,10 +275,10 @@ xedit_plugin_loader_iface_load (XeditPluginLoader *loader,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_plugin_loader_iface_unload (XeditPluginLoader *loader,
|
xed_plugin_loader_iface_unload (XedPluginLoader *loader,
|
||||||
XeditPluginInfo *info)
|
XedPluginInfo *info)
|
||||||
{
|
{
|
||||||
XeditPluginLoaderPython *pyloader = XEDIT_PLUGIN_LOADER_PYTHON (loader);
|
XedPluginLoaderPython *pyloader = XED_PLUGIN_LOADER_PYTHON (loader);
|
||||||
PythonInfo *pyinfo;
|
PythonInfo *pyinfo;
|
||||||
PyGILState_STATE state;
|
PyGILState_STATE state;
|
||||||
|
|
||||||
|
@ -295,7 +295,7 @@ xedit_plugin_loader_iface_unload (XeditPluginLoader *loader,
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
run_gc (XeditPluginLoaderPython *loader)
|
run_gc (XedPluginLoaderPython *loader)
|
||||||
{
|
{
|
||||||
while (PyGC_Collect ())
|
while (PyGC_Collect ())
|
||||||
;
|
;
|
||||||
|
@ -305,14 +305,14 @@ run_gc (XeditPluginLoaderPython *loader)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_plugin_loader_iface_garbage_collect (XeditPluginLoader *loader)
|
xed_plugin_loader_iface_garbage_collect (XedPluginLoader *loader)
|
||||||
{
|
{
|
||||||
XeditPluginLoaderPython *pyloader;
|
XedPluginLoaderPython *pyloader;
|
||||||
|
|
||||||
if (!Py_IsInitialized())
|
if (!Py_IsInitialized())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
pyloader = XEDIT_PLUGIN_LOADER_PYTHON (loader);
|
pyloader = XED_PLUGIN_LOADER_PYTHON (loader);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We both run the GC right now and we schedule
|
* We both run the GC right now and we schedule
|
||||||
|
@ -327,19 +327,19 @@ xedit_plugin_loader_iface_garbage_collect (XeditPluginLoader *loader)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_plugin_loader_iface_init (gpointer g_iface,
|
xed_plugin_loader_iface_init (gpointer g_iface,
|
||||||
gpointer iface_data)
|
gpointer iface_data)
|
||||||
{
|
{
|
||||||
XeditPluginLoaderInterface *iface = (XeditPluginLoaderInterface *)g_iface;
|
XedPluginLoaderInterface *iface = (XedPluginLoaderInterface *)g_iface;
|
||||||
|
|
||||||
iface->get_id = xedit_plugin_loader_iface_get_id;
|
iface->get_id = xed_plugin_loader_iface_get_id;
|
||||||
iface->load = xedit_plugin_loader_iface_load;
|
iface->load = xed_plugin_loader_iface_load;
|
||||||
iface->unload = xedit_plugin_loader_iface_unload;
|
iface->unload = xed_plugin_loader_iface_unload;
|
||||||
iface->garbage_collect = xedit_plugin_loader_iface_garbage_collect;
|
iface->garbage_collect = xed_plugin_loader_iface_garbage_collect;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_python_shutdown (XeditPluginLoaderPython *loader)
|
xed_python_shutdown (XedPluginLoaderPython *loader)
|
||||||
{
|
{
|
||||||
if (!Py_IsInitialized ())
|
if (!Py_IsInitialized ())
|
||||||
return;
|
return;
|
||||||
|
@ -362,7 +362,7 @@ xedit_python_shutdown (XeditPluginLoaderPython *loader)
|
||||||
* pygtk.require ("2.0")
|
* pygtk.require ("2.0")
|
||||||
*/
|
*/
|
||||||
static gboolean
|
static gboolean
|
||||||
xedit_check_pygtk2 (void)
|
xed_check_pygtk2 (void)
|
||||||
{
|
{
|
||||||
PyObject *pygtk, *mdict, *require;
|
PyObject *pygtk, *mdict, *require;
|
||||||
|
|
||||||
|
@ -394,13 +394,13 @@ xedit_check_pygtk2 (void)
|
||||||
* It's up to the caller to check the result with PyErr_Occurred()
|
* It's up to the caller to check the result with PyErr_Occurred()
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
xedit_init_pygobject (void)
|
xed_init_pygobject (void)
|
||||||
{
|
{
|
||||||
init_pygobject_check (2, 11, 5); /* FIXME: get from config */
|
init_pygobject_check (2, 11, 5); /* FIXME: get from config */
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_init_pygtk (void)
|
xed_init_pygtk (void)
|
||||||
{
|
{
|
||||||
PyObject *gtk, *mdict, *version, *required_version;
|
PyObject *gtk, *mdict, *version, *required_version;
|
||||||
|
|
||||||
|
@ -439,7 +439,7 @@ old_gtksourceview_init (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_init_pygtksourceview (void)
|
xed_init_pygtksourceview (void)
|
||||||
{
|
{
|
||||||
PyObject *gtksourceview, *mdict, *version, *required_version;
|
PyObject *gtksourceview, *mdict, *version, *required_version;
|
||||||
|
|
||||||
|
@ -481,13 +481,13 @@ xedit_init_pygtksourceview (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
xedit_python_init (XeditPluginLoaderPython *loader)
|
xed_python_init (XedPluginLoaderPython *loader)
|
||||||
{
|
{
|
||||||
PyObject *mdict, *tuple;
|
PyObject *mdict, *tuple;
|
||||||
PyObject *xedit, *xeditutils, *xeditcommands, *xeditplugins;
|
PyObject *xed, *xedutils, *xedcommands, *xedplugins;
|
||||||
PyObject *gettext, *install, *gettext_args;
|
PyObject *gettext, *install, *gettext_args;
|
||||||
//char *argv[] = { "xedit", NULL };
|
//char *argv[] = { "xed", NULL };
|
||||||
char *argv[] = { XEDIT_PLUGINS_LIBS_DIR, NULL };
|
char *argv[] = { XED_PLUGINS_LIBS_DIR, NULL };
|
||||||
#ifdef HAVE_SIGACTION
|
#ifdef HAVE_SIGACTION
|
||||||
gint res;
|
gint res;
|
||||||
struct sigaction old_sigint;
|
struct sigaction old_sigint;
|
||||||
|
@ -548,14 +548,14 @@ xedit_python_init (XeditPluginLoaderPython *loader)
|
||||||
|
|
||||||
PySys_SetArgv (1, argv);
|
PySys_SetArgv (1, argv);
|
||||||
|
|
||||||
if (!xedit_check_pygtk2 ())
|
if (!xed_check_pygtk2 ())
|
||||||
{
|
{
|
||||||
/* Warning message already printed in check_pygtk2 */
|
/* Warning message already printed in check_pygtk2 */
|
||||||
goto python_init_error;
|
goto python_init_error;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* import gobject */
|
/* import gobject */
|
||||||
xedit_init_pygobject ();
|
xed_init_pygobject ();
|
||||||
if (PyErr_Occurred ())
|
if (PyErr_Occurred ())
|
||||||
{
|
{
|
||||||
g_warning ("Error initializing Python interpreter: could not import pygobject.");
|
g_warning ("Error initializing Python interpreter: could not import pygobject.");
|
||||||
|
@ -564,7 +564,7 @@ xedit_python_init (XeditPluginLoaderPython *loader)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* import gtk */
|
/* import gtk */
|
||||||
xedit_init_pygtk ();
|
xed_init_pygtk ();
|
||||||
if (PyErr_Occurred ())
|
if (PyErr_Occurred ())
|
||||||
{
|
{
|
||||||
g_warning ("Error initializing Python interpreter: could not import pygtk.");
|
g_warning ("Error initializing Python interpreter: could not import pygtk.");
|
||||||
|
@ -573,7 +573,7 @@ xedit_python_init (XeditPluginLoaderPython *loader)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* import gtksourceview */
|
/* import gtksourceview */
|
||||||
xedit_init_pygtksourceview ();
|
xed_init_pygtksourceview ();
|
||||||
if (PyErr_Occurred ())
|
if (PyErr_Occurred ())
|
||||||
{
|
{
|
||||||
PyErr_Print ();
|
PyErr_Print ();
|
||||||
|
@ -583,47 +583,47 @@ xedit_python_init (XeditPluginLoaderPython *loader)
|
||||||
goto python_init_error;
|
goto python_init_error;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* import xedit */
|
/* import xed */
|
||||||
xedit = Py_InitModule ("xedit", pyxedit_functions);
|
xed = Py_InitModule ("xed", pyxed_functions);
|
||||||
mdict = PyModule_GetDict (xedit);
|
mdict = PyModule_GetDict (xed);
|
||||||
|
|
||||||
pyxedit_register_classes (mdict);
|
pyxed_register_classes (mdict);
|
||||||
pyxedit_add_constants (xedit, "XEDIT_");
|
pyxed_add_constants (xed, "XED_");
|
||||||
|
|
||||||
/* xedit version */
|
/* xed version */
|
||||||
tuple = Py_BuildValue("(iii)",
|
tuple = Py_BuildValue("(iii)",
|
||||||
XEDIT_MAJOR_VERSION,
|
XED_MAJOR_VERSION,
|
||||||
XEDIT_MINOR_VERSION,
|
XED_MINOR_VERSION,
|
||||||
XEDIT_MICRO_VERSION);
|
XED_MICRO_VERSION);
|
||||||
PyDict_SetItemString(mdict, "version", tuple);
|
PyDict_SetItemString(mdict, "version", tuple);
|
||||||
Py_DECREF(tuple);
|
Py_DECREF(tuple);
|
||||||
|
|
||||||
/* Retrieve the Python type for xedit.Plugin */
|
/* Retrieve the Python type for xed.Plugin */
|
||||||
PyXeditPlugin_Type = (PyTypeObject *) PyDict_GetItemString (mdict, "Plugin");
|
PyXedPlugin_Type = (PyTypeObject *) PyDict_GetItemString (mdict, "Plugin");
|
||||||
if (PyXeditPlugin_Type == NULL)
|
if (PyXedPlugin_Type == NULL)
|
||||||
{
|
{
|
||||||
PyErr_Print ();
|
PyErr_Print ();
|
||||||
|
|
||||||
goto python_init_error;
|
goto python_init_error;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* import xedit.utils */
|
/* import xed.utils */
|
||||||
xeditutils = Py_InitModule ("xedit.utils", pyxeditutils_functions);
|
xedutils = Py_InitModule ("xed.utils", pyxedutils_functions);
|
||||||
PyDict_SetItemString (mdict, "utils", xeditutils);
|
PyDict_SetItemString (mdict, "utils", xedutils);
|
||||||
|
|
||||||
/* import xedit.commands */
|
/* import xed.commands */
|
||||||
xeditcommands = Py_InitModule ("xedit.commands", pyxeditcommands_functions);
|
xedcommands = Py_InitModule ("xed.commands", pyxedcommands_functions);
|
||||||
PyDict_SetItemString (mdict, "commands", xeditcommands);
|
PyDict_SetItemString (mdict, "commands", xedcommands);
|
||||||
|
|
||||||
/* initialize empty xedit.plugins module */
|
/* initialize empty xed.plugins module */
|
||||||
xeditplugins = Py_InitModule ("xedit.plugins", NULL);
|
xedplugins = Py_InitModule ("xed.plugins", NULL);
|
||||||
PyDict_SetItemString (mdict, "plugins", xeditplugins);
|
PyDict_SetItemString (mdict, "plugins", xedplugins);
|
||||||
|
|
||||||
mdict = PyModule_GetDict (xeditutils);
|
mdict = PyModule_GetDict (xedutils);
|
||||||
pyxeditutils_register_classes (mdict);
|
pyxedutils_register_classes (mdict);
|
||||||
|
|
||||||
mdict = PyModule_GetDict (xeditcommands);
|
mdict = PyModule_GetDict (xedcommands);
|
||||||
pyxeditcommands_register_classes (mdict);
|
pyxedcommands_register_classes (mdict);
|
||||||
|
|
||||||
/* i18n support */
|
/* i18n support */
|
||||||
gettext = PyImport_ImportModule ("gettext");
|
gettext = PyImport_ImportModule ("gettext");
|
||||||
|
@ -636,7 +636,7 @@ xedit_python_init (XeditPluginLoaderPython *loader)
|
||||||
|
|
||||||
mdict = PyModule_GetDict (gettext);
|
mdict = PyModule_GetDict (gettext);
|
||||||
install = PyDict_GetItemString (mdict, "install");
|
install = PyDict_GetItemString (mdict, "install");
|
||||||
gettext_args = Py_BuildValue ("ss", GETTEXT_PACKAGE, XEDIT_LOCALEDIR);
|
gettext_args = Py_BuildValue ("ss", GETTEXT_PACKAGE, XED_LOCALEDIR);
|
||||||
PyObject_CallObject (install, gettext_args);
|
PyObject_CallObject (install, gettext_args);
|
||||||
Py_DECREF (gettext_args);
|
Py_DECREF (gettext_args);
|
||||||
|
|
||||||
|
@ -648,38 +648,38 @@ xedit_python_init (XeditPluginLoaderPython *loader)
|
||||||
python_init_error:
|
python_init_error:
|
||||||
|
|
||||||
g_warning ("Please check the installation of all the Python related packages required "
|
g_warning ("Please check the installation of all the Python related packages required "
|
||||||
"by xedit and try again.");
|
"by xed and try again.");
|
||||||
|
|
||||||
PyErr_Clear ();
|
PyErr_Clear ();
|
||||||
|
|
||||||
xedit_python_shutdown (loader);
|
xed_python_shutdown (loader);
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_plugin_loader_python_finalize (GObject *object)
|
xed_plugin_loader_python_finalize (GObject *object)
|
||||||
{
|
{
|
||||||
XeditPluginLoaderPython *pyloader = XEDIT_PLUGIN_LOADER_PYTHON (object);
|
XedPluginLoaderPython *pyloader = XED_PLUGIN_LOADER_PYTHON (object);
|
||||||
|
|
||||||
g_hash_table_destroy (pyloader->priv->loaded_plugins);
|
g_hash_table_destroy (pyloader->priv->loaded_plugins);
|
||||||
xedit_python_shutdown (pyloader);
|
xed_python_shutdown (pyloader);
|
||||||
|
|
||||||
G_OBJECT_CLASS (xedit_plugin_loader_python_parent_class)->finalize (object);
|
G_OBJECT_CLASS (xed_plugin_loader_python_parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_plugin_loader_python_class_init (XeditPluginLoaderPythonClass *klass)
|
xed_plugin_loader_python_class_init (XedPluginLoaderPythonClass *klass)
|
||||||
{
|
{
|
||||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||||
|
|
||||||
object_class->finalize = xedit_plugin_loader_python_finalize;
|
object_class->finalize = xed_plugin_loader_python_finalize;
|
||||||
|
|
||||||
g_type_class_add_private (object_class, sizeof (XeditPluginLoaderPythonPrivate));
|
g_type_class_add_private (object_class, sizeof (XedPluginLoaderPythonPrivate));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_plugin_loader_python_class_finalize (XeditPluginLoaderPythonClass *klass)
|
xed_plugin_loader_python_class_finalize (XedPluginLoaderPythonClass *klass)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -695,25 +695,25 @@ destroy_python_info (PythonInfo *info)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_plugin_loader_python_init (XeditPluginLoaderPython *self)
|
xed_plugin_loader_python_init (XedPluginLoaderPython *self)
|
||||||
{
|
{
|
||||||
self->priv = XEDIT_PLUGIN_LOADER_PYTHON_GET_PRIVATE (self);
|
self->priv = XED_PLUGIN_LOADER_PYTHON_GET_PRIVATE (self);
|
||||||
|
|
||||||
/* initialize python interpreter */
|
/* initialize python interpreter */
|
||||||
xedit_python_init (self);
|
xed_python_init (self);
|
||||||
|
|
||||||
/* loaded_plugins maps XeditPluginInfo to a PythonInfo */
|
/* loaded_plugins maps XedPluginInfo to a PythonInfo */
|
||||||
self->priv->loaded_plugins = g_hash_table_new_full (g_direct_hash,
|
self->priv->loaded_plugins = g_hash_table_new_full (g_direct_hash,
|
||||||
g_direct_equal,
|
g_direct_equal,
|
||||||
NULL,
|
NULL,
|
||||||
(GDestroyNotify)destroy_python_info);
|
(GDestroyNotify)destroy_python_info);
|
||||||
}
|
}
|
||||||
|
|
||||||
XeditPluginLoaderPython *
|
XedPluginLoaderPython *
|
||||||
xedit_plugin_loader_python_new ()
|
xed_plugin_loader_python_new ()
|
||||||
{
|
{
|
||||||
GObject *loader = g_object_new (XEDIT_TYPE_PLUGIN_LOADER_PYTHON, NULL);
|
GObject *loader = g_object_new (XED_TYPE_PLUGIN_LOADER_PYTHON, NULL);
|
||||||
|
|
||||||
return XEDIT_PLUGIN_LOADER_PYTHON (loader);
|
return XED_PLUGIN_LOADER_PYTHON (loader);
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,61 @@
|
||||||
|
/*
|
||||||
|
* xed-plugin-loader-python.h
|
||||||
|
* This file is part of xed
|
||||||
|
*
|
||||||
|
* Copyright (C) 2008 - Jesse van den Kieboom
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin St, Fifth Floor,
|
||||||
|
* Boston, MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __XED_PLUGIN_LOADER_PYTHON_H__
|
||||||
|
#define __XED_PLUGIN_LOADER_PYTHON_H__
|
||||||
|
|
||||||
|
#include <xed/xed-plugin-loader.h>
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
#define XED_TYPE_PLUGIN_LOADER_PYTHON (xed_plugin_loader_python_get_type ())
|
||||||
|
#define XED_PLUGIN_LOADER_PYTHON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XED_TYPE_PLUGIN_LOADER_PYTHON, XedPluginLoaderPython))
|
||||||
|
#define XED_PLUGIN_LOADER_PYTHON_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XED_TYPE_PLUGIN_LOADER_PYTHON, XedPluginLoaderPython const))
|
||||||
|
#define XED_PLUGIN_LOADER_PYTHON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), XED_TYPE_PLUGIN_LOADER_PYTHON, XedPluginLoaderPythonClass))
|
||||||
|
#define XED_IS_PLUGIN_LOADER_PYTHON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XED_TYPE_PLUGIN_LOADER_PYTHON))
|
||||||
|
#define XED_IS_PLUGIN_LOADER_PYTHON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), XED_TYPE_PLUGIN_LOADER_PYTHON))
|
||||||
|
#define XED_PLUGIN_LOADER_PYTHON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), XED_TYPE_PLUGIN_LOADER_PYTHON, XedPluginLoaderPythonClass))
|
||||||
|
|
||||||
|
typedef struct _XedPluginLoaderPython XedPluginLoaderPython;
|
||||||
|
typedef struct _XedPluginLoaderPythonClass XedPluginLoaderPythonClass;
|
||||||
|
typedef struct _XedPluginLoaderPythonPrivate XedPluginLoaderPythonPrivate;
|
||||||
|
|
||||||
|
struct _XedPluginLoaderPython {
|
||||||
|
GObject parent;
|
||||||
|
|
||||||
|
XedPluginLoaderPythonPrivate *priv;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct _XedPluginLoaderPythonClass {
|
||||||
|
GObjectClass parent_class;
|
||||||
|
};
|
||||||
|
|
||||||
|
GType xed_plugin_loader_python_get_type (void) G_GNUC_CONST;
|
||||||
|
XedPluginLoaderPython *xed_plugin_loader_python_new(void);
|
||||||
|
|
||||||
|
/* All the loaders must implement this function */
|
||||||
|
G_MODULE_EXPORT GType register_xed_plugin_loader (GTypeModule * module);
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __XED_PLUGIN_LOADER_PYTHON_H__ */
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* xedit-plugin-python.c
|
* xed-plugin-python.c
|
||||||
* This file is part of xedit
|
* This file is part of xed
|
||||||
*
|
*
|
||||||
* Copyright (C) 2005 Raphael Slinckx
|
* Copyright (C) 2005 Raphael Slinckx
|
||||||
* Copyright (C) 2008 Jesse van den Kieboom
|
* Copyright (C) 2008 Jesse van den Kieboom
|
||||||
|
@ -23,30 +23,30 @@
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include "xedit-plugin-python.h"
|
#include "xed-plugin-python.h"
|
||||||
|
|
||||||
#include <xedit/xedit-plugin.h>
|
#include <xed/xed-plugin.h>
|
||||||
#include <xedit/xedit-debug.h>
|
#include <xed/xed-debug.h>
|
||||||
#include <pygobject.h>
|
#include <pygobject.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#define XEDIT_PLUGIN_PYTHON_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), XEDIT_TYPE_PLUGIN_PYTHON, XeditPluginPythonPrivate))
|
#define XED_PLUGIN_PYTHON_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), XED_TYPE_PLUGIN_PYTHON, XedPluginPythonPrivate))
|
||||||
|
|
||||||
static GObjectClass *parent_class;
|
static GObjectClass *parent_class;
|
||||||
|
|
||||||
struct _XeditPluginPythonPrivate
|
struct _XedPluginPythonPrivate
|
||||||
{
|
{
|
||||||
PyObject *instance;
|
PyObject *instance;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void xedit_plugin_python_class_init (XeditPluginPythonClass *klass);
|
static void xed_plugin_python_class_init (XedPluginPythonClass *klass);
|
||||||
static void xedit_plugin_python_init (XeditPluginPython *plugin);
|
static void xed_plugin_python_init (XedPluginPython *plugin);
|
||||||
|
|
||||||
G_DEFINE_TYPE (XeditPluginPython, xedit_plugin_python, XEDIT_TYPE_PLUGIN)
|
G_DEFINE_TYPE (XedPluginPython, xed_plugin_python, XED_TYPE_PLUGIN)
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
call_python_method (XeditPluginPythonPrivate *priv,
|
call_python_method (XedPluginPythonPrivate *priv,
|
||||||
XeditWindow *window,
|
XedWindow *window,
|
||||||
gchar *method)
|
gchar *method)
|
||||||
{
|
{
|
||||||
PyObject *py_ret = NULL;
|
PyObject *py_ret = NULL;
|
||||||
|
@ -101,11 +101,11 @@ check_py_object_is_gtk_widget (PyObject *py_obj)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
impl_update_ui (XeditPlugin *plugin,
|
impl_update_ui (XedPlugin *plugin,
|
||||||
XeditWindow *window)
|
XedWindow *window)
|
||||||
{
|
{
|
||||||
PyGILState_STATE state = pyg_gil_state_ensure ();
|
PyGILState_STATE state = pyg_gil_state_ensure ();
|
||||||
XeditPluginPythonPrivate *priv = XEDIT_PLUGIN_PYTHON(plugin)->priv;
|
XedPluginPythonPrivate *priv = XED_PLUGIN_PYTHON(plugin)->priv;
|
||||||
|
|
||||||
if (PyObject_HasAttrString (priv->instance, "update_ui"))
|
if (PyObject_HasAttrString (priv->instance, "update_ui"))
|
||||||
{
|
{
|
||||||
|
@ -117,17 +117,17 @@ impl_update_ui (XeditPlugin *plugin,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
XEDIT_PLUGIN_CLASS (parent_class)->update_ui (plugin, window);
|
XED_PLUGIN_CLASS (parent_class)->update_ui (plugin, window);
|
||||||
|
|
||||||
pyg_gil_state_release (state);
|
pyg_gil_state_release (state);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
impl_deactivate (XeditPlugin *plugin,
|
impl_deactivate (XedPlugin *plugin,
|
||||||
XeditWindow *window)
|
XedWindow *window)
|
||||||
{
|
{
|
||||||
PyGILState_STATE state = pyg_gil_state_ensure ();
|
PyGILState_STATE state = pyg_gil_state_ensure ();
|
||||||
XeditPluginPythonPrivate *priv = XEDIT_PLUGIN_PYTHON(plugin)->priv;
|
XedPluginPythonPrivate *priv = XED_PLUGIN_PYTHON(plugin)->priv;
|
||||||
|
|
||||||
if (PyObject_HasAttrString (priv->instance, "deactivate"))
|
if (PyObject_HasAttrString (priv->instance, "deactivate"))
|
||||||
{
|
{
|
||||||
|
@ -139,17 +139,17 @@ impl_deactivate (XeditPlugin *plugin,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
XEDIT_PLUGIN_CLASS (parent_class)->deactivate (plugin, window);
|
XED_PLUGIN_CLASS (parent_class)->deactivate (plugin, window);
|
||||||
|
|
||||||
pyg_gil_state_release (state);
|
pyg_gil_state_release (state);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
impl_activate (XeditPlugin *plugin,
|
impl_activate (XedPlugin *plugin,
|
||||||
XeditWindow *window)
|
XedWindow *window)
|
||||||
{
|
{
|
||||||
PyGILState_STATE state = pyg_gil_state_ensure ();
|
PyGILState_STATE state = pyg_gil_state_ensure ();
|
||||||
XeditPluginPythonPrivate *priv = XEDIT_PLUGIN_PYTHON(plugin)->priv;
|
XedPluginPythonPrivate *priv = XED_PLUGIN_PYTHON(plugin)->priv;
|
||||||
|
|
||||||
if (PyObject_HasAttrString (priv->instance, "activate"))
|
if (PyObject_HasAttrString (priv->instance, "activate"))
|
||||||
{
|
{
|
||||||
|
@ -161,16 +161,16 @@ impl_activate (XeditPlugin *plugin,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
XEDIT_PLUGIN_CLASS (parent_class)->activate (plugin, window);
|
XED_PLUGIN_CLASS (parent_class)->activate (plugin, window);
|
||||||
|
|
||||||
pyg_gil_state_release (state);
|
pyg_gil_state_release (state);
|
||||||
}
|
}
|
||||||
|
|
||||||
static GtkWidget *
|
static GtkWidget *
|
||||||
impl_create_configure_dialog (XeditPlugin *plugin)
|
impl_create_configure_dialog (XedPlugin *plugin)
|
||||||
{
|
{
|
||||||
PyGILState_STATE state = pyg_gil_state_ensure ();
|
PyGILState_STATE state = pyg_gil_state_ensure ();
|
||||||
XeditPluginPythonPrivate *priv = XEDIT_PLUGIN_PYTHON(plugin)->priv;
|
XedPluginPythonPrivate *priv = XED_PLUGIN_PYTHON(plugin)->priv;
|
||||||
GtkWidget *ret = NULL;
|
GtkWidget *ret = NULL;
|
||||||
|
|
||||||
if (PyObject_HasAttrString (priv->instance, "create_configure_dialog"))
|
if (PyObject_HasAttrString (priv->instance, "create_configure_dialog"))
|
||||||
|
@ -194,7 +194,7 @@ impl_create_configure_dialog (XeditPlugin *plugin)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
ret = XEDIT_PLUGIN_CLASS (parent_class)->create_configure_dialog (plugin);
|
ret = XED_PLUGIN_CLASS (parent_class)->create_configure_dialog (plugin);
|
||||||
|
|
||||||
pyg_gil_state_release (state);
|
pyg_gil_state_release (state);
|
||||||
|
|
||||||
|
@ -202,10 +202,10 @@ impl_create_configure_dialog (XeditPlugin *plugin)
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
impl_is_configurable (XeditPlugin *plugin)
|
impl_is_configurable (XedPlugin *plugin)
|
||||||
{
|
{
|
||||||
PyGILState_STATE state = pyg_gil_state_ensure ();
|
PyGILState_STATE state = pyg_gil_state_ensure ();
|
||||||
XeditPluginPythonPrivate *priv = XEDIT_PLUGIN_PYTHON(plugin)->priv;
|
XedPluginPythonPrivate *priv = XED_PLUGIN_PYTHON(plugin)->priv;
|
||||||
PyObject *dict = priv->instance->ob_type->tp_dict;
|
PyObject *dict = priv->instance->ob_type->tp_dict;
|
||||||
gboolean result;
|
gboolean result;
|
||||||
|
|
||||||
|
@ -222,7 +222,7 @@ impl_is_configurable (XeditPlugin *plugin)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
_xedit_plugin_python_set_instance (XeditPluginPython *plugin,
|
_xed_plugin_python_set_instance (XedPluginPython *plugin,
|
||||||
PyObject *instance)
|
PyObject *instance)
|
||||||
{
|
{
|
||||||
PyGILState_STATE state = pyg_gil_state_ensure ();
|
PyGILState_STATE state = pyg_gil_state_ensure ();
|
||||||
|
@ -234,43 +234,43 @@ _xedit_plugin_python_set_instance (XeditPluginPython *plugin,
|
||||||
}
|
}
|
||||||
|
|
||||||
PyObject *
|
PyObject *
|
||||||
_xedit_plugin_python_get_instance (XeditPluginPython *plugin)
|
_xed_plugin_python_get_instance (XedPluginPython *plugin)
|
||||||
{
|
{
|
||||||
return plugin->priv->instance;
|
return plugin->priv->instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_plugin_python_init (XeditPluginPython *plugin)
|
xed_plugin_python_init (XedPluginPython *plugin)
|
||||||
{
|
{
|
||||||
plugin->priv = XEDIT_PLUGIN_PYTHON_GET_PRIVATE(plugin);
|
plugin->priv = XED_PLUGIN_PYTHON_GET_PRIVATE(plugin);
|
||||||
|
|
||||||
xedit_debug_message (DEBUG_PLUGINS, "Creating Python plugin instance");
|
xed_debug_message (DEBUG_PLUGINS, "Creating Python plugin instance");
|
||||||
plugin->priv->instance = 0;
|
plugin->priv->instance = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_plugin_python_finalize (GObject *object)
|
xed_plugin_python_finalize (GObject *object)
|
||||||
{
|
{
|
||||||
PyGILState_STATE state;
|
PyGILState_STATE state;
|
||||||
|
|
||||||
xedit_debug_message (DEBUG_PLUGINS, "Finalizing Python plugin instance");
|
xed_debug_message (DEBUG_PLUGINS, "Finalizing Python plugin instance");
|
||||||
|
|
||||||
state = pyg_gil_state_ensure ();
|
state = pyg_gil_state_ensure ();
|
||||||
Py_XDECREF (XEDIT_PLUGIN_PYTHON(object)->priv->instance);
|
Py_XDECREF (XED_PLUGIN_PYTHON(object)->priv->instance);
|
||||||
pyg_gil_state_release (state);
|
pyg_gil_state_release (state);
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_plugin_python_class_init (XeditPluginPythonClass *klass)
|
xed_plugin_python_class_init (XedPluginPythonClass *klass)
|
||||||
{
|
{
|
||||||
XeditPluginClass *plugin_class = XEDIT_PLUGIN_CLASS (klass);
|
XedPluginClass *plugin_class = XED_PLUGIN_CLASS (klass);
|
||||||
|
|
||||||
parent_class = g_type_class_peek_parent (klass);
|
parent_class = g_type_class_peek_parent (klass);
|
||||||
|
|
||||||
g_type_class_add_private (klass, sizeof (XeditPluginPythonPrivate));
|
g_type_class_add_private (klass, sizeof (XedPluginPythonPrivate));
|
||||||
G_OBJECT_CLASS (klass)->finalize = xedit_plugin_python_finalize;
|
G_OBJECT_CLASS (klass)->finalize = xed_plugin_python_finalize;
|
||||||
|
|
||||||
plugin_class->activate = impl_activate;
|
plugin_class->activate = impl_activate;
|
||||||
plugin_class->deactivate = impl_deactivate;
|
plugin_class->deactivate = impl_deactivate;
|
|
@ -0,0 +1,88 @@
|
||||||
|
/*
|
||||||
|
* xed-plugin-python.h
|
||||||
|
* This file is part of xed
|
||||||
|
*
|
||||||
|
* Copyright (C) 2005 - Raphael Slinckx
|
||||||
|
* Copyright (C) 2008 - Jesse van den Kieboom
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin St, Fifth Floor,
|
||||||
|
* Boston, MA 02110-1301, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __XED_PLUGIN_PYTHON_H__
|
||||||
|
#define __XED_PLUGIN_PYTHON_H__
|
||||||
|
|
||||||
|
#define NO_IMPORT_PYGOBJECT
|
||||||
|
|
||||||
|
#include <glib-object.h>
|
||||||
|
#include <pygobject.h>
|
||||||
|
|
||||||
|
#include <xed/xed-plugin.h>
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Type checking and casting macros
|
||||||
|
*/
|
||||||
|
#define XED_TYPE_PLUGIN_PYTHON (xed_plugin_python_get_type())
|
||||||
|
#define XED_PLUGIN_PYTHON(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), XED_TYPE_PLUGIN_PYTHON, XedPluginPython))
|
||||||
|
#define XED_PLUGIN_PYTHON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), XED_TYPE_PLUGIN_PYTHON, XedPluginPythonClass))
|
||||||
|
#define XED_IS_PLUGIN_PYTHON(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), XED_TYPE_PLUGIN_PYTHON))
|
||||||
|
#define XED_IS_PLUGIN_PYTHON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), XED_TYPE_PLUGIN_PYTHON))
|
||||||
|
#define XED_PLUGIN_PYTHON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), XED_TYPE_PLUGIN_PYTHON, XedPluginPythonClass))
|
||||||
|
|
||||||
|
/* Private structure type */
|
||||||
|
typedef struct _XedPluginPythonPrivate XedPluginPythonPrivate;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Main object structure
|
||||||
|
*/
|
||||||
|
typedef struct _XedPluginPython XedPluginPython;
|
||||||
|
|
||||||
|
struct _XedPluginPython
|
||||||
|
{
|
||||||
|
XedPlugin parent;
|
||||||
|
|
||||||
|
/*< private > */
|
||||||
|
XedPluginPythonPrivate *priv;
|
||||||
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class definition
|
||||||
|
*/
|
||||||
|
typedef struct _XedPluginPythonClass XedPluginPythonClass;
|
||||||
|
|
||||||
|
struct _XedPluginPythonClass
|
||||||
|
{
|
||||||
|
XedPluginClass parent_class;
|
||||||
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Public methods
|
||||||
|
*/
|
||||||
|
GType xed_plugin_python_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Private methods
|
||||||
|
*/
|
||||||
|
void _xed_plugin_python_set_instance (XedPluginPython *plugin,
|
||||||
|
PyObject *instance);
|
||||||
|
PyObject *_xed_plugin_python_get_instance (XedPluginPython *plugin);
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __XED_PLUGIN_PYTHON_H__ */
|
||||||
|
|
|
@ -1,61 +0,0 @@
|
||||||
/*
|
|
||||||
* xedit-plugin-loader-python.h
|
|
||||||
* This file is part of xedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2008 - Jesse van den Kieboom
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
||||||
* Boston, MA 02110-1301, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __XEDIT_PLUGIN_LOADER_PYTHON_H__
|
|
||||||
#define __XEDIT_PLUGIN_LOADER_PYTHON_H__
|
|
||||||
|
|
||||||
#include <xedit/xedit-plugin-loader.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define XEDIT_TYPE_PLUGIN_LOADER_PYTHON (xedit_plugin_loader_python_get_type ())
|
|
||||||
#define XEDIT_PLUGIN_LOADER_PYTHON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XEDIT_TYPE_PLUGIN_LOADER_PYTHON, XeditPluginLoaderPython))
|
|
||||||
#define XEDIT_PLUGIN_LOADER_PYTHON_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XEDIT_TYPE_PLUGIN_LOADER_PYTHON, XeditPluginLoaderPython const))
|
|
||||||
#define XEDIT_PLUGIN_LOADER_PYTHON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), XEDIT_TYPE_PLUGIN_LOADER_PYTHON, XeditPluginLoaderPythonClass))
|
|
||||||
#define XEDIT_IS_PLUGIN_LOADER_PYTHON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XEDIT_TYPE_PLUGIN_LOADER_PYTHON))
|
|
||||||
#define XEDIT_IS_PLUGIN_LOADER_PYTHON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), XEDIT_TYPE_PLUGIN_LOADER_PYTHON))
|
|
||||||
#define XEDIT_PLUGIN_LOADER_PYTHON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), XEDIT_TYPE_PLUGIN_LOADER_PYTHON, XeditPluginLoaderPythonClass))
|
|
||||||
|
|
||||||
typedef struct _XeditPluginLoaderPython XeditPluginLoaderPython;
|
|
||||||
typedef struct _XeditPluginLoaderPythonClass XeditPluginLoaderPythonClass;
|
|
||||||
typedef struct _XeditPluginLoaderPythonPrivate XeditPluginLoaderPythonPrivate;
|
|
||||||
|
|
||||||
struct _XeditPluginLoaderPython {
|
|
||||||
GObject parent;
|
|
||||||
|
|
||||||
XeditPluginLoaderPythonPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _XeditPluginLoaderPythonClass {
|
|
||||||
GObjectClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
GType xedit_plugin_loader_python_get_type (void) G_GNUC_CONST;
|
|
||||||
XeditPluginLoaderPython *xedit_plugin_loader_python_new(void);
|
|
||||||
|
|
||||||
/* All the loaders must implement this function */
|
|
||||||
G_MODULE_EXPORT GType register_xedit_plugin_loader (GTypeModule * module);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __XEDIT_PLUGIN_LOADER_PYTHON_H__ */
|
|
||||||
|
|
|
@ -1,88 +0,0 @@
|
||||||
/*
|
|
||||||
* xedit-plugin-python.h
|
|
||||||
* This file is part of xedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2005 - Raphael Slinckx
|
|
||||||
* Copyright (C) 2008 - Jesse van den Kieboom
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
||||||
* Boston, MA 02110-1301, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __XEDIT_PLUGIN_PYTHON_H__
|
|
||||||
#define __XEDIT_PLUGIN_PYTHON_H__
|
|
||||||
|
|
||||||
#define NO_IMPORT_PYGOBJECT
|
|
||||||
|
|
||||||
#include <glib-object.h>
|
|
||||||
#include <pygobject.h>
|
|
||||||
|
|
||||||
#include <xedit/xedit-plugin.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define XEDIT_TYPE_PLUGIN_PYTHON (xedit_plugin_python_get_type())
|
|
||||||
#define XEDIT_PLUGIN_PYTHON(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), XEDIT_TYPE_PLUGIN_PYTHON, XeditPluginPython))
|
|
||||||
#define XEDIT_PLUGIN_PYTHON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), XEDIT_TYPE_PLUGIN_PYTHON, XeditPluginPythonClass))
|
|
||||||
#define XEDIT_IS_PLUGIN_PYTHON(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), XEDIT_TYPE_PLUGIN_PYTHON))
|
|
||||||
#define XEDIT_IS_PLUGIN_PYTHON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), XEDIT_TYPE_PLUGIN_PYTHON))
|
|
||||||
#define XEDIT_PLUGIN_PYTHON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), XEDIT_TYPE_PLUGIN_PYTHON, XeditPluginPythonClass))
|
|
||||||
|
|
||||||
/* Private structure type */
|
|
||||||
typedef struct _XeditPluginPythonPrivate XeditPluginPythonPrivate;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _XeditPluginPython XeditPluginPython;
|
|
||||||
|
|
||||||
struct _XeditPluginPython
|
|
||||||
{
|
|
||||||
XeditPlugin parent;
|
|
||||||
|
|
||||||
/*< private > */
|
|
||||||
XeditPluginPythonPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _XeditPluginPythonClass XeditPluginPythonClass;
|
|
||||||
|
|
||||||
struct _XeditPluginPythonClass
|
|
||||||
{
|
|
||||||
XeditPluginClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType xedit_plugin_python_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Private methods
|
|
||||||
*/
|
|
||||||
void _xedit_plugin_python_set_instance (XeditPluginPython *plugin,
|
|
||||||
PyObject *instance);
|
|
||||||
PyObject *_xedit_plugin_python_get_instance (XeditPluginPython *plugin);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __XEDIT_PLUGIN_PYTHON_H__ */
|
|
||||||
|
|
|
@ -1,29 +1,29 @@
|
||||||
# changecase plugin
|
# changecase plugin
|
||||||
plugindir = $(XEDIT_PLUGINS_LIBS_DIR)
|
plugindir = $(XED_PLUGINS_LIBS_DIR)
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
-I$(top_srcdir) \
|
-I$(top_srcdir) \
|
||||||
$(XEDIT_CFLAGS) \
|
$(XED_CFLAGS) \
|
||||||
$(WARN_CFLAGS) \
|
$(WARN_CFLAGS) \
|
||||||
$(DISABLE_DEPRECATED_CFLAGS)
|
$(DISABLE_DEPRECATED_CFLAGS)
|
||||||
|
|
||||||
plugin_LTLIBRARIES = libchangecase.la
|
plugin_LTLIBRARIES = libchangecase.la
|
||||||
|
|
||||||
libchangecase_la_SOURCES = \
|
libchangecase_la_SOURCES = \
|
||||||
xedit-changecase-plugin.h \
|
xed-changecase-plugin.h \
|
||||||
xedit-changecase-plugin.c
|
xed-changecase-plugin.c
|
||||||
|
|
||||||
libchangecase_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
|
libchangecase_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
|
||||||
libchangecase_la_LIBADD = $(XEDIT_LIBS)
|
libchangecase_la_LIBADD = $(XED_LIBS)
|
||||||
|
|
||||||
uidir = $(XEDIT_PLUGINS_DATA_DIR)/changecase
|
uidir = $(XED_PLUGINS_DATA_DIR)/changecase
|
||||||
ui_DATA =
|
ui_DATA =
|
||||||
|
|
||||||
plugin_in_files = changecase.xedit-plugin.desktop.in
|
plugin_in_files = changecase.xed-plugin.desktop.in
|
||||||
|
|
||||||
%.xedit-plugin: %.xedit-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
|
%.xed-plugin: %.xed-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
|
||||||
|
|
||||||
plugin_DATA = $(plugin_in_files:.xedit-plugin.desktop.in=.xedit-plugin)
|
plugin_DATA = $(plugin_in_files:.xed-plugin.desktop.in=.xed-plugin)
|
||||||
|
|
||||||
EXTRA_DIST = $(ui_DATA) $(plugin_in_files)
|
EXTRA_DIST = $(ui_DATA) $(plugin_in_files)
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[Xedit Plugin]
|
[Xed Plugin]
|
||||||
Module=changecase
|
Module=changecase
|
||||||
IAge=2
|
IAge=2
|
||||||
_Name=Change Case
|
_Name=Change Case
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* xedit-changecase-plugin.c
|
* xed-changecase-plugin.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2004-2005 - Paolo Borelli
|
* Copyright (C) 2004-2005 - Paolo Borelli
|
||||||
*
|
*
|
||||||
|
@ -24,16 +24,16 @@
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "xedit-changecase-plugin.h"
|
#include "xed-changecase-plugin.h"
|
||||||
|
|
||||||
#include <glib/gi18n-lib.h>
|
#include <glib/gi18n-lib.h>
|
||||||
#include <gmodule.h>
|
#include <gmodule.h>
|
||||||
|
|
||||||
#include <xedit/xedit-debug.h>
|
#include <xed/xed-debug.h>
|
||||||
|
|
||||||
#define WINDOW_DATA_KEY "XeditChangecasePluginWindowData"
|
#define WINDOW_DATA_KEY "XedChangecasePluginWindowData"
|
||||||
|
|
||||||
XEDIT_PLUGIN_REGISTER_TYPE(XeditChangecasePlugin, xedit_changecase_plugin)
|
XED_PLUGIN_REGISTER_TYPE(XedChangecasePlugin, xed_changecase_plugin)
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
TO_UPPER_CASE,
|
TO_UPPER_CASE,
|
||||||
|
@ -149,15 +149,15 @@ do_title_case (GtkTextBuffer *buffer,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
change_case (XeditWindow *window,
|
change_case (XedWindow *window,
|
||||||
ChangeCaseChoice choice)
|
ChangeCaseChoice choice)
|
||||||
{
|
{
|
||||||
XeditDocument *doc;
|
XedDocument *doc;
|
||||||
GtkTextIter start, end;
|
GtkTextIter start, end;
|
||||||
|
|
||||||
xedit_debug (DEBUG_PLUGINS);
|
xed_debug (DEBUG_PLUGINS);
|
||||||
|
|
||||||
doc = xedit_window_get_active_document (window);
|
doc = xed_window_get_active_document (window);
|
||||||
g_return_if_fail (doc != NULL);
|
g_return_if_fail (doc != NULL);
|
||||||
|
|
||||||
if (!gtk_text_buffer_get_selection_bounds (GTK_TEXT_BUFFER (doc),
|
if (!gtk_text_buffer_get_selection_bounds (GTK_TEXT_BUFFER (doc),
|
||||||
|
@ -191,28 +191,28 @@ change_case (XeditWindow *window,
|
||||||
|
|
||||||
static void
|
static void
|
||||||
upper_case_cb (GtkAction *action,
|
upper_case_cb (GtkAction *action,
|
||||||
XeditWindow *window)
|
XedWindow *window)
|
||||||
{
|
{
|
||||||
change_case (window, TO_UPPER_CASE);
|
change_case (window, TO_UPPER_CASE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
lower_case_cb (GtkAction *action,
|
lower_case_cb (GtkAction *action,
|
||||||
XeditWindow *window)
|
XedWindow *window)
|
||||||
{
|
{
|
||||||
change_case (window, TO_LOWER_CASE);
|
change_case (window, TO_LOWER_CASE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
invert_case_cb (GtkAction *action,
|
invert_case_cb (GtkAction *action,
|
||||||
XeditWindow *window)
|
XedWindow *window)
|
||||||
{
|
{
|
||||||
change_case (window, INVERT_CASE);
|
change_case (window, INVERT_CASE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
title_case_cb (GtkAction *action,
|
title_case_cb (GtkAction *action,
|
||||||
XeditWindow *window)
|
XedWindow *window)
|
||||||
{
|
{
|
||||||
change_case (window, TO_TITLE_CASE);
|
change_case (window, TO_TITLE_CASE);
|
||||||
}
|
}
|
||||||
|
@ -251,17 +251,17 @@ const gchar submenu[] =
|
||||||
"</ui>";
|
"</ui>";
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_changecase_plugin_init (XeditChangecasePlugin *plugin)
|
xed_changecase_plugin_init (XedChangecasePlugin *plugin)
|
||||||
{
|
{
|
||||||
xedit_debug_message (DEBUG_PLUGINS, "XeditChangecasePlugin initializing");
|
xed_debug_message (DEBUG_PLUGINS, "XedChangecasePlugin initializing");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_changecase_plugin_finalize (GObject *object)
|
xed_changecase_plugin_finalize (GObject *object)
|
||||||
{
|
{
|
||||||
G_OBJECT_CLASS (xedit_changecase_plugin_parent_class)->finalize (object);
|
G_OBJECT_CLASS (xed_changecase_plugin_parent_class)->finalize (object);
|
||||||
|
|
||||||
xedit_debug_message (DEBUG_PLUGINS, "XeditChangecasePlugin finalizing");
|
xed_debug_message (DEBUG_PLUGINS, "XedChangecasePlugin finalizing");
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
@ -279,16 +279,16 @@ free_window_data (WindowData *data)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
update_ui_real (XeditWindow *window,
|
update_ui_real (XedWindow *window,
|
||||||
WindowData *data)
|
WindowData *data)
|
||||||
{
|
{
|
||||||
GtkTextView *view;
|
GtkTextView *view;
|
||||||
GtkAction *action;
|
GtkAction *action;
|
||||||
gboolean sensitive = FALSE;
|
gboolean sensitive = FALSE;
|
||||||
|
|
||||||
xedit_debug (DEBUG_PLUGINS);
|
xed_debug (DEBUG_PLUGINS);
|
||||||
|
|
||||||
view = GTK_TEXT_VIEW (xedit_window_get_active_view (window));
|
view = GTK_TEXT_VIEW (xed_window_get_active_view (window));
|
||||||
|
|
||||||
if (view != NULL)
|
if (view != NULL)
|
||||||
{
|
{
|
||||||
|
@ -305,20 +305,20 @@ update_ui_real (XeditWindow *window,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
impl_activate (XeditPlugin *plugin,
|
impl_activate (XedPlugin *plugin,
|
||||||
XeditWindow *window)
|
XedWindow *window)
|
||||||
{
|
{
|
||||||
GtkUIManager *manager;
|
GtkUIManager *manager;
|
||||||
WindowData *data;
|
WindowData *data;
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|
||||||
xedit_debug (DEBUG_PLUGINS);
|
xed_debug (DEBUG_PLUGINS);
|
||||||
|
|
||||||
data = g_slice_new (WindowData);
|
data = g_slice_new (WindowData);
|
||||||
|
|
||||||
manager = xedit_window_get_ui_manager (window);
|
manager = xed_window_get_ui_manager (window);
|
||||||
|
|
||||||
data->action_group = gtk_action_group_new ("XeditChangecasePluginActions");
|
data->action_group = gtk_action_group_new ("XedChangecasePluginActions");
|
||||||
gtk_action_group_set_translation_domain (data->action_group,
|
gtk_action_group_set_translation_domain (data->action_group,
|
||||||
GETTEXT_PACKAGE);
|
GETTEXT_PACKAGE);
|
||||||
gtk_action_group_add_actions (data->action_group,
|
gtk_action_group_add_actions (data->action_group,
|
||||||
|
@ -348,15 +348,15 @@ impl_activate (XeditPlugin *plugin,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
impl_deactivate (XeditPlugin *plugin,
|
impl_deactivate (XedPlugin *plugin,
|
||||||
XeditWindow *window)
|
XedWindow *window)
|
||||||
{
|
{
|
||||||
GtkUIManager *manager;
|
GtkUIManager *manager;
|
||||||
WindowData *data;
|
WindowData *data;
|
||||||
|
|
||||||
xedit_debug (DEBUG_PLUGINS);
|
xed_debug (DEBUG_PLUGINS);
|
||||||
|
|
||||||
manager = xedit_window_get_ui_manager (window);
|
manager = xed_window_get_ui_manager (window);
|
||||||
|
|
||||||
data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY);
|
data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY);
|
||||||
g_return_if_fail (data != NULL);
|
g_return_if_fail (data != NULL);
|
||||||
|
@ -368,12 +368,12 @@ impl_deactivate (XeditPlugin *plugin,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
impl_update_ui (XeditPlugin *plugin,
|
impl_update_ui (XedPlugin *plugin,
|
||||||
XeditWindow *window)
|
XedWindow *window)
|
||||||
{
|
{
|
||||||
WindowData *data;
|
WindowData *data;
|
||||||
|
|
||||||
xedit_debug (DEBUG_PLUGINS);
|
xed_debug (DEBUG_PLUGINS);
|
||||||
|
|
||||||
data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY);
|
data = (WindowData *) g_object_get_data (G_OBJECT (window), WINDOW_DATA_KEY);
|
||||||
g_return_if_fail (data != NULL);
|
g_return_if_fail (data != NULL);
|
||||||
|
@ -382,12 +382,12 @@ impl_update_ui (XeditPlugin *plugin,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_changecase_plugin_class_init (XeditChangecasePluginClass *klass)
|
xed_changecase_plugin_class_init (XedChangecasePluginClass *klass)
|
||||||
{
|
{
|
||||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||||
XeditPluginClass *plugin_class = XEDIT_PLUGIN_CLASS (klass);
|
XedPluginClass *plugin_class = XED_PLUGIN_CLASS (klass);
|
||||||
|
|
||||||
object_class->finalize = xedit_changecase_plugin_finalize;
|
object_class->finalize = xed_changecase_plugin_finalize;
|
||||||
|
|
||||||
plugin_class->activate = impl_activate;
|
plugin_class->activate = impl_activate;
|
||||||
plugin_class->deactivate = impl_deactivate;
|
plugin_class->deactivate = impl_deactivate;
|
|
@ -0,0 +1,72 @@
|
||||||
|
/*
|
||||||
|
* xed-changecase-plugin.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2004-2005 - Paolo Borelli
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
* any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __XED_CHANGECASE_PLUGIN_H__
|
||||||
|
#define __XED_CHANGECASE_PLUGIN_H__
|
||||||
|
|
||||||
|
#include <glib.h>
|
||||||
|
#include <glib-object.h>
|
||||||
|
#include <xed/xed-plugin.h>
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Type checking and casting macros
|
||||||
|
*/
|
||||||
|
#define XED_TYPE_CHANGECASE_PLUGIN (xed_changecase_plugin_get_type ())
|
||||||
|
#define XED_CHANGECASE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), XED_TYPE_CHANGECASE_PLUGIN, XedChangecasePlugin))
|
||||||
|
#define XED_CHANGECASE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), XED_TYPE_CHANGECASE_PLUGIN, XedChangecasePluginClass))
|
||||||
|
#define XED_IS_CHANGECASE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), XED_TYPE_CHANGECASE_PLUGIN))
|
||||||
|
#define XED_IS_CHANGECASE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), XED_TYPE_CHANGECASE_PLUGIN))
|
||||||
|
#define XED_CHANGECASE_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), XED_TYPE_CHANGECASE_PLUGIN, XedChangecasePluginClass))
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Main object structure
|
||||||
|
*/
|
||||||
|
typedef struct _XedChangecasePlugin XedChangecasePlugin;
|
||||||
|
|
||||||
|
struct _XedChangecasePlugin
|
||||||
|
{
|
||||||
|
XedPlugin parent_instance;
|
||||||
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class definition
|
||||||
|
*/
|
||||||
|
typedef struct _XedChangecasePluginClass XedChangecasePluginClass;
|
||||||
|
|
||||||
|
struct _XedChangecasePluginClass
|
||||||
|
{
|
||||||
|
XedPluginClass parent_class;
|
||||||
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Public methods
|
||||||
|
*/
|
||||||
|
GType xed_changecase_plugin_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
/* All the plugins must implement this function */
|
||||||
|
G_MODULE_EXPORT GType register_xed_plugin (GTypeModule *module);
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __XED_CHANGECASE_PLUGIN_H__ */
|
|
@ -1,72 +0,0 @@
|
||||||
/*
|
|
||||||
* xedit-changecase-plugin.h
|
|
||||||
*
|
|
||||||
* Copyright (C) 2004-2005 - Paolo Borelli
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation; either version 2, or (at your option)
|
|
||||||
* any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __XEDIT_CHANGECASE_PLUGIN_H__
|
|
||||||
#define __XEDIT_CHANGECASE_PLUGIN_H__
|
|
||||||
|
|
||||||
#include <glib.h>
|
|
||||||
#include <glib-object.h>
|
|
||||||
#include <xedit/xedit-plugin.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define XEDIT_TYPE_CHANGECASE_PLUGIN (xedit_changecase_plugin_get_type ())
|
|
||||||
#define XEDIT_CHANGECASE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), XEDIT_TYPE_CHANGECASE_PLUGIN, XeditChangecasePlugin))
|
|
||||||
#define XEDIT_CHANGECASE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), XEDIT_TYPE_CHANGECASE_PLUGIN, XeditChangecasePluginClass))
|
|
||||||
#define XEDIT_IS_CHANGECASE_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), XEDIT_TYPE_CHANGECASE_PLUGIN))
|
|
||||||
#define XEDIT_IS_CHANGECASE_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), XEDIT_TYPE_CHANGECASE_PLUGIN))
|
|
||||||
#define XEDIT_CHANGECASE_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), XEDIT_TYPE_CHANGECASE_PLUGIN, XeditChangecasePluginClass))
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _XeditChangecasePlugin XeditChangecasePlugin;
|
|
||||||
|
|
||||||
struct _XeditChangecasePlugin
|
|
||||||
{
|
|
||||||
XeditPlugin parent_instance;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _XeditChangecasePluginClass XeditChangecasePluginClass;
|
|
||||||
|
|
||||||
struct _XeditChangecasePluginClass
|
|
||||||
{
|
|
||||||
XeditPluginClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType xedit_changecase_plugin_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
/* All the plugins must implement this function */
|
|
||||||
G_MODULE_EXPORT GType register_xedit_plugin (GTypeModule *module);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __XEDIT_CHANGECASE_PLUGIN_H__ */
|
|
|
@ -1,29 +1,29 @@
|
||||||
# docinfo plugin
|
# docinfo plugin
|
||||||
plugindir = $(XEDIT_PLUGINS_LIBS_DIR)
|
plugindir = $(XED_PLUGINS_LIBS_DIR)
|
||||||
|
|
||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
-I$(top_srcdir) \
|
-I$(top_srcdir) \
|
||||||
$(XEDIT_CFLAGS) \
|
$(XED_CFLAGS) \
|
||||||
$(WARN_CFLAGS) \
|
$(WARN_CFLAGS) \
|
||||||
$(DISABLE_DEPRECATED_CFLAGS)
|
$(DISABLE_DEPRECATED_CFLAGS)
|
||||||
|
|
||||||
plugin_LTLIBRARIES = libdocinfo.la
|
plugin_LTLIBRARIES = libdocinfo.la
|
||||||
|
|
||||||
libdocinfo_la_SOURCES = \
|
libdocinfo_la_SOURCES = \
|
||||||
xedit-docinfo-plugin.h \
|
xed-docinfo-plugin.h \
|
||||||
xedit-docinfo-plugin.c
|
xed-docinfo-plugin.c
|
||||||
|
|
||||||
libdocinfo_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
|
libdocinfo_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
|
||||||
libdocinfo_la_LIBADD = $(XEDIT_LIBS)
|
libdocinfo_la_LIBADD = $(XED_LIBS)
|
||||||
|
|
||||||
uidir = $(XEDIT_PLUGINS_DATA_DIR)/docinfo
|
uidir = $(XED_PLUGINS_DATA_DIR)/docinfo
|
||||||
ui_DATA = docinfo.ui
|
ui_DATA = docinfo.ui
|
||||||
|
|
||||||
plugin_in_files = docinfo.xedit-plugin.desktop.in
|
plugin_in_files = docinfo.xed-plugin.desktop.in
|
||||||
|
|
||||||
%.xedit-plugin: %.xedit-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
|
%.xed-plugin: %.xed-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
|
||||||
|
|
||||||
plugin_DATA = $(plugin_in_files:.xedit-plugin.desktop.in=.xedit-plugin)
|
plugin_DATA = $(plugin_in_files:.xed-plugin.desktop.in=.xed-plugin)
|
||||||
|
|
||||||
EXTRA_DIST = $(ui_DATA) $(plugin_in_files)
|
EXTRA_DIST = $(ui_DATA) $(plugin_in_files)
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[Xedit Plugin]
|
[Xed Plugin]
|
||||||
Module=docinfo
|
Module=docinfo
|
||||||
IAge=2
|
IAge=2
|
||||||
_Name=Document Statistics
|
_Name=Document Statistics
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* xedit-docinfo-plugin.c
|
* xed-docinfo-plugin.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2002-2005 Paolo Maggi
|
* Copyright (C) 2002-2005 Paolo Maggi
|
||||||
*
|
*
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "xedit-docinfo-plugin.h"
|
#include "xed-docinfo-plugin.h"
|
||||||
|
|
||||||
#include <string.h> /* For strlen (...) */
|
#include <string.h> /* For strlen (...) */
|
||||||
|
|
||||||
|
@ -32,13 +32,13 @@
|
||||||
#include <pango/pango-break.h>
|
#include <pango/pango-break.h>
|
||||||
#include <gmodule.h>
|
#include <gmodule.h>
|
||||||
|
|
||||||
#include <xedit/xedit-debug.h>
|
#include <xed/xed-debug.h>
|
||||||
#include <xedit/xedit-utils.h>
|
#include <xed/xed-utils.h>
|
||||||
|
|
||||||
#define WINDOW_DATA_KEY "XeditDocInfoWindowData"
|
#define WINDOW_DATA_KEY "XedDocInfoWindowData"
|
||||||
#define MENU_PATH "/MenuBar/ToolsMenu/ToolsOps_2"
|
#define MENU_PATH "/MenuBar/ToolsMenu/ToolsOps_2"
|
||||||
|
|
||||||
XEDIT_PLUGIN_REGISTER_TYPE(XeditDocInfoPlugin, xedit_docinfo_plugin)
|
XED_PLUGIN_REGISTER_TYPE(XedDocInfoPlugin, xed_docinfo_plugin)
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
@ -59,7 +59,7 @@ typedef struct
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
XeditPlugin *plugin;
|
XedPlugin *plugin;
|
||||||
|
|
||||||
GtkActionGroup *ui_action_group;
|
GtkActionGroup *ui_action_group;
|
||||||
guint ui_id;
|
guint ui_id;
|
||||||
|
@ -69,13 +69,13 @@ typedef struct
|
||||||
|
|
||||||
static void docinfo_dialog_response_cb (GtkDialog *widget,
|
static void docinfo_dialog_response_cb (GtkDialog *widget,
|
||||||
gint res_id,
|
gint res_id,
|
||||||
XeditWindow *window);
|
XedWindow *window);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
docinfo_dialog_destroy_cb (GObject *obj,
|
docinfo_dialog_destroy_cb (GObject *obj,
|
||||||
WindowData *data)
|
WindowData *data)
|
||||||
{
|
{
|
||||||
xedit_debug (DEBUG_PLUGINS);
|
xed_debug (DEBUG_PLUGINS);
|
||||||
|
|
||||||
if (data != NULL)
|
if (data != NULL)
|
||||||
{
|
{
|
||||||
|
@ -85,7 +85,7 @@ docinfo_dialog_destroy_cb (GObject *obj,
|
||||||
}
|
}
|
||||||
|
|
||||||
static DocInfoDialog *
|
static DocInfoDialog *
|
||||||
get_docinfo_dialog (XeditWindow *window,
|
get_docinfo_dialog (XedWindow *window,
|
||||||
WindowData *data)
|
WindowData *data)
|
||||||
{
|
{
|
||||||
DocInfoDialog *dialog;
|
DocInfoDialog *dialog;
|
||||||
|
@ -95,13 +95,13 @@ get_docinfo_dialog (XeditWindow *window,
|
||||||
GtkWidget *error_widget;
|
GtkWidget *error_widget;
|
||||||
gboolean ret;
|
gboolean ret;
|
||||||
|
|
||||||
xedit_debug (DEBUG_PLUGINS);
|
xed_debug (DEBUG_PLUGINS);
|
||||||
|
|
||||||
dialog = g_new (DocInfoDialog, 1);
|
dialog = g_new (DocInfoDialog, 1);
|
||||||
|
|
||||||
data_dir = xedit_plugin_get_data_dir (data->plugin);
|
data_dir = xed_plugin_get_data_dir (data->plugin);
|
||||||
ui_file = g_build_filename (data_dir, "docinfo.ui", NULL);
|
ui_file = g_build_filename (data_dir, "docinfo.ui", NULL);
|
||||||
ret = xedit_utils_get_ui_objects (ui_file,
|
ret = xed_utils_get_ui_objects (ui_file,
|
||||||
NULL,
|
NULL,
|
||||||
&error_widget,
|
&error_widget,
|
||||||
"dialog", &dialog->dialog,
|
"dialog", &dialog->dialog,
|
||||||
|
@ -128,7 +128,7 @@ get_docinfo_dialog (XeditWindow *window,
|
||||||
const gchar *err_message;
|
const gchar *err_message;
|
||||||
|
|
||||||
err_message = gtk_label_get_label (GTK_LABEL (error_widget));
|
err_message = gtk_label_get_label (GTK_LABEL (error_widget));
|
||||||
xedit_warning (GTK_WINDOW (window), "%s", err_message);
|
xed_warning (GTK_WINDOW (window), "%s", err_message);
|
||||||
|
|
||||||
g_free (dialog);
|
g_free (dialog);
|
||||||
gtk_widget_destroy (error_widget);
|
gtk_widget_destroy (error_widget);
|
||||||
|
@ -155,7 +155,7 @@ get_docinfo_dialog (XeditWindow *window,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
calculate_info (XeditDocument *doc,
|
calculate_info (XedDocument *doc,
|
||||||
GtkTextIter *start,
|
GtkTextIter *start,
|
||||||
GtkTextIter *end,
|
GtkTextIter *end,
|
||||||
gint *chars,
|
gint *chars,
|
||||||
|
@ -165,7 +165,7 @@ calculate_info (XeditDocument *doc,
|
||||||
{
|
{
|
||||||
gchar *text;
|
gchar *text;
|
||||||
|
|
||||||
xedit_debug (DEBUG_PLUGINS);
|
xed_debug (DEBUG_PLUGINS);
|
||||||
|
|
||||||
text = gtk_text_buffer_get_slice (GTK_TEXT_BUFFER (doc),
|
text = gtk_text_buffer_get_slice (GTK_TEXT_BUFFER (doc),
|
||||||
start,
|
start,
|
||||||
|
@ -210,7 +210,7 @@ calculate_info (XeditDocument *doc,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
docinfo_real (XeditDocument *doc,
|
docinfo_real (XedDocument *doc,
|
||||||
DocInfoDialog *dialog)
|
DocInfoDialog *dialog)
|
||||||
{
|
{
|
||||||
GtkTextIter start, end;
|
GtkTextIter start, end;
|
||||||
|
@ -222,7 +222,7 @@ docinfo_real (XeditDocument *doc,
|
||||||
gchar *tmp_str;
|
gchar *tmp_str;
|
||||||
gchar *doc_name;
|
gchar *doc_name;
|
||||||
|
|
||||||
xedit_debug (DEBUG_PLUGINS);
|
xed_debug (DEBUG_PLUGINS);
|
||||||
|
|
||||||
gtk_text_buffer_get_bounds (GTK_TEXT_BUFFER (doc),
|
gtk_text_buffer_get_bounds (GTK_TEXT_BUFFER (doc),
|
||||||
&start,
|
&start,
|
||||||
|
@ -237,13 +237,13 @@ docinfo_real (XeditDocument *doc,
|
||||||
if (chars == 0)
|
if (chars == 0)
|
||||||
lines = 0;
|
lines = 0;
|
||||||
|
|
||||||
xedit_debug_message (DEBUG_PLUGINS, "Chars: %d", chars);
|
xed_debug_message (DEBUG_PLUGINS, "Chars: %d", chars);
|
||||||
xedit_debug_message (DEBUG_PLUGINS, "Lines: %d", lines);
|
xed_debug_message (DEBUG_PLUGINS, "Lines: %d", lines);
|
||||||
xedit_debug_message (DEBUG_PLUGINS, "Words: %d", words);
|
xed_debug_message (DEBUG_PLUGINS, "Words: %d", words);
|
||||||
xedit_debug_message (DEBUG_PLUGINS, "Chars non-space: %d", chars - white_chars);
|
xed_debug_message (DEBUG_PLUGINS, "Chars non-space: %d", chars - white_chars);
|
||||||
xedit_debug_message (DEBUG_PLUGINS, "Bytes: %d", bytes);
|
xed_debug_message (DEBUG_PLUGINS, "Bytes: %d", bytes);
|
||||||
|
|
||||||
doc_name = xedit_document_get_short_name_for_display (doc);
|
doc_name = xed_document_get_short_name_for_display (doc);
|
||||||
tmp_str = g_strdup_printf ("<span weight=\"bold\">%s</span>", doc_name);
|
tmp_str = g_strdup_printf ("<span weight=\"bold\">%s</span>", doc_name);
|
||||||
gtk_label_set_markup (GTK_LABEL (dialog->file_name_label), tmp_str);
|
gtk_label_set_markup (GTK_LABEL (dialog->file_name_label), tmp_str);
|
||||||
g_free (doc_name);
|
g_free (doc_name);
|
||||||
|
@ -271,7 +271,7 @@ docinfo_real (XeditDocument *doc,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
selectioninfo_real (XeditDocument *doc,
|
selectioninfo_real (XedDocument *doc,
|
||||||
DocInfoDialog *dialog)
|
DocInfoDialog *dialog)
|
||||||
{
|
{
|
||||||
gboolean sel;
|
gboolean sel;
|
||||||
|
@ -283,7 +283,7 @@ selectioninfo_real (XeditDocument *doc,
|
||||||
gint bytes = 0;
|
gint bytes = 0;
|
||||||
gchar *tmp_str;
|
gchar *tmp_str;
|
||||||
|
|
||||||
xedit_debug (DEBUG_PLUGINS);
|
xed_debug (DEBUG_PLUGINS);
|
||||||
|
|
||||||
sel = gtk_text_buffer_get_selection_bounds (GTK_TEXT_BUFFER (doc),
|
sel = gtk_text_buffer_get_selection_bounds (GTK_TEXT_BUFFER (doc),
|
||||||
&start,
|
&start,
|
||||||
|
@ -297,11 +297,11 @@ selectioninfo_real (XeditDocument *doc,
|
||||||
&start, &end,
|
&start, &end,
|
||||||
&chars, &words, &white_chars, &bytes);
|
&chars, &words, &white_chars, &bytes);
|
||||||
|
|
||||||
xedit_debug_message (DEBUG_PLUGINS, "Selected chars: %d", chars);
|
xed_debug_message (DEBUG_PLUGINS, "Selected chars: %d", chars);
|
||||||
xedit_debug_message (DEBUG_PLUGINS, "Selected lines: %d", lines);
|
xed_debug_message (DEBUG_PLUGINS, "Selected lines: %d", lines);
|
||||||
xedit_debug_message (DEBUG_PLUGINS, "Selected words: %d", words);
|
xed_debug_message (DEBUG_PLUGINS, "Selected words: %d", words);
|
||||||
xedit_debug_message (DEBUG_PLUGINS, "Selected chars non-space: %d", chars - white_chars);
|
xed_debug_message (DEBUG_PLUGINS, "Selected chars non-space: %d", chars - white_chars);
|
||||||
xedit_debug_message (DEBUG_PLUGINS, "Selected bytes: %d", bytes);
|
xed_debug_message (DEBUG_PLUGINS, "Selected bytes: %d", bytes);
|
||||||
|
|
||||||
gtk_widget_set_sensitive (dialog->selection_vbox, TRUE);
|
gtk_widget_set_sensitive (dialog->selection_vbox, TRUE);
|
||||||
}
|
}
|
||||||
|
@ -309,7 +309,7 @@ selectioninfo_real (XeditDocument *doc,
|
||||||
{
|
{
|
||||||
gtk_widget_set_sensitive (dialog->selection_vbox, FALSE);
|
gtk_widget_set_sensitive (dialog->selection_vbox, FALSE);
|
||||||
|
|
||||||
xedit_debug_message (DEBUG_PLUGINS, "Selection empty");
|
xed_debug_message (DEBUG_PLUGINS, "Selection empty");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (chars == 0)
|
if (chars == 0)
|
||||||
|
@ -338,17 +338,17 @@ selectioninfo_real (XeditDocument *doc,
|
||||||
|
|
||||||
static void
|
static void
|
||||||
docinfo_cb (GtkAction *action,
|
docinfo_cb (GtkAction *action,
|
||||||
XeditWindow *window)
|
XedWindow *window)
|
||||||
{
|
{
|
||||||
XeditDocument *doc;
|
XedDocument *doc;
|
||||||
WindowData *data;
|
WindowData *data;
|
||||||
|
|
||||||
xedit_debug (DEBUG_PLUGINS);
|
xed_debug (DEBUG_PLUGINS);
|
||||||
|
|
||||||
data = (WindowData *) g_object_get_data (G_OBJECT (window),
|
data = (WindowData *) g_object_get_data (G_OBJECT (window),
|
||||||
WINDOW_DATA_KEY);
|
WINDOW_DATA_KEY);
|
||||||
|
|
||||||
doc = xedit_window_get_active_document (window);
|
doc = xed_window_get_active_document (window);
|
||||||
g_return_if_fail (doc != NULL);
|
g_return_if_fail (doc != NULL);
|
||||||
|
|
||||||
if (data->dialog != NULL)
|
if (data->dialog != NULL)
|
||||||
|
@ -377,11 +377,11 @@ docinfo_cb (GtkAction *action,
|
||||||
static void
|
static void
|
||||||
docinfo_dialog_response_cb (GtkDialog *widget,
|
docinfo_dialog_response_cb (GtkDialog *widget,
|
||||||
gint res_id,
|
gint res_id,
|
||||||
XeditWindow *window)
|
XedWindow *window)
|
||||||
{
|
{
|
||||||
WindowData *data;
|
WindowData *data;
|
||||||
|
|
||||||
xedit_debug (DEBUG_PLUGINS);
|
xed_debug (DEBUG_PLUGINS);
|
||||||
|
|
||||||
data = (WindowData *) g_object_get_data (G_OBJECT (window),
|
data = (WindowData *) g_object_get_data (G_OBJECT (window),
|
||||||
WINDOW_DATA_KEY);
|
WINDOW_DATA_KEY);
|
||||||
|
@ -390,7 +390,7 @@ docinfo_dialog_response_cb (GtkDialog *widget,
|
||||||
{
|
{
|
||||||
case GTK_RESPONSE_CLOSE:
|
case GTK_RESPONSE_CLOSE:
|
||||||
{
|
{
|
||||||
xedit_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_CLOSE");
|
xed_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_CLOSE");
|
||||||
gtk_widget_destroy (data->dialog->dialog);
|
gtk_widget_destroy (data->dialog->dialog);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
@ -398,11 +398,11 @@ docinfo_dialog_response_cb (GtkDialog *widget,
|
||||||
|
|
||||||
case GTK_RESPONSE_OK:
|
case GTK_RESPONSE_OK:
|
||||||
{
|
{
|
||||||
XeditDocument *doc;
|
XedDocument *doc;
|
||||||
|
|
||||||
xedit_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_OK");
|
xed_debug_message (DEBUG_PLUGINS, "GTK_RESPONSE_OK");
|
||||||
|
|
||||||
doc = xedit_window_get_active_document (window);
|
doc = xed_window_get_active_document (window);
|
||||||
g_return_if_fail (doc != NULL);
|
g_return_if_fail (doc != NULL);
|
||||||
|
|
||||||
docinfo_real (doc,
|
docinfo_real (doc,
|
||||||
|
@ -431,7 +431,7 @@ free_window_data (WindowData *data)
|
||||||
{
|
{
|
||||||
g_return_if_fail (data != NULL);
|
g_return_if_fail (data != NULL);
|
||||||
|
|
||||||
xedit_debug (DEBUG_PLUGINS);
|
xed_debug (DEBUG_PLUGINS);
|
||||||
|
|
||||||
g_object_unref (data->plugin);
|
g_object_unref (data->plugin);
|
||||||
|
|
||||||
|
@ -446,14 +446,14 @@ free_window_data (WindowData *data)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
update_ui_real (XeditWindow *window,
|
update_ui_real (XedWindow *window,
|
||||||
WindowData *data)
|
WindowData *data)
|
||||||
{
|
{
|
||||||
XeditView *view;
|
XedView *view;
|
||||||
|
|
||||||
xedit_debug (DEBUG_PLUGINS);
|
xed_debug (DEBUG_PLUGINS);
|
||||||
|
|
||||||
view = xedit_window_get_active_view (window);
|
view = xed_window_get_active_view (window);
|
||||||
|
|
||||||
gtk_action_group_set_sensitive (data->ui_action_group,
|
gtk_action_group_set_sensitive (data->ui_action_group,
|
||||||
(view != NULL));
|
(view != NULL));
|
||||||
|
@ -467,33 +467,33 @@ update_ui_real (XeditWindow *window,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_docinfo_plugin_init (XeditDocInfoPlugin *plugin)
|
xed_docinfo_plugin_init (XedDocInfoPlugin *plugin)
|
||||||
{
|
{
|
||||||
xedit_debug_message (DEBUG_PLUGINS, "XeditDocInfoPlugin initializing");
|
xed_debug_message (DEBUG_PLUGINS, "XedDocInfoPlugin initializing");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_docinfo_plugin_finalize (GObject *object)
|
xed_docinfo_plugin_finalize (GObject *object)
|
||||||
{
|
{
|
||||||
xedit_debug_message (DEBUG_PLUGINS, "XeditDocInfoPlugin finalizing");
|
xed_debug_message (DEBUG_PLUGINS, "XedDocInfoPlugin finalizing");
|
||||||
|
|
||||||
G_OBJECT_CLASS (xedit_docinfo_plugin_parent_class)->finalize (object);
|
G_OBJECT_CLASS (xed_docinfo_plugin_parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
impl_activate (XeditPlugin *plugin,
|
impl_activate (XedPlugin *plugin,
|
||||||
XeditWindow *window)
|
XedWindow *window)
|
||||||
{
|
{
|
||||||
GtkUIManager *manager;
|
GtkUIManager *manager;
|
||||||
WindowData *data;
|
WindowData *data;
|
||||||
|
|
||||||
xedit_debug (DEBUG_PLUGINS);
|
xed_debug (DEBUG_PLUGINS);
|
||||||
|
|
||||||
data = g_new (WindowData, 1);
|
data = g_new (WindowData, 1);
|
||||||
|
|
||||||
data->plugin = g_object_ref (plugin);
|
data->plugin = g_object_ref (plugin);
|
||||||
data->dialog = NULL;
|
data->dialog = NULL;
|
||||||
data->ui_action_group = gtk_action_group_new ("XeditDocInfoPluginActions");
|
data->ui_action_group = gtk_action_group_new ("XedDocInfoPluginActions");
|
||||||
|
|
||||||
gtk_action_group_set_translation_domain (data->ui_action_group,
|
gtk_action_group_set_translation_domain (data->ui_action_group,
|
||||||
GETTEXT_PACKAGE);
|
GETTEXT_PACKAGE);
|
||||||
|
@ -502,7 +502,7 @@ impl_activate (XeditPlugin *plugin,
|
||||||
G_N_ELEMENTS (action_entries),
|
G_N_ELEMENTS (action_entries),
|
||||||
window);
|
window);
|
||||||
|
|
||||||
manager = xedit_window_get_ui_manager (window);
|
manager = xed_window_get_ui_manager (window);
|
||||||
gtk_ui_manager_insert_action_group (manager,
|
gtk_ui_manager_insert_action_group (manager,
|
||||||
data->ui_action_group,
|
data->ui_action_group,
|
||||||
-1);
|
-1);
|
||||||
|
@ -527,15 +527,15 @@ impl_activate (XeditPlugin *plugin,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
impl_deactivate (XeditPlugin *plugin,
|
impl_deactivate (XedPlugin *plugin,
|
||||||
XeditWindow *window)
|
XedWindow *window)
|
||||||
{
|
{
|
||||||
GtkUIManager *manager;
|
GtkUIManager *manager;
|
||||||
WindowData *data;
|
WindowData *data;
|
||||||
|
|
||||||
xedit_debug (DEBUG_PLUGINS);
|
xed_debug (DEBUG_PLUGINS);
|
||||||
|
|
||||||
manager = xedit_window_get_ui_manager (window);
|
manager = xed_window_get_ui_manager (window);
|
||||||
|
|
||||||
data = (WindowData *) g_object_get_data (G_OBJECT (window),
|
data = (WindowData *) g_object_get_data (G_OBJECT (window),
|
||||||
WINDOW_DATA_KEY);
|
WINDOW_DATA_KEY);
|
||||||
|
@ -552,12 +552,12 @@ impl_deactivate (XeditPlugin *plugin,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
impl_update_ui (XeditPlugin *plugin,
|
impl_update_ui (XedPlugin *plugin,
|
||||||
XeditWindow *window)
|
XedWindow *window)
|
||||||
{
|
{
|
||||||
WindowData *data;
|
WindowData *data;
|
||||||
|
|
||||||
xedit_debug (DEBUG_PLUGINS);
|
xed_debug (DEBUG_PLUGINS);
|
||||||
|
|
||||||
data = (WindowData *) g_object_get_data (G_OBJECT (window),
|
data = (WindowData *) g_object_get_data (G_OBJECT (window),
|
||||||
WINDOW_DATA_KEY);
|
WINDOW_DATA_KEY);
|
||||||
|
@ -568,12 +568,12 @@ impl_update_ui (XeditPlugin *plugin,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
xedit_docinfo_plugin_class_init (XeditDocInfoPluginClass *klass)
|
xed_docinfo_plugin_class_init (XedDocInfoPluginClass *klass)
|
||||||
{
|
{
|
||||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||||
XeditPluginClass *plugin_class = XEDIT_PLUGIN_CLASS (klass);
|
XedPluginClass *plugin_class = XED_PLUGIN_CLASS (klass);
|
||||||
|
|
||||||
object_class->finalize = xedit_docinfo_plugin_finalize;
|
object_class->finalize = xed_docinfo_plugin_finalize;
|
||||||
|
|
||||||
plugin_class->activate = impl_activate;
|
plugin_class->activate = impl_activate;
|
||||||
plugin_class->deactivate = impl_deactivate;
|
plugin_class->deactivate = impl_deactivate;
|