renaming from gedit to pluma
4
BUGS
|
@ -1,7 +1,7 @@
|
||||||
Search on http://bugzilla.mate.org for a list of known gedit's bug.
|
Search on http://bugzilla.gnome.org for a list of known pluma's bug.
|
||||||
|
|
||||||
If you find a new bug, please report it at
|
If you find a new bug, please report it at
|
||||||
http://bugzilla.mate.org/enter_bug.cgi?product=gedit.
|
http://bugzilla.gnome.org/enter_bug.cgi?product=pluma.
|
||||||
|
|
||||||
Thanks,
|
Thanks,
|
||||||
Paolo
|
Paolo
|
||||||
|
|
18
HACKING
|
@ -1,24 +1,24 @@
|
||||||
guidelines for gedit
|
guidelines for pluma
|
||||||
====================
|
====================
|
||||||
|
|
||||||
gedit source code is maintained using the git version control system
|
pluma source code is maintained using the git version control system
|
||||||
and is available at the following location:
|
and is available at the following location:
|
||||||
|
|
||||||
git://git.mate.org/gedit
|
git://git.gnome.org/pluma
|
||||||
|
|
||||||
Or if you have an account on MATE servers:
|
Or if you have an account on MATE servers:
|
||||||
|
|
||||||
ssh://USERNAME@git.mate.org/git/gedit
|
ssh://USERNAME@git.gnome.org/git/pluma
|
||||||
|
|
||||||
A Web Interface is available at:
|
A Web Interface is available at:
|
||||||
|
|
||||||
http://git.mate.org/cgit/gedit
|
http://git.gnome.org/cgit/pluma
|
||||||
|
|
||||||
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 gedit.
|
you have been given the green light to commit freely to pluma.
|
||||||
When in doubt assume you haven't ;-).
|
When in doubt assume you haven't ;-).
|
||||||
|
|
||||||
Please attach patches in bugzilla (http://bugzilla.mate.org).
|
Please attach patches in bugzilla (http://bugzilla.gnome.org).
|
||||||
If the patch fixes a bug that is not reported yet in bugzilla or is
|
If the patch fixes a bug that is not reported yet in bugzilla or is
|
||||||
an enhancement, create a new bugreport.
|
an enhancement, create a new bugreport.
|
||||||
|
|
||||||
|
@ -31,7 +31,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 gedit git repository make sure to include a
|
When committing to the pluma 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:
|
||||||
|
|
||||||
|
@ -62,4 +62,4 @@ tracker reference if applicable) and so forth. Be concise but not too brief.
|
||||||
|
|
||||||
Thanks,
|
Thanks,
|
||||||
|
|
||||||
The gedit team.
|
The pluma team.
|
||||||
|
|
10
Makefile.am
|
@ -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_AMFLAGS = -I m4
|
||||||
|
|
||||||
SUBDIRS = gedit pixmaps po data plugin-loaders plugins docs tests win32 osx
|
SUBDIRS = pluma pixmaps po data plugin-loaders plugins docs tests win32 osx
|
||||||
|
|
||||||
if !OS_OSX
|
if !OS_OSX
|
||||||
SUBDIRS += help
|
SUBDIRS += help
|
||||||
|
@ -16,7 +16,7 @@ EXTRA_DIST = \
|
||||||
ChangeLog-20090418 \
|
ChangeLog-20090418 \
|
||||||
HACKING \
|
HACKING \
|
||||||
MAINTAINERS \
|
MAINTAINERS \
|
||||||
gedit.doap \
|
pluma.doap \
|
||||||
xmldocs.make \
|
xmldocs.make \
|
||||||
omf.make \
|
omf.make \
|
||||||
mate-doc-utils.make \
|
mate-doc-utils.make \
|
||||||
|
@ -36,6 +36,10 @@ MAINTAINERCLEANFILES = \
|
||||||
config.h.in \
|
config.h.in \
|
||||||
config.sub \
|
config.sub \
|
||||||
depcomp \
|
depcomp \
|
||||||
|
intltool-extract.in \
|
||||||
|
intltool-merge.in \
|
||||||
|
intltool-update.in \
|
||||||
|
configure \
|
||||||
gtk-doc.make \
|
gtk-doc.make \
|
||||||
install-sh \
|
install-sh \
|
||||||
ltmain.sh \
|
ltmain.sh \
|
||||||
|
@ -56,7 +60,7 @@ MAINTAINERCLEANFILES = \
|
||||||
|
|
||||||
DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper --enable-gtk-doc
|
DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper --enable-gtk-doc
|
||||||
|
|
||||||
CHANGELOG_START = GEDIT_2_26_1
|
CHANGELOG_START = PLUMA_2_26_1
|
||||||
|
|
||||||
dist-hook:
|
dist-hook:
|
||||||
@if test -d "$(srcdir)/.git"; \
|
@if test -d "$(srcdir)/.git"; \
|
||||||
|
|
118
NEWS
|
@ -1,5 +1,5 @@
|
||||||
============
|
============
|
||||||
gedit 2.30.4
|
pluma 2.30.4
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -25,7 +25,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.30.3
|
pluma 2.30.3
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -47,7 +47,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.30.2
|
pluma 2.30.2
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -56,7 +56,7 @@ New Features and Fixes
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.30.1
|
pluma 2.30.1
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -81,7 +81,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.30.0
|
pluma 2.30.0
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -113,7 +113,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.29.9
|
pluma 2.29.9
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -144,7 +144,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.29.8
|
pluma 2.29.8
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -170,7 +170,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.29.7
|
pluma 2.29.7
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -198,7 +198,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.29.6
|
pluma 2.29.6
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -221,7 +221,7 @@ New and updated translations
|
||||||
- zh_TW (Chao-Hsiung Liao)
|
- zh_TW (Chao-Hsiung Liao)
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.29.5
|
pluma 2.29.5
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -245,7 +245,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.29.4
|
pluma 2.29.4
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -271,7 +271,7 @@ New and updated translations
|
||||||
- zh_CN (樊栖江(Fan Qijiang))
|
- zh_CN (樊栖江(Fan Qijiang))
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.29.3
|
pluma 2.29.3
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -284,7 +284,7 @@ New and updated translations
|
||||||
- el (Nikos Charonitakis)
|
- el (Nikos Charonitakis)
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.29.2
|
pluma 2.29.2
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -294,7 +294,7 @@ New Features and Fixes
|
||||||
- Implemented file open support on OS X (Jesse van den Kieboom)
|
- Implemented file open support on OS X (Jesse van den Kieboom)
|
||||||
- Fixed OS X native vs X11 built (Jesse van den Kieboom)
|
- Fixed OS X native vs X11 built (Jesse van den Kieboom)
|
||||||
- Basic mac OS X integration (Jesse van den Kieboom)
|
- Basic mac OS X integration (Jesse van den Kieboom)
|
||||||
- Use GtkSpinner instead of GeditSpinner (Ignacio Casal Quinteiro)
|
- Use GtkSpinner instead of PlumaSpinner (Ignacio Casal Quinteiro)
|
||||||
- Misc bugfixes
|
- Misc bugfixes
|
||||||
|
|
||||||
New and updated translations
|
New and updated translations
|
||||||
|
@ -311,7 +311,7 @@ New and updated translations
|
||||||
- zh_CN (樊栖江(Fan Qijiang))
|
- zh_CN (樊栖江(Fan Qijiang))
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.29.1
|
pluma 2.29.1
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -327,7 +327,7 @@ New and updated translations
|
||||||
- zh_CN (Richard Ma)
|
- zh_CN (Richard Ma)
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.28.0
|
pluma 2.28.0
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -370,7 +370,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.27.6
|
pluma 2.27.6
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -410,7 +410,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.27.5
|
pluma 2.27.5
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -437,7 +437,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.27.4
|
pluma 2.27.4
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -457,7 +457,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.27.3
|
pluma 2.27.3
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -480,7 +480,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.27.2
|
pluma 2.27.2
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -503,7 +503,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.27.1
|
pluma 2.27.1
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -527,7 +527,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.26.2
|
pluma 2.26.2
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -545,7 +545,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.26.1
|
pluma 2.26.1
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -567,7 +567,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.26.0
|
pluma 2.26.0
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -589,7 +589,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.25.8
|
pluma 2.25.8
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -615,7 +615,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.25.7
|
pluma 2.25.7
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -640,7 +640,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.25.6
|
pluma 2.25.6
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -661,7 +661,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.25.5
|
pluma 2.25.5
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -687,7 +687,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.25.4
|
pluma 2.25.4
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -705,7 +705,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.25.3
|
pluma 2.25.3
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -724,7 +724,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.25.2
|
pluma 2.25.2
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -737,7 +737,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.25.1
|
pluma 2.25.1
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -752,7 +752,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.24.2
|
pluma 2.24.2
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -769,7 +769,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.24.1
|
pluma 2.24.1
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -787,7 +787,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.24.0
|
pluma 2.24.0
|
||||||
============
|
============
|
||||||
|
|
||||||
New and updated translations
|
New and updated translations
|
||||||
|
@ -804,7 +804,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
=============
|
=============
|
||||||
gedit 2.23.92
|
pluma 2.23.92
|
||||||
=============
|
=============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -833,7 +833,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
=============
|
=============
|
||||||
gedit 2.23.92
|
pluma 2.23.92
|
||||||
=============
|
=============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -856,7 +856,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
=============
|
=============
|
||||||
gedit 2.23.91
|
pluma 2.23.91
|
||||||
=============
|
=============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -886,7 +886,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
=============
|
=============
|
||||||
gedit 2.23.90
|
pluma 2.23.90
|
||||||
=============
|
=============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -907,7 +907,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.23.2
|
pluma 2.23.2
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -915,7 +915,7 @@ New Features and Fixes
|
||||||
- remove libmate dependency, use eggsmclient for XSMP support (Johan Dahlin, Dan Winship)
|
- remove libmate dependency, use eggsmclient for XSMP support (Johan Dahlin, Dan Winship)
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.23.2
|
pluma 2.23.2
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -953,7 +953,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.23.1
|
pluma 2.23.1
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -972,7 +972,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.22.1
|
pluma 2.22.1
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -992,7 +992,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.22.0
|
pluma 2.22.0
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -1023,7 +1023,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.21.2
|
pluma 2.21.2
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -1065,7 +1065,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.21.1
|
pluma 2.21.1
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -1101,7 +1101,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.20.3
|
pluma 2.20.3
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -1115,7 +1115,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.20.2
|
pluma 2.20.2
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -1145,7 +1145,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.20.1
|
pluma 2.20.1
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -1164,7 +1164,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.20.0
|
pluma 2.20.0
|
||||||
============
|
============
|
||||||
|
|
||||||
New and updated translations
|
New and updated translations
|
||||||
|
@ -1186,7 +1186,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
=============
|
=============
|
||||||
gedit 2.19.92
|
pluma 2.19.92
|
||||||
=============
|
=============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -1215,7 +1215,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
=============
|
=============
|
||||||
gedit 2.19.91
|
pluma 2.19.91
|
||||||
=============
|
=============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -1241,7 +1241,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
=============
|
=============
|
||||||
gedit 2.19.90
|
pluma 2.19.90
|
||||||
=============
|
=============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -1270,7 +1270,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.19.3
|
pluma 2.19.3
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -1308,7 +1308,7 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.19.2
|
pluma 2.19.2
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
|
@ -1334,14 +1334,14 @@ New and updated translations
|
||||||
|
|
||||||
|
|
||||||
============
|
============
|
||||||
gedit 2.19.1
|
pluma 2.19.1
|
||||||
============
|
============
|
||||||
|
|
||||||
New Features and Fixes
|
New Features and Fixes
|
||||||
======================
|
======================
|
||||||
- Port to gtksourceview 2: gedit now depends on gtksourceview 1.90.1
|
- Port to gtksourceview 2: pluma now depends on gtksourceview 1.90.1
|
||||||
and on pygtksourceview 1.90.1 (if python plugins are enabled)
|
and on pygtksourceview 1.90.1 (if python plugins are enabled)
|
||||||
This brings to gedit a way more accurate and powerful highlighting
|
This brings to pluma a way more accurate and powerful highlighting
|
||||||
engine.
|
engine.
|
||||||
- Remove Syntax Highlighting configuration from the preference dialog
|
- Remove Syntax Highlighting configuration from the preference dialog
|
||||||
since it was a pain to use and needs to be rethought to support
|
since it was a pain to use and needs to be rethought to support
|
||||||
|
|
49
README
|
@ -1,24 +1,25 @@
|
||||||
General Information
|
General Information
|
||||||
===================
|
===================
|
||||||
|
|
||||||
This is version 2.30.4 of gedit. gedit is a small and lightweight UTF-8 text
|
This is version 2011.11.7 of pluma. pluma is a small and lightweight UTF-8 text
|
||||||
editor for the MATE environment.
|
editor for the MATE environment. Based on gedit, the text editor for the GNOME2
|
||||||
|
environment.
|
||||||
|
|
||||||
gedit is part of MATE and uses the latest GTK+ and MATE libraries.
|
pluma is part of MATE and uses the latest GTK+ and MATE libraries.
|
||||||
Complete MATE integration is featured, with support for Drag and Drop (DnD)
|
Complete MATE integration is featured, with support for Drag and Drop (DnD)
|
||||||
from Caja (the MATE file manager), the use of the MATE help system,
|
from Caja (the MATE file manager), the use of the MATE help system,
|
||||||
the MATE Virtual File System and the MATE print framework.
|
the MATE Virtual File System and the MATE print framework.
|
||||||
|
|
||||||
gedit uses a Multiple Document Interface (MDI), which lets you edit more than
|
pluma uses a Multiple Document Interface (MDI), which lets you edit more than
|
||||||
one document at the same time.
|
one document at the same time.
|
||||||
|
|
||||||
gedit supports most standard editing features, plus several not found in your
|
pluma 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).
|
||||||
|
|
||||||
gedit plugins may also be written in the python scripting language: to enable
|
pluma plugins may also be written in the python scripting language: to enable
|
||||||
python support you need the pygtk and mate-python-desktop bindings.
|
python support you need the pygtk and mate-python-desktop bindings.
|
||||||
|
|
||||||
Although new features are always under development, currently gedit has:
|
Although new features are always under development, currently pluma has:
|
||||||
|
|
||||||
* Complete support for UTF-8 text
|
* Complete support for UTF-8 text
|
||||||
* Syntax highlighting
|
* Syntax highlighting
|
||||||
|
@ -30,7 +31,7 @@ Although new features are always under development, currently gedit has:
|
||||||
* Configurable Plugin system, with optional python support
|
* Configurable Plugin system, with optional python support
|
||||||
|
|
||||||
|
|
||||||
Some of the plugins, packaged and installed with gedit include, among others:
|
Some of the plugins, packaged and installed with pluma include, among others:
|
||||||
|
|
||||||
* Word count
|
* Word count
|
||||||
* Spell checker
|
* Spell checker
|
||||||
|
@ -45,38 +46,38 @@ Some of the plugins, packaged and installed with gedit include, among others:
|
||||||
Other external plugins are also available.
|
Other external plugins are also available.
|
||||||
|
|
||||||
|
|
||||||
gedit is released under the GNU General Public License (GPL) version 2, see
|
pluma is released under the GNU General Public License (GPL) version 2, see
|
||||||
the file 'COPYING' for more information.
|
the file 'COPYING' for more information.
|
||||||
|
|
||||||
|
|
||||||
The official web site is:
|
The official web site is:
|
||||||
|
|
||||||
http://www.gedit.org
|
http://matsusoft.com.ar/projects/mate/
|
||||||
|
|
||||||
You can download the latest gedit tarball from:
|
You can download the latest pluma tarball from:
|
||||||
|
|
||||||
http://download.mate.org/sources/gedit/
|
https://sourceforge.net/projects/matede/files/
|
||||||
|
|
||||||
Information about gedit mailing lists can be found at
|
Information about pluma mailing lists can be found at
|
||||||
|
|
||||||
http://mail.mate.org/mailman/listinfo/gedit-list
|
http://matsusoft.com.ar/projects/mate/
|
||||||
|
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
============
|
============
|
||||||
|
|
||||||
gedit requires GTK+-2.16.x, GtkSourceView 2.4.x and MateConf libraries.
|
pluma requires GTK+-2.16.x, GtkSourceView 2.4.x and MateConf libraries.
|
||||||
PyGobject 2.12.x, PyGtk 2.12.x and PyGtkSourceView 2.4.x are required to
|
PyGobject 2.12.x, PyGtk 2.12.x and PyGtkSourceView 2.4.x are required to
|
||||||
enable python plugins support.
|
enable python plugins support.
|
||||||
|
|
||||||
Simple install procedure:
|
Simple install procedure:
|
||||||
|
|
||||||
% gzip -cd gedit-2.30.4.tar.gz | tar xvf - # unpack the sources
|
% gzip -cd pluma-2.30.4.tar.gz | tar xvf - # unpack the sources
|
||||||
% cd gedit-2.30.4 # change to the toplevel directory
|
% cd pluma-2.30.4 # change to the toplevel directory
|
||||||
% ./configure # run the `configure' script
|
% ./configure # run the `configure' script
|
||||||
% make # build gedit
|
% make # build pluma
|
||||||
[ Become root if necessary ]
|
[ Become root if necessary ]
|
||||||
% make install # install gedit
|
% make install # install pluma
|
||||||
|
|
||||||
See the file 'INSTALL' for more detailed information.
|
See the file 'INSTALL' for more detailed information.
|
||||||
|
|
||||||
|
@ -85,7 +86,7 @@ How to report bugs
|
||||||
==================
|
==================
|
||||||
|
|
||||||
Bugs should be reported to the MATE bug tracking system.
|
Bugs should be reported to the MATE bug tracking system.
|
||||||
(http://bugzilla.mate.org, product gedit). You will need to create an
|
(http://bugzilla.gnome.org, product pluma). You will need to create an
|
||||||
account for yourself.
|
account for yourself.
|
||||||
|
|
||||||
You can also report bugs using the MATE program bug-buddy.
|
You can also report bugs using the MATE program bug-buddy.
|
||||||
|
@ -117,7 +118,7 @@ See the file 'BUGS' for the list of known bugs.
|
||||||
Patches
|
Patches
|
||||||
=======
|
=======
|
||||||
|
|
||||||
Patches should also be submitted to bugzilla.mate.org. If the patch
|
Patches should also be submitted to bugzilla.gnome.org. If the patch
|
||||||
fixes an existing bug, add the patch as an attachment to that bug
|
fixes an existing bug, add the patch as an attachment to that bug
|
||||||
report.
|
report.
|
||||||
|
|
||||||
|
@ -126,10 +127,10 @@ the patch to that bug report.
|
||||||
|
|
||||||
Patches should be in unified diff form. (The -u option to GNU diff.)
|
Patches should be in unified diff form. (The -u option to GNU diff.)
|
||||||
|
|
||||||
If you are interested in helping us to develop gedit, please see the
|
If you are interested in helping us to develop pluma, please see the
|
||||||
file 'AUTHOR' for contact information and/or send a message to the gedit
|
file 'AUTHOR' for contact information and/or send a message to the pluma
|
||||||
mailing list. See also the file 'HACKING' for more detailed information.
|
mailing list. See also the file 'HACKING' for more detailed information.
|
||||||
|
|
||||||
|
|
||||||
The gedit team.
|
The pluma team.
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,8 @@ PKG_NAME=mate-text-editor
|
||||||
|
|
||||||
(test -f $srcdir/configure.ac \
|
(test -f $srcdir/configure.ac \
|
||||||
&& test -f $srcdir/autogen.sh \
|
&& test -f $srcdir/autogen.sh \
|
||||||
&& test -d $srcdir/gedit \
|
&& test -d $srcdir/pluma \
|
||||||
&& test -f $srcdir/gedit/gedit.c) || {
|
&& test -f $srcdir/pluma/pluma.c) || {
|
||||||
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
|
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
|
||||||
echo " top-level $PKG_NAME directory"
|
echo " top-level $PKG_NAME directory"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
112
configure.ac
|
@ -2,23 +2,23 @@ dnl Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
AC_PREREQ(2.63.2)
|
AC_PREREQ(2.63.2)
|
||||||
|
|
||||||
m4_define(gedit_major_version, 2011)
|
m4_define(pluma_major_version, 2011)
|
||||||
m4_define(gedit_minor_version, 11)
|
m4_define(pluma_minor_version, 11)
|
||||||
m4_define(gedit_micro_version, 7)
|
m4_define(pluma_micro_version, 7)
|
||||||
m4_define(gedit_version, gedit_major_version.gedit_minor_version.gedit_micro_version)
|
m4_define(pluma_version, pluma_major_version.pluma_minor_version.pluma_micro_version)
|
||||||
|
|
||||||
AC_INIT([gedit],[gedit_version],[http://bugzilla.mate.org/enter_bug.cgi?product=gedit],[gedit],[http://projects.mate.org/gedit/])
|
AC_INIT([pluma],[pluma_version],[http://bugzilla.gnome.org/enter_bug.cgi?product=pluma],[pluma],[http://projects.gnome.org/pluma/])
|
||||||
|
|
||||||
AC_CONFIG_HEADERS(config.h)
|
AC_CONFIG_HEADERS(config.h)
|
||||||
AC_CONFIG_SRCDIR(gedit/gedit.c)
|
AC_CONFIG_SRCDIR(pluma/pluma.c)
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
|
||||||
AC_DEFINE(GEDIT_MAJOR_VERSION, gedit_major_version, [Gedit major version])
|
AC_DEFINE(PLUMA_MAJOR_VERSION, pluma_major_version, [Pluma major version])
|
||||||
AC_SUBST(GEDIT_MAJOR_VERSION, gedit_major_version)
|
AC_SUBST(PLUMA_MAJOR_VERSION, pluma_major_version)
|
||||||
AC_DEFINE(GEDIT_MINOR_VERSION, gedit_minor_version, [Gedit minor version])
|
AC_DEFINE(PLUMA_MINOR_VERSION, pluma_minor_version, [Pluma minor version])
|
||||||
AC_SUBST(GEDIT_MINOR_VERSION, gedit_minor_version)
|
AC_SUBST(PLUMA_MINOR_VERSION, pluma_minor_version)
|
||||||
AC_DEFINE(GEDIT_MICRO_VERSION, gedit_micro_version, [Gedit micro version])
|
AC_DEFINE(PLUMA_MICRO_VERSION, pluma_micro_version, [Pluma micro version])
|
||||||
AC_SUBST(GEDIT_MICRO_VERSION, gedit_micro_version)
|
AC_SUBST(PLUMA_MICRO_VERSION, pluma_micro_version)
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE([1.10 dist-bzip2 no-dist-gzip -Wno-portability])
|
AM_INIT_AUTOMAKE([1.10 dist-bzip2 no-dist-gzip -Wno-portability])
|
||||||
AM_MAINTAINER_MODE
|
AM_MAINTAINER_MODE
|
||||||
|
@ -37,8 +37,8 @@ AC_PROG_OBJC
|
||||||
LT_PREREQ([2.2.6])
|
LT_PREREQ([2.2.6])
|
||||||
LT_INIT(disable-static)
|
LT_INIT(disable-static)
|
||||||
|
|
||||||
GEDIT_API_VERSION=2.20
|
PLUMA_API_VERSION=2.20
|
||||||
AC_SUBST(GEDIT_API_VERSION)
|
AC_SUBST(PLUMA_API_VERSION)
|
||||||
|
|
||||||
AC_PATH_PROG(MATECONFTOOL, mateconftool-2)
|
AC_PATH_PROG(MATECONFTOOL, mateconftool-2)
|
||||||
|
|
||||||
|
@ -50,12 +50,12 @@ AC_CHECK_LIB(m, floor)
|
||||||
dnl make sure we keep ACLOCAL_FLAGS around for maintainer builds to work
|
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 active plugins for gedit.schemas
|
dnl active plugins for pluma.schemas
|
||||||
ACTIVE_PLUGINS="docinfo,modelines,filebrowser,spell,time"
|
ACTIVE_PLUGINS="docinfo,modelines,filebrowser,spell,time"
|
||||||
AC_SUBST(ACTIVE_PLUGINS)
|
AC_SUBST(ACTIVE_PLUGINS)
|
||||||
|
|
||||||
dnl toolbar style for gedit schemas
|
dnl toolbar style for pluma schemas
|
||||||
TOOLBAR_STYLE="GEDIT_TOOLBAR_SYSTEM"
|
TOOLBAR_STYLE="PLUMA_TOOLBAR_SYSTEM"
|
||||||
AC_SUBST(TOOLBAR_STYLE)
|
AC_SUBST(TOOLBAR_STYLE)
|
||||||
|
|
||||||
dnl check for win32 platform
|
dnl check for win32 platform
|
||||||
|
@ -63,7 +63,7 @@ AC_MSG_CHECKING([for Win32 platform])
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*-mingw*|*-*-cygwin*)
|
*-*-mingw*|*-*-cygwin*)
|
||||||
platform_win32=yes
|
platform_win32=yes
|
||||||
TOOLBAR_STYLE="GEDIT_TOOLBAR_ICONS"
|
TOOLBAR_STYLE="PLUMA_TOOLBAR_ICONS"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
platform_win32=no
|
platform_win32=no
|
||||||
|
@ -135,7 +135,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([GEDIT_FULLPATH], [
|
AC_DEFUN([PLUMA_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
|
||||||
|
@ -145,8 +145,8 @@ AC_DEFUN([GEDIT_FULLPATH], [
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl FULL_LIBEXECDIR is used for X-MATE-Bugzilla-ExtraInfoScript expansion
|
dnl FULL_LIBEXECDIR is used for X-MATE-Bugzilla-ExtraInfoScript expansion
|
||||||
dnl in data/gedit.desktop.in.in
|
dnl in data/pluma.desktop.in.in
|
||||||
GEDIT_FULLPATH(libexecdir, NONE, FULL_LIBEXECDIR)
|
PLUMA_FULLPATH(libexecdir, NONE, FULL_LIBEXECDIR)
|
||||||
AC_SUBST(FULL_LIBEXECDIR)
|
AC_SUBST(FULL_LIBEXECDIR)
|
||||||
|
|
||||||
dnl ================================================================
|
dnl ================================================================
|
||||||
|
@ -154,7 +154,7 @@ dnl Gettext stuff.
|
||||||
dnl ================================================================
|
dnl ================================================================
|
||||||
|
|
||||||
IT_PROG_INTLTOOL([0.40.0])
|
IT_PROG_INTLTOOL([0.40.0])
|
||||||
AC_SUBST([GETTEXT_PACKAGE], [gedit])
|
AC_SUBST([GETTEXT_PACKAGE], [pluma])
|
||||||
AM_GNU_GETTEXT_VERSION([0.17])
|
AM_GNU_GETTEXT_VERSION([0.17])
|
||||||
AM_GLIB_GNU_GETTEXT
|
AM_GLIB_GNU_GETTEXT
|
||||||
AC_DEFINE([GETTEXT_PACKAGE],[PACKAGE_TARNAME], [Define to the gettext package name.])
|
AC_DEFINE([GETTEXT_PACKAGE],[PACKAGE_TARNAME], [Define to the gettext package name.])
|
||||||
|
@ -267,7 +267,7 @@ dnl ================================================================
|
||||||
dnl Start of pkg-config checks
|
dnl Start of pkg-config checks
|
||||||
dnl ================================================================
|
dnl ================================================================
|
||||||
|
|
||||||
PKG_CHECK_MODULES(GEDIT, [
|
PKG_CHECK_MODULES(PLUMA, [
|
||||||
libxml-2.0 >= 2.5.0
|
libxml-2.0 >= 2.5.0
|
||||||
glib-2.0 >= 2.22.0
|
glib-2.0 >= 2.22.0
|
||||||
gthread-2.0 >= 2.13.0
|
gthread-2.0 >= 2.13.0
|
||||||
|
@ -287,13 +287,13 @@ else
|
||||||
X11_LIBS=
|
X11_LIBS=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
GEDIT_CFLAGS="$GEDIT_CFLAGS $X11_CFLAGS"
|
PLUMA_CFLAGS="$PLUMA_CFLAGS $X11_CFLAGS"
|
||||||
GEDIT_LIBS="$GEDIT_LIBS $X11_LIBS"
|
PLUMA_LIBS="$PLUMA_LIBS $X11_LIBS"
|
||||||
|
|
||||||
AC_SUBST(GEDIT_CFLAGS)
|
AC_SUBST(PLUMA_CFLAGS)
|
||||||
AC_SUBST(GEDIT_LIBS)
|
AC_SUBST(PLUMA_LIBS)
|
||||||
|
|
||||||
dnl FIXME: Remove this when removing gedit-message-area
|
dnl FIXME: Remove this when removing pluma-message-area
|
||||||
|
|
||||||
if $PKG_CONFIG --atleast-version 2.17.1 gtk+-2.0; then
|
if $PKG_CONFIG --atleast-version 2.17.1 gtk+-2.0; then
|
||||||
gtkatleast=
|
gtkatleast=
|
||||||
|
@ -303,7 +303,7 @@ fi
|
||||||
|
|
||||||
AM_CONDITIONAL(BUILD_MESSAGE_AREA, test "$gtkatleast" = "no")
|
AM_CONDITIONAL(BUILD_MESSAGE_AREA, test "$gtkatleast" = "no")
|
||||||
|
|
||||||
dnl FIXME: Remove this when removing gedit-spinner
|
dnl FIXME: Remove this when removing pluma-spinner
|
||||||
|
|
||||||
if $PKG_CONFIG --atleast-version 2.19.0 gtk+-2.0; then
|
if $PKG_CONFIG --atleast-version 2.19.0 gtk+-2.0; then
|
||||||
gtkatleast=
|
gtkatleast=
|
||||||
|
@ -313,7 +313,7 @@ fi
|
||||||
|
|
||||||
AM_CONDITIONAL(BUILD_SPINNER, test "$gtkatleast" = "no")
|
AM_CONDITIONAL(BUILD_SPINNER, test "$gtkatleast" = "no")
|
||||||
if test "$gtkatleast" = "no"; then
|
if test "$gtkatleast" = "no"; then
|
||||||
AC_DEFINE([BUILD_SPINNER],[1],[Whether to use GeditSpinner instead of GtkSpinner])
|
AC_DEFINE([BUILD_SPINNER],[1],[Whether to use PlumaSpinner instead of GtkSpinner])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$os_osx" = "no" &&
|
if test "$os_osx" = "no" &&
|
||||||
|
@ -484,44 +484,44 @@ fi
|
||||||
# on win32 plugins must be able to resolve all symbols at link time
|
# on win32 plugins must be able to resolve all symbols at link time
|
||||||
# so we create a lib
|
# so we create a lib
|
||||||
if test "$platform_win32" = yes; then
|
if test "$platform_win32" = yes; then
|
||||||
GEDIT_IMPLIB="-lgedit-$GEDIT_API_VERSION"
|
PLUMA_IMPLIB="-lpluma-$PLUMA_API_VERSION"
|
||||||
PLUGIN_LIBTOOL_FLAGS="-module -avoid-version -no-undefined -Wl,\$(top_builddir)/gedit/libgedit-\$(GEDIT_API_VERSION).a"
|
PLUGIN_LIBTOOL_FLAGS="-module -avoid-version -no-undefined -Wl,\$(top_builddir)/pluma/libpluma-\$(PLUMA_API_VERSION).a"
|
||||||
LOADER_LIBTOOL_FLAGS="-module -avoid-version -no-undefined -Wl,\$(top_builddir)/gedit/libgedit-\$(GEDIT_API_VERSION).a"
|
LOADER_LIBTOOL_FLAGS="-module -avoid-version -no-undefined -Wl,\$(top_builddir)/pluma/libpluma-\$(PLUMA_API_VERSION).a"
|
||||||
if test "$os_win32" = yes; then
|
if test "$os_win32" = yes; then
|
||||||
PLUGIN_LIBTOOL_FLAGS="${PLUGIN_LIBTOOL_FLAGS} -mwindows"
|
PLUGIN_LIBTOOL_FLAGS="${PLUGIN_LIBTOOL_FLAGS} -mwindows"
|
||||||
LOADER_LIBTOOL_FLAGS="${LOADER_LIBTOOL_FLAGS} -mwindows"
|
LOADER_LIBTOOL_FLAGS="${LOADER_LIBTOOL_FLAGS} -mwindows"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
GEDIT_IMPLIB=""
|
PLUMA_IMPLIB=""
|
||||||
PLUGIN_LIBTOOL_FLAGS="-module -avoid-version"
|
PLUGIN_LIBTOOL_FLAGS="-module -avoid-version"
|
||||||
LOADER_LIBTOOL_FLAGS="-module -avoid-version"
|
LOADER_LIBTOOL_FLAGS="-module -avoid-version"
|
||||||
fi
|
fi
|
||||||
AC_SUBST(GEDIT_IMPLIB)
|
AC_SUBST(PLUMA_IMPLIB)
|
||||||
AC_SUBST(PLUGIN_LIBTOOL_FLAGS)
|
AC_SUBST(PLUGIN_LIBTOOL_FLAGS)
|
||||||
AC_SUBST(LOADER_LIBTOOL_FLAGS)
|
AC_SUBST(LOADER_LIBTOOL_FLAGS)
|
||||||
|
|
||||||
GEDIT_PLUGINS_DATA_DIR="$datadir/gedit-2/plugins"
|
PLUMA_PLUGINS_DATA_DIR="$datadir/pluma-2/plugins"
|
||||||
AC_SUBST(GEDIT_PLUGINS_DATA_DIR)
|
AC_SUBST(PLUMA_PLUGINS_DATA_DIR)
|
||||||
|
|
||||||
GEDIT_PLUGINS_LIBS_DIR="$libdir/gedit-2/plugins"
|
PLUMA_PLUGINS_LIBS_DIR="$libdir/pluma-2/plugins"
|
||||||
AC_SUBST(GEDIT_PLUGINS_LIBS_DIR)
|
AC_SUBST(PLUMA_PLUGINS_LIBS_DIR)
|
||||||
|
|
||||||
MATE_DOC_INIT([0.9.0],,
|
MATE_DOC_INIT([0.9.0],,
|
||||||
[AC_MSG_WARN([[mate-doc-utils not found: documentation will not be built.]])])
|
[AC_MSG_WARN([[mate-doc-utils not found: documentation will not be built.]])])
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
Makefile
|
Makefile
|
||||||
data/gedit.desktop.in
|
data/pluma.desktop.in
|
||||||
data/gedit-bugreport.sh
|
data/pluma-bugreport.sh
|
||||||
data/gedit.pc
|
data/pluma.pc
|
||||||
data/gedit.schemas.in
|
data/pluma.schemas.in
|
||||||
data/Makefile
|
data/Makefile
|
||||||
docs/Makefile
|
docs/Makefile
|
||||||
docs/reference/Makefile
|
docs/reference/Makefile
|
||||||
gedit/dialogs/Makefile
|
pluma/dialogs/Makefile
|
||||||
gedit/smclient/Makefile
|
pluma/smclient/Makefile
|
||||||
gedit/osx/Makefile
|
pluma/osx/Makefile
|
||||||
gedit/Makefile
|
pluma/Makefile
|
||||||
help/Makefile
|
help/Makefile
|
||||||
pixmaps/Makefile
|
pixmaps/Makefile
|
||||||
plugin-loaders/Makefile
|
plugin-loaders/Makefile
|
||||||
|
@ -552,7 +552,7 @@ plugins/taglist/Makefile
|
||||||
plugins/time/Makefile
|
plugins/time/Makefile
|
||||||
po/Makefile.in
|
po/Makefile.in
|
||||||
tests/Makefile
|
tests/Makefile
|
||||||
win32/gedit.iss
|
win32/pluma.iss
|
||||||
win32/Makefile
|
win32/Makefile
|
||||||
osx/Info.plist
|
osx/Info.plist
|
||||||
osx/Makefile])
|
osx/Makefile])
|
||||||
|
@ -570,29 +570,29 @@ Configuration:
|
||||||
Gvfs metadata enabled: $enable_gvfs_metadata
|
Gvfs metadata enabled: $enable_gvfs_metadata
|
||||||
"
|
"
|
||||||
|
|
||||||
if expr ${GEDIT_MINOR_VERSION} % 2 > /dev/null; then
|
if expr ${PLUMA_MINOR_VERSION} % 2 > /dev/null; then
|
||||||
stable_version=`expr ${GEDIT_MINOR_VERSION} - 1`
|
stable_version=`expr ${PLUMA_MINOR_VERSION} - 1`
|
||||||
|
|
||||||
cat << EOF
|
cat << EOF
|
||||||
*** IMPORTANT ***
|
*** IMPORTANT ***
|
||||||
|
|
||||||
This is an unstable version of gedit.
|
This is an unstable version of pluma.
|
||||||
It is for test purposes only.
|
It is for test purposes only.
|
||||||
|
|
||||||
Please, DO NOT use it in a production environment.
|
Please, DO NOT use it in a production environment.
|
||||||
It will probably crash and you will lose your data.
|
It will probably crash and you will lose your data.
|
||||||
|
|
||||||
If you are looking for a stable release of gedit, either download
|
If you are looking for a stable release of pluma, either download
|
||||||
it from:
|
it from:
|
||||||
|
|
||||||
http://ftp.mate.org/pub/mate/sources/gedit/2.${stable_version}/
|
http://ftp.gnome.org/pub/mate/sources/pluma/2.${stable_version}/
|
||||||
|
|
||||||
Or checkout the mate-${stable_version} branch of the gedit module from:
|
Or checkout the mate-${stable_version} branch of the pluma module from:
|
||||||
|
|
||||||
git://git.mate.org/gedit
|
git://git.gnome.org/pluma
|
||||||
|
|
||||||
Thanks,
|
Thanks,
|
||||||
The gedit team
|
The pluma team
|
||||||
|
|
||||||
*** END OF WARNING ***
|
*** END OF WARNING ***
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -1,23 +1,23 @@
|
||||||
desktopdir = $(datadir)/applications
|
desktopdir = $(datadir)/applications
|
||||||
desktop_in_files = gedit.desktop.in
|
desktop_in_files = pluma.desktop.in
|
||||||
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
||||||
@INTLTOOL_DESKTOP_RULE@
|
@INTLTOOL_DESKTOP_RULE@
|
||||||
|
|
||||||
schemasdir = $(MATECONF_SCHEMA_FILE_DIR)
|
schemasdir = $(MATECONF_SCHEMA_FILE_DIR)
|
||||||
schemas_in_files = gedit.schemas.in
|
schemas_in_files = pluma.schemas.in
|
||||||
schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
|
schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
|
||||||
@INTLTOOL_SCHEMAS_RULE@
|
@INTLTOOL_SCHEMAS_RULE@
|
||||||
|
|
||||||
man_MANS = gedit.1
|
man_MANS = pluma.1
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
pkgconfig_DATA = gedit-@GEDIT_API_VERSION@.pc
|
pkgconfig_DATA = pluma-@PLUMA_API_VERSION@.pc
|
||||||
|
|
||||||
gedit-@GEDIT_API_VERSION@.pc: gedit.pc
|
pluma-@PLUMA_API_VERSION@.pc: pluma.pc
|
||||||
cp gedit.pc gedit-@GEDIT_API_VERSION@.pc
|
cp pluma.pc pluma-@PLUMA_API_VERSION@.pc
|
||||||
|
|
||||||
bugreportdir = $(libexecdir)/gedit-2
|
bugreportdir = $(libexecdir)/pluma-2
|
||||||
bugreport_SCRIPTS = gedit-bugreport.sh
|
bugreport_SCRIPTS = pluma-bugreport.sh
|
||||||
|
|
||||||
if MATECONF_SCHEMAS_INSTALL
|
if MATECONF_SCHEMAS_INSTALL
|
||||||
install-data-local:
|
install-data-local:
|
||||||
|
@ -33,10 +33,10 @@ endif
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(desktop_in_files) \
|
$(desktop_in_files) \
|
||||||
$(schemas_in_files) \
|
$(schemas_in_files) \
|
||||||
gedit.schemas.in.in \
|
pluma.schemas.in.in \
|
||||||
$(man_MANS) \
|
$(man_MANS) \
|
||||||
gedit.pc.in \
|
pluma.pc.in \
|
||||||
gedit-bugreport.sh.in
|
pluma-bugreport.sh.in
|
||||||
|
|
||||||
CLEANFILES = \
|
CLEANFILES = \
|
||||||
$(desktop_DATA) \
|
$(desktop_DATA) \
|
||||||
|
|
|
@ -20,22 +20,22 @@ echo_padded ()
|
||||||
#if (which mateconftool-2 >/dev/null)
|
#if (which mateconftool-2 >/dev/null)
|
||||||
#then
|
#then
|
||||||
# echo "MateConf configuration dump:"
|
# echo "MateConf configuration dump:"
|
||||||
# mateconftool-2 --dump /apps/gedit-2 | grep -Ev "</?(entry|mateconfentryfile|entrylist|value|schema_key)" | cut -c4-
|
# mateconftool-2 --dump /apps/pluma-2 | grep -Ev "</?(entry|mateconfentryfile|entrylist|value|schema_key)" | cut -c4-
|
||||||
# echo
|
# echo
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
echo "Active plugins:"
|
echo "Active plugins:"
|
||||||
mateconftool-2 --get /apps/gedit-2/plugins/active-plugins \
|
mateconftool-2 --get /apps/pluma-2/plugins/active-plugins \
|
||||||
| sed -r -e 's/^\[(.*)\]$/\1/' -e 's/,/\n/g' \
|
| sed -r -e 's/^\[(.*)\]$/\1/' -e 's/,/\n/g' \
|
||||||
| sed -e 's/^.*$/ - \0/'
|
| sed -e 's/^.*$/ - \0/'
|
||||||
echo
|
echo
|
||||||
|
|
||||||
# Manually installed plugins (in $HOME)
|
# Manually installed plugins (in $HOME)
|
||||||
if [ -d $HOME/.mate2/gedit/plugins ]
|
if [ -d $HOME/.mate2/pluma/plugins ]
|
||||||
then
|
then
|
||||||
echo "Plugins in \$HOME:"
|
echo "Plugins in \$HOME:"
|
||||||
ls $HOME/.mate2/gedit/plugins/*.gedit-plugin \
|
ls $HOME/.mate2/pluma/plugins/*.pluma-plugin \
|
||||||
| sed -r -e 's#.*/([^/]*)\.gedit-plugin$# - \1#'
|
| sed -r -e 's#.*/([^/]*)\.pluma-plugin$# - \1#'
|
||||||
else
|
else
|
||||||
echo "No plugin installed in \$HOME."
|
echo "No plugin installed in \$HOME."
|
||||||
fi
|
fi
|
|
@ -1,23 +1,23 @@
|
||||||
.TH GEDIT 1 "24 Apr 2006"
|
.TH PLUMA 1 "24 Apr 2006"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
\fBgedit\fP \- text editor for the MATE Desktop
|
\fBpluma\fP \- text editor for the MATE Desktop
|
||||||
|
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B gedit
|
.B pluma
|
||||||
[\fIOPTION\fR]... [\fIFILE\fR]...
|
[\fIOPTION\fR]... [\fIFILE\fR]...
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B gedit
|
.B pluma
|
||||||
is the official text editor of the MATE desktop environment.
|
is the official text editor of the MATE desktop environment.
|
||||||
|
|
||||||
While aiming at simplicity and ease of use,
|
While aiming at simplicity and ease of use,
|
||||||
.B gedit
|
.B pluma
|
||||||
is a powerful general purpose text editor.
|
is a powerful general purpose text editor.
|
||||||
It can be used to create and edit all kinds of text files.
|
It can be used to create and edit all kinds of text files.
|
||||||
|
|
||||||
.B gedit
|
.B pluma
|
||||||
features a flexible plugin system which can be used to dynamically add
|
features a flexible plugin system which can be used to dynamically add
|
||||||
new advanced features to
|
new advanced features to
|
||||||
.B gedit
|
.B pluma
|
||||||
itself.
|
itself.
|
||||||
.LP
|
.LP
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
|
@ -31,11 +31,11 @@ Set the character encoding to be used for opening the files listed on the comman
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-new\-window\fR
|
\fB\-\-new\-window\fR
|
||||||
Create a new toplevel window in an existing instance of
|
Create a new toplevel window in an existing instance of
|
||||||
.B gedit.
|
.B pluma.
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-new\-document\fR
|
\fB\-\-new\-document\fR
|
||||||
Create a new document in an existing instance of
|
Create a new document in an existing instance of
|
||||||
.B gedit.
|
.B pluma.
|
||||||
.TP
|
.TP
|
||||||
\fB+[num]\fR
|
\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).
|
For the first file, go to the line specified by "num" (do not insert a space between the "+" sign and the number).
|
||||||
|
@ -43,17 +43,17 @@ If "num" is missing, go to the last line.
|
||||||
.TP
|
.TP
|
||||||
\fBfilename(s)...\fR
|
\fBfilename(s)...\fR
|
||||||
Specifies the file to open when
|
Specifies the file to open when
|
||||||
.B gedit
|
.B pluma
|
||||||
starts. If this is not specified,
|
starts. If this is not specified,
|
||||||
.B gedit
|
.B pluma
|
||||||
will load a blank file with an "Unsaved Document" label. Multiple files can be loaded if they are
|
will load a blank file with an "Unsaved Document" label. Multiple files can be loaded if they are
|
||||||
separated by spaces.
|
separated by spaces.
|
||||||
.B gedit
|
.B pluma
|
||||||
also supports handling of remote files. For example, you can pass the location
|
also supports handling of remote files. For example, you can pass the location
|
||||||
of a webpage to
|
of a webpage to
|
||||||
.B gedit,
|
.B pluma,
|
||||||
like "http://www.mate.org", or load a file from a FTP server,
|
like "http://www.gnome.org", or load a file from a FTP server,
|
||||||
like "ftp://ftp.mate.org/robots.txt".
|
like "ftp://ftp.gnome.org/robots.txt".
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-list-encodings\fR
|
\fB\-\-list-encodings\fR
|
||||||
Display list of possible values for the encoding option and exit
|
Display list of possible values for the encoding option and exit
|
||||||
|
@ -62,7 +62,7 @@ Display list of possible values for the encoding option and exit
|
||||||
Output version information and exit
|
Output version information and exit
|
||||||
|
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
If you find a bug, please report it at http://bugzilla.mate.org/enter_bug.cgi?product=gedit.
|
If you find a bug, please report it at http://bugzilla.gnome.org/enter_bug.cgi?product=pluma.
|
||||||
.SH AUTHORS
|
.SH AUTHORS
|
||||||
Paolo Maggi (paolo@gnome.org)
|
Paolo Maggi (paolo@gnome.org)
|
||||||
.TP
|
.TP
|
|
@ -1,18 +1,18 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
_Name=gedit
|
_Name=pluma
|
||||||
_GenericName=Text Editor
|
_GenericName=Text Editor
|
||||||
_Comment=Edit text files
|
_Comment=Edit text files
|
||||||
Exec=gedit %U
|
Exec=pluma %U
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
MimeType=text/plain;
|
MimeType=text/plain;
|
||||||
Icon=accessories-text-editor
|
Icon=accessories-text-editor
|
||||||
Categories=MATE;GTK;Utility;TextEditor;
|
Categories=MATE;GTK;Utility;TextEditor;
|
||||||
X-MATE-DocPath=gedit/gedit.xml
|
X-MATE-DocPath=pluma/pluma.xml
|
||||||
_X-MATE-FullName=gedit Text Editor
|
_X-MATE-FullName=pluma Text Editor
|
||||||
X-MATE-Bugzilla-Bugzilla=MATE
|
X-MATE-Bugzilla-Bugzilla=MATE
|
||||||
X-MATE-Bugzilla-Product=gedit
|
X-MATE-Bugzilla-Product=pluma
|
||||||
X-MATE-Bugzilla-Component=general
|
X-MATE-Bugzilla-Component=general
|
||||||
X-MATE-Bugzilla-Version=@VERSION@
|
X-MATE-Bugzilla-Version=@VERSION@
|
||||||
X-MATE-Bugzilla-ExtraInfoScript=@FULL_LIBEXECDIR@/gedit-2/gedit-bugreport.sh
|
X-MATE-Bugzilla-ExtraInfoScript=@FULL_LIBEXECDIR@/pluma-2/pluma-bugreport.sh
|
|
@ -3,9 +3,9 @@ exec_prefix=@exec_prefix@
|
||||||
libdir=@libdir@
|
libdir=@libdir@
|
||||||
includedir=@includedir@
|
includedir=@includedir@
|
||||||
|
|
||||||
Name: gedit
|
Name: pluma
|
||||||
Description: gedit
|
Description: pluma
|
||||||
Requires: gtksourceview-2.0
|
Requires: gtksourceview-2.0
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Cflags: -I${includedir}/gedit-@GEDIT_API_VERSION@
|
Cflags: -I${includedir}/pluma-@PLUMA_API_VERSION@
|
||||||
Libs: -L${libdir} @GEDIT_IMPLIB@
|
Libs: -L${libdir} @PLUMA_IMPLIB@
|
|
@ -1,24 +1,24 @@
|
||||||
<mateconfschemafile>
|
<mateconfschemafile>
|
||||||
<schemalist>
|
<schemalist>
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/font/use_default_font</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/font/use_default_font</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/font/use_default_font</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/font/use_default_font</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>bool</type>
|
<type>bool</type>
|
||||||
<default>TRUE</default>
|
<default>TRUE</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Use Default Font</short>
|
<short>Use Default Font</short>
|
||||||
<long>Whether to use the system's default fixed width font for editing
|
<long>Whether to use the system's default fixed width font for editing
|
||||||
text instead of a font specific to gedit. If this option is turned
|
text instead of a font specific to pluma. If this option is turned
|
||||||
off, then the font named in the "Editor Font" option will be
|
off, then the font named in the "Editor Font" option will be
|
||||||
used instead of the system font.</long>
|
used instead of the system font.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/font/editor_font</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/font/editor_font</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/font/editor_font</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/font/editor_font</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>string</type>
|
<type>string</type>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<default><!-- Translators: This is the Editor Font.
|
<default><!-- Translators: This is the Editor Font.
|
||||||
|
@ -31,9 +31,9 @@
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/colors/scheme</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/colors/scheme</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/colors/scheme</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/colors/scheme</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>string</type>
|
<type>string</type>
|
||||||
<default>classic</default>
|
<default>classic</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
|
@ -44,78 +44,78 @@
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/save/create_backup_copy</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/save/create_backup_copy</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/save/create_backup_copy</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/save/create_backup_copy</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>bool</type>
|
<type>bool</type>
|
||||||
<default>FALSE</default>
|
<default>FALSE</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Create Backup Copies</short>
|
<short>Create Backup Copies</short>
|
||||||
<long>Whether gedit should create backup copies for the files
|
<long>Whether pluma should create backup copies for the files
|
||||||
it saves. You can set the backup file extension with the
|
it saves. You can set the backup file extension with the
|
||||||
"Backup Copy Extension" option.</long>
|
"Backup Copy Extension" option.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/save/auto_save</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/save/auto_save</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/save/auto_save</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/save/auto_save</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>bool</type>
|
<type>bool</type>
|
||||||
<default>FALSE</default>
|
<default>FALSE</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Autosave</short>
|
<short>Autosave</short>
|
||||||
<long>Whether gedit should automatically save modified files
|
<long>Whether pluma should automatically save modified files
|
||||||
after a time interval. You can set the time interval with the
|
after a time interval. You can set the time interval with the
|
||||||
"Autosave Interval" option.</long>
|
"Autosave Interval" option.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/save/auto_save_interval</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/save/auto_save_interval</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/save/auto_save_interval</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/save/auto_save_interval</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>int</type>
|
<type>int</type>
|
||||||
<default>10</default>
|
<default>10</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Autosave Interval</short>
|
<short>Autosave Interval</short>
|
||||||
<long>Number of minutes after which gedit will automatically
|
<long>Number of minutes after which pluma will automatically
|
||||||
save modified files. This will only take effect if the "Autosave"
|
save modified files. This will only take effect if the "Autosave"
|
||||||
option is turned on.</long>
|
option is turned on.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/undo/undo_actions_limit</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/undo/undo_actions_limit</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/undo/undo_actions_limit</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/undo/undo_actions_limit</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>int</type>
|
<type>int</type>
|
||||||
<default>25</default>
|
<default>25</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Undo Actions Limit (DEPRECATED)</short>
|
<short>Undo Actions Limit (DEPRECATED)</short>
|
||||||
<long>Maximum number of actions that gedit will be able to
|
<long>Maximum number of actions that pluma will be able to
|
||||||
undo or redo. Use "-1" for unlimited number of actions.
|
undo or redo. Use "-1" for unlimited number of actions.
|
||||||
Deprecated since 2.12.0</long>
|
Deprecated since 2.12.0</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/undo/max_undo_actions</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/undo/max_undo_actions</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/undo/max_undo_actions</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/undo/max_undo_actions</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>int</type>
|
<type>int</type>
|
||||||
<default>2000</default>
|
<default>2000</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Maximum Number of Undo Actions</short>
|
<short>Maximum Number of Undo Actions</short>
|
||||||
<long>Maximum number of actions that gedit will be able to
|
<long>Maximum number of actions that pluma will be able to
|
||||||
undo or redo. Use "-1" for unlimited number of actions.</long>
|
undo or redo. Use "-1" for unlimited number of actions.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/wrap_mode/wrap_mode</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/wrap_mode/wrap_mode</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/wrap_mode/wrap_mode</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/wrap_mode/wrap_mode</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>string</type>
|
<type>string</type>
|
||||||
<default>GTK_WRAP_WORD</default>
|
<default>GTK_WRAP_WORD</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
|
@ -130,9 +130,9 @@
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/tabs/tabs_size</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/tabs/tabs_size</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/tabs/tabs_size</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/tabs/tabs_size</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>int</type>
|
<type>int</type>
|
||||||
<default>8</default>
|
<default>8</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
|
@ -143,83 +143,83 @@
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/tabs/insert_spaces</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/tabs/insert_spaces</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/tabs/insert_spaces</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/tabs/insert_spaces</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>bool</type>
|
<type>bool</type>
|
||||||
<default>FALSE</default>
|
<default>FALSE</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Insert spaces</short>
|
<short>Insert spaces</short>
|
||||||
<long>Whether gedit should insert spaces instead of tabs.</long>
|
<long>Whether pluma should insert spaces instead of tabs.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/auto_indent/auto_indent</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/auto_indent/auto_indent</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/auto_indent/auto_indent</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/auto_indent/auto_indent</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>bool</type>
|
<type>bool</type>
|
||||||
<default>FALSE</default>
|
<default>FALSE</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Automatic indent</short>
|
<short>Automatic indent</short>
|
||||||
<long>Whether gedit should enable automatic indentation.</long>
|
<long>Whether pluma should enable automatic indentation.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/line_numbers/display_line_numbers</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/line_numbers/display_line_numbers</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/line_numbers/display_line_numbers</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/line_numbers/display_line_numbers</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>bool</type>
|
<type>bool</type>
|
||||||
<default>FALSE</default>
|
<default>FALSE</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Display Line Numbers</short>
|
<short>Display Line Numbers</short>
|
||||||
<long>Whether gedit should display line numbers in the editing
|
<long>Whether pluma should display line numbers in the editing
|
||||||
area.</long>
|
area.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/current_line/highlight_current_line</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/current_line/highlight_current_line</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/current_line/highlight_current_line</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/current_line/highlight_current_line</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>bool</type>
|
<type>bool</type>
|
||||||
<default>FALSE</default>
|
<default>FALSE</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Highlight Current Line</short>
|
<short>Highlight Current Line</short>
|
||||||
<long>Whether gedit should highlight the current line.</long>
|
<long>Whether pluma should highlight the current line.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/bracket_matching/bracket_matching</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/bracket_matching/bracket_matching</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/bracket_matching/bracket_matching</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/bracket_matching/bracket_matching</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>bool</type>
|
<type>bool</type>
|
||||||
<default>FALSE</default>
|
<default>FALSE</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Highlight Matching Bracket</short>
|
<short>Highlight Matching Bracket</short>
|
||||||
<long>Whether gedit should highlight the bracket matching the selected one.</long>
|
<long>Whether pluma should highlight the bracket matching the selected one.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/right_margin/display_right_margin</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/right_margin/display_right_margin</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/right_margin/display_right_margin</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/right_margin/display_right_margin</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>bool</type>
|
<type>bool</type>
|
||||||
<default>FALSE</default>
|
<default>FALSE</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Display Right Margin</short>
|
<short>Display Right Margin</short>
|
||||||
<long>Whether gedit should display the right margin in the editing
|
<long>Whether pluma should display the right margin in the editing
|
||||||
area.</long>
|
area.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/right_margin/right_margin_position</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/right_margin/right_margin_position</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/right_margin/right_margin_position</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/right_margin/right_margin_position</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>int</type>
|
<type>int</type>
|
||||||
<default>80</default>
|
<default>80</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
|
@ -229,9 +229,9 @@
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/smart_home_end/smart_home_end</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/smart_home_end/smart_home_end</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/smart_home_end/smart_home_end</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/smart_home_end/smart_home_end</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>string</type>
|
<type>string</type>
|
||||||
<default>after</default>
|
<default>after</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
|
@ -248,9 +248,9 @@
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/ui/toolbar/toolbar_visible</key>
|
<key>/schemas/apps/pluma-2/preferences/ui/toolbar/toolbar_visible</key>
|
||||||
<applyto>/apps/gedit-2/preferences/ui/toolbar/toolbar_visible</applyto>
|
<applyto>/apps/pluma-2/preferences/ui/toolbar/toolbar_visible</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>bool</type>
|
<type>bool</type>
|
||||||
<default>TRUE</default>
|
<default>TRUE</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
|
@ -260,27 +260,27 @@
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/ui/toolbar/toolbar_buttons_style</key>
|
<key>/schemas/apps/pluma-2/preferences/ui/toolbar/toolbar_buttons_style</key>
|
||||||
<applyto>/apps/gedit-2/preferences/ui/toolbar/toolbar_buttons_style</applyto>
|
<applyto>/apps/pluma-2/preferences/ui/toolbar/toolbar_buttons_style</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>string</type>
|
<type>string</type>
|
||||||
<default>@TOOLBAR_STYLE@</default>
|
<default>@TOOLBAR_STYLE@</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Toolbar Buttons Style</short>
|
<short>Toolbar Buttons Style</short>
|
||||||
<long>Style for the toolbar buttons. Possible values are
|
<long>Style for the toolbar buttons. Possible values are
|
||||||
"GEDIT_TOOLBAR_SYSTEM" to use the system's default style,
|
"PLUMA_TOOLBAR_SYSTEM" to use the system's default style,
|
||||||
"GEDIT_TOOLBAR_ICONS" to display icons only,
|
"PLUMA_TOOLBAR_ICONS" to display icons only,
|
||||||
"GEDIT_TOOLBAR_ICONS_AND_TEXT" to display both icons and text, and
|
"PLUMA_TOOLBAR_ICONS_AND_TEXT" to display both icons and text, and
|
||||||
"GEDIT_TOOLBAR_ICONS_BOTH_HORIZ" to display prioritized text beside icons.
|
"PLUMA_TOOLBAR_ICONS_BOTH_HORIZ" to display prioritized text beside icons.
|
||||||
Note that the values are case-sensitive, so make sure they
|
Note that the values are case-sensitive, so make sure they
|
||||||
appear exactly as mentioned here.</long>
|
appear exactly as mentioned here.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/ui/statusbar/statusbar_visible</key>
|
<key>/schemas/apps/pluma-2/preferences/ui/statusbar/statusbar_visible</key>
|
||||||
<applyto>/apps/gedit-2/preferences/ui/statusbar/statusbar_visible</applyto>
|
<applyto>/apps/pluma-2/preferences/ui/statusbar/statusbar_visible</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>bool</type>
|
<type>bool</type>
|
||||||
<default>TRUE</default>
|
<default>TRUE</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
|
@ -291,9 +291,9 @@
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/ui/side_pane/side_pane_visible</key>
|
<key>/schemas/apps/pluma-2/preferences/ui/side_pane/side_pane_visible</key>
|
||||||
<applyto>/apps/gedit-2/preferences/ui/side_pane/side_pane_visible</applyto>
|
<applyto>/apps/pluma-2/preferences/ui/side_pane/side_pane_visible</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>bool</type>
|
<type>bool</type>
|
||||||
<default>FALSE</default>
|
<default>FALSE</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
|
@ -304,9 +304,9 @@
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/ui/bottom_panel/bottom_panel_visible</key>
|
<key>/schemas/apps/pluma-2/preferences/ui/bottom_panel/bottom_panel_visible</key>
|
||||||
<applyto>/apps/gedit-2/preferences/ui/bottom_panel/bottom_panel_visible</applyto>
|
<applyto>/apps/pluma-2/preferences/ui/bottom_panel/bottom_panel_visible</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>bool</type>
|
<type>bool</type>
|
||||||
<default>FALSE</default>
|
<default>FALSE</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
|
@ -317,35 +317,35 @@
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/print/page/print_syntax_highlighting</key>
|
<key>/schemas/apps/pluma-2/preferences/print/page/print_syntax_highlighting</key>
|
||||||
<applyto>/apps/gedit-2/preferences/print/page/print_syntax_highlighting</applyto>
|
<applyto>/apps/pluma-2/preferences/print/page/print_syntax_highlighting</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>bool</type>
|
<type>bool</type>
|
||||||
<default>TRUE</default>
|
<default>TRUE</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Print Syntax Highlighting</short>
|
<short>Print Syntax Highlighting</short>
|
||||||
<long>Whether gedit should print syntax highlighting when
|
<long>Whether pluma should print syntax highlighting when
|
||||||
printing documents.</long>
|
printing documents.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/print/page/print_header</key>
|
<key>/schemas/apps/pluma-2/preferences/print/page/print_header</key>
|
||||||
<applyto>/apps/gedit-2/preferences/print/page/print_header</applyto>
|
<applyto>/apps/pluma-2/preferences/print/page/print_header</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>bool</type>
|
<type>bool</type>
|
||||||
<default>TRUE</default>
|
<default>TRUE</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Print Header</short>
|
<short>Print Header</short>
|
||||||
<long>Whether gedit should include a document header when
|
<long>Whether pluma should include a document header when
|
||||||
printing documents.</long>
|
printing documents.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/print/page/print_wrap_mode</key>
|
<key>/schemas/apps/pluma-2/preferences/print/page/print_wrap_mode</key>
|
||||||
<applyto>/apps/gedit-2/preferences/print/page/print_wrap_mode</applyto>
|
<applyto>/apps/pluma-2/preferences/print/page/print_wrap_mode</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>string</type>
|
<type>string</type>
|
||||||
<default>GTK_WRAP_WORD</default>
|
<default>GTK_WRAP_WORD</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
|
@ -360,23 +360,23 @@
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/print/page/print_line_numbers</key>
|
<key>/schemas/apps/pluma-2/preferences/print/page/print_line_numbers</key>
|
||||||
<applyto>/apps/gedit-2/preferences/print/page/print_line_numbers</applyto>
|
<applyto>/apps/pluma-2/preferences/print/page/print_line_numbers</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>int</type>
|
<type>int</type>
|
||||||
<default>0</default>
|
<default>0</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Print Line Numbers</short>
|
<short>Print Line Numbers</short>
|
||||||
<long>If this value is 0, then no line numbers will be
|
<long>If this value is 0, then no line numbers will be
|
||||||
inserted when printing a document. Otherwise, gedit will
|
inserted when printing a document. Otherwise, pluma will
|
||||||
print line numbers every such number of lines.</long>
|
print line numbers every such number of lines.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/print/fonts/print_font_body_pango</key>
|
<key>/schemas/apps/pluma-2/preferences/print/fonts/print_font_body_pango</key>
|
||||||
<applyto>/apps/gedit-2/preferences/print/fonts/print_font_body_pango</applyto>
|
<applyto>/apps/pluma-2/preferences/print/fonts/print_font_body_pango</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>string</type>
|
<type>string</type>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<default><!-- Translators: This is the Body font for printing.
|
<default><!-- Translators: This is the Body font for printing.
|
||||||
|
@ -388,9 +388,9 @@
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/print/fonts/print_font_header_pango</key>
|
<key>/schemas/apps/pluma-2/preferences/print/fonts/print_font_header_pango</key>
|
||||||
<applyto>/apps/gedit-2/preferences/print/fonts/print_font_header_pango</applyto>
|
<applyto>/apps/pluma-2/preferences/print/fonts/print_font_header_pango</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>string</type>
|
<type>string</type>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<default><!-- Translators: This is the Header font for printing.
|
<default><!-- Translators: This is the Header font for printing.
|
||||||
|
@ -403,9 +403,9 @@
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/print/fonts/print_font_numbers_pango</key>
|
<key>/schemas/apps/pluma-2/preferences/print/fonts/print_font_numbers_pango</key>
|
||||||
<applyto>/apps/gedit-2/preferences/print/fonts/print_font_numbers_pango</applyto>
|
<applyto>/apps/pluma-2/preferences/print/fonts/print_font_numbers_pango</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>string</type>
|
<type>string</type>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<default><!-- Translators: This is the Line Number font for printing.
|
<default><!-- Translators: This is the Line Number font for printing.
|
||||||
|
@ -418,9 +418,9 @@
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/ui/recents/max_recents</key>
|
<key>/schemas/apps/pluma-2/preferences/ui/recents/max_recents</key>
|
||||||
<applyto>/apps/gedit-2/preferences/ui/recents/max_recents</applyto>
|
<applyto>/apps/pluma-2/preferences/ui/recents/max_recents</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>int</type>
|
<type>int</type>
|
||||||
<default>5</default>
|
<default>5</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
|
@ -431,33 +431,33 @@
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/encodings/auto_detected</key>
|
<key>/schemas/apps/pluma-2/preferences/encodings/auto_detected</key>
|
||||||
<applyto>/apps/gedit-2/preferences/encodings/auto_detected</applyto>
|
<applyto>/apps/pluma-2/preferences/encodings/auto_detected</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>list</type>
|
<type>list</type>
|
||||||
<list_type>string</list_type>
|
<list_type>string</list_type>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<default><!-- Translators: This is the sorted list of encodings used by gedit
|
<default><!-- Translators: This is the sorted list of encodings used by pluma
|
||||||
for automatic detection of the file encoding. You may want to customize it adding
|
for automatic detection of the file encoding. You may want to customize it adding
|
||||||
encodings that are common in your country, for instance the GB18030 encoding
|
encodings that are common in your country, for instance the GB18030 encoding
|
||||||
for the Chinese translation. You may also want to remove the ISO-8859-15 encoding
|
for the Chinese translation. You may also want to remove the ISO-8859-15 encoding
|
||||||
(covering English and most Western European languages) if you think people
|
(covering English and most Western European languages) if you think people
|
||||||
in you country will rarely use it.
|
in you country will rarely use it.
|
||||||
"CURRENT" is a magic value used by gedit and it represents the encoding
|
"CURRENT" is a magic value used by pluma and it represents the encoding
|
||||||
for the current locale, so please don't translate the "CURRENT" term.
|
for the current locale, so please don't translate the "CURRENT" term.
|
||||||
Only recognized encodings are used.
|
Only recognized encodings are used.
|
||||||
See http://svn.mate.org/viewcvs/gedit/trunk/gedit/gedit-encodings.c?view=markup for
|
See http://svn.gnome.org/viewcvs/pluma/trunk/pluma/pluma-encodings.c?view=markup for
|
||||||
a list of supported encodings -->[UTF-8,CURRENT,ISO-8859-15,UTF-16]</default>
|
a list of supported encodings -->[UTF-8,CURRENT,ISO-8859-15,UTF-16]</default>
|
||||||
<short>Automatically Detected Encodings</short>
|
<short>Automatically Detected Encodings</short>
|
||||||
<long>Sorted list of encodings used by gedit for automatically detecting the encoding of
|
<long>Sorted list of encodings used by pluma for automatically detecting the encoding of
|
||||||
a file. "CURRENT" represents the current locale encoding. Only recognized encodings are used.</long>
|
a file. "CURRENT" represents the current locale encoding. Only recognized encodings are used.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/encodings/shown_in_menu</key>
|
<key>/schemas/apps/pluma-2/preferences/encodings/shown_in_menu</key>
|
||||||
<applyto>/apps/gedit-2/preferences/encodings/shown_in_menu</applyto>
|
<applyto>/apps/pluma-2/preferences/encodings/shown_in_menu</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>list</type>
|
<type>list</type>
|
||||||
<list_type>string</list_type>
|
<list_type>string</list_type>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
|
@ -470,66 +470,66 @@
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/syntax_highlighting/enable</key>
|
<key>/schemas/apps/pluma-2/preferences/syntax_highlighting/enable</key>
|
||||||
<applyto>/apps/gedit-2/preferences/syntax_highlighting/enable</applyto>
|
<applyto>/apps/pluma-2/preferences/syntax_highlighting/enable</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>bool</type>
|
<type>bool</type>
|
||||||
<default>TRUE</default>
|
<default>TRUE</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Enable Syntax Highlighting</short>
|
<short>Enable Syntax Highlighting</short>
|
||||||
<long>Whether gedit should enable syntax highlighting.</long>
|
<long>Whether pluma should enable syntax highlighting.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/plugins/active-plugins</key>
|
<key>/schemas/apps/pluma-2/plugins/active-plugins</key>
|
||||||
<applyto>/apps/gedit-2/plugins/active-plugins</applyto>
|
<applyto>/apps/pluma-2/plugins/active-plugins</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>list</type>
|
<type>list</type>
|
||||||
<list_type>string</list_type>
|
<list_type>string</list_type>
|
||||||
<default>[@ACTIVE_PLUGINS@]</default>
|
<default>[@ACTIVE_PLUGINS@]</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Active plugins</short>
|
<short>Active plugins</short>
|
||||||
<long>List of active plugins. It contains the "Location" of the active plugins. See the .gedit-plugin file for obtaining
|
<long>List of active plugins. It contains the "Location" of the active plugins. See the .pluma-plugin file for obtaining
|
||||||
the "Location" of a given plugin.</long>
|
the "Location" of a given plugin.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/save/writable_vfs_schemes</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/save/writable_vfs_schemes</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/save/writable_vfs_schemes</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/save/writable_vfs_schemes</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>list</type>
|
<type>list</type>
|
||||||
<list_type>string</list_type>
|
<list_type>string</list_type>
|
||||||
<default>[dav,davs,ftp,sftp,smb,ssh]</default>
|
<default>[dav,davs,ftp,sftp,smb,ssh]</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Writable VFS schemes</short>
|
<short>Writable VFS schemes</short>
|
||||||
<long>List of VFS schemes gedit supports in write mode. The 'file' scheme
|
<long>List of VFS schemes pluma supports in write mode. The 'file' scheme
|
||||||
is writable by default.</long>
|
is writable by default.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/cursor_position/restore_cursor_position</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/cursor_position/restore_cursor_position</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/cursor_position/restore_cursor_position</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/cursor_position/restore_cursor_position</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>bool</type>
|
<type>bool</type>
|
||||||
<default>TRUE</default>
|
<default>TRUE</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Restore Previous Cursor Position</short>
|
<short>Restore Previous Cursor Position</short>
|
||||||
<long>Whether gedit should restore the previous cursor position when a file is loaded.</long>
|
<long>Whether pluma should restore the previous cursor position when a file is loaded.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema>
|
<schema>
|
||||||
<key>/schemas/apps/gedit-2/preferences/editor/search_highlighting/enable</key>
|
<key>/schemas/apps/pluma-2/preferences/editor/search_highlighting/enable</key>
|
||||||
<applyto>/apps/gedit-2/preferences/editor/search_highlighting/enable</applyto>
|
<applyto>/apps/pluma-2/preferences/editor/search_highlighting/enable</applyto>
|
||||||
<owner>gedit</owner>
|
<owner>pluma</owner>
|
||||||
<type>bool</type>
|
<type>bool</type>
|
||||||
<default>TRUE</default>
|
<default>TRUE</default>
|
||||||
<locale name="C">
|
<locale name="C">
|
||||||
<short>Enable Search Highlighting</short>
|
<short>Enable Search Highlighting</short>
|
||||||
<long>Whether gedit should highlight all the occurrences of the searched text.</long>
|
<long>Whether pluma should highlight all the occurrences of the searched text.</long>
|
||||||
</locale>
|
</locale>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
|
@ -9,12 +9,12 @@ license=('GPL')
|
||||||
depends=('mate-conf' 'gtk2' 'gtksourceview2' 'libxml2' 'pygtksourceview2')
|
depends=('mate-conf' 'gtk2' 'gtksourceview2' 'libxml2' 'pygtksourceview2')
|
||||||
makedepends=('pkgconfig' 'mate-doc-utils' 'intltool')
|
makedepends=('pkgconfig' 'mate-doc-utils' 'intltool')
|
||||||
options=('!emptydirs' '!libtool')
|
options=('!emptydirs' '!libtool')
|
||||||
conflicts=('gedit')
|
conflicts=('pluma')
|
||||||
url="http://matsusoft.com.ar/projects"
|
url="http://matsusoft.com.ar/projects"
|
||||||
groups=('mate-extras')
|
groups=('mate-extras')
|
||||||
install=mate-text-editor.install
|
install=mate-text-editor.install
|
||||||
source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download)
|
source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download)
|
||||||
sha256sums=('181779b25161a030f6ed25bce1af160d1d82bbbda43f26ab2329219e3e2539ec')
|
sha256sums=('24d479745aa4eee503bf12d7cfe4ea60a58ff23f708a2b0c3b1f0862a69b6423')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}"
|
cd "${srcdir}/${pkgname}"
|
||||||
|
|
|
@ -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=gedit
|
DOC_MODULE=pluma
|
||||||
|
|
||||||
# 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=../../gedit
|
DOC_SOURCE_DIR=../../pluma
|
||||||
|
|
||||||
# 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,41 +35,41 @@ 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)/gedit/*.h
|
HFILE_GLOB=$(top_srcdir)/pluma/*.h
|
||||||
CFILE_GLOB=$(top_srcdir)/gedit/*.c
|
CFILE_GLOB=$(top_srcdir)/pluma/*.c
|
||||||
|
|
||||||
# Header files to ignore when scanning (These are internal to gedit).
|
# Header files to ignore when scanning (These are internal to pluma).
|
||||||
IGNORE_HFILES= \
|
IGNORE_HFILES= \
|
||||||
gedit-commands.h \
|
pluma-commands.h \
|
||||||
gedit-document-loader.h \
|
pluma-document-loader.h \
|
||||||
gedit-document-saver.h \
|
pluma-document-saver.h \
|
||||||
gedit-documents-panel.h \
|
pluma-documents-panel.h \
|
||||||
gedit-io-error-message-area.h \
|
pluma-io-error-message-area.h \
|
||||||
gedit-languages-manager.h \
|
pluma-languages-manager.h \
|
||||||
gedit-message-area.h \
|
pluma-message-area.h \
|
||||||
gedit-object-module.h \
|
pluma-object-module.h \
|
||||||
gedit-plugin-manager.h \
|
pluma-plugin-manager.h \
|
||||||
gedit-plugins-engine.h \
|
pluma-plugins-engine.h \
|
||||||
gedit-prefs-manager-private.h \
|
pluma-prefs-manager-private.h \
|
||||||
gedit-session.h \
|
pluma-session.h \
|
||||||
gedit-spinner.h \
|
pluma-spinner.h \
|
||||||
gedit-ui.h \
|
pluma-ui.h \
|
||||||
gedit-window-private.h \
|
pluma-window-private.h \
|
||||||
gedit-output-window.h \
|
pluma-output-window.h \
|
||||||
gedit-close-confirmation-dialog.h \
|
pluma-close-confirmation-dialog.h \
|
||||||
gedit-encodings-dialog.h \
|
pluma-encodings-dialog.h \
|
||||||
gedit-open-location-dialog.h \
|
pluma-open-location-dialog.h \
|
||||||
gedit-page-setup-dialog.h \
|
pluma-page-setup-dialog.h \
|
||||||
gedit-preferences-dialog.h \
|
pluma-preferences-dialog.h \
|
||||||
gedit-search-dialog.h \
|
pluma-search-dialog.h \
|
||||||
gedit-marshal.h \
|
pluma-marshal.h \
|
||||||
gedit-enum-types.h
|
pluma-enum-types.h
|
||||||
|
|
||||||
# These files are not part of gedit but were copied into it for some reason.
|
# These files are not part of pluma 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 \
|
||||||
gedittextregion.h \
|
plumatextregion.h \
|
||||||
sexy-icon-entry.h
|
sexy-icon-entry.h
|
||||||
|
|
||||||
# Images to copy into HTML directory.
|
# Images to copy into HTML directory.
|
||||||
|
@ -88,15 +88,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)/gedit \
|
-I$(top_srcdir)/pluma \
|
||||||
-I$(top_builddir)/gedit \
|
-I$(top_builddir)/pluma \
|
||||||
-I$(top_srcdir) \
|
-I$(top_srcdir) \
|
||||||
-I$(top_builddir) \
|
-I$(top_builddir) \
|
||||||
$(GEDIT_CFLAGS)
|
$(PLUMA_CFLAGS)
|
||||||
|
|
||||||
GTKDOC_LIBS= \
|
GTKDOC_LIBS= \
|
||||||
$(top_builddir)/gedit/libgedit.la \
|
$(top_builddir)/pluma/libpluma.la \
|
||||||
$(GEDIT_LIBS)
|
$(PLUMA_LIBS)
|
||||||
|
|
||||||
if ENABLE_PYTHON
|
if ENABLE_PYTHON
|
||||||
GTKDOC_CFLAGS += \
|
GTKDOC_CFLAGS += \
|
||||||
|
@ -105,7 +105,7 @@ GTKDOC_CFLAGS += \
|
||||||
$(PYTHON_CFLAGS) \
|
$(PYTHON_CFLAGS) \
|
||||||
$(AM_CFLAGS)
|
$(AM_CFLAGS)
|
||||||
GTKDOC_LIBS += \
|
GTKDOC_LIBS += \
|
||||||
$(top_builddir)/plugin-loaders/python/bindings/gedit.la
|
$(top_builddir)/plugin-loaders/python/bindings/pluma.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.
|
||||||
|
@ -115,7 +115,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)/gedit-*.h | grep -oR '^.*\.h' | sort | uniq - | sed -r 's/^.*\.h$/#include "\0"/' > gedit.types
|
grep _get_type $(DOC_SOURCE_DIR)/pluma-*.h | grep -oR '^.*\.h' | sort | uniq - | sed -r 's/^.*\.h$/#include "\0"/' > pluma.types
|
||||||
grep _get_type $(DOC_SOURCE_DIR)/gedit-*.h | grep -oR '^.*\.h' | sort | uniq - | sed -re 'y/-/_/' -e 's/^(.*)\.h$/\1_get_type/' >> gedit.types.new
|
grep _get_type $(DOC_SOURCE_DIR)/pluma-*.h | grep -oR '^.*\.h' | sort | uniq - | sed -re 'y/-/_/' -e 's/^(.*)\.h$/\1_get_type/' >> pluma.types.new
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
-include $(top_srcdir)/git.mk
|
||||||
|
|
|
@ -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>gedit Reference Manual</title>
|
|
||||||
</bookinfo>
|
|
||||||
|
|
||||||
<chapter>
|
|
||||||
<title>gedit</title>
|
|
||||||
<xi:include href="xml/gedit-app.xml"/>
|
|
||||||
<xi:include href="xml/gedit-document.xml"/>
|
|
||||||
<xi:include href="xml/gedit-encodings-option-menu.xml"/>
|
|
||||||
<xi:include href="xml/gedit-file-chooser-dialog.xml"/>
|
|
||||||
<xi:include href="xml/gedit-message-bus.xml"/>
|
|
||||||
<xi:include href="xml/gedit-message-type.xml"/>
|
|
||||||
<xi:include href="xml/gedit-message.xml"/>
|
|
||||||
<xi:include href="xml/gedit-notebook.xml"/>
|
|
||||||
<xi:include href="xml/gedit-panel.xml"/>
|
|
||||||
<xi:include href="xml/gedit-plugin.xml"/>
|
|
||||||
<xi:include href="xml/gedit-print-job-preview.xml"/>
|
|
||||||
<xi:include href="xml/gedit-print.xml"/>
|
|
||||||
<xi:include href="xml/gedit-progress-message-area.xml"/>
|
|
||||||
<xi:include href="xml/gedit-statusbar.xml"/>
|
|
||||||
<xi:include href="xml/gedit-tab.xml"/>
|
|
||||||
<xi:include href="xml/gedit-view.xml"/>
|
|
||||||
<xi:include href="xml/gedit-window.xml"/>
|
|
||||||
<xi:include href="xml/gedit-convert.xml"/>
|
|
||||||
<xi:include href="xml/gedit-debug.xml"/>
|
|
||||||
<xi:include href="xml/gedit-encodings.xml"/>
|
|
||||||
<xi:include href="xml/gedit-help.xml"/>
|
|
||||||
<xi:include href="xml/gedit-metadata-manager.xml"/>
|
|
||||||
<xi:include href="xml/gedit-prefs-manager-app.xml"/>
|
|
||||||
<xi:include href="xml/gedit-prefs-manager.xml"/>
|
|
||||||
<xi:include href="xml/gedit-utils.xml"/>
|
|
||||||
</chapter>
|
|
||||||
</book>
|
|
|
@ -1,809 +0,0 @@
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-app</FILE>
|
|
||||||
GeditAppPrivate
|
|
||||||
<TITLE>GeditApp</TITLE>
|
|
||||||
GeditApp
|
|
||||||
GeditLockdownMask
|
|
||||||
gedit_app_get_default
|
|
||||||
gedit_app_create_window
|
|
||||||
gedit_app_get_windows
|
|
||||||
gedit_app_get_active_window
|
|
||||||
gedit_app_get_documents
|
|
||||||
gedit_app_get_views
|
|
||||||
gedit_app_get_lockdown
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GEDIT_APP
|
|
||||||
GEDIT_IS_APP
|
|
||||||
GEDIT_TYPE_APP
|
|
||||||
gedit_app_get_type
|
|
||||||
GEDIT_APP_CLASS
|
|
||||||
GEDIT_IS_APP_CLASS
|
|
||||||
GEDIT_APP_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-document</FILE>
|
|
||||||
GeditSearchFlags
|
|
||||||
GeditDocumentPrivate
|
|
||||||
<TITLE>GeditDocument</TITLE>
|
|
||||||
GeditDocument
|
|
||||||
GeditDocumentSaveFlags
|
|
||||||
GEDIT_DOCUMENT_ERROR
|
|
||||||
gedit_document_error_quark
|
|
||||||
gedit_document_new
|
|
||||||
gedit_document_get_uri
|
|
||||||
gedit_document_get_uri_for_display
|
|
||||||
gedit_document_get_short_name_for_display
|
|
||||||
gedit_document_get_mime_type
|
|
||||||
gedit_document_get_readonly
|
|
||||||
gedit_document_load
|
|
||||||
gedit_document_insert_file
|
|
||||||
gedit_document_load_cancel
|
|
||||||
gedit_document_save
|
|
||||||
gedit_document_save_as
|
|
||||||
gedit_document_is_untouched
|
|
||||||
gedit_document_is_untitled
|
|
||||||
gedit_document_get_deleted
|
|
||||||
gedit_document_goto_line
|
|
||||||
gedit_document_set_search_text
|
|
||||||
gedit_document_get_search_text
|
|
||||||
gedit_document_get_can_search_again
|
|
||||||
gedit_document_search_forward
|
|
||||||
gedit_document_search_backward
|
|
||||||
gedit_document_replace_all
|
|
||||||
gedit_document_set_language
|
|
||||||
gedit_document_set_enable_search_highlighting
|
|
||||||
gedit_document_get_enable_search_highlighting
|
|
||||||
GEDIT_SEARCH_IS_DONT_SET_FLAGS
|
|
||||||
GEDIT_SEARCH_SET_DONT_SET_FLAGS
|
|
||||||
GEDIT_SEARCH_IS_ENTIRE_WORD
|
|
||||||
GEDIT_SEARCH_SET_ENTIRE_WORD
|
|
||||||
GEDIT_SEARCH_IS_CASE_SENSITIVE
|
|
||||||
GEDIT_SEARCH_SET_CASE_SENSITIVE
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GEDIT_DOCUMENT
|
|
||||||
GEDIT_IS_DOCUMENT
|
|
||||||
GEDIT_TYPE_DOCUMENT
|
|
||||||
gedit_document_get_type
|
|
||||||
GEDIT_DOCUMENT_CLASS
|
|
||||||
GEDIT_IS_DOCUMENT_CLASS
|
|
||||||
GEDIT_DOCUMENT_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-encodings-option-menu</FILE>
|
|
||||||
GeditEncodingsOptionMenuPrivate
|
|
||||||
<TITLE>GeditEncodingsOptionMenu</TITLE>
|
|
||||||
GeditEncodingsOptionMenu
|
|
||||||
gedit_encodings_option_menu_new
|
|
||||||
gedit_encodings_option_menu_get_selected_encoding
|
|
||||||
gedit_encodings_option_menu_set_selected_encoding
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GEDIT_ENCODINGS_OPTION_MENU
|
|
||||||
GEDIT_IS_ENCODINGS_OPTION_MENU
|
|
||||||
GEDIT_TYPE_ENCODINGS_OPTION_MENU
|
|
||||||
gedit_encodings_option_menu_get_type
|
|
||||||
GEDIT_ENCODINGS_OPTION_MENU_CLASS
|
|
||||||
GEDIT_IS_ENCODINGS_OPTION_MENU_CLASS
|
|
||||||
GEDIT_ENCODINGS_OPTION_MENU_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-file-chooser-dialog</FILE>
|
|
||||||
GeditFileChooserDialogPrivate
|
|
||||||
<TITLE>GeditFileChooserDialog</TITLE>
|
|
||||||
GeditFileChooserDialog
|
|
||||||
gedit_file_chooser_dialog_new
|
|
||||||
gedit_file_chooser_dialog_set_encoding
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GEDIT_FILE_CHOOSER_DIALOG
|
|
||||||
GEDIT_IS_FILE_CHOOSER_DIALOG
|
|
||||||
GEDIT_TYPE_FILE_CHOOSER_DIALOG
|
|
||||||
gedit_file_chooser_dialog_get_type
|
|
||||||
GEDIT_FILE_CHOOSER_DIALOG_CLASS
|
|
||||||
GEDIT_IS_FILE_CHOOSER_DIALOG_CLASS
|
|
||||||
GEDIT_FILE_CHOOSER_DIALOG_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-message-bus</FILE>
|
|
||||||
<TITLE>GeditMessageBus</TITLE>
|
|
||||||
GeditMessageBus
|
|
||||||
GeditMessageCallback
|
|
||||||
gedit_message_bus_get_default
|
|
||||||
gedit_message_bus_new
|
|
||||||
gedit_message_bus_lookup
|
|
||||||
gedit_message_bus_register
|
|
||||||
gedit_message_bus_unregister
|
|
||||||
gedit_message_bus_unregister_all
|
|
||||||
gedit_message_bus_is_registered
|
|
||||||
gedit_message_bus_foreach
|
|
||||||
gedit_message_bus_connect
|
|
||||||
gedit_message_bus_disconnect
|
|
||||||
gedit_message_bus_disconnect_by_func
|
|
||||||
gedit_message_bus_block
|
|
||||||
gedit_message_bus_block_by_func
|
|
||||||
gedit_message_bus_unblock
|
|
||||||
gedit_message_bus_unblock_by_func
|
|
||||||
gedit_message_bus_send_message
|
|
||||||
gedit_message_bus_send_message_sync
|
|
||||||
gedit_message_bus_send
|
|
||||||
gedit_message_bus_send_sync
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GEDIT_MESSAGE_BUS
|
|
||||||
GEDIT_IS_MESSAGE_BUS
|
|
||||||
GEDIT_TYPE_MESSAGE_BUS
|
|
||||||
gedit_message_bus_get_type
|
|
||||||
GEDIT_MESSAGE_BUS_CLASS
|
|
||||||
GEDIT_IS_MESSAGE_BUS_CLASS
|
|
||||||
GEDIT_MESSAGE_BUS_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-message-type</FILE>
|
|
||||||
<TITLE>GeditMessageType</TITLE>
|
|
||||||
GeditMessageType
|
|
||||||
gedit_message_type_get_type
|
|
||||||
gedit_message_type_is_supported
|
|
||||||
gedit_message_type_identifier
|
|
||||||
gedit_message_type_is_valid_object_path
|
|
||||||
gedit_message_type_new
|
|
||||||
gedit_message_type_new_valist
|
|
||||||
gedit_message_type_ref
|
|
||||||
gedit_message_type_unref
|
|
||||||
gedit_message_type_set
|
|
||||||
gedit_message_type_set_valist
|
|
||||||
gedit_message_type_instantiate
|
|
||||||
gedit_message_type_instantiate_valist
|
|
||||||
gedit_message_type_get_object_path
|
|
||||||
gedit_message_type_get_method
|
|
||||||
gedit_message_type_lookup
|
|
||||||
gedit_message_type_foreach
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GEDIT_TYPE_MESSAGE_TYPE
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-message</FILE>
|
|
||||||
<TITLE>GeditMessage</TITLE>
|
|
||||||
GeditMessage
|
|
||||||
gedit_message_get
|
|
||||||
gedit_message_get_valist
|
|
||||||
gedit_message_get_value
|
|
||||||
gedit_message_set
|
|
||||||
gedit_message_set_valist
|
|
||||||
gedit_message_set_value
|
|
||||||
gedit_message_set_valuesv
|
|
||||||
gedit_message_get_object_path
|
|
||||||
gedit_message_get_method
|
|
||||||
gedit_message_has_key
|
|
||||||
gedit_message_get_key_type
|
|
||||||
gedit_message_validate
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GEDIT_MESSAGE
|
|
||||||
GEDIT_IS_MESSAGE
|
|
||||||
GEDIT_TYPE_MESSAGE
|
|
||||||
gedit_message_get_type
|
|
||||||
GEDIT_MESSAGE_CLASS
|
|
||||||
GEDIT_IS_MESSAGE_CLASS
|
|
||||||
GEDIT_MESSAGE_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-notebook</FILE>
|
|
||||||
GeditNotebookPrivate
|
|
||||||
<TITLE>GeditNotebook</TITLE>
|
|
||||||
GeditNotebook
|
|
||||||
gedit_notebook_new
|
|
||||||
gedit_notebook_add_tab
|
|
||||||
gedit_notebook_remove_tab
|
|
||||||
gedit_notebook_remove_all_tabs
|
|
||||||
gedit_notebook_reorder_tab
|
|
||||||
gedit_notebook_move_tab
|
|
||||||
gedit_notebook_set_always_show_tabs
|
|
||||||
gedit_notebook_set_close_buttons_sensitive
|
|
||||||
gedit_notebook_get_close_buttons_sensitive
|
|
||||||
gedit_notebook_set_tab_drag_and_drop_enabled
|
|
||||||
gedit_notebook_get_tab_drag_and_drop_enabled
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GEDIT_NOTEBOOK
|
|
||||||
GEDIT_IS_NOTEBOOK
|
|
||||||
GEDIT_TYPE_NOTEBOOK
|
|
||||||
gedit_notebook_get_type
|
|
||||||
GEDIT_NOTEBOOK_CLASS
|
|
||||||
GEDIT_IS_NOTEBOOK_CLASS
|
|
||||||
GEDIT_NOTEBOOK_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-panel</FILE>
|
|
||||||
GeditPanelPrivate
|
|
||||||
<TITLE>GeditPanel</TITLE>
|
|
||||||
GeditPanel
|
|
||||||
gedit_panel_new
|
|
||||||
gedit_panel_add_item
|
|
||||||
gedit_panel_add_item_with_stock_icon
|
|
||||||
gedit_panel_remove_item
|
|
||||||
gedit_panel_activate_item
|
|
||||||
gedit_panel_item_is_active
|
|
||||||
gedit_panel_get_orientation
|
|
||||||
gedit_panel_get_n_items
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GEDIT_PANEL
|
|
||||||
GEDIT_IS_PANEL
|
|
||||||
GEDIT_TYPE_PANEL
|
|
||||||
gedit_panel_get_type
|
|
||||||
GEDIT_PANEL_CLASS
|
|
||||||
GEDIT_IS_PANEL_CLASS
|
|
||||||
GEDIT_PANEL_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-plugin</FILE>
|
|
||||||
<TITLE>GeditPlugin</TITLE>
|
|
||||||
GeditPlugin
|
|
||||||
gedit_plugin_activate
|
|
||||||
gedit_plugin_deactivate
|
|
||||||
gedit_plugin_update_ui
|
|
||||||
gedit_plugin_is_configurable
|
|
||||||
gedit_plugin_create_configure_dialog
|
|
||||||
GEDIT_PLUGIN_REGISTER_TYPE
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GEDIT_PLUGIN
|
|
||||||
GEDIT_IS_PLUGIN
|
|
||||||
GEDIT_TYPE_PLUGIN
|
|
||||||
gedit_plugin_get_type
|
|
||||||
GEDIT_PLUGIN_CLASS
|
|
||||||
GEDIT_IS_PLUGIN_CLASS
|
|
||||||
GEDIT_PLUGIN_GET_CLASS
|
|
||||||
GEDIT_PLUGIN_REGISTER_TYPE_WITH_CODE
|
|
||||||
GEDIT_PLUGIN_REGISTER_TYPE
|
|
||||||
GEDIT_PLUGIN_DEFINE_TYPE_WITH_CODE
|
|
||||||
GEDIT_PLUGIN_DEFINE_TYPE
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-print-job-preview</FILE>
|
|
||||||
GeditPrintJobPreviewPrivate
|
|
||||||
<TITLE>GeditPrintJobPreview</TITLE>
|
|
||||||
GeditPrintJobPreview
|
|
||||||
gedit_print_job_preview_new
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GEDIT_PRINT_JOB_PREVIEW
|
|
||||||
GEDIT_IS_PRINT_JOB_PREVIEW
|
|
||||||
GEDIT_TYPE_PRINT_JOB_PREVIEW
|
|
||||||
gedit_print_job_preview_get_type
|
|
||||||
GEDIT_PRINT_JOB_PREVIEW_CLASS
|
|
||||||
GEDIT_IS_PRINT_JOB_PREVIEW_CLASS
|
|
||||||
GEDIT_PRINT_JOB_PREVIEW_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-print</FILE>
|
|
||||||
<TITLE>GeditPrintJob</TITLE>
|
|
||||||
GeditPrintJob
|
|
||||||
gedit_print_job_new
|
|
||||||
gedit_print_job_save_config
|
|
||||||
gedit_print_dialog_new
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GEDIT_PRINT_JOB
|
|
||||||
GEDIT_IS_PRINT_JOB
|
|
||||||
GEDIT_TYPE_PRINT_JOB
|
|
||||||
gedit_print_job_get_type
|
|
||||||
GEDIT_PRINT_JOB_CLASS
|
|
||||||
GEDIT_IS_PRINT_JOB_CLASS
|
|
||||||
GEDIT_PRINT_JOB_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-progress-message-area</FILE>
|
|
||||||
GeditProgressMessageAreaPrivate
|
|
||||||
<TITLE>GeditProgressMessageArea</TITLE>
|
|
||||||
GeditProgressMessageArea
|
|
||||||
gedit_progress_message_area_new
|
|
||||||
gedit_progress_message_area_set_stock_image
|
|
||||||
gedit_progress_message_area_set_markup
|
|
||||||
gedit_progress_message_area_set_text
|
|
||||||
gedit_progress_message_area_set_fraction
|
|
||||||
gedit_progress_message_area_pulse
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GEDIT_PROGRESS_MESSAGE_AREA
|
|
||||||
GEDIT_IS_PROGRESS_MESSAGE_AREA
|
|
||||||
GEDIT_TYPE_PROGRESS_MESSAGE_AREA
|
|
||||||
gedit_progress_message_area_get_type
|
|
||||||
GEDIT_PROGRESS_MESSAGE_AREA_CLASS
|
|
||||||
GEDIT_IS_PROGRESS_MESSAGE_AREA_CLASS
|
|
||||||
GEDIT_PROGRESS_MESSAGE_AREA_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-statusbar</FILE>
|
|
||||||
GeditStatusbarPrivate
|
|
||||||
<TITLE>GeditStatusbar</TITLE>
|
|
||||||
GeditStatusbar
|
|
||||||
gedit_statusbar_new
|
|
||||||
GeditStatus
|
|
||||||
gedit_statusbar_set_window_state
|
|
||||||
gedit_statusbar_set_overwrite
|
|
||||||
gedit_statusbar_set_cursor_position
|
|
||||||
gedit_statusbar_clear_overwrite
|
|
||||||
gedit_statusbar_flash_message
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GEDIT_STATUSBAR
|
|
||||||
GEDIT_IS_STATUSBAR
|
|
||||||
GEDIT_TYPE_STATUSBAR
|
|
||||||
gedit_statusbar_get_type
|
|
||||||
GEDIT_STATUSBAR_CLASS
|
|
||||||
GEDIT_IS_STATUSBAR_CLASS
|
|
||||||
GEDIT_STATUSBAR_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-tab</FILE>
|
|
||||||
GeditTabState
|
|
||||||
GeditTabPrivate
|
|
||||||
<TITLE>GeditTab</TITLE>
|
|
||||||
GeditTab
|
|
||||||
gedit_tab_get_view
|
|
||||||
gedit_tab_get_document
|
|
||||||
gedit_tab_get_from_document
|
|
||||||
gedit_tab_get_state
|
|
||||||
gedit_tab_get_auto_save_enabled
|
|
||||||
gedit_tab_set_auto_save_enabled
|
|
||||||
gedit_tab_get_auto_save_interval
|
|
||||||
gedit_tab_set_auto_save_interval
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GEDIT_TAB
|
|
||||||
GEDIT_IS_TAB
|
|
||||||
GEDIT_TYPE_TAB
|
|
||||||
gedit_tab_get_type
|
|
||||||
GEDIT_TAB_CLASS
|
|
||||||
GEDIT_IS_TAB_CLASS
|
|
||||||
GEDIT_TAB_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-view</FILE>
|
|
||||||
GeditViewPrivate
|
|
||||||
<TITLE>GeditView</TITLE>
|
|
||||||
GeditView
|
|
||||||
gedit_view_new
|
|
||||||
gedit_view_cut_clipboard
|
|
||||||
gedit_view_copy_clipboard
|
|
||||||
gedit_view_paste_clipboard
|
|
||||||
gedit_view_delete_selection
|
|
||||||
gedit_view_select_all
|
|
||||||
gedit_view_scroll_to_cursor
|
|
||||||
gedit_view_set_colors
|
|
||||||
gedit_view_set_font
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GEDIT_VIEW
|
|
||||||
GEDIT_IS_VIEW
|
|
||||||
GEDIT_TYPE_VIEW
|
|
||||||
gedit_view_get_type
|
|
||||||
GEDIT_VIEW_CLASS
|
|
||||||
GEDIT_IS_VIEW_CLASS
|
|
||||||
GEDIT_VIEW_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-window</FILE>
|
|
||||||
GeditWindowState
|
|
||||||
GeditWindowPrivate
|
|
||||||
<TITLE>GeditWindow</TITLE>
|
|
||||||
GeditWindow
|
|
||||||
gedit_window_create_tab
|
|
||||||
gedit_window_create_tab_from_uri
|
|
||||||
gedit_window_close_tab
|
|
||||||
gedit_window_close_all_tabs
|
|
||||||
gedit_window_close_tabs
|
|
||||||
gedit_window_get_active_tab
|
|
||||||
gedit_window_set_active_tab
|
|
||||||
gedit_window_get_active_view
|
|
||||||
gedit_window_get_active_document
|
|
||||||
gedit_window_get_documents
|
|
||||||
gedit_window_get_unsaved_documents
|
|
||||||
gedit_window_get_views
|
|
||||||
gedit_window_get_group
|
|
||||||
gedit_window_get_side_panel
|
|
||||||
gedit_window_get_bottom_panel
|
|
||||||
gedit_window_get_statusbar
|
|
||||||
gedit_window_get_ui_manager
|
|
||||||
gedit_window_get_state
|
|
||||||
gedit_window_get_tab_from_location
|
|
||||||
gedit_window_get_tab_from_uri
|
|
||||||
gedit_window_get_message_bus
|
|
||||||
<SUBSECTION Standard>
|
|
||||||
GEDIT_WINDOW
|
|
||||||
GEDIT_IS_WINDOW
|
|
||||||
GEDIT_TYPE_WINDOW
|
|
||||||
gedit_window_get_type
|
|
||||||
GEDIT_WINDOW_CLASS
|
|
||||||
GEDIT_IS_WINDOW_CLASS
|
|
||||||
GEDIT_WINDOW_GET_CLASS
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-convert</FILE>
|
|
||||||
GeditConvertError
|
|
||||||
GEDIT_CONVERT_ERROR
|
|
||||||
gedit_convert_error_quark
|
|
||||||
gedit_convert_to_utf8
|
|
||||||
gedit_convert_from_utf8
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-debug</FILE>
|
|
||||||
GeditDebugSection
|
|
||||||
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
|
|
||||||
gedit_debug_init
|
|
||||||
gedit_debug
|
|
||||||
gedit_debug_message
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-encodings</FILE>
|
|
||||||
GeditEncoding
|
|
||||||
GEDIT_TYPE_ENCODING
|
|
||||||
gedit_encoding_get_type
|
|
||||||
gedit_encoding_copy
|
|
||||||
gedit_encoding_free
|
|
||||||
gedit_encoding_get_from_charset
|
|
||||||
gedit_encoding_get_from_index
|
|
||||||
gedit_encoding_to_string
|
|
||||||
gedit_encoding_get_name
|
|
||||||
gedit_encoding_get_charset
|
|
||||||
gedit_encoding_get_utf8
|
|
||||||
gedit_encoding_get_current
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-help</FILE>
|
|
||||||
gedit_help_display
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-metadata-manager</FILE>
|
|
||||||
gedit_metadata_manager_shutdown
|
|
||||||
gedit_metadata_manager_get
|
|
||||||
gedit_metadata_manager_set
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-prefs-manager-app</FILE>
|
|
||||||
gedit_prefs_manager_app_init
|
|
||||||
gedit_prefs_manager_app_shutdown
|
|
||||||
gedit_prefs_manager_get_window_state
|
|
||||||
gedit_prefs_manager_set_window_state
|
|
||||||
gedit_prefs_manager_window_state_can_set
|
|
||||||
gedit_prefs_manager_get_window_size
|
|
||||||
gedit_prefs_manager_get_default_window_size
|
|
||||||
gedit_prefs_manager_set_window_size
|
|
||||||
gedit_prefs_manager_window_size_can_set
|
|
||||||
gedit_prefs_manager_get_side_panel_size
|
|
||||||
gedit_prefs_manager_get_default_side_panel_size
|
|
||||||
gedit_prefs_manager_set_side_panel_size
|
|
||||||
gedit_prefs_manager_side_panel_size_can_set
|
|
||||||
gedit_prefs_manager_get_bottom_panel_size
|
|
||||||
gedit_prefs_manager_get_default_bottom_panel_size
|
|
||||||
gedit_prefs_manager_set_bottom_panel_size
|
|
||||||
gedit_prefs_manager_bottom_panel_size_can_set
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-prefs-manager</FILE>
|
|
||||||
GEDIT_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_LOCKDOWN_DIR
|
|
||||||
GPM_LOCKDOWN_COMMAND_LINE
|
|
||||||
GPM_LOCKDOWN_PRINTING
|
|
||||||
GPM_LOCKDOWN_PRINT_SETUP
|
|
||||||
GPM_LOCKDOWN_SAVE_TO_DISK
|
|
||||||
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
|
|
||||||
GeditToolbarSetting
|
|
||||||
gedit_prefs_manager_init
|
|
||||||
gedit_prefs_manager_shutdown
|
|
||||||
gedit_prefs_manager_get_use_default_font
|
|
||||||
gedit_prefs_manager_set_use_default_font
|
|
||||||
gedit_prefs_manager_use_default_font_can_set
|
|
||||||
gedit_prefs_manager_get_editor_font
|
|
||||||
gedit_prefs_manager_set_editor_font
|
|
||||||
gedit_prefs_manager_editor_font_can_set
|
|
||||||
gedit_prefs_manager_get_use_default_colors
|
|
||||||
gedit_prefs_manager_set_use_default_colors
|
|
||||||
gedit_prefs_manager_use_default_colors_can_set
|
|
||||||
gedit_prefs_manager_get_background_color
|
|
||||||
gedit_prefs_manager_set_background_color
|
|
||||||
gedit_prefs_manager_background_color_can_set
|
|
||||||
gedit_prefs_manager_get_text_color
|
|
||||||
gedit_prefs_manager_set_text_color
|
|
||||||
gedit_prefs_manager_text_color_can_set
|
|
||||||
gedit_prefs_manager_get_selection_color
|
|
||||||
gedit_prefs_manager_set_selection_color
|
|
||||||
gedit_prefs_manager_selection_color_can_set
|
|
||||||
gedit_prefs_manager_get_selected_text_color
|
|
||||||
gedit_prefs_manager_set_selected_text_color
|
|
||||||
gedit_prefs_manager_selected_text_color_can_set
|
|
||||||
gedit_prefs_manager_get_create_backup_copy
|
|
||||||
gedit_prefs_manager_set_create_backup_copy
|
|
||||||
gedit_prefs_manager_create_backup_copy_can_set
|
|
||||||
gedit_prefs_manager_get_backup_extension
|
|
||||||
gedit_prefs_manager_get_auto_save
|
|
||||||
gedit_prefs_manager_set_auto_save
|
|
||||||
gedit_prefs_manager_auto_save_can_set
|
|
||||||
gedit_prefs_manager_get_auto_save_interval
|
|
||||||
gedit_prefs_manager_set_auto_save_interval
|
|
||||||
gedit_prefs_manager_auto_save_interval_can_set
|
|
||||||
gedit_prefs_manager_get_undo_actions_limit
|
|
||||||
gedit_prefs_manager_set_undo_actions_limit
|
|
||||||
gedit_prefs_manager_undo_actions_limit_can_set
|
|
||||||
gedit_prefs_manager_get_wrap_mode
|
|
||||||
gedit_prefs_manager_set_wrap_mode
|
|
||||||
gedit_prefs_manager_wrap_mode_can_set
|
|
||||||
gedit_prefs_manager_get_tabs_size
|
|
||||||
gedit_prefs_manager_set_tabs_size
|
|
||||||
gedit_prefs_manager_tabs_size_can_set
|
|
||||||
gedit_prefs_manager_get_insert_spaces
|
|
||||||
gedit_prefs_manager_set_insert_spaces
|
|
||||||
gedit_prefs_manager_insert_spaces_can_set
|
|
||||||
gedit_prefs_manager_get_auto_indent
|
|
||||||
gedit_prefs_manager_set_auto_indent
|
|
||||||
gedit_prefs_manager_auto_indent_can_set
|
|
||||||
gedit_prefs_manager_get_display_line_numbers
|
|
||||||
gedit_prefs_manager_set_display_line_numbers
|
|
||||||
gedit_prefs_manager_display_line_numbers_can_set
|
|
||||||
gedit_prefs_manager_get_toolbar_visible
|
|
||||||
gedit_prefs_manager_set_toolbar_visible
|
|
||||||
gedit_prefs_manager_toolbar_visible_can_set
|
|
||||||
gedit_prefs_manager_get_toolbar_buttons_style
|
|
||||||
gedit_prefs_manager_set_toolbar_buttons_style
|
|
||||||
gedit_prefs_manager_toolbar_buttons_style_can_set
|
|
||||||
gedit_prefs_manager_get_statusbar_visible
|
|
||||||
gedit_prefs_manager_set_statusbar_visible
|
|
||||||
gedit_prefs_manager_statusbar_visible_can_set
|
|
||||||
gedit_prefs_manager_get_side_pane_visible
|
|
||||||
gedit_prefs_manager_set_side_pane_visible
|
|
||||||
gedit_prefs_manager_side_pane_visible_can_set
|
|
||||||
gedit_prefs_manager_get_bottom_panel_visible
|
|
||||||
gedit_prefs_manager_set_bottom_panel_visible
|
|
||||||
gedit_prefs_manager_bottom_panel_visible_can_set
|
|
||||||
gedit_prefs_manager_get_print_syntax_hl
|
|
||||||
gedit_prefs_manager_set_print_syntax_hl
|
|
||||||
gedit_prefs_manager_print_syntax_hl_can_set
|
|
||||||
gedit_prefs_manager_get_print_header
|
|
||||||
gedit_prefs_manager_set_print_header
|
|
||||||
gedit_prefs_manager_print_header_can_set
|
|
||||||
gedit_prefs_manager_get_print_wrap_mode
|
|
||||||
gedit_prefs_manager_set_print_wrap_mode
|
|
||||||
gedit_prefs_manager_print_wrap_mode_can_set
|
|
||||||
gedit_prefs_manager_get_print_line_numbers
|
|
||||||
gedit_prefs_manager_set_print_line_numbers
|
|
||||||
gedit_prefs_manager_print_line_numbers_can_set
|
|
||||||
gedit_prefs_manager_get_print_font_body
|
|
||||||
gedit_prefs_manager_set_print_font_body
|
|
||||||
gedit_prefs_manager_print_font_body_can_set
|
|
||||||
gedit_prefs_manager_get_default_print_font_body
|
|
||||||
gedit_prefs_manager_get_print_font_header
|
|
||||||
gedit_prefs_manager_set_print_font_header
|
|
||||||
gedit_prefs_manager_print_font_header_can_set
|
|
||||||
gedit_prefs_manager_get_default_print_font_header
|
|
||||||
gedit_prefs_manager_get_print_font_numbers
|
|
||||||
gedit_prefs_manager_set_print_font_numbers
|
|
||||||
gedit_prefs_manager_print_font_numbers_can_set
|
|
||||||
gedit_prefs_manager_get_default_print_font_numbers
|
|
||||||
gedit_prefs_manager_get_max_recents
|
|
||||||
gedit_prefs_manager_get_auto_detected_encodings
|
|
||||||
gedit_prefs_manager_get_shown_in_menu_encodings
|
|
||||||
gedit_prefs_manager_set_shown_in_menu_encodings
|
|
||||||
gedit_prefs_manager_shown_in_menu_encodings_can_set
|
|
||||||
gedit_prefs_manager_get_highlight_current_line
|
|
||||||
gedit_prefs_manager_set_highlight_current_line
|
|
||||||
gedit_prefs_manager_highlight_current_line_can_set
|
|
||||||
gedit_prefs_manager_get_bracket_matching
|
|
||||||
gedit_prefs_manager_set_bracket_matching
|
|
||||||
gedit_prefs_manager_bracket_matching_can_set
|
|
||||||
gedit_prefs_manager_get_display_right_margin
|
|
||||||
gedit_prefs_manager_set_display_right_margin
|
|
||||||
gedit_prefs_manager_display_right_margin_can_set
|
|
||||||
gedit_prefs_manager_get_right_margin_position
|
|
||||||
gedit_prefs_manager_set_right_margin_position
|
|
||||||
gedit_prefs_manager_right_margin_position_can_set
|
|
||||||
gedit_prefs_manager_get_enable_syntax_highlighting
|
|
||||||
gedit_prefs_manager_set_enable_syntax_highlighting
|
|
||||||
gedit_prefs_manager_enable_syntax_highlighting_can_set
|
|
||||||
gedit_prefs_manager_get_writable_vfs_schemes
|
|
||||||
gedit_prefs_manager_get_restore_cursor_position
|
|
||||||
gedit_prefs_manager_get_enable_search_highlighting
|
|
||||||
gedit_prefs_manager_set_enable_search_highlighting
|
|
||||||
gedit_prefs_manager_enable_search_highlighting_can_set
|
|
||||||
gedit_prefs_manager_get_lockdown
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-utils</FILE>
|
|
||||||
GBOOLEAN_TO_POINTER
|
|
||||||
GPOINTER_TO_BOOLEAN
|
|
||||||
IS_VALID_BOOLEAN
|
|
||||||
gedit_utils_uri_has_writable_scheme
|
|
||||||
gedit_utils_uri_has_file_scheme
|
|
||||||
gedit_utils_menu_position_under_widget
|
|
||||||
gedit_utils_menu_position_under_tree_view
|
|
||||||
gedit_gtk_button_new_with_stock_icon
|
|
||||||
gedit_dialog_add_button
|
|
||||||
gedit_utils_escape_underscores
|
|
||||||
gedit_utils_escape_slashes
|
|
||||||
gedit_utils_str_middle_truncate
|
|
||||||
g_utf8_caselessnmatch
|
|
||||||
gedit_utils_set_atk_name_description
|
|
||||||
gedit_utils_set_atk_relation
|
|
||||||
gedit_utils_uri_exists
|
|
||||||
gedit_utils_escape_search_text
|
|
||||||
gedit_utils_unescape_search_text
|
|
||||||
gedit_utils_get_stdin
|
|
||||||
gedit_warning
|
|
||||||
gedit_utils_make_valid_utf8
|
|
||||||
gedit_utils_uri_get_dirname
|
|
||||||
gedit_utils_replace_home_dir_with_tilde
|
|
||||||
gedit_utils_get_current_workspace
|
|
||||||
gedit_utils_get_window_workspace
|
|
||||||
gedit_utils_activate_url
|
|
||||||
gedit_utils_is_valid_uri
|
|
||||||
gedit_utils_get_glade_widgets
|
|
||||||
gedit_utils_make_canonical_uri_from_shell_arg
|
|
||||||
gedit_utils_format_uri_for_display
|
|
||||||
</SECTION>
|
|
||||||
|
|
||||||
<SECTION>
|
|
||||||
<FILE>gedit-enum-types</FILE>
|
|
||||||
GEDIT_TYPE_LOCKDOWN_MASK
|
|
||||||
gedit_lockdown_mask_get_type
|
|
||||||
GEDIT_TYPE_CONVERT_ERROR
|
|
||||||
gedit_convert_error_get_type
|
|
||||||
GEDIT_TYPE_DEBUG_SECTION
|
|
||||||
gedit_debug_section_get_type
|
|
||||||
GEDIT_TYPE_SEARCH_FLAGS
|
|
||||||
gedit_search_flags_get_type
|
|
||||||
GEDIT_TYPE_DOCUMENT_SAVE_FLAGS
|
|
||||||
gedit_document_save_flags_get_type
|
|
||||||
GEDIT_TYPE_TOOLBAR_SETTING
|
|
||||||
gedit_toolbar_setting_get_type
|
|
||||||
GEDIT_TYPE_TAB_STATE
|
|
||||||
gedit_tab_state_get_type
|
|
||||||
GEDIT_TYPE_WINDOW_STATE
|
|
||||||
gedit_window_state_get_type
|
|
||||||
</SECTION>
|
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
#include "gedit-app.h"
|
|
||||||
#include "gedit-document.h"
|
|
||||||
#include "gedit-encodings.h"
|
|
||||||
#include "gedit-encodings-combo-box.h"
|
|
||||||
#include "gedit-file-chooser-dialog.h"
|
|
||||||
#include "gedit-message.h"
|
|
||||||
#include "gedit-message-bus.h"
|
|
||||||
#include "gedit-message-type.h"
|
|
||||||
#include "gedit-notebook.h"
|
|
||||||
#include "gedit-panel.h"
|
|
||||||
#include "gedit-plugin.h"
|
|
||||||
#include "gedit-progress-message-area.h"
|
|
||||||
#include "gedit-statusbar.h"
|
|
||||||
#include "gedit-tab.h"
|
|
||||||
#include "gedit-view.h"
|
|
||||||
#include "gedit-window.h"
|
|
||||||
gedit_app_get_type
|
|
||||||
gedit_document_get_type
|
|
||||||
gedit_encoding_get_type
|
|
||||||
gedit_encodings_combo_box_get_type
|
|
||||||
gedit_file_chooser_dialog_get_type
|
|
||||||
gedit_message_get_type
|
|
||||||
gedit_message_bus_get_type
|
|
||||||
gedit_message_type_get_type
|
|
||||||
gedit_notebook_get_type
|
|
||||||
gedit_panel_get_type
|
|
||||||
gedit_plugin_get_type
|
|
||||||
gedit_progress_message_area_get_type
|
|
||||||
gedit_statusbar_get_type
|
|
||||||
gedit_tab_get_type
|
|
||||||
gedit_view_get_type
|
|
||||||
gedit_window_get_type
|
|
|
@ -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>pluma Reference Manual</title>
|
||||||
|
</bookinfo>
|
||||||
|
|
||||||
|
<chapter>
|
||||||
|
<title>pluma</title>
|
||||||
|
<xi:include href="xml/pluma-app.xml"/>
|
||||||
|
<xi:include href="xml/pluma-document.xml"/>
|
||||||
|
<xi:include href="xml/pluma-encodings-option-menu.xml"/>
|
||||||
|
<xi:include href="xml/pluma-file-chooser-dialog.xml"/>
|
||||||
|
<xi:include href="xml/pluma-message-bus.xml"/>
|
||||||
|
<xi:include href="xml/pluma-message-type.xml"/>
|
||||||
|
<xi:include href="xml/pluma-message.xml"/>
|
||||||
|
<xi:include href="xml/pluma-notebook.xml"/>
|
||||||
|
<xi:include href="xml/pluma-panel.xml"/>
|
||||||
|
<xi:include href="xml/pluma-plugin.xml"/>
|
||||||
|
<xi:include href="xml/pluma-print-job-preview.xml"/>
|
||||||
|
<xi:include href="xml/pluma-print.xml"/>
|
||||||
|
<xi:include href="xml/pluma-progress-message-area.xml"/>
|
||||||
|
<xi:include href="xml/pluma-statusbar.xml"/>
|
||||||
|
<xi:include href="xml/pluma-tab.xml"/>
|
||||||
|
<xi:include href="xml/pluma-view.xml"/>
|
||||||
|
<xi:include href="xml/pluma-window.xml"/>
|
||||||
|
<xi:include href="xml/pluma-convert.xml"/>
|
||||||
|
<xi:include href="xml/pluma-debug.xml"/>
|
||||||
|
<xi:include href="xml/pluma-encodings.xml"/>
|
||||||
|
<xi:include href="xml/pluma-help.xml"/>
|
||||||
|
<xi:include href="xml/pluma-metadata-manager.xml"/>
|
||||||
|
<xi:include href="xml/pluma-prefs-manager-app.xml"/>
|
||||||
|
<xi:include href="xml/pluma-prefs-manager.xml"/>
|
||||||
|
<xi:include href="xml/pluma-utils.xml"/>
|
||||||
|
</chapter>
|
||||||
|
</book>
|
|
@ -0,0 +1,809 @@
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-app</FILE>
|
||||||
|
PlumaAppPrivate
|
||||||
|
<TITLE>PlumaApp</TITLE>
|
||||||
|
PlumaApp
|
||||||
|
PlumaLockdownMask
|
||||||
|
pluma_app_get_default
|
||||||
|
pluma_app_create_window
|
||||||
|
pluma_app_get_windows
|
||||||
|
pluma_app_get_active_window
|
||||||
|
pluma_app_get_documents
|
||||||
|
pluma_app_get_views
|
||||||
|
pluma_app_get_lockdown
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
PLUMA_APP
|
||||||
|
PLUMA_IS_APP
|
||||||
|
PLUMA_TYPE_APP
|
||||||
|
pluma_app_get_type
|
||||||
|
PLUMA_APP_CLASS
|
||||||
|
PLUMA_IS_APP_CLASS
|
||||||
|
PLUMA_APP_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-document</FILE>
|
||||||
|
PlumaSearchFlags
|
||||||
|
PlumaDocumentPrivate
|
||||||
|
<TITLE>PlumaDocument</TITLE>
|
||||||
|
PlumaDocument
|
||||||
|
PlumaDocumentSaveFlags
|
||||||
|
PLUMA_DOCUMENT_ERROR
|
||||||
|
pluma_document_error_quark
|
||||||
|
pluma_document_new
|
||||||
|
pluma_document_get_uri
|
||||||
|
pluma_document_get_uri_for_display
|
||||||
|
pluma_document_get_short_name_for_display
|
||||||
|
pluma_document_get_mime_type
|
||||||
|
pluma_document_get_readonly
|
||||||
|
pluma_document_load
|
||||||
|
pluma_document_insert_file
|
||||||
|
pluma_document_load_cancel
|
||||||
|
pluma_document_save
|
||||||
|
pluma_document_save_as
|
||||||
|
pluma_document_is_untouched
|
||||||
|
pluma_document_is_untitled
|
||||||
|
pluma_document_get_deleted
|
||||||
|
pluma_document_goto_line
|
||||||
|
pluma_document_set_search_text
|
||||||
|
pluma_document_get_search_text
|
||||||
|
pluma_document_get_can_search_again
|
||||||
|
pluma_document_search_forward
|
||||||
|
pluma_document_search_backward
|
||||||
|
pluma_document_replace_all
|
||||||
|
pluma_document_set_language
|
||||||
|
pluma_document_set_enable_search_highlighting
|
||||||
|
pluma_document_get_enable_search_highlighting
|
||||||
|
PLUMA_SEARCH_IS_DONT_SET_FLAGS
|
||||||
|
PLUMA_SEARCH_SET_DONT_SET_FLAGS
|
||||||
|
PLUMA_SEARCH_IS_ENTIRE_WORD
|
||||||
|
PLUMA_SEARCH_SET_ENTIRE_WORD
|
||||||
|
PLUMA_SEARCH_IS_CASE_SENSITIVE
|
||||||
|
PLUMA_SEARCH_SET_CASE_SENSITIVE
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
PLUMA_DOCUMENT
|
||||||
|
PLUMA_IS_DOCUMENT
|
||||||
|
PLUMA_TYPE_DOCUMENT
|
||||||
|
pluma_document_get_type
|
||||||
|
PLUMA_DOCUMENT_CLASS
|
||||||
|
PLUMA_IS_DOCUMENT_CLASS
|
||||||
|
PLUMA_DOCUMENT_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-encodings-option-menu</FILE>
|
||||||
|
PlumaEncodingsOptionMenuPrivate
|
||||||
|
<TITLE>PlumaEncodingsOptionMenu</TITLE>
|
||||||
|
PlumaEncodingsOptionMenu
|
||||||
|
pluma_encodings_option_menu_new
|
||||||
|
pluma_encodings_option_menu_get_selected_encoding
|
||||||
|
pluma_encodings_option_menu_set_selected_encoding
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
PLUMA_ENCODINGS_OPTION_MENU
|
||||||
|
PLUMA_IS_ENCODINGS_OPTION_MENU
|
||||||
|
PLUMA_TYPE_ENCODINGS_OPTION_MENU
|
||||||
|
pluma_encodings_option_menu_get_type
|
||||||
|
PLUMA_ENCODINGS_OPTION_MENU_CLASS
|
||||||
|
PLUMA_IS_ENCODINGS_OPTION_MENU_CLASS
|
||||||
|
PLUMA_ENCODINGS_OPTION_MENU_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-file-chooser-dialog</FILE>
|
||||||
|
PlumaFileChooserDialogPrivate
|
||||||
|
<TITLE>PlumaFileChooserDialog</TITLE>
|
||||||
|
PlumaFileChooserDialog
|
||||||
|
pluma_file_chooser_dialog_new
|
||||||
|
pluma_file_chooser_dialog_set_encoding
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
PLUMA_FILE_CHOOSER_DIALOG
|
||||||
|
PLUMA_IS_FILE_CHOOSER_DIALOG
|
||||||
|
PLUMA_TYPE_FILE_CHOOSER_DIALOG
|
||||||
|
pluma_file_chooser_dialog_get_type
|
||||||
|
PLUMA_FILE_CHOOSER_DIALOG_CLASS
|
||||||
|
PLUMA_IS_FILE_CHOOSER_DIALOG_CLASS
|
||||||
|
PLUMA_FILE_CHOOSER_DIALOG_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-message-bus</FILE>
|
||||||
|
<TITLE>PlumaMessageBus</TITLE>
|
||||||
|
PlumaMessageBus
|
||||||
|
PlumaMessageCallback
|
||||||
|
pluma_message_bus_get_default
|
||||||
|
pluma_message_bus_new
|
||||||
|
pluma_message_bus_lookup
|
||||||
|
pluma_message_bus_register
|
||||||
|
pluma_message_bus_unregister
|
||||||
|
pluma_message_bus_unregister_all
|
||||||
|
pluma_message_bus_is_registered
|
||||||
|
pluma_message_bus_foreach
|
||||||
|
pluma_message_bus_connect
|
||||||
|
pluma_message_bus_disconnect
|
||||||
|
pluma_message_bus_disconnect_by_func
|
||||||
|
pluma_message_bus_block
|
||||||
|
pluma_message_bus_block_by_func
|
||||||
|
pluma_message_bus_unblock
|
||||||
|
pluma_message_bus_unblock_by_func
|
||||||
|
pluma_message_bus_send_message
|
||||||
|
pluma_message_bus_send_message_sync
|
||||||
|
pluma_message_bus_send
|
||||||
|
pluma_message_bus_send_sync
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
PLUMA_MESSAGE_BUS
|
||||||
|
PLUMA_IS_MESSAGE_BUS
|
||||||
|
PLUMA_TYPE_MESSAGE_BUS
|
||||||
|
pluma_message_bus_get_type
|
||||||
|
PLUMA_MESSAGE_BUS_CLASS
|
||||||
|
PLUMA_IS_MESSAGE_BUS_CLASS
|
||||||
|
PLUMA_MESSAGE_BUS_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-message-type</FILE>
|
||||||
|
<TITLE>PlumaMessageType</TITLE>
|
||||||
|
PlumaMessageType
|
||||||
|
pluma_message_type_get_type
|
||||||
|
pluma_message_type_is_supported
|
||||||
|
pluma_message_type_identifier
|
||||||
|
pluma_message_type_is_valid_object_path
|
||||||
|
pluma_message_type_new
|
||||||
|
pluma_message_type_new_valist
|
||||||
|
pluma_message_type_ref
|
||||||
|
pluma_message_type_unref
|
||||||
|
pluma_message_type_set
|
||||||
|
pluma_message_type_set_valist
|
||||||
|
pluma_message_type_instantiate
|
||||||
|
pluma_message_type_instantiate_valist
|
||||||
|
pluma_message_type_get_object_path
|
||||||
|
pluma_message_type_get_method
|
||||||
|
pluma_message_type_lookup
|
||||||
|
pluma_message_type_foreach
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
PLUMA_TYPE_MESSAGE_TYPE
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-message</FILE>
|
||||||
|
<TITLE>PlumaMessage</TITLE>
|
||||||
|
PlumaMessage
|
||||||
|
pluma_message_get
|
||||||
|
pluma_message_get_valist
|
||||||
|
pluma_message_get_value
|
||||||
|
pluma_message_set
|
||||||
|
pluma_message_set_valist
|
||||||
|
pluma_message_set_value
|
||||||
|
pluma_message_set_valuesv
|
||||||
|
pluma_message_get_object_path
|
||||||
|
pluma_message_get_method
|
||||||
|
pluma_message_has_key
|
||||||
|
pluma_message_get_key_type
|
||||||
|
pluma_message_validate
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
PLUMA_MESSAGE
|
||||||
|
PLUMA_IS_MESSAGE
|
||||||
|
PLUMA_TYPE_MESSAGE
|
||||||
|
pluma_message_get_type
|
||||||
|
PLUMA_MESSAGE_CLASS
|
||||||
|
PLUMA_IS_MESSAGE_CLASS
|
||||||
|
PLUMA_MESSAGE_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-notebook</FILE>
|
||||||
|
PlumaNotebookPrivate
|
||||||
|
<TITLE>PlumaNotebook</TITLE>
|
||||||
|
PlumaNotebook
|
||||||
|
pluma_notebook_new
|
||||||
|
pluma_notebook_add_tab
|
||||||
|
pluma_notebook_remove_tab
|
||||||
|
pluma_notebook_remove_all_tabs
|
||||||
|
pluma_notebook_reorder_tab
|
||||||
|
pluma_notebook_move_tab
|
||||||
|
pluma_notebook_set_always_show_tabs
|
||||||
|
pluma_notebook_set_close_buttons_sensitive
|
||||||
|
pluma_notebook_get_close_buttons_sensitive
|
||||||
|
pluma_notebook_set_tab_drag_and_drop_enabled
|
||||||
|
pluma_notebook_get_tab_drag_and_drop_enabled
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
PLUMA_NOTEBOOK
|
||||||
|
PLUMA_IS_NOTEBOOK
|
||||||
|
PLUMA_TYPE_NOTEBOOK
|
||||||
|
pluma_notebook_get_type
|
||||||
|
PLUMA_NOTEBOOK_CLASS
|
||||||
|
PLUMA_IS_NOTEBOOK_CLASS
|
||||||
|
PLUMA_NOTEBOOK_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-panel</FILE>
|
||||||
|
PlumaPanelPrivate
|
||||||
|
<TITLE>PlumaPanel</TITLE>
|
||||||
|
PlumaPanel
|
||||||
|
pluma_panel_new
|
||||||
|
pluma_panel_add_item
|
||||||
|
pluma_panel_add_item_with_stock_icon
|
||||||
|
pluma_panel_remove_item
|
||||||
|
pluma_panel_activate_item
|
||||||
|
pluma_panel_item_is_active
|
||||||
|
pluma_panel_get_orientation
|
||||||
|
pluma_panel_get_n_items
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
PLUMA_PANEL
|
||||||
|
PLUMA_IS_PANEL
|
||||||
|
PLUMA_TYPE_PANEL
|
||||||
|
pluma_panel_get_type
|
||||||
|
PLUMA_PANEL_CLASS
|
||||||
|
PLUMA_IS_PANEL_CLASS
|
||||||
|
PLUMA_PANEL_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-plugin</FILE>
|
||||||
|
<TITLE>PlumaPlugin</TITLE>
|
||||||
|
PlumaPlugin
|
||||||
|
pluma_plugin_activate
|
||||||
|
pluma_plugin_deactivate
|
||||||
|
pluma_plugin_update_ui
|
||||||
|
pluma_plugin_is_configurable
|
||||||
|
pluma_plugin_create_configure_dialog
|
||||||
|
PLUMA_PLUGIN_REGISTER_TYPE
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
PLUMA_PLUGIN
|
||||||
|
PLUMA_IS_PLUGIN
|
||||||
|
PLUMA_TYPE_PLUGIN
|
||||||
|
pluma_plugin_get_type
|
||||||
|
PLUMA_PLUGIN_CLASS
|
||||||
|
PLUMA_IS_PLUGIN_CLASS
|
||||||
|
PLUMA_PLUGIN_GET_CLASS
|
||||||
|
PLUMA_PLUGIN_REGISTER_TYPE_WITH_CODE
|
||||||
|
PLUMA_PLUGIN_REGISTER_TYPE
|
||||||
|
PLUMA_PLUGIN_DEFINE_TYPE_WITH_CODE
|
||||||
|
PLUMA_PLUGIN_DEFINE_TYPE
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-print-job-preview</FILE>
|
||||||
|
PlumaPrintJobPreviewPrivate
|
||||||
|
<TITLE>PlumaPrintJobPreview</TITLE>
|
||||||
|
PlumaPrintJobPreview
|
||||||
|
pluma_print_job_preview_new
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
PLUMA_PRINT_JOB_PREVIEW
|
||||||
|
PLUMA_IS_PRINT_JOB_PREVIEW
|
||||||
|
PLUMA_TYPE_PRINT_JOB_PREVIEW
|
||||||
|
pluma_print_job_preview_get_type
|
||||||
|
PLUMA_PRINT_JOB_PREVIEW_CLASS
|
||||||
|
PLUMA_IS_PRINT_JOB_PREVIEW_CLASS
|
||||||
|
PLUMA_PRINT_JOB_PREVIEW_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-print</FILE>
|
||||||
|
<TITLE>PlumaPrintJob</TITLE>
|
||||||
|
PlumaPrintJob
|
||||||
|
pluma_print_job_new
|
||||||
|
pluma_print_job_save_config
|
||||||
|
pluma_print_dialog_new
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
PLUMA_PRINT_JOB
|
||||||
|
PLUMA_IS_PRINT_JOB
|
||||||
|
PLUMA_TYPE_PRINT_JOB
|
||||||
|
pluma_print_job_get_type
|
||||||
|
PLUMA_PRINT_JOB_CLASS
|
||||||
|
PLUMA_IS_PRINT_JOB_CLASS
|
||||||
|
PLUMA_PRINT_JOB_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-progress-message-area</FILE>
|
||||||
|
PlumaProgressMessageAreaPrivate
|
||||||
|
<TITLE>PlumaProgressMessageArea</TITLE>
|
||||||
|
PlumaProgressMessageArea
|
||||||
|
pluma_progress_message_area_new
|
||||||
|
pluma_progress_message_area_set_stock_image
|
||||||
|
pluma_progress_message_area_set_markup
|
||||||
|
pluma_progress_message_area_set_text
|
||||||
|
pluma_progress_message_area_set_fraction
|
||||||
|
pluma_progress_message_area_pulse
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
PLUMA_PROGRESS_MESSAGE_AREA
|
||||||
|
PLUMA_IS_PROGRESS_MESSAGE_AREA
|
||||||
|
PLUMA_TYPE_PROGRESS_MESSAGE_AREA
|
||||||
|
pluma_progress_message_area_get_type
|
||||||
|
PLUMA_PROGRESS_MESSAGE_AREA_CLASS
|
||||||
|
PLUMA_IS_PROGRESS_MESSAGE_AREA_CLASS
|
||||||
|
PLUMA_PROGRESS_MESSAGE_AREA_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-statusbar</FILE>
|
||||||
|
PlumaStatusbarPrivate
|
||||||
|
<TITLE>PlumaStatusbar</TITLE>
|
||||||
|
PlumaStatusbar
|
||||||
|
pluma_statusbar_new
|
||||||
|
PlumaStatus
|
||||||
|
pluma_statusbar_set_window_state
|
||||||
|
pluma_statusbar_set_overwrite
|
||||||
|
pluma_statusbar_set_cursor_position
|
||||||
|
pluma_statusbar_clear_overwrite
|
||||||
|
pluma_statusbar_flash_message
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
PLUMA_STATUSBAR
|
||||||
|
PLUMA_IS_STATUSBAR
|
||||||
|
PLUMA_TYPE_STATUSBAR
|
||||||
|
pluma_statusbar_get_type
|
||||||
|
PLUMA_STATUSBAR_CLASS
|
||||||
|
PLUMA_IS_STATUSBAR_CLASS
|
||||||
|
PLUMA_STATUSBAR_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-tab</FILE>
|
||||||
|
PlumaTabState
|
||||||
|
PlumaTabPrivate
|
||||||
|
<TITLE>PlumaTab</TITLE>
|
||||||
|
PlumaTab
|
||||||
|
pluma_tab_get_view
|
||||||
|
pluma_tab_get_document
|
||||||
|
pluma_tab_get_from_document
|
||||||
|
pluma_tab_get_state
|
||||||
|
pluma_tab_get_auto_save_enabled
|
||||||
|
pluma_tab_set_auto_save_enabled
|
||||||
|
pluma_tab_get_auto_save_interval
|
||||||
|
pluma_tab_set_auto_save_interval
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
PLUMA_TAB
|
||||||
|
PLUMA_IS_TAB
|
||||||
|
PLUMA_TYPE_TAB
|
||||||
|
pluma_tab_get_type
|
||||||
|
PLUMA_TAB_CLASS
|
||||||
|
PLUMA_IS_TAB_CLASS
|
||||||
|
PLUMA_TAB_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-view</FILE>
|
||||||
|
PlumaViewPrivate
|
||||||
|
<TITLE>PlumaView</TITLE>
|
||||||
|
PlumaView
|
||||||
|
pluma_view_new
|
||||||
|
pluma_view_cut_clipboard
|
||||||
|
pluma_view_copy_clipboard
|
||||||
|
pluma_view_paste_clipboard
|
||||||
|
pluma_view_delete_selection
|
||||||
|
pluma_view_select_all
|
||||||
|
pluma_view_scroll_to_cursor
|
||||||
|
pluma_view_set_colors
|
||||||
|
pluma_view_set_font
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
PLUMA_VIEW
|
||||||
|
PLUMA_IS_VIEW
|
||||||
|
PLUMA_TYPE_VIEW
|
||||||
|
pluma_view_get_type
|
||||||
|
PLUMA_VIEW_CLASS
|
||||||
|
PLUMA_IS_VIEW_CLASS
|
||||||
|
PLUMA_VIEW_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-window</FILE>
|
||||||
|
PlumaWindowState
|
||||||
|
PlumaWindowPrivate
|
||||||
|
<TITLE>PlumaWindow</TITLE>
|
||||||
|
PlumaWindow
|
||||||
|
pluma_window_create_tab
|
||||||
|
pluma_window_create_tab_from_uri
|
||||||
|
pluma_window_close_tab
|
||||||
|
pluma_window_close_all_tabs
|
||||||
|
pluma_window_close_tabs
|
||||||
|
pluma_window_get_active_tab
|
||||||
|
pluma_window_set_active_tab
|
||||||
|
pluma_window_get_active_view
|
||||||
|
pluma_window_get_active_document
|
||||||
|
pluma_window_get_documents
|
||||||
|
pluma_window_get_unsaved_documents
|
||||||
|
pluma_window_get_views
|
||||||
|
pluma_window_get_group
|
||||||
|
pluma_window_get_side_panel
|
||||||
|
pluma_window_get_bottom_panel
|
||||||
|
pluma_window_get_statusbar
|
||||||
|
pluma_window_get_ui_manager
|
||||||
|
pluma_window_get_state
|
||||||
|
pluma_window_get_tab_from_location
|
||||||
|
pluma_window_get_tab_from_uri
|
||||||
|
pluma_window_get_message_bus
|
||||||
|
<SUBSECTION Standard>
|
||||||
|
PLUMA_WINDOW
|
||||||
|
PLUMA_IS_WINDOW
|
||||||
|
PLUMA_TYPE_WINDOW
|
||||||
|
pluma_window_get_type
|
||||||
|
PLUMA_WINDOW_CLASS
|
||||||
|
PLUMA_IS_WINDOW_CLASS
|
||||||
|
PLUMA_WINDOW_GET_CLASS
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-convert</FILE>
|
||||||
|
PlumaConvertError
|
||||||
|
PLUMA_CONVERT_ERROR
|
||||||
|
pluma_convert_error_quark
|
||||||
|
pluma_convert_to_utf8
|
||||||
|
pluma_convert_from_utf8
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-debug</FILE>
|
||||||
|
PlumaDebugSection
|
||||||
|
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
|
||||||
|
pluma_debug_init
|
||||||
|
pluma_debug
|
||||||
|
pluma_debug_message
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-encodings</FILE>
|
||||||
|
PlumaEncoding
|
||||||
|
PLUMA_TYPE_ENCODING
|
||||||
|
pluma_encoding_get_type
|
||||||
|
pluma_encoding_copy
|
||||||
|
pluma_encoding_free
|
||||||
|
pluma_encoding_get_from_charset
|
||||||
|
pluma_encoding_get_from_index
|
||||||
|
pluma_encoding_to_string
|
||||||
|
pluma_encoding_get_name
|
||||||
|
pluma_encoding_get_charset
|
||||||
|
pluma_encoding_get_utf8
|
||||||
|
pluma_encoding_get_current
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-help</FILE>
|
||||||
|
pluma_help_display
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-metadata-manager</FILE>
|
||||||
|
pluma_metadata_manager_shutdown
|
||||||
|
pluma_metadata_manager_get
|
||||||
|
pluma_metadata_manager_set
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-prefs-manager-app</FILE>
|
||||||
|
pluma_prefs_manager_app_init
|
||||||
|
pluma_prefs_manager_app_shutdown
|
||||||
|
pluma_prefs_manager_get_window_state
|
||||||
|
pluma_prefs_manager_set_window_state
|
||||||
|
pluma_prefs_manager_window_state_can_set
|
||||||
|
pluma_prefs_manager_get_window_size
|
||||||
|
pluma_prefs_manager_get_default_window_size
|
||||||
|
pluma_prefs_manager_set_window_size
|
||||||
|
pluma_prefs_manager_window_size_can_set
|
||||||
|
pluma_prefs_manager_get_side_panel_size
|
||||||
|
pluma_prefs_manager_get_default_side_panel_size
|
||||||
|
pluma_prefs_manager_set_side_panel_size
|
||||||
|
pluma_prefs_manager_side_panel_size_can_set
|
||||||
|
pluma_prefs_manager_get_bottom_panel_size
|
||||||
|
pluma_prefs_manager_get_default_bottom_panel_size
|
||||||
|
pluma_prefs_manager_set_bottom_panel_size
|
||||||
|
pluma_prefs_manager_bottom_panel_size_can_set
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-prefs-manager</FILE>
|
||||||
|
PLUMA_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_LOCKDOWN_DIR
|
||||||
|
GPM_LOCKDOWN_COMMAND_LINE
|
||||||
|
GPM_LOCKDOWN_PRINTING
|
||||||
|
GPM_LOCKDOWN_PRINT_SETUP
|
||||||
|
GPM_LOCKDOWN_SAVE_TO_DISK
|
||||||
|
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
|
||||||
|
PlumaToolbarSetting
|
||||||
|
pluma_prefs_manager_init
|
||||||
|
pluma_prefs_manager_shutdown
|
||||||
|
pluma_prefs_manager_get_use_default_font
|
||||||
|
pluma_prefs_manager_set_use_default_font
|
||||||
|
pluma_prefs_manager_use_default_font_can_set
|
||||||
|
pluma_prefs_manager_get_editor_font
|
||||||
|
pluma_prefs_manager_set_editor_font
|
||||||
|
pluma_prefs_manager_editor_font_can_set
|
||||||
|
pluma_prefs_manager_get_use_default_colors
|
||||||
|
pluma_prefs_manager_set_use_default_colors
|
||||||
|
pluma_prefs_manager_use_default_colors_can_set
|
||||||
|
pluma_prefs_manager_get_background_color
|
||||||
|
pluma_prefs_manager_set_background_color
|
||||||
|
pluma_prefs_manager_background_color_can_set
|
||||||
|
pluma_prefs_manager_get_text_color
|
||||||
|
pluma_prefs_manager_set_text_color
|
||||||
|
pluma_prefs_manager_text_color_can_set
|
||||||
|
pluma_prefs_manager_get_selection_color
|
||||||
|
pluma_prefs_manager_set_selection_color
|
||||||
|
pluma_prefs_manager_selection_color_can_set
|
||||||
|
pluma_prefs_manager_get_selected_text_color
|
||||||
|
pluma_prefs_manager_set_selected_text_color
|
||||||
|
pluma_prefs_manager_selected_text_color_can_set
|
||||||
|
pluma_prefs_manager_get_create_backup_copy
|
||||||
|
pluma_prefs_manager_set_create_backup_copy
|
||||||
|
pluma_prefs_manager_create_backup_copy_can_set
|
||||||
|
pluma_prefs_manager_get_backup_extension
|
||||||
|
pluma_prefs_manager_get_auto_save
|
||||||
|
pluma_prefs_manager_set_auto_save
|
||||||
|
pluma_prefs_manager_auto_save_can_set
|
||||||
|
pluma_prefs_manager_get_auto_save_interval
|
||||||
|
pluma_prefs_manager_set_auto_save_interval
|
||||||
|
pluma_prefs_manager_auto_save_interval_can_set
|
||||||
|
pluma_prefs_manager_get_undo_actions_limit
|
||||||
|
pluma_prefs_manager_set_undo_actions_limit
|
||||||
|
pluma_prefs_manager_undo_actions_limit_can_set
|
||||||
|
pluma_prefs_manager_get_wrap_mode
|
||||||
|
pluma_prefs_manager_set_wrap_mode
|
||||||
|
pluma_prefs_manager_wrap_mode_can_set
|
||||||
|
pluma_prefs_manager_get_tabs_size
|
||||||
|
pluma_prefs_manager_set_tabs_size
|
||||||
|
pluma_prefs_manager_tabs_size_can_set
|
||||||
|
pluma_prefs_manager_get_insert_spaces
|
||||||
|
pluma_prefs_manager_set_insert_spaces
|
||||||
|
pluma_prefs_manager_insert_spaces_can_set
|
||||||
|
pluma_prefs_manager_get_auto_indent
|
||||||
|
pluma_prefs_manager_set_auto_indent
|
||||||
|
pluma_prefs_manager_auto_indent_can_set
|
||||||
|
pluma_prefs_manager_get_display_line_numbers
|
||||||
|
pluma_prefs_manager_set_display_line_numbers
|
||||||
|
pluma_prefs_manager_display_line_numbers_can_set
|
||||||
|
pluma_prefs_manager_get_toolbar_visible
|
||||||
|
pluma_prefs_manager_set_toolbar_visible
|
||||||
|
pluma_prefs_manager_toolbar_visible_can_set
|
||||||
|
pluma_prefs_manager_get_toolbar_buttons_style
|
||||||
|
pluma_prefs_manager_set_toolbar_buttons_style
|
||||||
|
pluma_prefs_manager_toolbar_buttons_style_can_set
|
||||||
|
pluma_prefs_manager_get_statusbar_visible
|
||||||
|
pluma_prefs_manager_set_statusbar_visible
|
||||||
|
pluma_prefs_manager_statusbar_visible_can_set
|
||||||
|
pluma_prefs_manager_get_side_pane_visible
|
||||||
|
pluma_prefs_manager_set_side_pane_visible
|
||||||
|
pluma_prefs_manager_side_pane_visible_can_set
|
||||||
|
pluma_prefs_manager_get_bottom_panel_visible
|
||||||
|
pluma_prefs_manager_set_bottom_panel_visible
|
||||||
|
pluma_prefs_manager_bottom_panel_visible_can_set
|
||||||
|
pluma_prefs_manager_get_print_syntax_hl
|
||||||
|
pluma_prefs_manager_set_print_syntax_hl
|
||||||
|
pluma_prefs_manager_print_syntax_hl_can_set
|
||||||
|
pluma_prefs_manager_get_print_header
|
||||||
|
pluma_prefs_manager_set_print_header
|
||||||
|
pluma_prefs_manager_print_header_can_set
|
||||||
|
pluma_prefs_manager_get_print_wrap_mode
|
||||||
|
pluma_prefs_manager_set_print_wrap_mode
|
||||||
|
pluma_prefs_manager_print_wrap_mode_can_set
|
||||||
|
pluma_prefs_manager_get_print_line_numbers
|
||||||
|
pluma_prefs_manager_set_print_line_numbers
|
||||||
|
pluma_prefs_manager_print_line_numbers_can_set
|
||||||
|
pluma_prefs_manager_get_print_font_body
|
||||||
|
pluma_prefs_manager_set_print_font_body
|
||||||
|
pluma_prefs_manager_print_font_body_can_set
|
||||||
|
pluma_prefs_manager_get_default_print_font_body
|
||||||
|
pluma_prefs_manager_get_print_font_header
|
||||||
|
pluma_prefs_manager_set_print_font_header
|
||||||
|
pluma_prefs_manager_print_font_header_can_set
|
||||||
|
pluma_prefs_manager_get_default_print_font_header
|
||||||
|
pluma_prefs_manager_get_print_font_numbers
|
||||||
|
pluma_prefs_manager_set_print_font_numbers
|
||||||
|
pluma_prefs_manager_print_font_numbers_can_set
|
||||||
|
pluma_prefs_manager_get_default_print_font_numbers
|
||||||
|
pluma_prefs_manager_get_max_recents
|
||||||
|
pluma_prefs_manager_get_auto_detected_encodings
|
||||||
|
pluma_prefs_manager_get_shown_in_menu_encodings
|
||||||
|
pluma_prefs_manager_set_shown_in_menu_encodings
|
||||||
|
pluma_prefs_manager_shown_in_menu_encodings_can_set
|
||||||
|
pluma_prefs_manager_get_highlight_current_line
|
||||||
|
pluma_prefs_manager_set_highlight_current_line
|
||||||
|
pluma_prefs_manager_highlight_current_line_can_set
|
||||||
|
pluma_prefs_manager_get_bracket_matching
|
||||||
|
pluma_prefs_manager_set_bracket_matching
|
||||||
|
pluma_prefs_manager_bracket_matching_can_set
|
||||||
|
pluma_prefs_manager_get_display_right_margin
|
||||||
|
pluma_prefs_manager_set_display_right_margin
|
||||||
|
pluma_prefs_manager_display_right_margin_can_set
|
||||||
|
pluma_prefs_manager_get_right_margin_position
|
||||||
|
pluma_prefs_manager_set_right_margin_position
|
||||||
|
pluma_prefs_manager_right_margin_position_can_set
|
||||||
|
pluma_prefs_manager_get_enable_syntax_highlighting
|
||||||
|
pluma_prefs_manager_set_enable_syntax_highlighting
|
||||||
|
pluma_prefs_manager_enable_syntax_highlighting_can_set
|
||||||
|
pluma_prefs_manager_get_writable_vfs_schemes
|
||||||
|
pluma_prefs_manager_get_restore_cursor_position
|
||||||
|
pluma_prefs_manager_get_enable_search_highlighting
|
||||||
|
pluma_prefs_manager_set_enable_search_highlighting
|
||||||
|
pluma_prefs_manager_enable_search_highlighting_can_set
|
||||||
|
pluma_prefs_manager_get_lockdown
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-utils</FILE>
|
||||||
|
GBOOLEAN_TO_POINTER
|
||||||
|
GPOINTER_TO_BOOLEAN
|
||||||
|
IS_VALID_BOOLEAN
|
||||||
|
pluma_utils_uri_has_writable_scheme
|
||||||
|
pluma_utils_uri_has_file_scheme
|
||||||
|
pluma_utils_menu_position_under_widget
|
||||||
|
pluma_utils_menu_position_under_tree_view
|
||||||
|
pluma_gtk_button_new_with_stock_icon
|
||||||
|
pluma_dialog_add_button
|
||||||
|
pluma_utils_escape_underscores
|
||||||
|
pluma_utils_escape_slashes
|
||||||
|
pluma_utils_str_middle_truncate
|
||||||
|
g_utf8_caselessnmatch
|
||||||
|
pluma_utils_set_atk_name_description
|
||||||
|
pluma_utils_set_atk_relation
|
||||||
|
pluma_utils_uri_exists
|
||||||
|
pluma_utils_escape_search_text
|
||||||
|
pluma_utils_unescape_search_text
|
||||||
|
pluma_utils_get_stdin
|
||||||
|
pluma_warning
|
||||||
|
pluma_utils_make_valid_utf8
|
||||||
|
pluma_utils_uri_get_dirname
|
||||||
|
pluma_utils_replace_home_dir_with_tilde
|
||||||
|
pluma_utils_get_current_workspace
|
||||||
|
pluma_utils_get_window_workspace
|
||||||
|
pluma_utils_activate_url
|
||||||
|
pluma_utils_is_valid_uri
|
||||||
|
pluma_utils_get_glade_widgets
|
||||||
|
pluma_utils_make_canonical_uri_from_shell_arg
|
||||||
|
pluma_utils_format_uri_for_display
|
||||||
|
</SECTION>
|
||||||
|
|
||||||
|
<SECTION>
|
||||||
|
<FILE>pluma-enum-types</FILE>
|
||||||
|
PLUMA_TYPE_LOCKDOWN_MASK
|
||||||
|
pluma_lockdown_mask_get_type
|
||||||
|
PLUMA_TYPE_CONVERT_ERROR
|
||||||
|
pluma_convert_error_get_type
|
||||||
|
PLUMA_TYPE_DEBUG_SECTION
|
||||||
|
pluma_debug_section_get_type
|
||||||
|
PLUMA_TYPE_SEARCH_FLAGS
|
||||||
|
pluma_search_flags_get_type
|
||||||
|
PLUMA_TYPE_DOCUMENT_SAVE_FLAGS
|
||||||
|
pluma_document_save_flags_get_type
|
||||||
|
PLUMA_TYPE_TOOLBAR_SETTING
|
||||||
|
pluma_toolbar_setting_get_type
|
||||||
|
PLUMA_TYPE_TAB_STATE
|
||||||
|
pluma_tab_state_get_type
|
||||||
|
PLUMA_TYPE_WINDOW_STATE
|
||||||
|
pluma_window_state_get_type
|
||||||
|
</SECTION>
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
#include "pluma-app.h"
|
||||||
|
#include "pluma-document.h"
|
||||||
|
#include "pluma-encodings.h"
|
||||||
|
#include "pluma-encodings-combo-box.h"
|
||||||
|
#include "pluma-file-chooser-dialog.h"
|
||||||
|
#include "pluma-message.h"
|
||||||
|
#include "pluma-message-bus.h"
|
||||||
|
#include "pluma-message-type.h"
|
||||||
|
#include "pluma-notebook.h"
|
||||||
|
#include "pluma-panel.h"
|
||||||
|
#include "pluma-plugin.h"
|
||||||
|
#include "pluma-progress-message-area.h"
|
||||||
|
#include "pluma-statusbar.h"
|
||||||
|
#include "pluma-tab.h"
|
||||||
|
#include "pluma-view.h"
|
||||||
|
#include "pluma-window.h"
|
||||||
|
pluma_app_get_type
|
||||||
|
pluma_document_get_type
|
||||||
|
pluma_encoding_get_type
|
||||||
|
pluma_encodings_combo_box_get_type
|
||||||
|
pluma_file_chooser_dialog_get_type
|
||||||
|
pluma_message_get_type
|
||||||
|
pluma_message_bus_get_type
|
||||||
|
pluma_message_type_get_type
|
||||||
|
pluma_notebook_get_type
|
||||||
|
pluma_panel_get_type
|
||||||
|
pluma_plugin_get_type
|
||||||
|
pluma_progress_message_area_get_type
|
||||||
|
pluma_statusbar_get_type
|
||||||
|
pluma_tab_get_type
|
||||||
|
pluma_view_get_type
|
||||||
|
pluma_window_get_type
|
|
@ -1,254 +0,0 @@
|
||||||
## Process this file with automake to produce Makefile.in
|
|
||||||
SUBDIRS = dialogs smclient
|
|
||||||
|
|
||||||
if OS_OSX
|
|
||||||
SUBDIRS += osx
|
|
||||||
endif
|
|
||||||
|
|
||||||
bin_PROGRAMS = gedit
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libgedit.la
|
|
||||||
|
|
||||||
INCLUDES = \
|
|
||||||
-I$(top_srcdir) \
|
|
||||||
-I$(srcdir) \
|
|
||||||
-I$(srcdir)/smclient \
|
|
||||||
$(GEDIT_CFLAGS) \
|
|
||||||
$(IGE_MAC_CFLAGS) \
|
|
||||||
$(WARN_CFLAGS) \
|
|
||||||
$(DISABLE_DEPRECATED_CFLAGS) \
|
|
||||||
-DDATADIR=\""$(datadir)"\" \
|
|
||||||
-DLIBDIR=\""$(libdir)"\"
|
|
||||||
|
|
||||||
gedit_SOURCES = \
|
|
||||||
gedit.c
|
|
||||||
|
|
||||||
gedit_LDADD = libgedit.la $(GEDIT_LIBS) $(IGE_MAC_LIBS) $(EGG_SMCLIENT_LIBS)
|
|
||||||
|
|
||||||
if PLATFORM_WIN32
|
|
||||||
gedit_LDFLAGS = -Wl,--export-all-symbols -Wl,--out-implib,libgedit-$(GEDIT_API_VERSION).a
|
|
||||||
if OS_WIN32
|
|
||||||
gedit_LDFLAGS += -mwindows
|
|
||||||
endif
|
|
||||||
else
|
|
||||||
gedit_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*"
|
|
||||||
endif
|
|
||||||
|
|
||||||
libgedit_la_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*"
|
|
||||||
|
|
||||||
libgedit_la_LIBADD = \
|
|
||||||
dialogs/libdialogs.la \
|
|
||||||
smclient/libeggsmclient.la
|
|
||||||
|
|
||||||
# GEDIT_LIBS must be the last to ensure correct order on some platforms
|
|
||||||
libgedit_la_LIBADD += $(GEDIT_LIBS)
|
|
||||||
|
|
||||||
if OS_OSX
|
|
||||||
gedit_LDFLAGS += -framework Carbon
|
|
||||||
|
|
||||||
libgedit_la_LIBADD += osx/libosx.la
|
|
||||||
endif
|
|
||||||
|
|
||||||
BUILT_SOURCES = \
|
|
||||||
gedit-enum-types.c \
|
|
||||||
gedit-enum-types.h \
|
|
||||||
gedit-marshal.c \
|
|
||||||
gedit-marshal.h
|
|
||||||
|
|
||||||
if OS_WIN32
|
|
||||||
gedit-res.o: gedit.rc
|
|
||||||
$(WINDRES) -i gedit.rc --input-format=rc -o gedit-res.o -O coff
|
|
||||||
|
|
||||||
gedit_LDADD += gedit-res.o
|
|
||||||
endif
|
|
||||||
|
|
||||||
NOINST_H_FILES = \
|
|
||||||
gedit-close-button.h \
|
|
||||||
gedit-dirs.h \
|
|
||||||
gedit-document-input-stream.h \
|
|
||||||
gedit-document-loader.h \
|
|
||||||
gedit-document-output-stream.h \
|
|
||||||
gedit-document-saver.h \
|
|
||||||
gedit-documents-panel.h \
|
|
||||||
gedit-gio-document-loader.h \
|
|
||||||
gedit-gio-document-saver.h \
|
|
||||||
gedit-history-entry.h \
|
|
||||||
gedit-io-error-message-area.h \
|
|
||||||
gedit-language-manager.h \
|
|
||||||
gedit-object-module.h \
|
|
||||||
gedit-plugin-info.h \
|
|
||||||
gedit-plugin-info-priv.h \
|
|
||||||
gedit-plugin-loader.h \
|
|
||||||
gedit-plugin-manager.h \
|
|
||||||
gedit-plugins-engine.h \
|
|
||||||
gedit-prefs-manager-private.h \
|
|
||||||
gedit-print-job.h \
|
|
||||||
gedit-print-preview.h \
|
|
||||||
gedit-session.h \
|
|
||||||
gedit-smart-charset-converter.h \
|
|
||||||
gedit-style-scheme-manager.h \
|
|
||||||
gedit-tab-label.h \
|
|
||||||
gedittextregion.h \
|
|
||||||
gedit-ui.h \
|
|
||||||
gedit-window-private.h
|
|
||||||
|
|
||||||
INST_H_FILES = \
|
|
||||||
gedit-app.h \
|
|
||||||
gedit-commands.h \
|
|
||||||
gedit-debug.h \
|
|
||||||
gedit-document.h \
|
|
||||||
gedit-encodings.h \
|
|
||||||
gedit-encodings-combo-box.h \
|
|
||||||
gedit-file-chooser-dialog.h \
|
|
||||||
gedit-help.h \
|
|
||||||
gedit-message-bus.h \
|
|
||||||
gedit-message-type.h \
|
|
||||||
gedit-message.h \
|
|
||||||
gedit-notebook.h \
|
|
||||||
gedit-panel.h \
|
|
||||||
gedit-plugin.h \
|
|
||||||
gedit-prefs-manager-app.h \
|
|
||||||
gedit-prefs-manager.h \
|
|
||||||
gedit-progress-message-area.h \
|
|
||||||
gedit-statusbar.h \
|
|
||||||
gedit-status-combo-box.h \
|
|
||||||
gedit-tab.h \
|
|
||||||
gedit-utils.h \
|
|
||||||
gedit-view.h \
|
|
||||||
gedit-window.h
|
|
||||||
|
|
||||||
if !ENABLE_GVFS_METADATA
|
|
||||||
INST_H_FILES += gedit-metadata-manager.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
headerdir = $(prefix)/include/gedit-@GEDIT_API_VERSION@/gedit
|
|
||||||
|
|
||||||
header_DATA = \
|
|
||||||
$(INST_H_FILES)
|
|
||||||
|
|
||||||
|
|
||||||
libgedit_la_SOURCES = \
|
|
||||||
$(BUILT_SOURCES) \
|
|
||||||
$(BACON_FILES) \
|
|
||||||
$(POSIXIO_FILES) \
|
|
||||||
gedit-app.c \
|
|
||||||
gedit-close-button.c \
|
|
||||||
gedit-commands-documents.c \
|
|
||||||
gedit-commands-edit.c \
|
|
||||||
gedit-commands-file.c \
|
|
||||||
gedit-commands-file-print.c \
|
|
||||||
gedit-commands-help.c \
|
|
||||||
gedit-commands-search.c \
|
|
||||||
gedit-commands-view.c \
|
|
||||||
gedit-debug.c \
|
|
||||||
gedit-dirs.c \
|
|
||||||
gedit-document.c \
|
|
||||||
gedit-document-input-stream.c \
|
|
||||||
gedit-document-loader.c \
|
|
||||||
gedit-document-output-stream.c \
|
|
||||||
gedit-gio-document-loader.c \
|
|
||||||
gedit-document-saver.c \
|
|
||||||
gedit-gio-document-saver.c \
|
|
||||||
gedit-documents-panel.c \
|
|
||||||
gedit-encodings.c \
|
|
||||||
gedit-encodings-combo-box.c \
|
|
||||||
gedit-file-chooser-dialog.c \
|
|
||||||
gedit-help.c \
|
|
||||||
gedit-history-entry.c \
|
|
||||||
gedit-io-error-message-area.c \
|
|
||||||
gedit-language-manager.c \
|
|
||||||
gedit-message-bus.c \
|
|
||||||
gedit-message-type.c \
|
|
||||||
gedit-message.c \
|
|
||||||
gedit-object-module.c \
|
|
||||||
gedit-notebook.c \
|
|
||||||
gedit-panel.c \
|
|
||||||
gedit-plugin-info.c \
|
|
||||||
gedit-plugin.c \
|
|
||||||
gedit-plugin-loader.c \
|
|
||||||
gedit-plugin-manager.c \
|
|
||||||
gedit-plugins-engine.c \
|
|
||||||
gedit-prefs-manager-app.c \
|
|
||||||
gedit-prefs-manager.c \
|
|
||||||
gedit-prefs-manager-private.h \
|
|
||||||
gedit-print-job.c \
|
|
||||||
gedit-print-preview.c \
|
|
||||||
gedit-progress-message-area.c \
|
|
||||||
gedit-session.c \
|
|
||||||
gedit-smart-charset-converter.c \
|
|
||||||
gedit-statusbar.c \
|
|
||||||
gedit-status-combo-box.c \
|
|
||||||
gedit-style-scheme-manager.c \
|
|
||||||
gedit-tab.c \
|
|
||||||
gedit-tab-label.c \
|
|
||||||
gedit-utils.c \
|
|
||||||
gedit-view.c \
|
|
||||||
gedit-window.c \
|
|
||||||
gedittextregion.c \
|
|
||||||
$(NOINST_H_FILES) \
|
|
||||||
$(INST_H_FILES)
|
|
||||||
|
|
||||||
if !ENABLE_GVFS_METADATA
|
|
||||||
libgedit_la_SOURCES += gedit-metadata-manager.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
gedit-enum-types.h: gedit-enum-types.h.template $(INST_H_FILES) $(GLIB_MKENUMS)
|
|
||||||
$(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template gedit-enum-types.h.template $(INST_H_FILES)) > $@
|
|
||||||
|
|
||||||
gedit-enum-types.c: gedit-enum-types.c.template $(INST_H_FILES) $(GLIB_MKENUMS)
|
|
||||||
$(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template gedit-enum-types.c.template $(INST_H_FILES)) > $@
|
|
||||||
|
|
||||||
gedit-marshal.h: gedit-marshal.list $(GLIB_GENMARSHAL)
|
|
||||||
$(AM_V_GEN) $(GLIB_GENMARSHAL) $< --header --prefix=gedit_marshal > $@
|
|
||||||
|
|
||||||
gedit-marshal.c: gedit-marshal.list $(GLIB_GENMARSHAL)
|
|
||||||
$(AM_V_GEN) echo "#include \"gedit-marshal.h\"" > $@ && \
|
|
||||||
$(GLIB_GENMARSHAL) $< --body --prefix=gedit_marshal >> $@
|
|
||||||
|
|
||||||
uidir = $(datadir)/gedit-2/ui/
|
|
||||||
ui_DATA = \
|
|
||||||
gedit-ui.xml \
|
|
||||||
gedit-print-preferences.ui
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
$(ui_DATA) \
|
|
||||||
gedit-enum-types.h.template \
|
|
||||||
gedit-enum-types.c.template \
|
|
||||||
gedit-marshal.list \
|
|
||||||
gedit.rc
|
|
||||||
|
|
||||||
CLEANFILES = $(BUILT_SOURCES)
|
|
||||||
|
|
||||||
dist-hook:
|
|
||||||
cd $(distdir); rm -f $(BUILT_SOURCES)
|
|
||||||
|
|
||||||
install-exec-hook:
|
|
||||||
if PLATFORM_WIN32
|
|
||||||
$(mkinstalldirs) "$(DESTDIR)$(libdir)"
|
|
||||||
$(INSTALL_DATA) libgedit-$(GEDIT_API_VERSION).a "$(DESTDIR)$(libdir)"
|
|
||||||
else
|
|
||||||
rm -f $(DESTDIR)$(bindir)/mate-text-editor
|
|
||||||
ln -s gedit $(DESTDIR)$(bindir)/mate-text-editor
|
|
||||||
endif
|
|
||||||
|
|
||||||
if !OS_WIN32
|
|
||||||
BACON_DIR=$(srcdir)/../../libbacon/src/
|
|
||||||
BACON_FILES=bacon-message-connection.h bacon-message-connection.c
|
|
||||||
|
|
||||||
regenerate-built-sources:
|
|
||||||
BACONFILES="$(BACON_FILES)" BACONDIR="$(BACON_DIR)" $(top_srcdir)/gedit/update-from-bacon.sh
|
|
||||||
else
|
|
||||||
BACON_DIR=
|
|
||||||
endif
|
|
||||||
|
|
||||||
if BUILD_MESSAGE_AREA
|
|
||||||
libgedit_la_SOURCES += gedit-message-area.c
|
|
||||||
INST_H_FILES += gedit-message-area.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
if BUILD_SPINNER
|
|
||||||
libgedit_la_SOURCES += gedit-spinner.c
|
|
||||||
NOINST_H_FILES += gedit-spinner.h
|
|
||||||
endif
|
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
|
|
@ -1,31 +0,0 @@
|
||||||
uidir = $(datadir)/gedit-2/ui/
|
|
||||||
|
|
||||||
INCLUDES = \
|
|
||||||
-I$(top_srcdir) \
|
|
||||||
-I$(top_builddir) \
|
|
||||||
-I$(top_srcdir)/gedit \
|
|
||||||
-I$(top_builddir)/gedit \
|
|
||||||
$(GEDIT_CFLAGS) \
|
|
||||||
$(WARN_CFLAGS) \
|
|
||||||
$(DISABLE_DEPRECATED_CFLAGS)
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libdialogs.la
|
|
||||||
|
|
||||||
libdialogs_la_SOURCES = \
|
|
||||||
gedit-preferences-dialog.h \
|
|
||||||
gedit-preferences-dialog.c \
|
|
||||||
gedit-close-confirmation-dialog.c \
|
|
||||||
gedit-close-confirmation-dialog.h \
|
|
||||||
gedit-encodings-dialog.c \
|
|
||||||
gedit-encodings-dialog.h \
|
|
||||||
gedit-search-dialog.h \
|
|
||||||
gedit-search-dialog.c
|
|
||||||
|
|
||||||
ui_DATA = \
|
|
||||||
gedit-encodings-dialog.ui \
|
|
||||||
gedit-preferences-dialog.ui \
|
|
||||||
gedit-search-dialog.ui
|
|
||||||
|
|
||||||
EXTRA_DIST = $(ui_DATA)
|
|
||||||
|
|
||||||
-include $(top_srcdir)/git.mk
|
|
|
@ -1,75 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-close-confirmation-dialog.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2004-2005 MATE Foundation
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2004-2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_CLOSE_CONFIRMATION_DIALOG_H__
|
|
||||||
#define __GEDIT_CLOSE_CONFIRMATION_DIALOG_H__
|
|
||||||
|
|
||||||
#include <glib.h>
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
|
|
||||||
#include <gedit/gedit-document.h>
|
|
||||||
|
|
||||||
#define GEDIT_TYPE_CLOSE_CONFIRMATION_DIALOG (gedit_close_confirmation_dialog_get_type ())
|
|
||||||
#define GEDIT_CLOSE_CONFIRMATION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_CLOSE_CONFIRMATION_DIALOG, GeditCloseConfirmationDialog))
|
|
||||||
#define GEDIT_CLOSE_CONFIRMATION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_CLOSE_CONFIRMATION_DIALOG, GeditCloseConfirmationDialogClass))
|
|
||||||
#define GEDIT_IS_CLOSE_CONFIRMATION_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_CLOSE_CONFIRMATION_DIALOG))
|
|
||||||
#define GEDIT_IS_CLOSE_CONFIRMATION_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_CLOSE_CONFIRMATION_DIALOG))
|
|
||||||
#define GEDIT_CLOSE_CONFIRMATION_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),GEDIT_TYPE_CLOSE_CONFIRMATION_DIALOG, GeditCloseConfirmationDialogClass))
|
|
||||||
|
|
||||||
typedef struct _GeditCloseConfirmationDialog GeditCloseConfirmationDialog;
|
|
||||||
typedef struct _GeditCloseConfirmationDialogClass GeditCloseConfirmationDialogClass;
|
|
||||||
typedef struct _GeditCloseConfirmationDialogPrivate GeditCloseConfirmationDialogPrivate;
|
|
||||||
|
|
||||||
struct _GeditCloseConfirmationDialog
|
|
||||||
{
|
|
||||||
GtkDialog parent;
|
|
||||||
|
|
||||||
/*< private > */
|
|
||||||
GeditCloseConfirmationDialogPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _GeditCloseConfirmationDialogClass
|
|
||||||
{
|
|
||||||
GtkDialogClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
GType gedit_close_confirmation_dialog_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GtkWidget *gedit_close_confirmation_dialog_new (GtkWindow *parent,
|
|
||||||
GList *unsaved_documents,
|
|
||||||
gboolean logout_mode);
|
|
||||||
GtkWidget *gedit_close_confirmation_dialog_new_single (GtkWindow *parent,
|
|
||||||
GeditDocument *doc,
|
|
||||||
gboolean logout_mode);
|
|
||||||
|
|
||||||
const GList *gedit_close_confirmation_dialog_get_unsaved_documents (GeditCloseConfirmationDialog *dlg);
|
|
||||||
|
|
||||||
GList *gedit_close_confirmation_dialog_get_selected_documents (GeditCloseConfirmationDialog *dlg);
|
|
||||||
|
|
||||||
#endif /* __GEDIT_CLOSE_CONFIRMATION_DIALOG_H__ */
|
|
||||||
|
|
|
@ -1,86 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-encodings-dialog.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2003-2005 Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2003-2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_ENCODINGS_DIALOG_H__
|
|
||||||
#define __GEDIT_ENCODINGS_DIALOG_H__
|
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define GEDIT_TYPE_ENCODINGS_DIALOG (gedit_encodings_dialog_get_type())
|
|
||||||
#define GEDIT_ENCODINGS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_ENCODINGS_DIALOG, GeditEncodingsDialog))
|
|
||||||
#define GEDIT_ENCODINGS_DIALOG_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_ENCODINGS_DIALOG, GeditEncodingsDialog const))
|
|
||||||
#define GEDIT_ENCODINGS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_ENCODINGS_DIALOG, GeditEncodingsDialogClass))
|
|
||||||
#define GEDIT_IS_ENCODINGS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_ENCODINGS_DIALOG))
|
|
||||||
#define GEDIT_IS_ENCODINGS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_ENCODINGS_DIALOG))
|
|
||||||
#define GEDIT_ENCODINGS_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_ENCODINGS_DIALOG, GeditEncodingsDialogClass))
|
|
||||||
|
|
||||||
|
|
||||||
/* Private structure type */
|
|
||||||
typedef struct _GeditEncodingsDialogPrivate GeditEncodingsDialogPrivate;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _GeditEncodingsDialog GeditEncodingsDialog;
|
|
||||||
|
|
||||||
struct _GeditEncodingsDialog
|
|
||||||
{
|
|
||||||
GtkDialog dialog;
|
|
||||||
|
|
||||||
/*< private > */
|
|
||||||
GeditEncodingsDialogPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _GeditEncodingsDialogClass GeditEncodingsDialogClass;
|
|
||||||
|
|
||||||
struct _GeditEncodingsDialogClass
|
|
||||||
{
|
|
||||||
GtkDialogClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType gedit_encodings_dialog_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GtkWidget *gedit_encodings_dialog_new (void);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_ENCODINGS_DIALOG_H__ */
|
|
||||||
|
|
|
@ -1,87 +0,0 @@
|
||||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
|
||||||
/*
|
|
||||||
* gedit-preferences-dialog.c
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2001-2005 Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2003. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_PREFERENCES_DIALOG_H__
|
|
||||||
#define __GEDIT_PREFERENCES_DIALOG_H__
|
|
||||||
|
|
||||||
#include "gedit-window.h"
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define GEDIT_TYPE_PREFERENCES_DIALOG (gedit_preferences_dialog_get_type())
|
|
||||||
#define GEDIT_PREFERENCES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_PREFERENCES_DIALOG, GeditPreferencesDialog))
|
|
||||||
#define GEDIT_PREFERENCES_DIALOG_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_PREFERENCES_DIALOG, GeditPreferencesDialog const))
|
|
||||||
#define GEDIT_PREFERENCES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_PREFERENCES_DIALOG, GeditPreferencesDialogClass))
|
|
||||||
#define GEDIT_IS_PREFERENCES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_PREFERENCES_DIALOG))
|
|
||||||
#define GEDIT_IS_PREFERENCES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_PREFERENCES_DIALOG))
|
|
||||||
#define GEDIT_PREFERENCES_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_PREFERENCES_DIALOG, GeditPreferencesDialogClass))
|
|
||||||
|
|
||||||
|
|
||||||
/* Private structure type */
|
|
||||||
typedef struct _GeditPreferencesDialogPrivate GeditPreferencesDialogPrivate;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _GeditPreferencesDialog GeditPreferencesDialog;
|
|
||||||
|
|
||||||
struct _GeditPreferencesDialog
|
|
||||||
{
|
|
||||||
GtkDialog dialog;
|
|
||||||
|
|
||||||
/*< private > */
|
|
||||||
GeditPreferencesDialogPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _GeditPreferencesDialogClass GeditPreferencesDialogClass;
|
|
||||||
|
|
||||||
struct _GeditPreferencesDialogClass
|
|
||||||
{
|
|
||||||
GtkDialogClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType gedit_preferences_dialog_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
void gedit_show_preferences_dialog (GeditWindow *parent);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_PREFERENCES_DIALOG_H__ */
|
|
||||||
|
|
|
@ -1,128 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-search-dialog.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2005 Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_SEARCH_DIALOG_H__
|
|
||||||
#define __GEDIT_SEARCH_DIALOG_H__
|
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define GEDIT_TYPE_SEARCH_DIALOG (gedit_search_dialog_get_type())
|
|
||||||
#define GEDIT_SEARCH_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_SEARCH_DIALOG, GeditSearchDialog))
|
|
||||||
#define GEDIT_SEARCH_DIALOG_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_SEARCH_DIALOG, GeditSearchDialog const))
|
|
||||||
#define GEDIT_SEARCH_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_SEARCH_DIALOG, GeditSearchDialogClass))
|
|
||||||
#define GEDIT_IS_SEARCH_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_SEARCH_DIALOG))
|
|
||||||
#define GEDIT_IS_SEARCH_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_SEARCH_DIALOG))
|
|
||||||
#define GEDIT_SEARCH_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_SEARCH_DIALOG, GeditSearchDialogClass))
|
|
||||||
|
|
||||||
/* Private structure type */
|
|
||||||
typedef struct _GeditSearchDialogPrivate GeditSearchDialogPrivate;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _GeditSearchDialog GeditSearchDialog;
|
|
||||||
|
|
||||||
struct _GeditSearchDialog
|
|
||||||
{
|
|
||||||
GtkDialog dialog;
|
|
||||||
|
|
||||||
/*< private > */
|
|
||||||
GeditSearchDialogPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _GeditSearchDialogClass GeditSearchDialogClass;
|
|
||||||
|
|
||||||
struct _GeditSearchDialogClass
|
|
||||||
{
|
|
||||||
GtkDialogClass parent_class;
|
|
||||||
|
|
||||||
/* Key bindings */
|
|
||||||
gboolean (* show_replace) (GeditSearchDialog *dlg);
|
|
||||||
};
|
|
||||||
|
|
||||||
enum
|
|
||||||
{
|
|
||||||
GEDIT_SEARCH_DIALOG_FIND_RESPONSE = 100,
|
|
||||||
GEDIT_SEARCH_DIALOG_REPLACE_RESPONSE,
|
|
||||||
GEDIT_SEARCH_DIALOG_REPLACE_ALL_RESPONSE
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType gedit_search_dialog_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GtkWidget *gedit_search_dialog_new (GtkWindow *parent,
|
|
||||||
gboolean show_replace);
|
|
||||||
|
|
||||||
void gedit_search_dialog_present_with_time (GeditSearchDialog *dialog,
|
|
||||||
guint32 timestamp);
|
|
||||||
|
|
||||||
gboolean gedit_search_dialog_get_show_replace (GeditSearchDialog *dialog);
|
|
||||||
|
|
||||||
void gedit_search_dialog_set_show_replace (GeditSearchDialog *dialog,
|
|
||||||
gboolean show_replace);
|
|
||||||
|
|
||||||
|
|
||||||
void gedit_search_dialog_set_search_text (GeditSearchDialog *dialog,
|
|
||||||
const gchar *text);
|
|
||||||
const gchar *gedit_search_dialog_get_search_text (GeditSearchDialog *dialog);
|
|
||||||
|
|
||||||
void gedit_search_dialog_set_replace_text (GeditSearchDialog *dialog,
|
|
||||||
const gchar *text);
|
|
||||||
const gchar *gedit_search_dialog_get_replace_text (GeditSearchDialog *dialog);
|
|
||||||
|
|
||||||
void gedit_search_dialog_set_match_case (GeditSearchDialog *dialog,
|
|
||||||
gboolean match_case);
|
|
||||||
gboolean gedit_search_dialog_get_match_case (GeditSearchDialog *dialog);
|
|
||||||
|
|
||||||
void gedit_search_dialog_set_entire_word (GeditSearchDialog *dialog,
|
|
||||||
gboolean entire_word);
|
|
||||||
gboolean gedit_search_dialog_get_entire_word (GeditSearchDialog *dialog);
|
|
||||||
|
|
||||||
void gedit_search_dialog_set_backwards (GeditSearchDialog *dialog,
|
|
||||||
gboolean backwards);
|
|
||||||
gboolean gedit_search_dialog_get_backwards (GeditSearchDialog *dialog);
|
|
||||||
|
|
||||||
void gedit_search_dialog_set_wrap_around (GeditSearchDialog *dialog,
|
|
||||||
gboolean wrap_around);
|
|
||||||
gboolean gedit_search_dialog_get_wrap_around (GeditSearchDialog *dialog);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_SEARCH_DIALOG_H__ */
|
|
|
@ -1,142 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-app.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2005 - Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_APP_H__
|
|
||||||
#define __GEDIT_APP_H__
|
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
|
|
||||||
#include <gedit/gedit-window.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define GEDIT_TYPE_APP (gedit_app_get_type())
|
|
||||||
#define GEDIT_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_APP, GeditApp))
|
|
||||||
#define GEDIT_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_APP, GeditAppClass))
|
|
||||||
#define GEDIT_IS_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_APP))
|
|
||||||
#define GEDIT_IS_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_APP))
|
|
||||||
#define GEDIT_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_APP, GeditAppClass))
|
|
||||||
|
|
||||||
/* Private structure type */
|
|
||||||
typedef struct _GeditAppPrivate GeditAppPrivate;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _GeditApp GeditApp;
|
|
||||||
|
|
||||||
struct _GeditApp
|
|
||||||
{
|
|
||||||
GObject object;
|
|
||||||
|
|
||||||
/*< private > */
|
|
||||||
GeditAppPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _GeditAppClass GeditAppClass;
|
|
||||||
|
|
||||||
struct _GeditAppClass
|
|
||||||
{
|
|
||||||
GObjectClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Lockdown mask definition
|
|
||||||
*/
|
|
||||||
typedef enum
|
|
||||||
{
|
|
||||||
GEDIT_LOCKDOWN_COMMAND_LINE = 1 << 0,
|
|
||||||
GEDIT_LOCKDOWN_PRINTING = 1 << 1,
|
|
||||||
GEDIT_LOCKDOWN_PRINT_SETUP = 1 << 2,
|
|
||||||
GEDIT_LOCKDOWN_SAVE_TO_DISK = 1 << 3,
|
|
||||||
GEDIT_LOCKDOWN_ALL = 0xF
|
|
||||||
} GeditLockdownMask;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType gedit_app_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GeditApp *gedit_app_get_default (void);
|
|
||||||
|
|
||||||
GeditWindow *gedit_app_create_window (GeditApp *app,
|
|
||||||
GdkScreen *screen);
|
|
||||||
|
|
||||||
const GList *gedit_app_get_windows (GeditApp *app);
|
|
||||||
GeditWindow *gedit_app_get_active_window (GeditApp *app);
|
|
||||||
|
|
||||||
/* Returns a newly allocated list with all the documents */
|
|
||||||
GList *gedit_app_get_documents (GeditApp *app);
|
|
||||||
|
|
||||||
/* Returns a newly allocated list with all the views */
|
|
||||||
GList *gedit_app_get_views (GeditApp *app);
|
|
||||||
|
|
||||||
/* Lockdown state */
|
|
||||||
GeditLockdownMask gedit_app_get_lockdown (GeditApp *app);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Non exported functions
|
|
||||||
*/
|
|
||||||
GeditWindow *_gedit_app_restore_window (GeditApp *app,
|
|
||||||
const gchar *role);
|
|
||||||
GeditWindow *_gedit_app_get_window_in_viewport (GeditApp *app,
|
|
||||||
GdkScreen *screen,
|
|
||||||
gint workspace,
|
|
||||||
gint viewport_x,
|
|
||||||
gint viewport_y);
|
|
||||||
void _gedit_app_set_lockdown (GeditApp *app,
|
|
||||||
GeditLockdownMask lockdown);
|
|
||||||
void _gedit_app_set_lockdown_bit (GeditApp *app,
|
|
||||||
GeditLockdownMask bit,
|
|
||||||
gboolean value);
|
|
||||||
/*
|
|
||||||
* This one is a gedit-window function, but we declare it here to avoid
|
|
||||||
* #include headaches since it needs the GeditLockdownMask declaration.
|
|
||||||
*/
|
|
||||||
void _gedit_window_set_lockdown (GeditWindow *window,
|
|
||||||
GeditLockdownMask lockdown);
|
|
||||||
|
|
||||||
/* global print config */
|
|
||||||
GtkPageSetup *_gedit_app_get_default_page_setup (GeditApp *app);
|
|
||||||
void _gedit_app_set_default_page_setup (GeditApp *app,
|
|
||||||
GtkPageSetup *page_setup);
|
|
||||||
GtkPrintSettings *_gedit_app_get_default_print_settings (GeditApp *app);
|
|
||||||
void _gedit_app_set_default_print_settings (GeditApp *app,
|
|
||||||
GtkPrintSettings *settings);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_APP_H__ */
|
|
|
@ -1,56 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-close-button.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2010 - 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 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_CLOSE_BUTTON_H__
|
|
||||||
#define __GEDIT_CLOSE_BUTTON_H__
|
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define GEDIT_TYPE_CLOSE_BUTTON (gedit_close_button_get_type ())
|
|
||||||
#define GEDIT_CLOSE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_CLOSE_BUTTON, GeditCloseButton))
|
|
||||||
#define GEDIT_CLOSE_BUTTON_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_CLOSE_BUTTON, GeditCloseButton const))
|
|
||||||
#define GEDIT_CLOSE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_CLOSE_BUTTON, GeditCloseButtonClass))
|
|
||||||
#define GEDIT_IS_CLOSE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_CLOSE_BUTTON))
|
|
||||||
#define GEDIT_IS_CLOSE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_CLOSE_BUTTON))
|
|
||||||
#define GEDIT_CLOSE_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_CLOSE_BUTTON, GeditCloseButtonClass))
|
|
||||||
|
|
||||||
typedef struct _GeditCloseButton GeditCloseButton;
|
|
||||||
typedef struct _GeditCloseButtonClass GeditCloseButtonClass;
|
|
||||||
typedef struct _GeditCloseButtonPrivate GeditCloseButtonPrivate;
|
|
||||||
|
|
||||||
struct _GeditCloseButton {
|
|
||||||
GtkButton parent;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _GeditCloseButtonClass {
|
|
||||||
GtkButtonClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
GType gedit_close_button_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GtkWidget *gedit_close_button_new (void);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_CLOSE_BUTTON_H__ */
|
|
|
@ -1,166 +0,0 @@
|
||||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
|
||||||
/*
|
|
||||||
* gedit-commands.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence
|
|
||||||
* Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi
|
|
||||||
* Copyright (C) 2002-2005 Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 1998-2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_COMMANDS_H__
|
|
||||||
#define __GEDIT_COMMANDS_H__
|
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
#include <gedit/gedit-window.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/* Do nothing if URI does not exist */
|
|
||||||
void gedit_commands_load_uri (GeditWindow *window,
|
|
||||||
const gchar *uri,
|
|
||||||
const GeditEncoding *encoding,
|
|
||||||
gint line_pos);
|
|
||||||
|
|
||||||
/* Ignore non-existing URIs */
|
|
||||||
gint gedit_commands_load_uris (GeditWindow *window,
|
|
||||||
const GSList *uris,
|
|
||||||
const GeditEncoding *encoding,
|
|
||||||
gint line_pos);
|
|
||||||
|
|
||||||
void gedit_commands_save_document (GeditWindow *window,
|
|
||||||
GeditDocument *document);
|
|
||||||
|
|
||||||
void gedit_commands_save_all_documents (GeditWindow *window);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Non-exported functions
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Create titled documens for non-existing URIs */
|
|
||||||
gint _gedit_cmd_load_files_from_prompt (GeditWindow *window,
|
|
||||||
GSList *files,
|
|
||||||
const GeditEncoding *encoding,
|
|
||||||
gint line_pos);
|
|
||||||
|
|
||||||
void _gedit_cmd_file_new (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_file_open (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_file_save (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_file_save_as (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_file_save_all (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_file_revert (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_file_open_uri (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_file_print_preview (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_file_print (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_file_close (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_file_close_all (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_file_quit (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
|
|
||||||
void _gedit_cmd_edit_undo (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_edit_redo (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_edit_cut (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_edit_copy (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_edit_paste (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_edit_delete (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_edit_select_all (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_edit_preferences (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
|
|
||||||
void _gedit_cmd_view_show_toolbar (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_view_show_statusbar (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_view_show_side_pane (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_view_show_bottom_pane (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_view_toggle_fullscreen_mode (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_view_leave_fullscreen_mode (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
|
|
||||||
void _gedit_cmd_search_find (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_search_find_next (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_search_find_prev (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_search_replace (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_search_clear_highlight (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_search_goto_line (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_search_incremental_search (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
|
|
||||||
void _gedit_cmd_documents_previous_document (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_documents_next_document (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_documents_move_to_new_window (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
|
|
||||||
void _gedit_cmd_help_contents (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
void _gedit_cmd_help_about (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
|
|
||||||
void _gedit_cmd_file_close_tab (GeditTab *tab,
|
|
||||||
GeditWindow *window);
|
|
||||||
|
|
||||||
void _gedit_cmd_file_save_documents_list (GeditWindow *window,
|
|
||||||
GList *docs);
|
|
||||||
|
|
||||||
|
|
||||||
#if !GTK_CHECK_VERSION (2, 17, 4)
|
|
||||||
void _gedit_cmd_file_page_setup (GtkAction *action,
|
|
||||||
GeditWindow *window);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_COMMANDS_H__ */
|
|
|
@ -1,93 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-debug.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence
|
|
||||||
* Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi
|
|
||||||
* Copyright (C) 2002 - 2005 Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 1998-2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_DEBUG_H__
|
|
||||||
#define __GEDIT_DEBUG_H__
|
|
||||||
|
|
||||||
#include <glib.h>
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Set an environmental var of the same name to turn on
|
|
||||||
* debugging output. Setting GEDIT_DEBUG will turn on all
|
|
||||||
* sections.
|
|
||||||
*/
|
|
||||||
typedef enum {
|
|
||||||
GEDIT_NO_DEBUG = 0,
|
|
||||||
GEDIT_DEBUG_VIEW = 1 << 0,
|
|
||||||
GEDIT_DEBUG_SEARCH = 1 << 1,
|
|
||||||
GEDIT_DEBUG_PRINT = 1 << 2,
|
|
||||||
GEDIT_DEBUG_PREFS = 1 << 3,
|
|
||||||
GEDIT_DEBUG_PLUGINS = 1 << 4,
|
|
||||||
GEDIT_DEBUG_TAB = 1 << 5,
|
|
||||||
GEDIT_DEBUG_DOCUMENT = 1 << 6,
|
|
||||||
GEDIT_DEBUG_COMMANDS = 1 << 7,
|
|
||||||
GEDIT_DEBUG_APP = 1 << 8,
|
|
||||||
GEDIT_DEBUG_SESSION = 1 << 9,
|
|
||||||
GEDIT_DEBUG_UTILS = 1 << 10,
|
|
||||||
GEDIT_DEBUG_METADATA = 1 << 11,
|
|
||||||
GEDIT_DEBUG_WINDOW = 1 << 12,
|
|
||||||
GEDIT_DEBUG_LOADER = 1 << 13,
|
|
||||||
GEDIT_DEBUG_SAVER = 1 << 14
|
|
||||||
} GeditDebugSection;
|
|
||||||
|
|
||||||
|
|
||||||
#define DEBUG_VIEW GEDIT_DEBUG_VIEW, __FILE__, __LINE__, G_STRFUNC
|
|
||||||
#define DEBUG_SEARCH GEDIT_DEBUG_SEARCH, __FILE__, __LINE__, G_STRFUNC
|
|
||||||
#define DEBUG_PRINT GEDIT_DEBUG_PRINT, __FILE__, __LINE__, G_STRFUNC
|
|
||||||
#define DEBUG_PREFS GEDIT_DEBUG_PREFS, __FILE__, __LINE__, G_STRFUNC
|
|
||||||
#define DEBUG_PLUGINS GEDIT_DEBUG_PLUGINS, __FILE__, __LINE__, G_STRFUNC
|
|
||||||
#define DEBUG_TAB GEDIT_DEBUG_TAB, __FILE__, __LINE__, G_STRFUNC
|
|
||||||
#define DEBUG_DOCUMENT GEDIT_DEBUG_DOCUMENT,__FILE__, __LINE__, G_STRFUNC
|
|
||||||
#define DEBUG_COMMANDS GEDIT_DEBUG_COMMANDS,__FILE__, __LINE__, G_STRFUNC
|
|
||||||
#define DEBUG_APP GEDIT_DEBUG_APP, __FILE__, __LINE__, G_STRFUNC
|
|
||||||
#define DEBUG_SESSION GEDIT_DEBUG_SESSION, __FILE__, __LINE__, G_STRFUNC
|
|
||||||
#define DEBUG_UTILS GEDIT_DEBUG_UTILS, __FILE__, __LINE__, G_STRFUNC
|
|
||||||
#define DEBUG_METADATA GEDIT_DEBUG_METADATA,__FILE__, __LINE__, G_STRFUNC
|
|
||||||
#define DEBUG_WINDOW GEDIT_DEBUG_WINDOW, __FILE__, __LINE__, G_STRFUNC
|
|
||||||
#define DEBUG_LOADER GEDIT_DEBUG_LOADER, __FILE__, __LINE__, G_STRFUNC
|
|
||||||
#define DEBUG_SAVER GEDIT_DEBUG_SAVER, __FILE__, __LINE__, G_STRFUNC
|
|
||||||
|
|
||||||
void gedit_debug_init (void);
|
|
||||||
|
|
||||||
void gedit_debug (GeditDebugSection section,
|
|
||||||
const gchar *file,
|
|
||||||
gint line,
|
|
||||||
const gchar *function);
|
|
||||||
|
|
||||||
void gedit_debug_message (GeditDebugSection section,
|
|
||||||
const gchar *file,
|
|
||||||
gint line,
|
|
||||||
const gchar *function,
|
|
||||||
const gchar *format, ...) G_GNUC_PRINTF(5, 6);
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* __GEDIT_DEBUG_H__ */
|
|
|
@ -1,68 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-document-input-stream.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2010 - Ignacio Casal Quinteiro
|
|
||||||
*
|
|
||||||
* gedit 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.
|
|
||||||
*
|
|
||||||
* gedit 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 gedit; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
||||||
* Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_DOCUMENT_INPUT_STREAM_H__
|
|
||||||
#define __GEDIT_DOCUMENT_INPUT_STREAM_H__
|
|
||||||
|
|
||||||
#include <gio/gio.h>
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
|
|
||||||
#include "gedit-document.h"
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define GEDIT_TYPE_DOCUMENT_INPUT_STREAM (gedit_document_input_stream_get_type ())
|
|
||||||
#define GEDIT_DOCUMENT_INPUT_STREAM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_DOCUMENT_INPUT_STREAM, GeditDocumentInputStream))
|
|
||||||
#define GEDIT_DOCUMENT_INPUT_STREAM_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_DOCUMENT_INPUT_STREAM, GeditDocumentInputStream const))
|
|
||||||
#define GEDIT_DOCUMENT_INPUT_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_DOCUMENT_INPUT_STREAM, GeditDocumentInputStreamClass))
|
|
||||||
#define GEDIT_IS_DOCUMENT_INPUT_STREAM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_DOCUMENT_INPUT_STREAM))
|
|
||||||
#define GEDIT_IS_DOCUMENT_INPUT_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_DOCUMENT_INPUT_STREAM))
|
|
||||||
#define GEDIT_DOCUMENT_INPUT_STREAM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_DOCUMENT_INPUT_STREAM, GeditDocumentInputStreamClass))
|
|
||||||
|
|
||||||
typedef struct _GeditDocumentInputStream GeditDocumentInputStream;
|
|
||||||
typedef struct _GeditDocumentInputStreamClass GeditDocumentInputStreamClass;
|
|
||||||
typedef struct _GeditDocumentInputStreamPrivate GeditDocumentInputStreamPrivate;
|
|
||||||
|
|
||||||
struct _GeditDocumentInputStream
|
|
||||||
{
|
|
||||||
GInputStream parent;
|
|
||||||
|
|
||||||
GeditDocumentInputStreamPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _GeditDocumentInputStreamClass
|
|
||||||
{
|
|
||||||
GInputStreamClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
GType gedit_document_input_stream_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GInputStream *gedit_document_input_stream_new (GtkTextBuffer *buffer,
|
|
||||||
GeditDocumentNewlineType type);
|
|
||||||
|
|
||||||
gsize gedit_document_input_stream_get_total_size (GeditDocumentInputStream *stream);
|
|
||||||
|
|
||||||
gsize gedit_document_input_stream_tell (GeditDocumentInputStream *stream);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_DOCUMENT_INPUT_STREAM_H__ */
|
|
|
@ -1,130 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-document-loader.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2005 - Paolo Maggi
|
|
||||||
* Copyright (C) 2007 - Paolo Maggi, Steve Frécinaux
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2005-2007. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_DOCUMENT_LOADER_H__
|
|
||||||
#define __GEDIT_DOCUMENT_LOADER_H__
|
|
||||||
|
|
||||||
#include <gedit/gedit-document.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define GEDIT_TYPE_DOCUMENT_LOADER (gedit_document_loader_get_type())
|
|
||||||
#define GEDIT_DOCUMENT_LOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_DOCUMENT_LOADER, GeditDocumentLoader))
|
|
||||||
#define GEDIT_DOCUMENT_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_DOCUMENT_LOADER, GeditDocumentLoaderClass))
|
|
||||||
#define GEDIT_IS_DOCUMENT_LOADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_DOCUMENT_LOADER))
|
|
||||||
#define GEDIT_IS_DOCUMENT_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_DOCUMENT_LOADER))
|
|
||||||
#define GEDIT_DOCUMENT_LOADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_DOCUMENT_LOADER, GeditDocumentLoaderClass))
|
|
||||||
|
|
||||||
/* Private structure type */
|
|
||||||
typedef struct _GeditDocumentLoaderPrivate GeditDocumentLoaderPrivate;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _GeditDocumentLoader GeditDocumentLoader;
|
|
||||||
|
|
||||||
struct _GeditDocumentLoader
|
|
||||||
{
|
|
||||||
GObject object;
|
|
||||||
|
|
||||||
GeditDocument *document;
|
|
||||||
gboolean used;
|
|
||||||
|
|
||||||
/* Info on the current file */
|
|
||||||
GFileInfo *info;
|
|
||||||
gchar *uri;
|
|
||||||
const GeditEncoding *encoding;
|
|
||||||
const GeditEncoding *auto_detected_encoding;
|
|
||||||
GeditDocumentNewlineType auto_detected_newline_type;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _GeditDocumentLoaderClass GeditDocumentLoaderClass;
|
|
||||||
|
|
||||||
struct _GeditDocumentLoaderClass
|
|
||||||
{
|
|
||||||
GObjectClass parent_class;
|
|
||||||
|
|
||||||
/* Signals */
|
|
||||||
void (* loading) (GeditDocumentLoader *loader,
|
|
||||||
gboolean completed,
|
|
||||||
const GError *error);
|
|
||||||
|
|
||||||
/* VTable */
|
|
||||||
void (* load) (GeditDocumentLoader *loader);
|
|
||||||
gboolean (* cancel) (GeditDocumentLoader *loader);
|
|
||||||
goffset (* get_bytes_read) (GeditDocumentLoader *loader);
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType gedit_document_loader_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
/* If enconding == NULL, the encoding will be autodetected */
|
|
||||||
GeditDocumentLoader *gedit_document_loader_new (GeditDocument *doc,
|
|
||||||
const gchar *uri,
|
|
||||||
const GeditEncoding *encoding);
|
|
||||||
|
|
||||||
void gedit_document_loader_loading (GeditDocumentLoader *loader,
|
|
||||||
gboolean completed,
|
|
||||||
GError *error);
|
|
||||||
|
|
||||||
void gedit_document_loader_load (GeditDocumentLoader *loader);
|
|
||||||
#if 0
|
|
||||||
gboolean gedit_document_loader_load_from_stdin (GeditDocumentLoader *loader);
|
|
||||||
#endif
|
|
||||||
gboolean gedit_document_loader_cancel (GeditDocumentLoader *loader);
|
|
||||||
|
|
||||||
GeditDocument *gedit_document_loader_get_document (GeditDocumentLoader *loader);
|
|
||||||
|
|
||||||
/* Returns STDIN_URI if loading from stdin */
|
|
||||||
#define STDIN_URI "stdin:"
|
|
||||||
const gchar *gedit_document_loader_get_uri (GeditDocumentLoader *loader);
|
|
||||||
|
|
||||||
const GeditEncoding *gedit_document_loader_get_encoding (GeditDocumentLoader *loader);
|
|
||||||
|
|
||||||
GeditDocumentNewlineType gedit_document_loader_get_newline_type (GeditDocumentLoader *loader);
|
|
||||||
|
|
||||||
goffset gedit_document_loader_get_bytes_read (GeditDocumentLoader *loader);
|
|
||||||
|
|
||||||
/* You can get from the info: content_type, time_modified, standard_size, access_can_write
|
|
||||||
and also the metadata*/
|
|
||||||
GFileInfo *gedit_document_loader_get_info (GeditDocumentLoader *loader);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_DOCUMENT_LOADER_H__ */
|
|
|
@ -1,64 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-document-output-stream.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2010 - Ignacio Casal Quinteiro
|
|
||||||
*
|
|
||||||
* gedit 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.
|
|
||||||
*
|
|
||||||
* gedit 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 gedit; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
||||||
* Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef __GEDIT_DOCUMENT_OUTPUT_STREAM_H__
|
|
||||||
#define __GEDIT_DOCUMENT_OUTPUT_STREAM_H__
|
|
||||||
|
|
||||||
#include <gio/gio.h>
|
|
||||||
#include "gedit-document.h"
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define GEDIT_TYPE_DOCUMENT_OUTPUT_STREAM (gedit_document_output_stream_get_type ())
|
|
||||||
#define GEDIT_DOCUMENT_OUTPUT_STREAM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_DOCUMENT_OUTPUT_STREAM, GeditDocumentOutputStream))
|
|
||||||
#define GEDIT_DOCUMENT_OUTPUT_STREAM_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_DOCUMENT_OUTPUT_STREAM, GeditDocumentOutputStream const))
|
|
||||||
#define GEDIT_DOCUMENT_OUTPUT_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_DOCUMENT_OUTPUT_STREAM, GeditDocumentOutputStreamClass))
|
|
||||||
#define GEDIT_IS_DOCUMENT_OUTPUT_STREAM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_DOCUMENT_OUTPUT_STREAM))
|
|
||||||
#define GEDIT_IS_DOCUMENT_OUTPUT_STREAM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_DOCUMENT_OUTPUT_STREAM))
|
|
||||||
#define GEDIT_DOCUMENT_OUTPUT_STREAM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_DOCUMENT_OUTPUT_STREAM, GeditDocumentOutputStreamClass))
|
|
||||||
|
|
||||||
typedef struct _GeditDocumentOutputStream GeditDocumentOutputStream;
|
|
||||||
typedef struct _GeditDocumentOutputStreamClass GeditDocumentOutputStreamClass;
|
|
||||||
typedef struct _GeditDocumentOutputStreamPrivate GeditDocumentOutputStreamPrivate;
|
|
||||||
|
|
||||||
struct _GeditDocumentOutputStream
|
|
||||||
{
|
|
||||||
GOutputStream parent;
|
|
||||||
|
|
||||||
GeditDocumentOutputStreamPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _GeditDocumentOutputStreamClass
|
|
||||||
{
|
|
||||||
GOutputStreamClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
GType gedit_document_output_stream_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GOutputStream *gedit_document_output_stream_new (GeditDocument *doc);
|
|
||||||
|
|
||||||
GeditDocumentNewlineType gedit_document_output_stream_detect_newline_type (GeditDocumentOutputStream *stream);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_DOCUMENT_OUTPUT_STREAM_H__ */
|
|
|
@ -1,133 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-document-saver.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2005 - Paolo Maggi
|
|
||||||
* Copyrhing (C) 2007 - Paolo Maggi, Steve Frécinaux
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_DOCUMENT_SAVER_H__
|
|
||||||
#define __GEDIT_DOCUMENT_SAVER_H__
|
|
||||||
|
|
||||||
#include <gedit/gedit-document.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define GEDIT_TYPE_DOCUMENT_SAVER (gedit_document_saver_get_type())
|
|
||||||
#define GEDIT_DOCUMENT_SAVER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_DOCUMENT_SAVER, GeditDocumentSaver))
|
|
||||||
#define GEDIT_DOCUMENT_SAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_DOCUMENT_SAVER, GeditDocumentSaverClass))
|
|
||||||
#define GEDIT_IS_DOCUMENT_SAVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_DOCUMENT_SAVER))
|
|
||||||
#define GEDIT_IS_DOCUMENT_SAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_DOCUMENT_SAVER))
|
|
||||||
#define GEDIT_DOCUMENT_SAVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_DOCUMENT_SAVER, GeditDocumentSaverClass))
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _GeditDocumentSaver GeditDocumentSaver;
|
|
||||||
|
|
||||||
struct _GeditDocumentSaver
|
|
||||||
{
|
|
||||||
GObject object;
|
|
||||||
|
|
||||||
/*< private >*/
|
|
||||||
GFileInfo *info;
|
|
||||||
GeditDocument *document;
|
|
||||||
gboolean used;
|
|
||||||
|
|
||||||
gchar *uri;
|
|
||||||
const GeditEncoding *encoding;
|
|
||||||
GeditDocumentNewlineType newline_type;
|
|
||||||
|
|
||||||
GeditDocumentSaveFlags flags;
|
|
||||||
|
|
||||||
gboolean keep_backup;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _GeditDocumentSaverClass GeditDocumentSaverClass;
|
|
||||||
|
|
||||||
struct _GeditDocumentSaverClass
|
|
||||||
{
|
|
||||||
GObjectClass parent_class;
|
|
||||||
|
|
||||||
/* Signals */
|
|
||||||
void (* saving) (GeditDocumentSaver *saver,
|
|
||||||
gboolean completed,
|
|
||||||
const GError *error);
|
|
||||||
|
|
||||||
/* VTable */
|
|
||||||
void (* save) (GeditDocumentSaver *saver,
|
|
||||||
GTimeVal *old_mtime);
|
|
||||||
goffset (* get_file_size) (GeditDocumentSaver *saver);
|
|
||||||
goffset (* get_bytes_written) (GeditDocumentSaver *saver);
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType gedit_document_saver_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
/* If enconding == NULL, the encoding will be autodetected */
|
|
||||||
GeditDocumentSaver *gedit_document_saver_new (GeditDocument *doc,
|
|
||||||
const gchar *uri,
|
|
||||||
const GeditEncoding *encoding,
|
|
||||||
GeditDocumentNewlineType newline_type,
|
|
||||||
GeditDocumentSaveFlags flags);
|
|
||||||
|
|
||||||
void gedit_document_saver_saving (GeditDocumentSaver *saver,
|
|
||||||
gboolean completed,
|
|
||||||
GError *error);
|
|
||||||
void gedit_document_saver_save (GeditDocumentSaver *saver,
|
|
||||||
GTimeVal *old_mtime);
|
|
||||||
|
|
||||||
#if 0
|
|
||||||
void gedit_document_saver_cancel (GeditDocumentSaver *saver);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
GeditDocument *gedit_document_saver_get_document (GeditDocumentSaver *saver);
|
|
||||||
|
|
||||||
const gchar *gedit_document_saver_get_uri (GeditDocumentSaver *saver);
|
|
||||||
|
|
||||||
/* If backup_uri is NULL no backup will be made */
|
|
||||||
const gchar *gedit_document_saver_get_backup_uri (GeditDocumentSaver *saver);
|
|
||||||
void *gedit_document_saver_set_backup_uri (GeditDocumentSaver *saver,
|
|
||||||
const gchar *backup_uri);
|
|
||||||
|
|
||||||
/* Returns 0 if file size is unknown */
|
|
||||||
goffset gedit_document_saver_get_file_size (GeditDocumentSaver *saver);
|
|
||||||
|
|
||||||
goffset gedit_document_saver_get_bytes_written (GeditDocumentSaver *saver);
|
|
||||||
|
|
||||||
GFileInfo *gedit_document_saver_get_info (GeditDocumentSaver *saver);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_DOCUMENT_SAVER_H__ */
|
|
|
@ -1,338 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-document.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence
|
|
||||||
* Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi
|
|
||||||
* Copyright (C) 2002-2005 Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 1998-2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_DOCUMENT_H__
|
|
||||||
#define __GEDIT_DOCUMENT_H__
|
|
||||||
|
|
||||||
#include <gio/gio.h>
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
#include <gtksourceview/gtksourcebuffer.h>
|
|
||||||
|
|
||||||
#include <gedit/gedit-encodings.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define GEDIT_TYPE_DOCUMENT (gedit_document_get_type())
|
|
||||||
#define GEDIT_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_DOCUMENT, GeditDocument))
|
|
||||||
#define GEDIT_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_DOCUMENT, GeditDocumentClass))
|
|
||||||
#define GEDIT_IS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_DOCUMENT))
|
|
||||||
#define GEDIT_IS_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_DOCUMENT))
|
|
||||||
#define GEDIT_DOCUMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_DOCUMENT, GeditDocumentClass))
|
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
|
||||||
#define GEDIT_METADATA_ATTRIBUTE_POSITION "position"
|
|
||||||
#define GEDIT_METADATA_ATTRIBUTE_ENCODING "encoding"
|
|
||||||
#define GEDIT_METADATA_ATTRIBUTE_LANGUAGE "language"
|
|
||||||
#else
|
|
||||||
#define GEDIT_METADATA_ATTRIBUTE_POSITION "metadata::gedit-position"
|
|
||||||
#define GEDIT_METADATA_ATTRIBUTE_ENCODING "metadata::gedit-encoding"
|
|
||||||
#define GEDIT_METADATA_ATTRIBUTE_LANGUAGE "metadata::gedit-language"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef enum
|
|
||||||
{
|
|
||||||
GEDIT_DOCUMENT_NEWLINE_TYPE_LF,
|
|
||||||
GEDIT_DOCUMENT_NEWLINE_TYPE_CR,
|
|
||||||
GEDIT_DOCUMENT_NEWLINE_TYPE_CR_LF
|
|
||||||
} GeditDocumentNewlineType;
|
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
|
||||||
#define GEDIT_DOCUMENT_NEWLINE_TYPE_DEFAULT GEDIT_DOCUMENT_NEWLINE_TYPE_CR_LF
|
|
||||||
#else
|
|
||||||
#define GEDIT_DOCUMENT_NEWLINE_TYPE_DEFAULT GEDIT_DOCUMENT_NEWLINE_TYPE_LF
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef enum
|
|
||||||
{
|
|
||||||
GEDIT_SEARCH_DONT_SET_FLAGS = 1 << 0,
|
|
||||||
GEDIT_SEARCH_ENTIRE_WORD = 1 << 1,
|
|
||||||
GEDIT_SEARCH_CASE_SENSITIVE = 1 << 2
|
|
||||||
|
|
||||||
} GeditSearchFlags;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* GeditDocumentSaveFlags:
|
|
||||||
* @GEDIT_DOCUMENT_SAVE_IGNORE_MTIME: save file despite external modifications.
|
|
||||||
* @GEDIT_DOCUMENT_SAVE_IGNORE_BACKUP: write the file directly without attempting to backup.
|
|
||||||
* @GEDIT_DOCUMENT_SAVE_PRESERVE_BACKUP: preserve previous backup file, needed to support autosaving.
|
|
||||||
*/
|
|
||||||
typedef enum
|
|
||||||
{
|
|
||||||
GEDIT_DOCUMENT_SAVE_IGNORE_MTIME = 1 << 0,
|
|
||||||
GEDIT_DOCUMENT_SAVE_IGNORE_BACKUP = 1 << 1,
|
|
||||||
GEDIT_DOCUMENT_SAVE_PRESERVE_BACKUP = 1 << 2
|
|
||||||
} GeditDocumentSaveFlags;
|
|
||||||
|
|
||||||
/* Private structure type */
|
|
||||||
typedef struct _GeditDocumentPrivate GeditDocumentPrivate;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _GeditDocument GeditDocument;
|
|
||||||
|
|
||||||
struct _GeditDocument
|
|
||||||
{
|
|
||||||
GtkSourceBuffer buffer;
|
|
||||||
|
|
||||||
/*< private > */
|
|
||||||
GeditDocumentPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _GeditDocumentClass GeditDocumentClass;
|
|
||||||
|
|
||||||
struct _GeditDocumentClass
|
|
||||||
{
|
|
||||||
GtkSourceBufferClass parent_class;
|
|
||||||
|
|
||||||
/* Signals */ // CHECK: ancora da rivedere
|
|
||||||
|
|
||||||
void (* cursor_moved) (GeditDocument *document);
|
|
||||||
|
|
||||||
/* Document load */
|
|
||||||
void (* load) (GeditDocument *document,
|
|
||||||
const gchar *uri,
|
|
||||||
const GeditEncoding *encoding,
|
|
||||||
gint line_pos,
|
|
||||||
gboolean create);
|
|
||||||
|
|
||||||
void (* loading) (GeditDocument *document,
|
|
||||||
goffset size,
|
|
||||||
goffset total_size);
|
|
||||||
|
|
||||||
void (* loaded) (GeditDocument *document,
|
|
||||||
const GError *error);
|
|
||||||
|
|
||||||
/* Document save */
|
|
||||||
void (* save) (GeditDocument *document,
|
|
||||||
const gchar *uri,
|
|
||||||
const GeditEncoding *encoding,
|
|
||||||
GeditDocumentSaveFlags flags);
|
|
||||||
|
|
||||||
void (* saving) (GeditDocument *document,
|
|
||||||
goffset size,
|
|
||||||
goffset total_size);
|
|
||||||
|
|
||||||
void (* saved) (GeditDocument *document,
|
|
||||||
const GError *error);
|
|
||||||
|
|
||||||
void (* search_highlight_updated)
|
|
||||||
(GeditDocument *document,
|
|
||||||
GtkTextIter *start,
|
|
||||||
GtkTextIter *end);
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
#define GEDIT_DOCUMENT_ERROR gedit_document_error_quark ()
|
|
||||||
|
|
||||||
enum
|
|
||||||
{
|
|
||||||
GEDIT_DOCUMENT_ERROR_EXTERNALLY_MODIFIED,
|
|
||||||
GEDIT_DOCUMENT_ERROR_CANT_CREATE_BACKUP,
|
|
||||||
GEDIT_DOCUMENT_ERROR_TOO_BIG,
|
|
||||||
GEDIT_DOCUMENT_ERROR_ENCODING_AUTO_DETECTION_FAILED,
|
|
||||||
GEDIT_DOCUMENT_ERROR_CONVERSION_FALLBACK,
|
|
||||||
GEDIT_DOCUMENT_NUM_ERRORS
|
|
||||||
};
|
|
||||||
|
|
||||||
GQuark gedit_document_error_quark (void);
|
|
||||||
|
|
||||||
GType gedit_document_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GeditDocument *gedit_document_new (void);
|
|
||||||
|
|
||||||
GFile *gedit_document_get_location (GeditDocument *doc);
|
|
||||||
|
|
||||||
gchar *gedit_document_get_uri (GeditDocument *doc);
|
|
||||||
void gedit_document_set_uri (GeditDocument *doc,
|
|
||||||
const gchar *uri);
|
|
||||||
|
|
||||||
gchar *gedit_document_get_uri_for_display
|
|
||||||
(GeditDocument *doc);
|
|
||||||
gchar *gedit_document_get_short_name_for_display
|
|
||||||
(GeditDocument *doc);
|
|
||||||
|
|
||||||
void gedit_document_set_short_name_for_display
|
|
||||||
(GeditDocument *doc,
|
|
||||||
const gchar *name);
|
|
||||||
|
|
||||||
gchar *gedit_document_get_content_type
|
|
||||||
(GeditDocument *doc);
|
|
||||||
|
|
||||||
void gedit_document_set_content_type
|
|
||||||
(GeditDocument *doc,
|
|
||||||
const gchar *content_type);
|
|
||||||
|
|
||||||
gchar *gedit_document_get_mime_type (GeditDocument *doc);
|
|
||||||
|
|
||||||
gboolean gedit_document_get_readonly (GeditDocument *doc);
|
|
||||||
|
|
||||||
void gedit_document_load (GeditDocument *doc,
|
|
||||||
const gchar *uri,
|
|
||||||
const GeditEncoding *encoding,
|
|
||||||
gint line_pos,
|
|
||||||
gboolean create);
|
|
||||||
|
|
||||||
gboolean gedit_document_insert_file (GeditDocument *doc,
|
|
||||||
GtkTextIter *iter,
|
|
||||||
const gchar *uri,
|
|
||||||
const GeditEncoding *encoding);
|
|
||||||
|
|
||||||
gboolean gedit_document_load_cancel (GeditDocument *doc);
|
|
||||||
|
|
||||||
void gedit_document_save (GeditDocument *doc,
|
|
||||||
GeditDocumentSaveFlags flags);
|
|
||||||
|
|
||||||
void gedit_document_save_as (GeditDocument *doc,
|
|
||||||
const gchar *uri,
|
|
||||||
const GeditEncoding *encoding,
|
|
||||||
GeditDocumentSaveFlags flags);
|
|
||||||
|
|
||||||
gboolean gedit_document_is_untouched (GeditDocument *doc);
|
|
||||||
gboolean gedit_document_is_untitled (GeditDocument *doc);
|
|
||||||
|
|
||||||
gboolean gedit_document_is_local (GeditDocument *doc);
|
|
||||||
|
|
||||||
gboolean gedit_document_get_deleted (GeditDocument *doc);
|
|
||||||
|
|
||||||
gboolean gedit_document_goto_line (GeditDocument *doc,
|
|
||||||
gint line);
|
|
||||||
|
|
||||||
gboolean gedit_document_goto_line_offset(GeditDocument *doc,
|
|
||||||
gint line,
|
|
||||||
gint line_offset);
|
|
||||||
|
|
||||||
void gedit_document_set_search_text (GeditDocument *doc,
|
|
||||||
const gchar *text,
|
|
||||||
guint flags);
|
|
||||||
|
|
||||||
gchar *gedit_document_get_search_text (GeditDocument *doc,
|
|
||||||
guint *flags);
|
|
||||||
|
|
||||||
gboolean gedit_document_get_can_search_again
|
|
||||||
(GeditDocument *doc);
|
|
||||||
|
|
||||||
gboolean gedit_document_search_forward (GeditDocument *doc,
|
|
||||||
const GtkTextIter *start,
|
|
||||||
const GtkTextIter *end,
|
|
||||||
GtkTextIter *match_start,
|
|
||||||
GtkTextIter *match_end);
|
|
||||||
|
|
||||||
gboolean gedit_document_search_backward (GeditDocument *doc,
|
|
||||||
const GtkTextIter *start,
|
|
||||||
const GtkTextIter *end,
|
|
||||||
GtkTextIter *match_start,
|
|
||||||
GtkTextIter *match_end);
|
|
||||||
|
|
||||||
gint gedit_document_replace_all (GeditDocument *doc,
|
|
||||||
const gchar *find,
|
|
||||||
const gchar *replace,
|
|
||||||
guint flags);
|
|
||||||
|
|
||||||
void gedit_document_set_language (GeditDocument *doc,
|
|
||||||
GtkSourceLanguage *lang);
|
|
||||||
GtkSourceLanguage
|
|
||||||
*gedit_document_get_language (GeditDocument *doc);
|
|
||||||
|
|
||||||
const GeditEncoding
|
|
||||||
*gedit_document_get_encoding (GeditDocument *doc);
|
|
||||||
|
|
||||||
void gedit_document_set_enable_search_highlighting
|
|
||||||
(GeditDocument *doc,
|
|
||||||
gboolean enable);
|
|
||||||
|
|
||||||
gboolean gedit_document_get_enable_search_highlighting
|
|
||||||
(GeditDocument *doc);
|
|
||||||
|
|
||||||
void gedit_document_set_newline_type (GeditDocument *doc,
|
|
||||||
GeditDocumentNewlineType newline_type);
|
|
||||||
|
|
||||||
GeditDocumentNewlineType
|
|
||||||
gedit_document_get_newline_type (GeditDocument *doc);
|
|
||||||
|
|
||||||
gchar *gedit_document_get_metadata (GeditDocument *doc,
|
|
||||||
const gchar *key);
|
|
||||||
|
|
||||||
void gedit_document_set_metadata (GeditDocument *doc,
|
|
||||||
const gchar *first_key,
|
|
||||||
...);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Non exported functions
|
|
||||||
*/
|
|
||||||
void _gedit_document_set_readonly (GeditDocument *doc,
|
|
||||||
gboolean readonly);
|
|
||||||
|
|
||||||
glong _gedit_document_get_seconds_since_last_save_or_load
|
|
||||||
(GeditDocument *doc);
|
|
||||||
|
|
||||||
/* Note: this is a sync stat: use only on local files */
|
|
||||||
gboolean _gedit_document_check_externally_modified
|
|
||||||
(GeditDocument *doc);
|
|
||||||
|
|
||||||
void _gedit_document_search_region (GeditDocument *doc,
|
|
||||||
const GtkTextIter *start,
|
|
||||||
const GtkTextIter *end);
|
|
||||||
|
|
||||||
/* Search macros */
|
|
||||||
#define GEDIT_SEARCH_IS_DONT_SET_FLAGS(sflags) ((sflags & GEDIT_SEARCH_DONT_SET_FLAGS) != 0)
|
|
||||||
#define GEDIT_SEARCH_SET_DONT_SET_FLAGS(sflags,state) ((state == TRUE) ? \
|
|
||||||
(sflags |= GEDIT_SEARCH_DONT_SET_FLAGS) : (sflags &= ~GEDIT_SEARCH_DONT_SET_FLAGS))
|
|
||||||
|
|
||||||
#define GEDIT_SEARCH_IS_ENTIRE_WORD(sflags) ((sflags & GEDIT_SEARCH_ENTIRE_WORD) != 0)
|
|
||||||
#define GEDIT_SEARCH_SET_ENTIRE_WORD(sflags,state) ((state == TRUE) ? \
|
|
||||||
(sflags |= GEDIT_SEARCH_ENTIRE_WORD) : (sflags &= ~GEDIT_SEARCH_ENTIRE_WORD))
|
|
||||||
|
|
||||||
#define GEDIT_SEARCH_IS_CASE_SENSITIVE(sflags) ((sflags & GEDIT_SEARCH_CASE_SENSITIVE) != 0)
|
|
||||||
#define GEDIT_SEARCH_SET_CASE_SENSITIVE(sflags,state) ((state == TRUE) ? \
|
|
||||||
(sflags |= GEDIT_SEARCH_CASE_SENSITIVE) : (sflags &= ~GEDIT_SEARCH_CASE_SENSITIVE))
|
|
||||||
|
|
||||||
typedef GMountOperation *(*GeditMountOperationFactory)(GeditDocument *doc,
|
|
||||||
gpointer userdata);
|
|
||||||
|
|
||||||
void _gedit_document_set_mount_operation_factory
|
|
||||||
(GeditDocument *doc,
|
|
||||||
GeditMountOperationFactory callback,
|
|
||||||
gpointer userdata);
|
|
||||||
GMountOperation
|
|
||||||
*_gedit_document_create_mount_operation
|
|
||||||
(GeditDocument *doc);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_DOCUMENT_H__ */
|
|
|
@ -1,85 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-documents-panel.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2005 - Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_DOCUMENTS_PANEL_H__
|
|
||||||
#define __GEDIT_DOCUMENTS_PANEL_H__
|
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
|
|
||||||
#include <gedit/gedit-window.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define GEDIT_TYPE_DOCUMENTS_PANEL (gedit_documents_panel_get_type())
|
|
||||||
#define GEDIT_DOCUMENTS_PANEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_DOCUMENTS_PANEL, GeditDocumentsPanel))
|
|
||||||
#define GEDIT_DOCUMENTS_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_DOCUMENTS_PANEL, GeditDocumentsPanelClass))
|
|
||||||
#define GEDIT_IS_DOCUMENTS_PANEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_DOCUMENTS_PANEL))
|
|
||||||
#define GEDIT_IS_DOCUMENTS_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_DOCUMENTS_PANEL))
|
|
||||||
#define GEDIT_DOCUMENTS_PANEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_DOCUMENTS_PANEL, GeditDocumentsPanelClass))
|
|
||||||
|
|
||||||
/* Private structure type */
|
|
||||||
typedef struct _GeditDocumentsPanelPrivate GeditDocumentsPanelPrivate;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _GeditDocumentsPanel GeditDocumentsPanel;
|
|
||||||
|
|
||||||
struct _GeditDocumentsPanel
|
|
||||||
{
|
|
||||||
GtkVBox vbox;
|
|
||||||
|
|
||||||
/*< private > */
|
|
||||||
GeditDocumentsPanelPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _GeditDocumentsPanelClass GeditDocumentsPanelClass;
|
|
||||||
|
|
||||||
struct _GeditDocumentsPanelClass
|
|
||||||
{
|
|
||||||
GtkVBoxClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType gedit_documents_panel_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GtkWidget *gedit_documents_panel_new (GeditWindow *window);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_DOCUMENTS_PANEL_H__ */
|
|
|
@ -1,78 +0,0 @@
|
||||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
|
||||||
/*
|
|
||||||
* gedit-encodings-combo-box.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2003-2005 - Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2003-2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id: gedit-encodings-option-menu.h 4429 2005-12-12 17:28:04Z pborelli $
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_ENCODINGS_COMBO_BOX_H__
|
|
||||||
#define __GEDIT_ENCODINGS_COMBO_BOX_H__
|
|
||||||
|
|
||||||
#include <gtk/gtkoptionmenu.h>
|
|
||||||
#include <gedit/gedit-encodings.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define GEDIT_TYPE_ENCODINGS_COMBO_BOX (gedit_encodings_combo_box_get_type ())
|
|
||||||
#define GEDIT_ENCODINGS_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_ENCODINGS_COMBO_BOX, GeditEncodingsComboBox))
|
|
||||||
#define GEDIT_ENCODINGS_COMBO_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_ENCODINGS_COMBO_BOX, GeditEncodingsComboBoxClass))
|
|
||||||
#define GEDIT_IS_ENCODINGS_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_ENCODINGS_COMBO_BOX))
|
|
||||||
#define GEDIT_IS_ENCODINGS_COMBO_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_ENCODINGS_COMBO_BOX))
|
|
||||||
#define GEDIT_ENCODINGS_COMBO_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_ENCODINGS_COMBO_BOX, GeditEncodingsComboBoxClass))
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct _GeditEncodingsComboBox GeditEncodingsComboBox;
|
|
||||||
typedef struct _GeditEncodingsComboBoxClass GeditEncodingsComboBoxClass;
|
|
||||||
|
|
||||||
typedef struct _GeditEncodingsComboBoxPrivate GeditEncodingsComboBoxPrivate;
|
|
||||||
|
|
||||||
struct _GeditEncodingsComboBox
|
|
||||||
{
|
|
||||||
GtkComboBox parent;
|
|
||||||
|
|
||||||
GeditEncodingsComboBoxPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _GeditEncodingsComboBoxClass
|
|
||||||
{
|
|
||||||
GtkComboBoxClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
GType gedit_encodings_combo_box_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
/* Constructor */
|
|
||||||
GtkWidget *gedit_encodings_combo_box_new (gboolean save_mode);
|
|
||||||
|
|
||||||
const GeditEncoding *gedit_encodings_combo_box_get_selected_encoding (GeditEncodingsComboBox *menu);
|
|
||||||
void gedit_encodings_combo_box_set_selected_encoding (GeditEncodingsComboBox *menu,
|
|
||||||
const GeditEncoding *encoding);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_ENCODINGS_COMBO_BOX_H__ */
|
|
||||||
|
|
||||||
|
|
|
@ -1,89 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-file-chooser-dialog.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2005 - Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_FILE_CHOOSER_DIALOG_H__
|
|
||||||
#define __GEDIT_FILE_CHOOSER_DIALOG_H__
|
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
|
|
||||||
#include <gedit/gedit-encodings.h>
|
|
||||||
#include <gedit/gedit-enum-types.h>
|
|
||||||
#include <gedit/gedit-document.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define GEDIT_TYPE_FILE_CHOOSER_DIALOG (gedit_file_chooser_dialog_get_type ())
|
|
||||||
#define GEDIT_FILE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_FILE_CHOOSER_DIALOG, GeditFileChooserDialog))
|
|
||||||
#define GEDIT_FILE_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_FILE_CHOOSER_DIALOG, GeditFileChooserDialogClass))
|
|
||||||
#define GEDIT_IS_FILE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_FILE_CHOOSER_DIALOG))
|
|
||||||
#define GEDIT_IS_FILE_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_FILE_CHOOSER_DIALOG))
|
|
||||||
#define GEDIT_FILE_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_FILE_CHOOSER_DIALOG, GeditFileChooserDialogClass))
|
|
||||||
|
|
||||||
typedef struct _GeditFileChooserDialog GeditFileChooserDialog;
|
|
||||||
typedef struct _GeditFileChooserDialogClass GeditFileChooserDialogClass;
|
|
||||||
|
|
||||||
typedef struct _GeditFileChooserDialogPrivate GeditFileChooserDialogPrivate;
|
|
||||||
|
|
||||||
struct _GeditFileChooserDialogClass
|
|
||||||
{
|
|
||||||
GtkFileChooserDialogClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _GeditFileChooserDialog
|
|
||||||
{
|
|
||||||
GtkFileChooserDialog parent_instance;
|
|
||||||
|
|
||||||
GeditFileChooserDialogPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
GType gedit_file_chooser_dialog_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GtkWidget *gedit_file_chooser_dialog_new (const gchar *title,
|
|
||||||
GtkWindow *parent,
|
|
||||||
GtkFileChooserAction action,
|
|
||||||
const GeditEncoding *encoding,
|
|
||||||
const gchar *first_button_text,
|
|
||||||
...);
|
|
||||||
|
|
||||||
void gedit_file_chooser_dialog_set_encoding (GeditFileChooserDialog *dialog,
|
|
||||||
const GeditEncoding *encoding);
|
|
||||||
|
|
||||||
const GeditEncoding
|
|
||||||
*gedit_file_chooser_dialog_get_encoding (GeditFileChooserDialog *dialog);
|
|
||||||
|
|
||||||
void gedit_file_chooser_dialog_set_newline_type (GeditFileChooserDialog *dialog,
|
|
||||||
GeditDocumentNewlineType newline_type);
|
|
||||||
|
|
||||||
GeditDocumentNewlineType
|
|
||||||
gedit_file_chooser_dialog_get_newline_type (GeditFileChooserDialog *dialog);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_FILE_CHOOSER_DIALOG_H__ */
|
|
|
@ -1,79 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-gio-document-loader.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2005 - Paolo Maggi
|
|
||||||
* Copyright (C) 2007 - Paolo Maggi, Steve Frécinaux
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2005-2008. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_GIO_DOCUMENT_LOADER_H__
|
|
||||||
#define __GEDIT_GIO_DOCUMENT_LOADER_H__
|
|
||||||
|
|
||||||
#include <gedit/gedit-document.h>
|
|
||||||
#include "gedit-document-loader.h"
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define GEDIT_TYPE_GIO_DOCUMENT_LOADER (gedit_gio_document_loader_get_type())
|
|
||||||
#define GEDIT_GIO_DOCUMENT_LOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_GIO_DOCUMENT_LOADER, GeditGioDocumentLoader))
|
|
||||||
#define GEDIT_GIO_DOCUMENT_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_GIO_DOCUMENT_LOADER, GeditGioDocumentLoaderClass))
|
|
||||||
#define GEDIT_IS_GIO_DOCUMENT_LOADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_GIO_DOCUMENT_LOADER))
|
|
||||||
#define GEDIT_IS_GIO_DOCUMENT_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_GIO_DOCUMENT_LOADER))
|
|
||||||
#define GEDIT_GIO_DOCUMENT_LOADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_GIO_DOCUMENT_LOADER, GeditGioDocumentLoaderClass))
|
|
||||||
|
|
||||||
/* Private structure type */
|
|
||||||
typedef struct _GeditGioDocumentLoaderPrivate GeditGioDocumentLoaderPrivate;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _GeditGioDocumentLoader GeditGioDocumentLoader;
|
|
||||||
|
|
||||||
struct _GeditGioDocumentLoader
|
|
||||||
{
|
|
||||||
GeditDocumentLoader loader;
|
|
||||||
|
|
||||||
/*< private > */
|
|
||||||
GeditGioDocumentLoaderPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef GeditDocumentLoaderClass GeditGioDocumentLoaderClass;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType gedit_gio_document_loader_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_GIO_DOCUMENT_LOADER_H__ */
|
|
|
@ -1,76 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-gio-document-saver.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2005 - Paolo Maggi
|
|
||||||
* Copyrhing (C) 2007 - Paolo Maggi, Steve Frécinaux
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2005-2007. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_GIO_DOCUMENT_SAVER_H__
|
|
||||||
#define __GEDIT_GIO_DOCUMENT_SAVER_H__
|
|
||||||
|
|
||||||
#include <gedit/gedit-document-saver.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define GEDIT_TYPE_GIO_DOCUMENT_SAVER (gedit_gio_document_saver_get_type())
|
|
||||||
#define GEDIT_GIO_DOCUMENT_SAVER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_GIO_DOCUMENT_SAVER, GeditGioDocumentSaver))
|
|
||||||
#define GEDIT_GIO_DOCUMENT_SAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_GIO_DOCUMENT_SAVER, GeditGioDocumentSaverClass))
|
|
||||||
#define GEDIT_IS_GIO_DOCUMENT_SAVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_GIO_DOCUMENT_SAVER))
|
|
||||||
#define GEDIT_IS_GIO_DOCUMENT_SAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_GIO_DOCUMENT_SAVER))
|
|
||||||
#define GEDIT_GIO_DOCUMENT_SAVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_GIO_DOCUMENT_SAVER, GeditGioDocumentSaverClass))
|
|
||||||
|
|
||||||
/* Private structure type */
|
|
||||||
typedef struct _GeditGioDocumentSaverPrivate GeditGioDocumentSaverPrivate;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _GeditGioDocumentSaver GeditGioDocumentSaver;
|
|
||||||
|
|
||||||
struct _GeditGioDocumentSaver
|
|
||||||
{
|
|
||||||
GeditDocumentSaver saver;
|
|
||||||
|
|
||||||
/*< private > */
|
|
||||||
GeditGioDocumentSaverPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef GeditDocumentSaverClass GeditGioDocumentSaverClass;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType gedit_gio_document_saver_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_GIO_DOCUMENT_SAVER_H__ */
|
|
|
@ -1,96 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-history-entry.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2006 - 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 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2006. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_HISTORY_ENTRY_H__
|
|
||||||
#define __GEDIT_HISTORY_ENTRY_H__
|
|
||||||
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define GEDIT_TYPE_HISTORY_ENTRY (gedit_history_entry_get_type ())
|
|
||||||
#define GEDIT_HISTORY_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_HISTORY_ENTRY, GeditHistoryEntry))
|
|
||||||
#define GEDIT_HISTORY_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_HISTORY_ENTRY, GeditHistoryEntryClass))
|
|
||||||
#define GEDIT_IS_HISTORY_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_HISTORY_ENTRY))
|
|
||||||
#define GEDIT_IS_HISTORY_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_HISTORY_ENTRY))
|
|
||||||
#define GEDIT_HISTORY_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_HISTORY_ENTRY, GeditHistoryEntryClass))
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct _GeditHistoryEntry GeditHistoryEntry;
|
|
||||||
typedef struct _GeditHistoryEntryClass GeditHistoryEntryClass;
|
|
||||||
typedef struct _GeditHistoryEntryPrivate GeditHistoryEntryPrivate;
|
|
||||||
|
|
||||||
struct _GeditHistoryEntryClass
|
|
||||||
{
|
|
||||||
GtkComboBoxEntryClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _GeditHistoryEntry
|
|
||||||
{
|
|
||||||
GtkComboBoxEntry parent_instance;
|
|
||||||
|
|
||||||
GeditHistoryEntryPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
GType gedit_history_entry_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GtkWidget *gedit_history_entry_new (const gchar *history_id,
|
|
||||||
gboolean enable_completion);
|
|
||||||
|
|
||||||
void gedit_history_entry_prepend_text (GeditHistoryEntry *entry,
|
|
||||||
const gchar *text);
|
|
||||||
|
|
||||||
void gedit_history_entry_append_text (GeditHistoryEntry *entry,
|
|
||||||
const gchar *text);
|
|
||||||
|
|
||||||
void gedit_history_entry_clear (GeditHistoryEntry *entry);
|
|
||||||
|
|
||||||
void gedit_history_entry_set_history_length (GeditHistoryEntry *entry,
|
|
||||||
guint max_saved);
|
|
||||||
|
|
||||||
guint gedit_history_entry_get_history_length (GeditHistoryEntry *gentry);
|
|
||||||
|
|
||||||
gchar *gedit_history_entry_get_history_id (GeditHistoryEntry *entry);
|
|
||||||
|
|
||||||
void gedit_history_entry_set_enable_completion
|
|
||||||
(GeditHistoryEntry *entry,
|
|
||||||
gboolean enable);
|
|
||||||
|
|
||||||
gboolean gedit_history_entry_get_enable_completion
|
|
||||||
(GeditHistoryEntry *entry);
|
|
||||||
|
|
||||||
GtkWidget *gedit_history_entry_get_entry (GeditHistoryEntry *entry);
|
|
||||||
|
|
||||||
typedef gchar * (* GeditHistoryEntryEscapeFunc) (const gchar *str);
|
|
||||||
void gedit_history_entry_set_escape_func (GeditHistoryEntry *entry,
|
|
||||||
GeditHistoryEntryEscapeFunc escape_func);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_HISTORY_ENTRY_H__ */
|
|
|
@ -1,129 +0,0 @@
|
||||||
#ifndef __GEDIT_MESSAGE_BUS_H__
|
|
||||||
#define __GEDIT_MESSAGE_BUS_H__
|
|
||||||
|
|
||||||
#include <glib-object.h>
|
|
||||||
#include <gedit/gedit-message.h>
|
|
||||||
#include <gedit/gedit-message-type.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define GEDIT_TYPE_MESSAGE_BUS (gedit_message_bus_get_type ())
|
|
||||||
#define GEDIT_MESSAGE_BUS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_MESSAGE_BUS, GeditMessageBus))
|
|
||||||
#define GEDIT_MESSAGE_BUS_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_MESSAGE_BUS, GeditMessageBus const))
|
|
||||||
#define GEDIT_MESSAGE_BUS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_MESSAGE_BUS, GeditMessageBusClass))
|
|
||||||
#define GEDIT_IS_MESSAGE_BUS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_MESSAGE_BUS))
|
|
||||||
#define GEDIT_IS_MESSAGE_BUS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_MESSAGE_BUS))
|
|
||||||
#define GEDIT_MESSAGE_BUS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_MESSAGE_BUS, GeditMessageBusClass))
|
|
||||||
|
|
||||||
typedef struct _GeditMessageBus GeditMessageBus;
|
|
||||||
typedef struct _GeditMessageBusClass GeditMessageBusClass;
|
|
||||||
typedef struct _GeditMessageBusPrivate GeditMessageBusPrivate;
|
|
||||||
|
|
||||||
struct _GeditMessageBus {
|
|
||||||
GObject parent;
|
|
||||||
|
|
||||||
GeditMessageBusPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _GeditMessageBusClass {
|
|
||||||
GObjectClass parent_class;
|
|
||||||
|
|
||||||
void (*dispatch) (GeditMessageBus *bus,
|
|
||||||
GeditMessage *message);
|
|
||||||
void (*registered) (GeditMessageBus *bus,
|
|
||||||
GeditMessageType *message_type);
|
|
||||||
void (*unregistered) (GeditMessageBus *bus,
|
|
||||||
GeditMessageType *message_type);
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef void (* GeditMessageCallback) (GeditMessageBus *bus,
|
|
||||||
GeditMessage *message,
|
|
||||||
gpointer userdata);
|
|
||||||
|
|
||||||
typedef void (* GeditMessageBusForeach) (GeditMessageType *message_type,
|
|
||||||
gpointer userdata);
|
|
||||||
|
|
||||||
GType gedit_message_bus_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GeditMessageBus *gedit_message_bus_get_default (void);
|
|
||||||
GeditMessageBus *gedit_message_bus_new (void);
|
|
||||||
|
|
||||||
/* registering messages */
|
|
||||||
GeditMessageType *gedit_message_bus_lookup (GeditMessageBus *bus,
|
|
||||||
const gchar *object_path,
|
|
||||||
const gchar *method);
|
|
||||||
GeditMessageType *gedit_message_bus_register (GeditMessageBus *bus,
|
|
||||||
const gchar *object_path,
|
|
||||||
const gchar *method,
|
|
||||||
guint num_optional,
|
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
|
||||||
|
|
||||||
void gedit_message_bus_unregister (GeditMessageBus *bus,
|
|
||||||
GeditMessageType *message_type);
|
|
||||||
|
|
||||||
void gedit_message_bus_unregister_all (GeditMessageBus *bus,
|
|
||||||
const gchar *object_path);
|
|
||||||
|
|
||||||
gboolean gedit_message_bus_is_registered (GeditMessageBus *bus,
|
|
||||||
const gchar *object_path,
|
|
||||||
const gchar *method);
|
|
||||||
|
|
||||||
void gedit_message_bus_foreach (GeditMessageBus *bus,
|
|
||||||
GeditMessageBusForeach func,
|
|
||||||
gpointer userdata);
|
|
||||||
|
|
||||||
|
|
||||||
/* connecting to message events */
|
|
||||||
guint gedit_message_bus_connect (GeditMessageBus *bus,
|
|
||||||
const gchar *object_path,
|
|
||||||
const gchar *method,
|
|
||||||
GeditMessageCallback callback,
|
|
||||||
gpointer userdata,
|
|
||||||
GDestroyNotify destroy_data);
|
|
||||||
|
|
||||||
void gedit_message_bus_disconnect (GeditMessageBus *bus,
|
|
||||||
guint id);
|
|
||||||
|
|
||||||
void gedit_message_bus_disconnect_by_func (GeditMessageBus *bus,
|
|
||||||
const gchar *object_path,
|
|
||||||
const gchar *method,
|
|
||||||
GeditMessageCallback callback,
|
|
||||||
gpointer userdata);
|
|
||||||
|
|
||||||
/* blocking message event callbacks */
|
|
||||||
void gedit_message_bus_block (GeditMessageBus *bus,
|
|
||||||
guint id);
|
|
||||||
void gedit_message_bus_block_by_func (GeditMessageBus *bus,
|
|
||||||
const gchar *object_path,
|
|
||||||
const gchar *method,
|
|
||||||
GeditMessageCallback callback,
|
|
||||||
gpointer userdata);
|
|
||||||
|
|
||||||
void gedit_message_bus_unblock (GeditMessageBus *bus,
|
|
||||||
guint id);
|
|
||||||
void gedit_message_bus_unblock_by_func (GeditMessageBus *bus,
|
|
||||||
const gchar *object_path,
|
|
||||||
const gchar *method,
|
|
||||||
GeditMessageCallback callback,
|
|
||||||
gpointer userdata);
|
|
||||||
|
|
||||||
/* sending messages */
|
|
||||||
void gedit_message_bus_send_message (GeditMessageBus *bus,
|
|
||||||
GeditMessage *message);
|
|
||||||
void gedit_message_bus_send_message_sync (GeditMessageBus *bus,
|
|
||||||
GeditMessage *message);
|
|
||||||
|
|
||||||
void gedit_message_bus_send (GeditMessageBus *bus,
|
|
||||||
const gchar *object_path,
|
|
||||||
const gchar *method,
|
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
|
||||||
GeditMessage *gedit_message_bus_send_sync (GeditMessageBus *bus,
|
|
||||||
const gchar *object_path,
|
|
||||||
const gchar *method,
|
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_MESSAGE_BUS_H__ */
|
|
||||||
|
|
||||||
// ex:ts=8:noet:
|
|
|
@ -1,67 +0,0 @@
|
||||||
#ifndef __GEDIT_MESSAGE_TYPE_H__
|
|
||||||
#define __GEDIT_MESSAGE_TYPE_H__
|
|
||||||
|
|
||||||
#include <glib-object.h>
|
|
||||||
#include <stdarg.h>
|
|
||||||
|
|
||||||
#include "gedit-message.h"
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define GEDIT_TYPE_MESSAGE_TYPE (gedit_message_type_get_type ())
|
|
||||||
#define GEDIT_MESSAGE_TYPE(x) ((GeditMessageType *)(x))
|
|
||||||
|
|
||||||
typedef void (*GeditMessageTypeForeach) (const gchar *key,
|
|
||||||
GType type,
|
|
||||||
gboolean required,
|
|
||||||
gpointer user_data);
|
|
||||||
|
|
||||||
typedef struct _GeditMessageType GeditMessageType;
|
|
||||||
|
|
||||||
GType gedit_message_type_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
gboolean gedit_message_type_is_supported (GType type);
|
|
||||||
gchar *gedit_message_type_identifier (const gchar *object_path,
|
|
||||||
const gchar *method);
|
|
||||||
gboolean gedit_message_type_is_valid_object_path (const gchar *object_path);
|
|
||||||
|
|
||||||
GeditMessageType *gedit_message_type_new (const gchar *object_path,
|
|
||||||
const gchar *method,
|
|
||||||
guint num_optional,
|
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
|
||||||
GeditMessageType *gedit_message_type_new_valist (const gchar *object_path,
|
|
||||||
const gchar *method,
|
|
||||||
guint num_optional,
|
|
||||||
va_list va_args);
|
|
||||||
|
|
||||||
void gedit_message_type_set (GeditMessageType *message_type,
|
|
||||||
guint num_optional,
|
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
|
||||||
void gedit_message_type_set_valist (GeditMessageType *message_type,
|
|
||||||
guint num_optional,
|
|
||||||
va_list va_args);
|
|
||||||
|
|
||||||
GeditMessageType *gedit_message_type_ref (GeditMessageType *message_type);
|
|
||||||
void gedit_message_type_unref (GeditMessageType *message_type);
|
|
||||||
|
|
||||||
|
|
||||||
GeditMessage *gedit_message_type_instantiate_valist (GeditMessageType *message_type,
|
|
||||||
va_list va_args);
|
|
||||||
GeditMessage *gedit_message_type_instantiate (GeditMessageType *message_type,
|
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
|
||||||
|
|
||||||
const gchar *gedit_message_type_get_object_path (GeditMessageType *message_type);
|
|
||||||
const gchar *gedit_message_type_get_method (GeditMessageType *message_type);
|
|
||||||
|
|
||||||
GType gedit_message_type_lookup (GeditMessageType *message_type,
|
|
||||||
const gchar *key);
|
|
||||||
|
|
||||||
void gedit_message_type_foreach (GeditMessageType *message_type,
|
|
||||||
GeditMessageTypeForeach func,
|
|
||||||
gpointer user_data);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_MESSAGE_TYPE_H__ */
|
|
||||||
|
|
||||||
// ex:ts=8:noet:
|
|
|
@ -1,71 +0,0 @@
|
||||||
#ifndef __GEDIT_MESSAGE_H__
|
|
||||||
#define __GEDIT_MESSAGE_H__
|
|
||||||
|
|
||||||
#include <glib-object.h>
|
|
||||||
#include <stdarg.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define GEDIT_TYPE_MESSAGE (gedit_message_get_type ())
|
|
||||||
#define GEDIT_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_MESSAGE, GeditMessage))
|
|
||||||
#define GEDIT_MESSAGE_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_MESSAGE, GeditMessage const))
|
|
||||||
#define GEDIT_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_MESSAGE, GeditMessageClass))
|
|
||||||
#define GEDIT_IS_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_MESSAGE))
|
|
||||||
#define GEDIT_IS_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_MESSAGE))
|
|
||||||
#define GEDIT_MESSAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_MESSAGE, GeditMessageClass))
|
|
||||||
|
|
||||||
typedef struct _GeditMessage GeditMessage;
|
|
||||||
typedef struct _GeditMessageClass GeditMessageClass;
|
|
||||||
typedef struct _GeditMessagePrivate GeditMessagePrivate;
|
|
||||||
|
|
||||||
struct _GeditMessage {
|
|
||||||
GObject parent;
|
|
||||||
|
|
||||||
GeditMessagePrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _GeditMessageClass {
|
|
||||||
GObjectClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
GType gedit_message_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
struct _GeditMessageType gedit_message_get_message_type (GeditMessage *message);
|
|
||||||
|
|
||||||
void gedit_message_get (GeditMessage *message,
|
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
|
||||||
void gedit_message_get_valist (GeditMessage *message,
|
|
||||||
va_list var_args);
|
|
||||||
void gedit_message_get_value (GeditMessage *message,
|
|
||||||
const gchar *key,
|
|
||||||
GValue *value);
|
|
||||||
|
|
||||||
void gedit_message_set (GeditMessage *message,
|
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
|
||||||
void gedit_message_set_valist (GeditMessage *message,
|
|
||||||
va_list var_args);
|
|
||||||
void gedit_message_set_value (GeditMessage *message,
|
|
||||||
const gchar *key,
|
|
||||||
GValue *value);
|
|
||||||
void gedit_message_set_valuesv (GeditMessage *message,
|
|
||||||
const gchar **keys,
|
|
||||||
GValue *values,
|
|
||||||
gint n_values);
|
|
||||||
|
|
||||||
const gchar *gedit_message_get_object_path (GeditMessage *message);
|
|
||||||
const gchar *gedit_message_get_method (GeditMessage *message);
|
|
||||||
|
|
||||||
gboolean gedit_message_has_key (GeditMessage *message,
|
|
||||||
const gchar *key);
|
|
||||||
|
|
||||||
GType gedit_message_get_key_type (GeditMessage *message,
|
|
||||||
const gchar *key);
|
|
||||||
|
|
||||||
gboolean gedit_message_validate (GeditMessage *message);
|
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_MESSAGE_H__ */
|
|
||||||
|
|
||||||
// ex:ts=8:noet:
|
|
|
@ -1,143 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-notebook.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2005 - Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* This file is a modified version of the epiphany file ephy-notebook.h
|
|
||||||
* Here the relevant copyright:
|
|
||||||
*
|
|
||||||
* Copyright (C) 2002 Christophe Fergeau
|
|
||||||
* Copyright (C) 2003 Marco Pesenti Gritti
|
|
||||||
* Copyright (C) 2003, 2004 Christian Persch
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef GEDIT_NOTEBOOK_H
|
|
||||||
#define GEDIT_NOTEBOOK_H
|
|
||||||
|
|
||||||
#include <gedit/gedit-tab.h>
|
|
||||||
|
|
||||||
#include <glib.h>
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define GEDIT_TYPE_NOTEBOOK (gedit_notebook_get_type ())
|
|
||||||
#define GEDIT_NOTEBOOK(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GEDIT_TYPE_NOTEBOOK, GeditNotebook))
|
|
||||||
#define GEDIT_NOTEBOOK_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GEDIT_TYPE_NOTEBOOK, GeditNotebookClass))
|
|
||||||
#define GEDIT_IS_NOTEBOOK(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GEDIT_TYPE_NOTEBOOK))
|
|
||||||
#define GEDIT_IS_NOTEBOOK_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GEDIT_TYPE_NOTEBOOK))
|
|
||||||
#define GEDIT_NOTEBOOK_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GEDIT_TYPE_NOTEBOOK, GeditNotebookClass))
|
|
||||||
|
|
||||||
/* Private structure type */
|
|
||||||
typedef struct _GeditNotebookPrivate GeditNotebookPrivate;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _GeditNotebook GeditNotebook;
|
|
||||||
|
|
||||||
struct _GeditNotebook
|
|
||||||
{
|
|
||||||
GtkNotebook notebook;
|
|
||||||
|
|
||||||
/*< private >*/
|
|
||||||
GeditNotebookPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _GeditNotebookClass GeditNotebookClass;
|
|
||||||
|
|
||||||
struct _GeditNotebookClass
|
|
||||||
{
|
|
||||||
GtkNotebookClass parent_class;
|
|
||||||
|
|
||||||
/* Signals */
|
|
||||||
void (* tab_added) (GeditNotebook *notebook,
|
|
||||||
GeditTab *tab);
|
|
||||||
void (* tab_removed) (GeditNotebook *notebook,
|
|
||||||
GeditTab *tab);
|
|
||||||
void (* tab_detached) (GeditNotebook *notebook,
|
|
||||||
GeditTab *tab);
|
|
||||||
void (* tabs_reordered) (GeditNotebook *notebook);
|
|
||||||
void (* tab_close_request)
|
|
||||||
(GeditNotebook *notebook,
|
|
||||||
GeditTab *tab);
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType gedit_notebook_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GtkWidget *gedit_notebook_new (void);
|
|
||||||
|
|
||||||
void gedit_notebook_add_tab (GeditNotebook *nb,
|
|
||||||
GeditTab *tab,
|
|
||||||
gint position,
|
|
||||||
gboolean jump_to);
|
|
||||||
|
|
||||||
void gedit_notebook_remove_tab (GeditNotebook *nb,
|
|
||||||
GeditTab *tab);
|
|
||||||
|
|
||||||
void gedit_notebook_remove_all_tabs (GeditNotebook *nb);
|
|
||||||
|
|
||||||
void gedit_notebook_reorder_tab (GeditNotebook *src,
|
|
||||||
GeditTab *tab,
|
|
||||||
gint dest_position);
|
|
||||||
|
|
||||||
void gedit_notebook_move_tab (GeditNotebook *src,
|
|
||||||
GeditNotebook *dest,
|
|
||||||
GeditTab *tab,
|
|
||||||
gint dest_position);
|
|
||||||
|
|
||||||
/* FIXME: do we really need this function ? */
|
|
||||||
void gedit_notebook_set_always_show_tabs
|
|
||||||
(GeditNotebook *nb,
|
|
||||||
gboolean show_tabs);
|
|
||||||
|
|
||||||
void gedit_notebook_set_close_buttons_sensitive
|
|
||||||
(GeditNotebook *nb,
|
|
||||||
gboolean sensitive);
|
|
||||||
|
|
||||||
gboolean gedit_notebook_get_close_buttons_sensitive
|
|
||||||
(GeditNotebook *nb);
|
|
||||||
|
|
||||||
void gedit_notebook_set_tab_drag_and_drop_enabled
|
|
||||||
(GeditNotebook *nb,
|
|
||||||
gboolean enable);
|
|
||||||
|
|
||||||
gboolean gedit_notebook_get_tab_drag_and_drop_enabled
|
|
||||||
(GeditNotebook *nb);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* GEDIT_NOTEBOOK_H */
|
|
|
@ -1,94 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-object-module.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2005 - Paolo Maggi
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* This is a modified version of gedit-module.h from Epiphany source code.
|
|
||||||
* Here the original copyright assignment:
|
|
||||||
*
|
|
||||||
* Copyright (C) 2003 Marco Pesenti Gritti
|
|
||||||
* Copyright (C) 2003, 2004 Christian Persch
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id: gedit-module.h 6263 2008-05-05 10:52:10Z sfre $
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_OBJECT_MODULE_H__
|
|
||||||
#define __GEDIT_OBJECT_MODULE_H__
|
|
||||||
|
|
||||||
#include <glib-object.h>
|
|
||||||
#include <gmodule.h>
|
|
||||||
#include <stdarg.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define GEDIT_TYPE_OBJECT_MODULE (gedit_object_module_get_type ())
|
|
||||||
#define GEDIT_OBJECT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_OBJECT_MODULE, GeditObjectModule))
|
|
||||||
#define GEDIT_OBJECT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_OBJECT_MODULE, GeditObjectModuleClass))
|
|
||||||
#define GEDIT_IS_OBJECT_MODULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_OBJECT_MODULE))
|
|
||||||
#define GEDIT_IS_OBJECT_MODULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_OBJECT_MODULE))
|
|
||||||
#define GEDIT_OBJECT_MODULE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_OBJECT_MODULE, GeditObjectModuleClass))
|
|
||||||
|
|
||||||
typedef struct _GeditObjectModule GeditObjectModule;
|
|
||||||
typedef struct _GeditObjectModulePrivate GeditObjectModulePrivate;
|
|
||||||
|
|
||||||
struct _GeditObjectModule
|
|
||||||
{
|
|
||||||
GTypeModule parent;
|
|
||||||
|
|
||||||
GeditObjectModulePrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef struct _GeditObjectModuleClass GeditObjectModuleClass;
|
|
||||||
|
|
||||||
struct _GeditObjectModuleClass
|
|
||||||
{
|
|
||||||
GTypeModuleClass parent_class;
|
|
||||||
|
|
||||||
/* Virtual class methods */
|
|
||||||
void (* garbage_collect) ();
|
|
||||||
};
|
|
||||||
|
|
||||||
GType gedit_object_module_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GeditObjectModule *gedit_object_module_new (const gchar *module_name,
|
|
||||||
const gchar *path,
|
|
||||||
const gchar *type_registration,
|
|
||||||
gboolean resident);
|
|
||||||
|
|
||||||
GObject *gedit_object_module_new_object (GeditObjectModule *module,
|
|
||||||
const gchar *first_property_name,
|
|
||||||
...);
|
|
||||||
|
|
||||||
GType gedit_object_module_get_object_type (GeditObjectModule *module);
|
|
||||||
const gchar *gedit_object_module_get_path (GeditObjectModule *module);
|
|
||||||
const gchar *gedit_object_module_get_module_name (GeditObjectModule *module);
|
|
||||||
const gchar *gedit_object_module_get_type_registration (GeditObjectModule *module);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif
|
|
|
@ -1,130 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-panel.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2005 - Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_PANEL_H__
|
|
||||||
#define __GEDIT_PANEL_H__
|
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define GEDIT_TYPE_PANEL (gedit_panel_get_type())
|
|
||||||
#define GEDIT_PANEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_PANEL, GeditPanel))
|
|
||||||
#define GEDIT_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_PANEL, GeditPanelClass))
|
|
||||||
#define GEDIT_IS_PANEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_PANEL))
|
|
||||||
#define GEDIT_IS_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_PANEL))
|
|
||||||
#define GEDIT_PANEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_PANEL, GeditPanelClass))
|
|
||||||
|
|
||||||
/* Private structure type */
|
|
||||||
typedef struct _GeditPanelPrivate GeditPanelPrivate;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _GeditPanel GeditPanel;
|
|
||||||
|
|
||||||
struct _GeditPanel
|
|
||||||
{
|
|
||||||
GtkVBox vbox;
|
|
||||||
|
|
||||||
/*< private > */
|
|
||||||
GeditPanelPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _GeditPanelClass GeditPanelClass;
|
|
||||||
|
|
||||||
struct _GeditPanelClass
|
|
||||||
{
|
|
||||||
GtkVBoxClass parent_class;
|
|
||||||
|
|
||||||
void (* item_added) (GeditPanel *panel,
|
|
||||||
GtkWidget *item);
|
|
||||||
void (* item_removed) (GeditPanel *panel,
|
|
||||||
GtkWidget *item);
|
|
||||||
|
|
||||||
/* Keybinding signals */
|
|
||||||
void (* close) (GeditPanel *panel);
|
|
||||||
void (* focus_document) (GeditPanel *panel);
|
|
||||||
|
|
||||||
/* Padding for future expansion */
|
|
||||||
void (*_gedit_reserved1) (void);
|
|
||||||
void (*_gedit_reserved2) (void);
|
|
||||||
void (*_gedit_reserved3) (void);
|
|
||||||
void (*_gedit_reserved4) (void);
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType gedit_panel_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GtkWidget *gedit_panel_new (GtkOrientation orientation);
|
|
||||||
|
|
||||||
void gedit_panel_add_item (GeditPanel *panel,
|
|
||||||
GtkWidget *item,
|
|
||||||
const gchar *name,
|
|
||||||
GtkWidget *image);
|
|
||||||
|
|
||||||
void gedit_panel_add_item_with_stock_icon (GeditPanel *panel,
|
|
||||||
GtkWidget *item,
|
|
||||||
const gchar *name,
|
|
||||||
const gchar *stock_id);
|
|
||||||
|
|
||||||
gboolean gedit_panel_remove_item (GeditPanel *panel,
|
|
||||||
GtkWidget *item);
|
|
||||||
|
|
||||||
gboolean gedit_panel_activate_item (GeditPanel *panel,
|
|
||||||
GtkWidget *item);
|
|
||||||
|
|
||||||
gboolean gedit_panel_item_is_active (GeditPanel *panel,
|
|
||||||
GtkWidget *item);
|
|
||||||
|
|
||||||
GtkOrientation gedit_panel_get_orientation (GeditPanel *panel);
|
|
||||||
|
|
||||||
gint gedit_panel_get_n_items (GeditPanel *panel);
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Non exported functions
|
|
||||||
*/
|
|
||||||
gint _gedit_panel_get_active_item_id (GeditPanel *panel);
|
|
||||||
|
|
||||||
void _gedit_panel_set_active_item_by_id (GeditPanel *panel,
|
|
||||||
gint id);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_PANEL_H__ */
|
|
|
@ -1,63 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-plugin-info.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2002-2005 - Paolo Maggi
|
|
||||||
* Copyright (C) 2007 - Paolo Maggi, Steve Frécinaux
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2002-2007. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_PLUGIN_INFO_H__
|
|
||||||
#define __GEDIT_PLUGIN_INFO_H__
|
|
||||||
|
|
||||||
#include <glib-object.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define GEDIT_TYPE_PLUGIN_INFO (gedit_plugin_info_get_type ())
|
|
||||||
#define GEDIT_PLUGIN_INFO(obj) ((GeditPluginInfo *) (obj))
|
|
||||||
|
|
||||||
typedef struct _GeditPluginInfo GeditPluginInfo;
|
|
||||||
|
|
||||||
GType gedit_plugin_info_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
gboolean gedit_plugin_info_is_active (GeditPluginInfo *info);
|
|
||||||
gboolean gedit_plugin_info_is_available (GeditPluginInfo *info);
|
|
||||||
gboolean gedit_plugin_info_is_configurable (GeditPluginInfo *info);
|
|
||||||
|
|
||||||
const gchar *gedit_plugin_info_get_module_name (GeditPluginInfo *info);
|
|
||||||
|
|
||||||
const gchar *gedit_plugin_info_get_name (GeditPluginInfo *info);
|
|
||||||
const gchar *gedit_plugin_info_get_description (GeditPluginInfo *info);
|
|
||||||
const gchar *gedit_plugin_info_get_icon_name (GeditPluginInfo *info);
|
|
||||||
const gchar **gedit_plugin_info_get_authors (GeditPluginInfo *info);
|
|
||||||
const gchar *gedit_plugin_info_get_website (GeditPluginInfo *info);
|
|
||||||
const gchar *gedit_plugin_info_get_copyright (GeditPluginInfo *info);
|
|
||||||
const gchar *gedit_plugin_info_get_version (GeditPluginInfo *info);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_PLUGIN_INFO_H__ */
|
|
||||||
|
|
|
@ -1,83 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-plugin-manager.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2002-2005 Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2002-2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_PLUGIN_MANAGER_H__
|
|
||||||
#define __GEDIT_PLUGIN_MANAGER_H__
|
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define GEDIT_TYPE_PLUGIN_MANAGER (gedit_plugin_manager_get_type())
|
|
||||||
#define GEDIT_PLUGIN_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_PLUGIN_MANAGER, GeditPluginManager))
|
|
||||||
#define GEDIT_PLUGIN_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_PLUGIN_MANAGER, GeditPluginManagerClass))
|
|
||||||
#define GEDIT_IS_PLUGIN_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_PLUGIN_MANAGER))
|
|
||||||
#define GEDIT_IS_PLUGIN_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_PLUGIN_MANAGER))
|
|
||||||
#define GEDIT_PLUGIN_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_PLUGIN_MANAGER, GeditPluginManagerClass))
|
|
||||||
|
|
||||||
/* Private structure type */
|
|
||||||
typedef struct _GeditPluginManagerPrivate GeditPluginManagerPrivate;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _GeditPluginManager GeditPluginManager;
|
|
||||||
|
|
||||||
struct _GeditPluginManager
|
|
||||||
{
|
|
||||||
GtkVBox vbox;
|
|
||||||
|
|
||||||
/*< private > */
|
|
||||||
GeditPluginManagerPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _GeditPluginManagerClass GeditPluginManagerClass;
|
|
||||||
|
|
||||||
struct _GeditPluginManagerClass
|
|
||||||
{
|
|
||||||
GtkVBoxClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType gedit_plugin_manager_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GtkWidget *gedit_plugin_manager_new (void);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_PLUGIN_MANAGER_H__ */
|
|
|
@ -1,107 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-plugins-engine.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2002-2005 - Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2002-2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_PLUGINS_ENGINE_H__
|
|
||||||
#define __GEDIT_PLUGINS_ENGINE_H__
|
|
||||||
|
|
||||||
#include <glib.h>
|
|
||||||
#include "gedit-window.h"
|
|
||||||
#include "gedit-plugin-info.h"
|
|
||||||
#include "gedit-plugin.h"
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define GEDIT_TYPE_PLUGINS_ENGINE (gedit_plugins_engine_get_type ())
|
|
||||||
#define GEDIT_PLUGINS_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_PLUGINS_ENGINE, GeditPluginsEngine))
|
|
||||||
#define GEDIT_PLUGINS_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_PLUGINS_ENGINE, GeditPluginsEngineClass))
|
|
||||||
#define GEDIT_IS_PLUGINS_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_PLUGINS_ENGINE))
|
|
||||||
#define GEDIT_IS_PLUGINS_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_PLUGINS_ENGINE))
|
|
||||||
#define GEDIT_PLUGINS_ENGINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_PLUGINS_ENGINE, GeditPluginsEngineClass))
|
|
||||||
|
|
||||||
typedef struct _GeditPluginsEngine GeditPluginsEngine;
|
|
||||||
typedef struct _GeditPluginsEnginePrivate GeditPluginsEnginePrivate;
|
|
||||||
|
|
||||||
struct _GeditPluginsEngine
|
|
||||||
{
|
|
||||||
GObject parent;
|
|
||||||
GeditPluginsEnginePrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef struct _GeditPluginsEngineClass GeditPluginsEngineClass;
|
|
||||||
|
|
||||||
struct _GeditPluginsEngineClass
|
|
||||||
{
|
|
||||||
GObjectClass parent_class;
|
|
||||||
|
|
||||||
void (* activate_plugin) (GeditPluginsEngine *engine,
|
|
||||||
GeditPluginInfo *info);
|
|
||||||
|
|
||||||
void (* deactivate_plugin) (GeditPluginsEngine *engine,
|
|
||||||
GeditPluginInfo *info);
|
|
||||||
};
|
|
||||||
|
|
||||||
GType gedit_plugins_engine_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GeditPluginsEngine *gedit_plugins_engine_get_default (void);
|
|
||||||
|
|
||||||
void gedit_plugins_engine_garbage_collect (GeditPluginsEngine *engine);
|
|
||||||
|
|
||||||
const GList *gedit_plugins_engine_get_plugin_list (GeditPluginsEngine *engine);
|
|
||||||
|
|
||||||
GeditPluginInfo *gedit_plugins_engine_get_plugin_info (GeditPluginsEngine *engine,
|
|
||||||
const gchar *name);
|
|
||||||
|
|
||||||
/* plugin load and unloading (overall, for all windows) */
|
|
||||||
gboolean gedit_plugins_engine_activate_plugin (GeditPluginsEngine *engine,
|
|
||||||
GeditPluginInfo *info);
|
|
||||||
gboolean gedit_plugins_engine_deactivate_plugin (GeditPluginsEngine *engine,
|
|
||||||
GeditPluginInfo *info);
|
|
||||||
|
|
||||||
void gedit_plugins_engine_configure_plugin (GeditPluginsEngine *engine,
|
|
||||||
GeditPluginInfo *info,
|
|
||||||
GtkWindow *parent);
|
|
||||||
|
|
||||||
/* plugin activation/deactivation per window, private to GeditWindow */
|
|
||||||
void gedit_plugins_engine_activate_plugins (GeditPluginsEngine *engine,
|
|
||||||
GeditWindow *window);
|
|
||||||
void gedit_plugins_engine_deactivate_plugins (GeditPluginsEngine *engine,
|
|
||||||
GeditWindow *window);
|
|
||||||
void gedit_plugins_engine_update_plugins_ui (GeditPluginsEngine *engine,
|
|
||||||
GeditWindow *window);
|
|
||||||
|
|
||||||
/* private for mateconf notification */
|
|
||||||
void gedit_plugins_engine_active_plugins_changed
|
|
||||||
(GeditPluginsEngine *engine);
|
|
||||||
|
|
||||||
void gedit_plugins_engine_rescan_plugins (GeditPluginsEngine *engine);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_PLUGINS_ENGINE_H__ */
|
|
|
@ -1,84 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-prefs-manager-app.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2002-2005 Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2002-2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_PREFS_MANAGER_APP_H__
|
|
||||||
#define __GEDIT_PREFS_MANAGER_APP_H__
|
|
||||||
|
|
||||||
#include <glib.h>
|
|
||||||
#include <gedit/gedit-prefs-manager.h>
|
|
||||||
|
|
||||||
/** LIFE CYCLE MANAGEMENT FUNCTIONS **/
|
|
||||||
|
|
||||||
gboolean gedit_prefs_manager_app_init (void);
|
|
||||||
|
|
||||||
/* This function must be called before exiting gedit */
|
|
||||||
void gedit_prefs_manager_app_shutdown (void);
|
|
||||||
|
|
||||||
|
|
||||||
/* Window state */
|
|
||||||
gint gedit_prefs_manager_get_window_state (void);
|
|
||||||
void gedit_prefs_manager_set_window_state (gint ws);
|
|
||||||
gboolean gedit_prefs_manager_window_state_can_set (void);
|
|
||||||
|
|
||||||
/* Window size */
|
|
||||||
void gedit_prefs_manager_get_window_size (gint *width,
|
|
||||||
gint *height);
|
|
||||||
void gedit_prefs_manager_get_default_window_size (gint *width,
|
|
||||||
gint *height);
|
|
||||||
void gedit_prefs_manager_set_window_size (gint width,
|
|
||||||
gint height);
|
|
||||||
gboolean gedit_prefs_manager_window_size_can_set (void);
|
|
||||||
|
|
||||||
/* Side panel */
|
|
||||||
gint gedit_prefs_manager_get_side_panel_size (void);
|
|
||||||
gint gedit_prefs_manager_get_default_side_panel_size(void);
|
|
||||||
void gedit_prefs_manager_set_side_panel_size (gint ps);
|
|
||||||
gboolean gedit_prefs_manager_side_panel_size_can_set (void);
|
|
||||||
gint gedit_prefs_manager_get_side_panel_active_page (void);
|
|
||||||
void gedit_prefs_manager_set_side_panel_active_page (gint id);
|
|
||||||
gboolean gedit_prefs_manager_side_panel_active_page_can_set (void);
|
|
||||||
|
|
||||||
/* Bottom panel */
|
|
||||||
gint gedit_prefs_manager_get_bottom_panel_size (void);
|
|
||||||
gint gedit_prefs_manager_get_default_bottom_panel_size(void);
|
|
||||||
void gedit_prefs_manager_set_bottom_panel_size (gint ps);
|
|
||||||
gboolean gedit_prefs_manager_bottom_panel_size_can_set (void);
|
|
||||||
gint gedit_prefs_manager_get_bottom_panel_active_page (void);
|
|
||||||
void gedit_prefs_manager_set_bottom_panel_active_page (gint id);
|
|
||||||
gboolean gedit_prefs_manager_bottom_panel_active_page_can_set (void);
|
|
||||||
|
|
||||||
/* File filter */
|
|
||||||
gint gedit_prefs_manager_get_active_file_filter (void);
|
|
||||||
void gedit_prefs_manager_set_active_file_filter (gint id);
|
|
||||||
gboolean gedit_prefs_manager_active_file_filter_can_set (void);
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* __GEDIT_PREFS_MANAGER_APP_H__ */
|
|
|
@ -1,133 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-print-job.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2000-2001 Chema Celorio, Paolo Maggi
|
|
||||||
* Copyright (C) 2002-2008 Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 1998-2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_PRINT_JOB_H__
|
|
||||||
#define __GEDIT_PRINT_JOB_H__
|
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
#include <gedit/gedit-view.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define GEDIT_TYPE_PRINT_JOB (gedit_print_job_get_type())
|
|
||||||
#define GEDIT_PRINT_JOB(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_PRINT_JOB, GeditPrintJob))
|
|
||||||
#define GEDIT_PRINT_JOB_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_PRINT_JOB, GeditPrintJobClass))
|
|
||||||
#define GEDIT_IS_PRINT_JOB(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_PRINT_JOB))
|
|
||||||
#define GEDIT_IS_PRINT_JOB_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_PRINT_JOB))
|
|
||||||
#define GEDIT_PRINT_JOB_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_PRINT_JOB, GeditPrintJobClass))
|
|
||||||
|
|
||||||
|
|
||||||
typedef enum
|
|
||||||
{
|
|
||||||
GEDIT_PRINT_JOB_STATUS_INIT,
|
|
||||||
GEDIT_PRINT_JOB_STATUS_PAGINATING,
|
|
||||||
GEDIT_PRINT_JOB_STATUS_DRAWING,
|
|
||||||
GEDIT_PRINT_JOB_STATUS_DONE
|
|
||||||
} GeditPrintJobStatus;
|
|
||||||
|
|
||||||
typedef enum
|
|
||||||
{
|
|
||||||
GEDIT_PRINT_JOB_RESULT_OK,
|
|
||||||
GEDIT_PRINT_JOB_RESULT_CANCEL,
|
|
||||||
GEDIT_PRINT_JOB_RESULT_ERROR
|
|
||||||
} GeditPrintJobResult;
|
|
||||||
|
|
||||||
/* Private structure type */
|
|
||||||
typedef struct _GeditPrintJobPrivate GeditPrintJobPrivate;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _GeditPrintJob GeditPrintJob;
|
|
||||||
|
|
||||||
|
|
||||||
struct _GeditPrintJob
|
|
||||||
{
|
|
||||||
GObject parent;
|
|
||||||
|
|
||||||
/* <private> */
|
|
||||||
GeditPrintJobPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _GeditPrintJobClass GeditPrintJobClass;
|
|
||||||
|
|
||||||
struct _GeditPrintJobClass
|
|
||||||
{
|
|
||||||
GObjectClass parent_class;
|
|
||||||
|
|
||||||
/* Signals */
|
|
||||||
void (* printing) (GeditPrintJob *job,
|
|
||||||
GeditPrintJobStatus status);
|
|
||||||
|
|
||||||
void (* show_preview) (GeditPrintJob *job,
|
|
||||||
GtkWidget *preview);
|
|
||||||
|
|
||||||
void (*done) (GeditPrintJob *job,
|
|
||||||
GeditPrintJobResult result,
|
|
||||||
const GError *error);
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType gedit_print_job_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GeditPrintJob *gedit_print_job_new (GeditView *view);
|
|
||||||
|
|
||||||
void gedit_print_job_set_export_filename (GeditPrintJob *job,
|
|
||||||
const gchar *filename);
|
|
||||||
|
|
||||||
GtkPrintOperationResult gedit_print_job_print (GeditPrintJob *job,
|
|
||||||
GtkPrintOperationAction action,
|
|
||||||
GtkPageSetup *page_setup,
|
|
||||||
GtkPrintSettings *settings,
|
|
||||||
GtkWindow *parent,
|
|
||||||
GError **error);
|
|
||||||
|
|
||||||
void gedit_print_job_cancel (GeditPrintJob *job);
|
|
||||||
|
|
||||||
const gchar *gedit_print_job_get_status_string (GeditPrintJob *job);
|
|
||||||
|
|
||||||
gdouble gedit_print_job_get_progress (GeditPrintJob *job);
|
|
||||||
|
|
||||||
GtkPrintSettings *gedit_print_job_get_print_settings (GeditPrintJob *job);
|
|
||||||
|
|
||||||
GtkPageSetup *gedit_print_job_get_page_setup (GeditPrintJob *job);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_PRINT_JOB_H__ */
|
|
|
@ -1,71 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-print-preview.h
|
|
||||||
*
|
|
||||||
* Copyright (C) 2008 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 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 1998-2006. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id: gedit-commands-search.c 5931 2007-09-25 20:05:40Z pborelli $
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef __GEDIT_PRINT_PREVIEW_H__
|
|
||||||
#define __GEDIT_PRINT_PREVIEW_H__
|
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define GEDIT_TYPE_PRINT_PREVIEW (gedit_print_preview_get_type ())
|
|
||||||
#define GEDIT_PRINT_PREVIEW(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GEDIT_TYPE_PRINT_PREVIEW, GeditPrintPreview))
|
|
||||||
#define GEDIT_PRINT_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_PRINT_PREVIEW, GeditPrintPreviewClass))
|
|
||||||
#define GEDIT_IS_PRINT_PREVIEW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GEDIT_TYPE_PRINT_PREVIEW))
|
|
||||||
#define GEDIT_IS_PRINT_PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_PRINT_PREVIEW))
|
|
||||||
#define GEDIT_PRINT_PREVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_PRINT_PREVIEW, GeditPrintPreviewClass))
|
|
||||||
|
|
||||||
typedef struct _GeditPrintPreview GeditPrintPreview;
|
|
||||||
typedef struct _GeditPrintPreviewPrivate GeditPrintPreviewPrivate;
|
|
||||||
typedef struct _GeditPrintPreviewClass GeditPrintPreviewClass;
|
|
||||||
|
|
||||||
struct _GeditPrintPreview
|
|
||||||
{
|
|
||||||
GtkVBox parent;
|
|
||||||
GeditPrintPreviewPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _GeditPrintPreviewClass
|
|
||||||
{
|
|
||||||
GtkVBoxClass parent_class;
|
|
||||||
|
|
||||||
void (* close) (GeditPrintPreview *preview);
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
GType gedit_print_preview_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GtkWidget *gedit_print_preview_new (GtkPrintOperation *op,
|
|
||||||
GtkPrintOperationPreview *gtk_preview,
|
|
||||||
GtkPrintContext *context);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_PRINT_PREVIEW_H__ */
|
|
|
@ -1,112 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-progress-message-area.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2005 - Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_PROGRESS_MESSAGE_AREA_H__
|
|
||||||
#define __GEDIT_PROGRESS_MESSAGE_AREA_H__
|
|
||||||
|
|
||||||
#if !GTK_CHECK_VERSION (2, 17, 1)
|
|
||||||
#include <gedit/gedit-message-area.h>
|
|
||||||
#else
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define GEDIT_TYPE_PROGRESS_MESSAGE_AREA (gedit_progress_message_area_get_type())
|
|
||||||
#define GEDIT_PROGRESS_MESSAGE_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_PROGRESS_MESSAGE_AREA, GeditProgressMessageArea))
|
|
||||||
#define GEDIT_PROGRESS_MESSAGE_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_PROGRESS_MESSAGE_AREA, GeditProgressMessageAreaClass))
|
|
||||||
#define GEDIT_IS_PROGRESS_MESSAGE_AREA(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_PROGRESS_MESSAGE_AREA))
|
|
||||||
#define GEDIT_IS_PROGRESS_MESSAGE_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_PROGRESS_MESSAGE_AREA))
|
|
||||||
#define GEDIT_PROGRESS_MESSAGE_AREA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_PROGRESS_MESSAGE_AREA, GeditProgressMessageAreaClass))
|
|
||||||
|
|
||||||
/* Private structure type */
|
|
||||||
typedef struct _GeditProgressMessageAreaPrivate GeditProgressMessageAreaPrivate;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _GeditProgressMessageArea GeditProgressMessageArea;
|
|
||||||
|
|
||||||
struct _GeditProgressMessageArea
|
|
||||||
{
|
|
||||||
#if !GTK_CHECK_VERSION (2, 17, 1)
|
|
||||||
GeditMessageArea parent;
|
|
||||||
#else
|
|
||||||
GtkInfoBar parent;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*< private > */
|
|
||||||
GeditProgressMessageAreaPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _GeditProgressMessageAreaClass GeditProgressMessageAreaClass;
|
|
||||||
|
|
||||||
struct _GeditProgressMessageAreaClass
|
|
||||||
{
|
|
||||||
#if !GTK_CHECK_VERSION (2, 17, 1)
|
|
||||||
GeditMessageAreaClass parent_class;
|
|
||||||
#else
|
|
||||||
GtkInfoBarClass parent_class;
|
|
||||||
#endif
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType gedit_progress_message_area_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GtkWidget *gedit_progress_message_area_new (const gchar *stock_id,
|
|
||||||
const gchar *markup,
|
|
||||||
gboolean has_cancel);
|
|
||||||
|
|
||||||
void gedit_progress_message_area_set_stock_image (GeditProgressMessageArea *area,
|
|
||||||
const gchar *stock_id);
|
|
||||||
|
|
||||||
void gedit_progress_message_area_set_markup (GeditProgressMessageArea *area,
|
|
||||||
const gchar *markup);
|
|
||||||
|
|
||||||
void gedit_progress_message_area_set_text (GeditProgressMessageArea *area,
|
|
||||||
const gchar *text);
|
|
||||||
|
|
||||||
void gedit_progress_message_area_set_fraction (GeditProgressMessageArea *area,
|
|
||||||
gdouble fraction);
|
|
||||||
|
|
||||||
void gedit_progress_message_area_pulse (GeditProgressMessageArea *area);
|
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_PROGRESS_MESSAGE_AREA_H__ */
|
|
|
@ -1,66 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-smart-charset-converter.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2009 - Ignacio Casal Quinteiro
|
|
||||||
*
|
|
||||||
* gedit 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.
|
|
||||||
*
|
|
||||||
* gedit 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 gedit; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
||||||
* Boston, MA 02110-1301 USA
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_SMART_CHARSET_CONVERTER_H__
|
|
||||||
#define __GEDIT_SMART_CHARSET_CONVERTER_H__
|
|
||||||
|
|
||||||
#include <glib-object.h>
|
|
||||||
|
|
||||||
#include "gedit-encodings.h"
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define GEDIT_TYPE_SMART_CHARSET_CONVERTER (gedit_smart_charset_converter_get_type ())
|
|
||||||
#define GEDIT_SMART_CHARSET_CONVERTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_SMART_CHARSET_CONVERTER, GeditSmartCharsetConverter))
|
|
||||||
#define GEDIT_SMART_CHARSET_CONVERTER_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_SMART_CHARSET_CONVERTER, GeditSmartCharsetConverter const))
|
|
||||||
#define GEDIT_SMART_CHARSET_CONVERTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_SMART_CHARSET_CONVERTER, GeditSmartCharsetConverterClass))
|
|
||||||
#define GEDIT_IS_SMART_CHARSET_CONVERTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_SMART_CHARSET_CONVERTER))
|
|
||||||
#define GEDIT_IS_SMART_CHARSET_CONVERTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_SMART_CHARSET_CONVERTER))
|
|
||||||
#define GEDIT_SMART_CHARSET_CONVERTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_SMART_CHARSET_CONVERTER, GeditSmartCharsetConverterClass))
|
|
||||||
|
|
||||||
typedef struct _GeditSmartCharsetConverter GeditSmartCharsetConverter;
|
|
||||||
typedef struct _GeditSmartCharsetConverterClass GeditSmartCharsetConverterClass;
|
|
||||||
typedef struct _GeditSmartCharsetConverterPrivate GeditSmartCharsetConverterPrivate;
|
|
||||||
|
|
||||||
struct _GeditSmartCharsetConverter
|
|
||||||
{
|
|
||||||
GObject parent;
|
|
||||||
|
|
||||||
GeditSmartCharsetConverterPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _GeditSmartCharsetConverterClass
|
|
||||||
{
|
|
||||||
GObjectClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
GType gedit_smart_charset_converter_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GeditSmartCharsetConverter *gedit_smart_charset_converter_new (GSList *candidate_encodings);
|
|
||||||
|
|
||||||
const GeditEncoding *gedit_smart_charset_converter_get_guessed (GeditSmartCharsetConverter *smart);
|
|
||||||
|
|
||||||
guint gedit_smart_charset_converter_get_num_fallbacks(GeditSmartCharsetConverter *smart);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_SMART_CHARSET_CONVERTER_H__ */
|
|
|
@ -1,82 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-status-combo-box.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_STATUS_COMBO_BOX_H__
|
|
||||||
#define __GEDIT_STATUS_COMBO_BOX_H__
|
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define GEDIT_TYPE_STATUS_COMBO_BOX (gedit_status_combo_box_get_type ())
|
|
||||||
#define GEDIT_STATUS_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_STATUS_COMBO_BOX, GeditStatusComboBox))
|
|
||||||
#define GEDIT_STATUS_COMBO_BOX_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_STATUS_COMBO_BOX, GeditStatusComboBox const))
|
|
||||||
#define GEDIT_STATUS_COMBO_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_STATUS_COMBO_BOX, GeditStatusComboBoxClass))
|
|
||||||
#define GEDIT_IS_STATUS_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_STATUS_COMBO_BOX))
|
|
||||||
#define GEDIT_IS_STATUS_COMBO_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_STATUS_COMBO_BOX))
|
|
||||||
#define GEDIT_STATUS_COMBO_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_STATUS_COMBO_BOX, GeditStatusComboBoxClass))
|
|
||||||
|
|
||||||
typedef struct _GeditStatusComboBox GeditStatusComboBox;
|
|
||||||
typedef struct _GeditStatusComboBoxClass GeditStatusComboBoxClass;
|
|
||||||
typedef struct _GeditStatusComboBoxPrivate GeditStatusComboBoxPrivate;
|
|
||||||
|
|
||||||
struct _GeditStatusComboBox {
|
|
||||||
GtkEventBox parent;
|
|
||||||
|
|
||||||
GeditStatusComboBoxPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _GeditStatusComboBoxClass {
|
|
||||||
GtkEventBoxClass parent_class;
|
|
||||||
|
|
||||||
void (*changed) (GeditStatusComboBox *combo,
|
|
||||||
GtkMenuItem *item);
|
|
||||||
};
|
|
||||||
|
|
||||||
GType gedit_status_combo_box_get_type (void) G_GNUC_CONST;
|
|
||||||
GtkWidget *gedit_status_combo_box_new (const gchar *label);
|
|
||||||
|
|
||||||
const gchar *gedit_status_combo_box_get_label (GeditStatusComboBox *combo);
|
|
||||||
void gedit_status_combo_box_set_label (GeditStatusComboBox *combo,
|
|
||||||
const gchar *label);
|
|
||||||
|
|
||||||
void gedit_status_combo_box_add_item (GeditStatusComboBox *combo,
|
|
||||||
GtkMenuItem *item,
|
|
||||||
const gchar *text);
|
|
||||||
void gedit_status_combo_box_remove_item (GeditStatusComboBox *combo,
|
|
||||||
GtkMenuItem *item);
|
|
||||||
|
|
||||||
GList *gedit_status_combo_box_get_items (GeditStatusComboBox *combo);
|
|
||||||
const gchar *gedit_status_combo_box_get_item_text (GeditStatusComboBox *combo,
|
|
||||||
GtkMenuItem *item);
|
|
||||||
void gedit_status_combo_box_set_item_text (GeditStatusComboBox *combo,
|
|
||||||
GtkMenuItem *item,
|
|
||||||
const gchar *text);
|
|
||||||
|
|
||||||
void gedit_status_combo_box_set_item (GeditStatusComboBox *combo,
|
|
||||||
GtkMenuItem *item);
|
|
||||||
|
|
||||||
GtkLabel *gedit_status_combo_box_get_item_label (GeditStatusComboBox *combo);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_STATUS_COMBO_BOX_H__ */
|
|
|
@ -1,99 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-statusbar.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 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 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef GEDIT_STATUSBAR_H
|
|
||||||
#define GEDIT_STATUSBAR_H
|
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
#include <gedit/gedit-window.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define GEDIT_TYPE_STATUSBAR (gedit_statusbar_get_type ())
|
|
||||||
#define GEDIT_STATUSBAR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GEDIT_TYPE_STATUSBAR, GeditStatusbar))
|
|
||||||
#define GEDIT_STATUSBAR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GEDIT_TYPE_STATUSBAR, GeditStatusbarClass))
|
|
||||||
#define GEDIT_IS_STATUSBAR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GEDIT_TYPE_STATUSBAR))
|
|
||||||
#define GEDIT_IS_STATUSBAR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GEDIT_TYPE_STATUSBAR))
|
|
||||||
#define GEDIT_STATUSBAR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GEDIT_TYPE_STATUSBAR, GeditStatusbarClass))
|
|
||||||
|
|
||||||
typedef struct _GeditStatusbar GeditStatusbar;
|
|
||||||
typedef struct _GeditStatusbarPrivate GeditStatusbarPrivate;
|
|
||||||
typedef struct _GeditStatusbarClass GeditStatusbarClass;
|
|
||||||
|
|
||||||
struct _GeditStatusbar
|
|
||||||
{
|
|
||||||
GtkStatusbar parent;
|
|
||||||
|
|
||||||
/* <private/> */
|
|
||||||
GeditStatusbarPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _GeditStatusbarClass
|
|
||||||
{
|
|
||||||
GtkStatusbarClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
GType gedit_statusbar_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GtkWidget *gedit_statusbar_new (void);
|
|
||||||
|
|
||||||
/* FIXME: status is not defined in any .h */
|
|
||||||
#define GeditStatus gint
|
|
||||||
void gedit_statusbar_set_window_state (GeditStatusbar *statusbar,
|
|
||||||
GeditWindowState state,
|
|
||||||
gint num_of_errors);
|
|
||||||
|
|
||||||
void gedit_statusbar_set_overwrite (GeditStatusbar *statusbar,
|
|
||||||
gboolean overwrite);
|
|
||||||
|
|
||||||
void gedit_statusbar_set_cursor_position (GeditStatusbar *statusbar,
|
|
||||||
gint line,
|
|
||||||
gint col);
|
|
||||||
|
|
||||||
void gedit_statusbar_clear_overwrite (GeditStatusbar *statusbar);
|
|
||||||
|
|
||||||
void gedit_statusbar_flash_message (GeditStatusbar *statusbar,
|
|
||||||
guint context_id,
|
|
||||||
const gchar *format,
|
|
||||||
...) G_GNUC_PRINTF(3, 4);
|
|
||||||
/* FIXME: these would be nice for plugins...
|
|
||||||
void gedit_statusbar_add_widget (GeditStatusbar *statusbar,
|
|
||||||
GtkWidget *widget);
|
|
||||||
void gedit_statusbar_remove_widget (GeditStatusbar *statusbar,
|
|
||||||
GtkWidget *widget);
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Non exported functions
|
|
||||||
*/
|
|
||||||
void _gedit_statusbar_set_has_resize_grip (GeditStatusbar *statusbar,
|
|
||||||
gboolean show);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif
|
|
|
@ -1,66 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-tab-label.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2010 - 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 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_TAB_LABEL_H__
|
|
||||||
#define __GEDIT_TAB_LABEL_H__
|
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
#include <gedit/gedit-tab.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define GEDIT_TYPE_TAB_LABEL (gedit_tab_label_get_type ())
|
|
||||||
#define GEDIT_TAB_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_TAB_LABEL, GeditTabLabel))
|
|
||||||
#define GEDIT_TAB_LABEL_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_TAB_LABEL, GeditTabLabel const))
|
|
||||||
#define GEDIT_TAB_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_TAB_LABEL, GeditTabLabelClass))
|
|
||||||
#define GEDIT_IS_TAB_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_TAB_LABEL))
|
|
||||||
#define GEDIT_IS_TAB_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_TAB_LABEL))
|
|
||||||
#define GEDIT_TAB_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_TAB_LABEL, GeditTabLabelClass))
|
|
||||||
|
|
||||||
typedef struct _GeditTabLabel GeditTabLabel;
|
|
||||||
typedef struct _GeditTabLabelClass GeditTabLabelClass;
|
|
||||||
typedef struct _GeditTabLabelPrivate GeditTabLabelPrivate;
|
|
||||||
|
|
||||||
struct _GeditTabLabel {
|
|
||||||
GtkHBox parent;
|
|
||||||
|
|
||||||
GeditTabLabelPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct _GeditTabLabelClass {
|
|
||||||
GtkHBoxClass parent_class;
|
|
||||||
|
|
||||||
void (* close_clicked) (GeditTabLabel *tab_label);
|
|
||||||
};
|
|
||||||
|
|
||||||
GType gedit_tab_label_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GtkWidget *gedit_tab_label_new (GeditTab *tab);
|
|
||||||
|
|
||||||
GeditTab *gedit_tab_label_get_tab (GeditTabLabel *tab_label);
|
|
||||||
|
|
||||||
void gedit_tab_label_set_close_button_sensitive (GeditTabLabel *tab_label,
|
|
||||||
gboolean sensitive);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_TAB_LABEL_H__ */
|
|
|
@ -1,165 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-tab.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2005 - Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_TAB_H__
|
|
||||||
#define __GEDIT_TAB_H__
|
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
|
|
||||||
#include <gedit/gedit-view.h>
|
|
||||||
#include <gedit/gedit-document.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
typedef enum
|
|
||||||
{
|
|
||||||
GEDIT_TAB_STATE_NORMAL = 0,
|
|
||||||
GEDIT_TAB_STATE_LOADING,
|
|
||||||
GEDIT_TAB_STATE_REVERTING,
|
|
||||||
GEDIT_TAB_STATE_SAVING,
|
|
||||||
GEDIT_TAB_STATE_PRINTING,
|
|
||||||
GEDIT_TAB_STATE_PRINT_PREVIEWING,
|
|
||||||
GEDIT_TAB_STATE_SHOWING_PRINT_PREVIEW,
|
|
||||||
GEDIT_TAB_STATE_GENERIC_NOT_EDITABLE,
|
|
||||||
GEDIT_TAB_STATE_LOADING_ERROR,
|
|
||||||
GEDIT_TAB_STATE_REVERTING_ERROR,
|
|
||||||
GEDIT_TAB_STATE_SAVING_ERROR,
|
|
||||||
GEDIT_TAB_STATE_GENERIC_ERROR,
|
|
||||||
GEDIT_TAB_STATE_CLOSING,
|
|
||||||
GEDIT_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION,
|
|
||||||
GEDIT_TAB_NUM_OF_STATES /* This is not a valid state */
|
|
||||||
} GeditTabState;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define GEDIT_TYPE_TAB (gedit_tab_get_type())
|
|
||||||
#define GEDIT_TAB(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_TAB, GeditTab))
|
|
||||||
#define GEDIT_TAB_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_TAB, GeditTabClass))
|
|
||||||
#define GEDIT_IS_TAB(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_TAB))
|
|
||||||
#define GEDIT_IS_TAB_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_TAB))
|
|
||||||
#define GEDIT_TAB_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_TAB, GeditTabClass))
|
|
||||||
|
|
||||||
/* Private structure type */
|
|
||||||
typedef struct _GeditTabPrivate GeditTabPrivate;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _GeditTab GeditTab;
|
|
||||||
|
|
||||||
struct _GeditTab
|
|
||||||
{
|
|
||||||
GtkVBox vbox;
|
|
||||||
|
|
||||||
/*< private > */
|
|
||||||
GeditTabPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _GeditTabClass GeditTabClass;
|
|
||||||
|
|
||||||
struct _GeditTabClass
|
|
||||||
{
|
|
||||||
GtkVBoxClass parent_class;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType gedit_tab_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GeditView *gedit_tab_get_view (GeditTab *tab);
|
|
||||||
|
|
||||||
/* This is only an helper function */
|
|
||||||
GeditDocument *gedit_tab_get_document (GeditTab *tab);
|
|
||||||
|
|
||||||
GeditTab *gedit_tab_get_from_document (GeditDocument *doc);
|
|
||||||
|
|
||||||
GeditTabState gedit_tab_get_state (GeditTab *tab);
|
|
||||||
|
|
||||||
gboolean gedit_tab_get_auto_save_enabled
|
|
||||||
(GeditTab *tab);
|
|
||||||
|
|
||||||
void gedit_tab_set_auto_save_enabled
|
|
||||||
(GeditTab *tab,
|
|
||||||
gboolean enable);
|
|
||||||
|
|
||||||
gint gedit_tab_get_auto_save_interval
|
|
||||||
(GeditTab *tab);
|
|
||||||
|
|
||||||
void gedit_tab_set_auto_save_interval
|
|
||||||
(GeditTab *tab,
|
|
||||||
gint interval);
|
|
||||||
|
|
||||||
void gedit_tab_set_info_bar (GeditTab *tab,
|
|
||||||
GtkWidget *info_bar);
|
|
||||||
/*
|
|
||||||
* Non exported methods
|
|
||||||
*/
|
|
||||||
GtkWidget *_gedit_tab_new (void);
|
|
||||||
|
|
||||||
/* Whether create is TRUE, creates a new empty document if location does
|
|
||||||
not refer to an existing file */
|
|
||||||
GtkWidget *_gedit_tab_new_from_uri (const gchar *uri,
|
|
||||||
const GeditEncoding *encoding,
|
|
||||||
gint line_pos,
|
|
||||||
gboolean create);
|
|
||||||
gchar *_gedit_tab_get_name (GeditTab *tab);
|
|
||||||
gchar *_gedit_tab_get_tooltips (GeditTab *tab);
|
|
||||||
GdkPixbuf *_gedit_tab_get_icon (GeditTab *tab);
|
|
||||||
void _gedit_tab_load (GeditTab *tab,
|
|
||||||
const gchar *uri,
|
|
||||||
const GeditEncoding *encoding,
|
|
||||||
gint line_pos,
|
|
||||||
gboolean create);
|
|
||||||
void _gedit_tab_revert (GeditTab *tab);
|
|
||||||
void _gedit_tab_save (GeditTab *tab);
|
|
||||||
void _gedit_tab_save_as (GeditTab *tab,
|
|
||||||
const gchar *uri,
|
|
||||||
const GeditEncoding *encoding,
|
|
||||||
GeditDocumentNewlineType newline_type);
|
|
||||||
|
|
||||||
void _gedit_tab_print (GeditTab *tab);
|
|
||||||
void _gedit_tab_print_preview (GeditTab *tab);
|
|
||||||
|
|
||||||
void _gedit_tab_mark_for_closing (GeditTab *tab);
|
|
||||||
|
|
||||||
gboolean _gedit_tab_can_close (GeditTab *tab);
|
|
||||||
|
|
||||||
#if !GTK_CHECK_VERSION (2, 17, 4)
|
|
||||||
void _gedit_tab_page_setup (GeditTab *tab);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_TAB_H__ */
|
|
|
@ -1,108 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-view.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 1998, 1999 Alex Roberts, Evan Lawrence
|
|
||||||
* Copyright (C) 2000, 2001 Chema Celorio, Paolo Maggi
|
|
||||||
* Copyright (C) 2002-2005 Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 1998-2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_VIEW_H__
|
|
||||||
#define __GEDIT_VIEW_H__
|
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
|
|
||||||
#include <gedit/gedit-document.h>
|
|
||||||
#include <gtksourceview/gtksourceview.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define GEDIT_TYPE_VIEW (gedit_view_get_type ())
|
|
||||||
#define GEDIT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_VIEW, GeditView))
|
|
||||||
#define GEDIT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_VIEW, GeditViewClass))
|
|
||||||
#define GEDIT_IS_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_VIEW))
|
|
||||||
#define GEDIT_IS_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_VIEW))
|
|
||||||
#define GEDIT_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_VIEW, GeditViewClass))
|
|
||||||
|
|
||||||
/* Private structure type */
|
|
||||||
typedef struct _GeditViewPrivate GeditViewPrivate;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _GeditView GeditView;
|
|
||||||
|
|
||||||
struct _GeditView
|
|
||||||
{
|
|
||||||
GtkSourceView view;
|
|
||||||
|
|
||||||
/*< private > */
|
|
||||||
GeditViewPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _GeditViewClass GeditViewClass;
|
|
||||||
|
|
||||||
struct _GeditViewClass
|
|
||||||
{
|
|
||||||
GtkSourceViewClass parent_class;
|
|
||||||
|
|
||||||
/* FIXME: Do we need placeholders ? */
|
|
||||||
|
|
||||||
/* Key bindings */
|
|
||||||
gboolean (* start_interactive_search) (GeditView *view);
|
|
||||||
gboolean (* start_interactive_goto_line)(GeditView *view);
|
|
||||||
gboolean (* reset_searched_text) (GeditView *view);
|
|
||||||
|
|
||||||
void (* drop_uris) (GeditView *view,
|
|
||||||
gchar **uri_list);
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType gedit_view_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GtkWidget *gedit_view_new (GeditDocument *doc);
|
|
||||||
|
|
||||||
void gedit_view_cut_clipboard (GeditView *view);
|
|
||||||
void gedit_view_copy_clipboard (GeditView *view);
|
|
||||||
void gedit_view_paste_clipboard (GeditView *view);
|
|
||||||
void gedit_view_delete_selection (GeditView *view);
|
|
||||||
void gedit_view_select_all (GeditView *view);
|
|
||||||
|
|
||||||
void gedit_view_scroll_to_cursor (GeditView *view);
|
|
||||||
|
|
||||||
void gedit_view_set_font (GeditView *view,
|
|
||||||
gboolean def,
|
|
||||||
const gchar *font_name);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_VIEW_H__ */
|
|
|
@ -1,195 +0,0 @@
|
||||||
/*
|
|
||||||
* gedit-window.h
|
|
||||||
* This file is part of gedit
|
|
||||||
*
|
|
||||||
* Copyright (C) 2005 - Paolo Maggi
|
|
||||||
*
|
|
||||||
* 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
|
|
||||||
* MERCHANWINDOWILITY 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., 59 Temple Place, Suite 330,
|
|
||||||
* Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Modified by the gedit Team, 2005. See the AUTHORS file for a
|
|
||||||
* list of people on the gedit Team.
|
|
||||||
* See the ChangeLog files for a list of changes.
|
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GEDIT_WINDOW_H__
|
|
||||||
#define __GEDIT_WINDOW_H__
|
|
||||||
|
|
||||||
#include <gio/gio.h>
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
|
|
||||||
#include <gedit/gedit-tab.h>
|
|
||||||
#include <gedit/gedit-panel.h>
|
|
||||||
#include <gedit/gedit-message-bus.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
typedef enum
|
|
||||||
{
|
|
||||||
GEDIT_WINDOW_STATE_NORMAL = 0,
|
|
||||||
GEDIT_WINDOW_STATE_SAVING = 1 << 1,
|
|
||||||
GEDIT_WINDOW_STATE_PRINTING = 1 << 2,
|
|
||||||
GEDIT_WINDOW_STATE_LOADING = 1 << 3,
|
|
||||||
GEDIT_WINDOW_STATE_ERROR = 1 << 4,
|
|
||||||
GEDIT_WINDOW_STATE_SAVING_SESSION = 1 << 5
|
|
||||||
} GeditWindowState;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Type checking and casting macros
|
|
||||||
*/
|
|
||||||
#define GEDIT_TYPE_WINDOW (gedit_window_get_type())
|
|
||||||
#define GEDIT_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_WINDOW, GeditWindow))
|
|
||||||
#define GEDIT_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_WINDOW, GeditWindowClass))
|
|
||||||
#define GEDIT_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_WINDOW))
|
|
||||||
#define GEDIT_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_WINDOW))
|
|
||||||
#define GEDIT_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_WINDOW, GeditWindowClass))
|
|
||||||
|
|
||||||
/* Private structure type */
|
|
||||||
typedef struct _GeditWindowPrivate GeditWindowPrivate;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Main object structure
|
|
||||||
*/
|
|
||||||
typedef struct _GeditWindow GeditWindow;
|
|
||||||
|
|
||||||
struct _GeditWindow
|
|
||||||
{
|
|
||||||
GtkWindow window;
|
|
||||||
|
|
||||||
/*< private > */
|
|
||||||
GeditWindowPrivate *priv;
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Class definition
|
|
||||||
*/
|
|
||||||
typedef struct _GeditWindowClass GeditWindowClass;
|
|
||||||
|
|
||||||
struct _GeditWindowClass
|
|
||||||
{
|
|
||||||
GtkWindowClass parent_class;
|
|
||||||
|
|
||||||
/* Signals */
|
|
||||||
void (* tab_added) (GeditWindow *window,
|
|
||||||
GeditTab *tab);
|
|
||||||
void (* tab_removed) (GeditWindow *window,
|
|
||||||
GeditTab *tab);
|
|
||||||
void (* tabs_reordered) (GeditWindow *window);
|
|
||||||
void (* active_tab_changed) (GeditWindow *window,
|
|
||||||
GeditTab *tab);
|
|
||||||
void (* active_tab_state_changed)
|
|
||||||
(GeditWindow *window);
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Public methods
|
|
||||||
*/
|
|
||||||
GType gedit_window_get_type (void) G_GNUC_CONST;
|
|
||||||
|
|
||||||
GeditTab *gedit_window_create_tab (GeditWindow *window,
|
|
||||||
gboolean jump_to);
|
|
||||||
|
|
||||||
GeditTab *gedit_window_create_tab_from_uri (GeditWindow *window,
|
|
||||||
const gchar *uri,
|
|
||||||
const GeditEncoding *encoding,
|
|
||||||
gint line_pos,
|
|
||||||
gboolean create,
|
|
||||||
gboolean jump_to);
|
|
||||||
|
|
||||||
void gedit_window_close_tab (GeditWindow *window,
|
|
||||||
GeditTab *tab);
|
|
||||||
|
|
||||||
void gedit_window_close_all_tabs (GeditWindow *window);
|
|
||||||
|
|
||||||
void gedit_window_close_tabs (GeditWindow *window,
|
|
||||||
const GList *tabs);
|
|
||||||
|
|
||||||
GeditTab *gedit_window_get_active_tab (GeditWindow *window);
|
|
||||||
|
|
||||||
void gedit_window_set_active_tab (GeditWindow *window,
|
|
||||||
GeditTab *tab);
|
|
||||||
|
|
||||||
/* Helper functions */
|
|
||||||
GeditView *gedit_window_get_active_view (GeditWindow *window);
|
|
||||||
GeditDocument *gedit_window_get_active_document (GeditWindow *window);
|
|
||||||
|
|
||||||
/* Returns a newly allocated list with all the documents in the window */
|
|
||||||
GList *gedit_window_get_documents (GeditWindow *window);
|
|
||||||
|
|
||||||
/* Returns a newly allocated list with all the documents that need to be
|
|
||||||
saved before closing the window */
|
|
||||||
GList *gedit_window_get_unsaved_documents (GeditWindow *window);
|
|
||||||
|
|
||||||
/* Returns a newly allocated list with all the views in the window */
|
|
||||||
GList *gedit_window_get_views (GeditWindow *window);
|
|
||||||
|
|
||||||
GtkWindowGroup *gedit_window_get_group (GeditWindow *window);
|
|
||||||
|
|
||||||
GeditPanel *gedit_window_get_side_panel (GeditWindow *window);
|
|
||||||
|
|
||||||
GeditPanel *gedit_window_get_bottom_panel (GeditWindow *window);
|
|
||||||
|
|
||||||
GtkWidget *gedit_window_get_statusbar (GeditWindow *window);
|
|
||||||
|
|
||||||
GtkUIManager *gedit_window_get_ui_manager (GeditWindow *window);
|
|
||||||
|
|
||||||
GeditWindowState gedit_window_get_state (GeditWindow *window);
|
|
||||||
|
|
||||||
GeditTab *gedit_window_get_tab_from_location (GeditWindow *window,
|
|
||||||
GFile *location);
|
|
||||||
|
|
||||||
GeditTab *gedit_window_get_tab_from_uri (GeditWindow *window,
|
|
||||||
const gchar *uri);
|
|
||||||
|
|
||||||
/* Message bus */
|
|
||||||
GeditMessageBus *gedit_window_get_message_bus (GeditWindow *window);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Non exported functions
|
|
||||||
*/
|
|
||||||
GtkWidget *_gedit_window_get_notebook (GeditWindow *window);
|
|
||||||
|
|
||||||
GeditWindow *_gedit_window_move_tab_to_new_window (GeditWindow *window,
|
|
||||||
GeditTab *tab);
|
|
||||||
gboolean _gedit_window_is_removing_tabs (GeditWindow *window);
|
|
||||||
|
|
||||||
GFile *_gedit_window_get_default_location (GeditWindow *window);
|
|
||||||
|
|
||||||
void _gedit_window_set_default_location (GeditWindow *window,
|
|
||||||
GFile *location);
|
|
||||||
|
|
||||||
void _gedit_window_set_saving_session_state (GeditWindow *window,
|
|
||||||
gboolean saving_session);
|
|
||||||
|
|
||||||
void _gedit_window_fullscreen (GeditWindow *window);
|
|
||||||
|
|
||||||
void _gedit_window_unfullscreen (GeditWindow *window);
|
|
||||||
|
|
||||||
gboolean _gedit_window_is_fullscreen (GeditWindow *window);
|
|
||||||
|
|
||||||
/* these are in gedit-window because of screen safety */
|
|
||||||
void _gedit_recent_add (GeditWindow *window,
|
|
||||||
const gchar *uri,
|
|
||||||
const gchar *mime);
|
|
||||||
void _gedit_recent_remove (GeditWindow *window,
|
|
||||||
const gchar *uri);
|
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __GEDIT_WINDOW_H__ */
|
|
|
@ -1 +0,0 @@
|
||||||
A ICON MOVEABLE PURE LOADONCALL DISCARDABLE "../pixmaps/gedit.ico"
|
|
|
@ -1,17 +0,0 @@
|
||||||
#ifndef __GEDIT_OSX_H__
|
|
||||||
#define __GEDIT_OSX_H__
|
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
#include <gedit/gedit-window.h>
|
|
||||||
#include <gedit/gedit-app.h>
|
|
||||||
|
|
||||||
void gedit_osx_init (GeditApp *app);
|
|
||||||
|
|
||||||
void gedit_osx_set_window_title (GeditWindow *window,
|
|
||||||
gchar const *title,
|
|
||||||
GeditDocument *document);
|
|
||||||
|
|
||||||
gboolean gedit_osx_show_url (const gchar *url);
|
|
||||||
gboolean gedit_osx_show_help (const gchar *link_id);
|
|
||||||
|
|
||||||
#endif /* __GEDIT_OSX_H__ */
|
|
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: 192 B After Width: | Height: | Size: 192 B |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
|
@ -4,7 +4,7 @@
|
||||||
<!ENTITY appversion "2.16">
|
<!ENTITY appversion "2.16">
|
||||||
<!ENTITY manrevision "2.9">
|
<!ENTITY manrevision "2.9">
|
||||||
<!ENTITY date "July 2006">
|
<!ENTITY date "July 2006">
|
||||||
<!ENTITY app "gedit">
|
<!ENTITY app "pluma">
|
||||||
]>
|
]>
|
||||||
<!--
|
<!--
|
||||||
(Do not remove this comment block.)
|
(Do not remove this comment block.)
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
<!-- please do not change the id; for translations, change lang to -->
|
<!-- please do not change the id; for translations, change lang to -->
|
||||||
<!-- appropriate code -->
|
<!-- appropriate code -->
|
||||||
<articleinfo>
|
<articleinfo>
|
||||||
<title>Gedit Manual<!-- not using app entity because of lowercase ugliness --></title>
|
<title>Pluma Manual<!-- not using app entity because of lowercase ugliness --></title>
|
||||||
<copyright>
|
<copyright>
|
||||||
<year>2007</year>
|
<year>2007</year>
|
||||||
<holder>MATE Documentation Project</holder> </copyright>
|
<holder>MATE Documentation Project</holder> </copyright>
|
||||||
|
@ -82,7 +82,7 @@
|
||||||
</author>
|
</author>
|
||||||
<othercredit role="reviewer">
|
<othercredit role="reviewer">
|
||||||
<firstname>Baris</firstname>
|
<firstname>Baris</firstname>
|
||||||
<surname>Cicek provided information from earlier revisions of the gedit application.</surname>
|
<surname>Cicek provided information from earlier revisions of the pluma application.</surname>
|
||||||
<contrib>Acknowledgements</contrib>
|
<contrib>Acknowledgements</contrib>
|
||||||
</othercredit>
|
</othercredit>
|
||||||
<othercredit role="reviewer">
|
<othercredit role="reviewer">
|
||||||
|
@ -112,7 +112,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>gedit V1.0</revnumber>
|
<revnumber>pluma 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>
|
||||||
|
@ -121,7 +121,7 @@
|
||||||
</revdescription>
|
</revdescription>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<revnumber>gedit Manual V2.0</revnumber>
|
<revnumber>pluma Manual V2.0</revnumber>
|
||||||
<date>March 2002</date>
|
<date>March 2002</date>
|
||||||
<revdescription>
|
<revdescription>
|
||||||
<para role="author">Sun MATE Documentation Team</para>
|
<para role="author">Sun MATE Documentation Team</para>
|
||||||
|
@ -129,7 +129,7 @@
|
||||||
</revdescription>
|
</revdescription>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<revnumber>gedit Manual V2.1</revnumber>
|
<revnumber>pluma Manual V2.1</revnumber>
|
||||||
<date>June 2002</date>
|
<date>June 2002</date>
|
||||||
<revdescription>
|
<revdescription>
|
||||||
<para role="author">Sun MATE Documentation Team</para>
|
<para role="author">Sun MATE Documentation Team</para>
|
||||||
|
@ -137,7 +137,7 @@
|
||||||
</revdescription>
|
</revdescription>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<revnumber>gedit Manual V2.2</revnumber>
|
<revnumber>pluma Manual V2.2</revnumber>
|
||||||
<date>August 2002</date>
|
<date>August 2002</date>
|
||||||
<revdescription>
|
<revdescription>
|
||||||
<para role="author">Sun MATE Documentation Team</para>
|
<para role="author">Sun MATE Documentation Team</para>
|
||||||
|
@ -145,7 +145,7 @@
|
||||||
</revdescription>
|
</revdescription>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<revnumber>gedit Manual V2.3</revnumber>
|
<revnumber>pluma Manual V2.3</revnumber>
|
||||||
<date>September 2002</date>
|
<date>September 2002</date>
|
||||||
<revdescription>
|
<revdescription>
|
||||||
<para role="author">Sun MATE Documentation Team</para>
|
<para role="author">Sun MATE Documentation Team</para>
|
||||||
|
@ -153,7 +153,7 @@
|
||||||
</revdescription>
|
</revdescription>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<revnumber>gedit Manual V2.4</revnumber>
|
<revnumber>pluma Manual V2.4</revnumber>
|
||||||
<date>January 2003</date>
|
<date>January 2003</date>
|
||||||
<revdescription>
|
<revdescription>
|
||||||
<para role="author">Sun MATE Documentation Team</para>
|
<para role="author">Sun MATE Documentation Team</para>
|
||||||
|
@ -161,7 +161,7 @@
|
||||||
</revdescription>
|
</revdescription>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<revnumber>gedit Manual V2.5</revnumber>
|
<revnumber>pluma Manual V2.5</revnumber>
|
||||||
<date>March 2003</date>
|
<date>March 2003</date>
|
||||||
<revdescription>
|
<revdescription>
|
||||||
<para role="author">Sun MATE Documentation Team</para>
|
<para role="author">Sun MATE Documentation Team</para>
|
||||||
|
@ -169,7 +169,7 @@
|
||||||
</revdescription>
|
</revdescription>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<revnumber>gedit Manual V2.6</revnumber>
|
<revnumber>pluma Manual V2.6</revnumber>
|
||||||
<date>September 2003</date>
|
<date>September 2003</date>
|
||||||
<revdescription>
|
<revdescription>
|
||||||
<para role="author">Sun MATE Documentation Team</para>
|
<para role="author">Sun MATE Documentation Team</para>
|
||||||
|
@ -177,7 +177,7 @@
|
||||||
</revdescription>
|
</revdescription>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<revnumber>gedit Manual V2.7</revnumber>
|
<revnumber>pluma Manual V2.7</revnumber>
|
||||||
<date>March 2004</date>
|
<date>March 2004</date>
|
||||||
<revdescription>
|
<revdescription>
|
||||||
<para role="author">Sun MATE Documentation Team</para>
|
<para role="author">Sun MATE Documentation Team</para>
|
||||||
|
@ -215,27 +215,27 @@
|
||||||
and syntax highlighting. More advanced features are available as plugins.</para>
|
and syntax highlighting. More advanced features are available as plugins.</para>
|
||||||
</abstract>
|
</abstract>
|
||||||
</articleinfo>
|
</articleinfo>
|
||||||
<indexterm><primary>gedit</primary></indexterm>
|
<indexterm><primary>pluma</primary></indexterm>
|
||||||
<indexterm><primary>text editor</primary></indexterm>
|
<indexterm><primary>text editor</primary></indexterm>
|
||||||
|
|
||||||
<!-- ============= Document Body ============================= -->
|
<!-- ============= Document Body ============================= -->
|
||||||
<!-- ============= Introduction ============================== -->
|
<!-- ============= Introduction ============================== -->
|
||||||
<sect1 id="gedit-intro">
|
<sect1 id="pluma-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="gedit-customize-toolbar"/>
|
<anchor id="pluma-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="gedit-getting-started">
|
<sect1 id="pluma-getting-started">
|
||||||
<title>Getting Started</title>
|
<title>Getting Started</title>
|
||||||
|
|
||||||
<!-- ============= To Start gedit ============================ -->
|
<!-- ============= To Start pluma ============================ -->
|
||||||
<sect2 id="gedit-to-start">
|
<sect2 id="pluma-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>
|
||||||
|
@ -248,26 +248,26 @@
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>Command line</term>
|
<term>Command line</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Execute the following command: <command>gedit</command></para>
|
<para>Execute the following command: <command>pluma</command></para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
<para>By default, when you open a text document in the file manager, gedit will start, and display the document.</para>
|
<para>By default, when you open a text document in the file manager, pluma will start, and display the document.</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="gedit-when-you-start">
|
<sect2 id="pluma-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="gedit-window">
|
<figure id="pluma-window">
|
||||||
<title>&app; Window</title>
|
<title>&app; Window</title>
|
||||||
<screenshot>
|
<screenshot>
|
||||||
<mediaobject>
|
<mediaobject>
|
||||||
<imageobject>
|
<imageobject>
|
||||||
<imagedata fileref="figures/gedit_window.png" format="PNG"/>
|
<imagedata fileref="figures/pluma_window.png" format="PNG"/>
|
||||||
</imageobject>
|
</imageobject>
|
||||||
<textobject> <phrase>Shows gedit main window.</phrase>
|
<textobject> <phrase>Shows pluma main window.</phrase>
|
||||||
</textobject>
|
</textobject>
|
||||||
</mediaobject>
|
</mediaobject>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
|
@ -323,37 +323,37 @@
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= To Open Multiple Files from the Command Line ========= -->
|
<!-- ============= To Open Multiple Files from the Command Line ========= -->
|
||||||
<sect2 id="gedit-run-from-cmd-line">
|
<sect2 id="pluma-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>gedit <replaceable>file1.txt file2.txt file3.txt</replaceable></command></para>
|
<para><command>pluma <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:gedit" 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:pluma" type="man"><citerefentry><refentrytitle>&app;</refentrytitle><manvolnum>1</manvolnum></citerefentry></ulink>.</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
</sect1>
|
</sect1>
|
||||||
<!-- ================ Usage ================================ -->
|
<!-- ================ Usage ================================ -->
|
||||||
<sect1 id="gedit-usage">
|
<sect1 id="pluma-usage">
|
||||||
<title>Working with Files</title>
|
<title>Working with Files</title>
|
||||||
|
|
||||||
<!-- ============= To Create a New File ======================== -->
|
<!-- ============= To Create a New File ======================== -->
|
||||||
<sect2 id="gedit-create-new-file">
|
<sect2 id="pluma-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="gedit-open-file">
|
<sect2 id="pluma-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/gedit_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/pluma_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="gedit-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="pluma-tabs"/>.</para></note>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= To Save a File ============================== -->
|
<!-- ============= To Save a File ============================== -->
|
||||||
<sect2 id="gedit-save-file">
|
<sect2 id="pluma-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>
|
||||||
|
@ -368,7 +368,7 @@
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= To Open a File from a URI ======================= -->
|
<!-- ============= To Open a File from a URI ======================= -->
|
||||||
<sect2 id="gedit-open-from-uri">
|
<sect2 id="pluma-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>
|
||||||
|
@ -387,11 +387,11 @@
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
<para>Valid types of <replaceable>URI</replaceable> include <literal>http:</literal>, <literal>ftp:</literal>, <literal>file:</literal>, and all of the methods supported by <literal>mate-vfs</literal>.</para>
|
<para>Valid types of <replaceable>URI</replaceable> include <literal>http:</literal>, <literal>ftp:</literal>, <literal>file:</literal>, and all of the methods supported by <literal>mate-vfs</literal>.</para>
|
||||||
<para>Files from some types of URI are opened as read-only, and any changes you make must be saved to a different location. HTTP only allows files to be read. Files opened from FTP are read-only because because not all FTP servers may correctly work with saving remote files.</para>
|
<para>Files from some types of URI are opened as read-only, and any changes you make must be saved to a different location. HTTP only allows files to be read. Files opened from FTP are read-only because because not all FTP servers may correctly work with saving remote files.</para>
|
||||||
<warning><para>Saving to FTP servers can be enabled with <ulink type="help" url="ghelp:mateconf-editor"><application>Configuration Editor</application></ulink>, setting the key <systemitem>/apps/gedit-2/preferences/editor/save/writable_vfs_schemes</systemitem>, but this may cause errors.</para></warning>
|
<warning><para>Saving to FTP servers can be enabled with <ulink type="help" url="ghelp:mateconf-editor"><application>Configuration Editor</application></ulink>, setting the key <systemitem>/apps/pluma-2/preferences/editor/save/writable_vfs_schemes</systemitem>, but this may cause errors.</para></warning>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= Working with tabs ======================== -->
|
<!-- ============= Working with tabs ======================== -->
|
||||||
<sect2 id="gedit-tabs">
|
<sect2 id="pluma-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>
|
||||||
|
@ -405,7 +405,7 @@
|
||||||
<title>Working with Text</title>
|
<title>Working with Text</title>
|
||||||
|
|
||||||
<!-- ============= To Edit Text ================================ -->
|
<!-- ============= To Edit Text ================================ -->
|
||||||
<sect2 id="gedit-edit-text">
|
<sect2 id="pluma-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>
|
||||||
|
@ -424,26 +424,26 @@
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</sect2>
|
</sect2>
|
||||||
<!-- ============== To Undo or Redo Edits ====================== -->
|
<!-- ============== To Undo or Redo Edits ====================== -->
|
||||||
<sect2 id="gedit-undo-redo-edits">
|
<sect2 id="pluma-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="gedit-find">
|
<sect1 id="pluma-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="gedit-find-text">
|
<sect2 id="pluma-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="gedit-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="pluma-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>
|
||||||
|
@ -454,7 +454,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="gedit-find-incremental">
|
<sect2 id="pluma-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>
|
||||||
|
@ -465,14 +465,14 @@
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= To Find and Replace Text =================== -->
|
<!-- ============= To Find and Replace Text =================== -->
|
||||||
<sect2 id="gedit-find-replace-text">
|
<sect2 id="pluma-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="gedit-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="pluma-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>
|
||||||
|
@ -482,7 +482,7 @@
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= Find and Replace Options ============================ -->
|
<!-- ============= Find and Replace Options ============================ -->
|
||||||
<sect2 id="gedit-find-options">
|
<sect2 id="pluma-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>
|
||||||
|
@ -498,7 +498,7 @@
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= Special Characters ============================ -->
|
<!-- ============= Special Characters ============================ -->
|
||||||
<sect2 id="gedit-find-escapes">
|
<sect2 id="pluma-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>
|
||||||
|
@ -534,7 +534,7 @@
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= To Position the Cursor on a Specific Line ======================= -->
|
<!-- ============= To Position the Cursor on a Specific Line ======================= -->
|
||||||
<sect2 id="gedit-goto-line">
|
<sect2 id="pluma-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>
|
||||||
|
@ -544,23 +544,23 @@
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1 id="gedit-printing">
|
<sect1 id="pluma-printing">
|
||||||
<title>Printing</title>
|
<title>Printing</title>
|
||||||
|
|
||||||
<!-- ============= To Set the Page Options ============================ -->
|
<!-- ============= To Set the Page Options ============================ -->
|
||||||
<sect2 id="gedit-page-setup">
|
<sect2 id="pluma-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="gedit-page-setup-general">
|
<sect3 id="pluma-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="gedit-set-highlightmode"/>. </para>
|
<para>Select this option to print syntax highlighting. For more information about syntax highlighting, see <xref linkend="pluma-set-highlightmode"/>. </para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry> <term><guilabel>Print page headers</guilabel> </term>
|
<varlistentry> <term><guilabel>Print page headers</guilabel> </term>
|
||||||
|
@ -586,7 +586,7 @@
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
<sect3 id="gedit-page-setup-fonts">
|
<sect3 id="pluma-page-setup-fonts">
|
||||||
<title>Fonts</title>
|
<title>Fonts</title>
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry> <term><guilabel>Body</guilabel> </term>
|
<varlistentry> <term><guilabel>Body</guilabel> </term>
|
||||||
|
@ -612,7 +612,7 @@
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<!-- ============= To Print a File ============================ -->
|
<!-- ============= To Print a File ============================ -->
|
||||||
<sect2 id="gedit-print-file">
|
<sect2 id="pluma-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>
|
||||||
|
@ -795,13 +795,13 @@
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1 id="gedit-programming-features">
|
<sect1 id="pluma-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="gedit-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="pluma-tag-list-plugin"/>.</para>
|
||||||
|
|
||||||
<!-- ============= Syntax Highlighting =================== -->
|
<!-- ============= Syntax Highlighting =================== -->
|
||||||
<sect2 id="gedit-set-highlightmode">
|
<sect2 id="pluma-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>
|
||||||
|
|
||||||
|
@ -841,16 +841,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="gedit-pipe-output">
|
<sect2 id="pluma-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 | gedit</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 | pluma</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="gedit-shortcutkeys">
|
<sect1 id="pluma-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>
|
||||||
<para>For more on shortcut keys, see the <ulink type="help" url="ghelp:user-guide?keyboard-skills">Desktop User Guide</ulink>.</para>
|
<para>For more on shortcut keys, see the <ulink type="help" url="ghelp:user-guide?keyboard-skills">Desktop User Guide</ulink>.</para>
|
||||||
|
@ -949,7 +949,7 @@
|
||||||
</row>
|
</row>
|
||||||
<row valign="top">
|
<row valign="top">
|
||||||
<entry><para>Ctrl + Q</para></entry>
|
<entry><para>Ctrl + Q</para></entry>
|
||||||
<entry><para>Quit Gedit.</para></entry>
|
<entry><para>Quit Pluma.</para></entry>
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
|
@ -1158,18 +1158,18 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- ============= Preferences ============================= -->
|
<!-- ============= Preferences ============================= -->
|
||||||
<sect1 id="gedit-prefs">
|
<sect1 id="pluma-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="gedit-prefs-view"/></para></listitem>
|
<listitem><para><xref linkend="pluma-prefs-view"/></para></listitem>
|
||||||
<listitem><para><xref linkend="gedit-prefs-editor"/></para></listitem>
|
<listitem><para><xref linkend="pluma-prefs-editor"/></para></listitem>
|
||||||
<listitem><para><xref linkend="gedit-prefs-fontsandcolors"/></para></listitem>
|
<listitem><para><xref linkend="pluma-prefs-fontsandcolors"/></para></listitem>
|
||||||
<listitem><para><xref linkend="gedit-prefs-plugins"/></para></listitem>
|
<listitem><para><xref linkend="pluma-prefs-plugins"/></para></listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<sect2 id="gedit-prefs-view">
|
<sect2 id="pluma-prefs-view">
|
||||||
<title>View Preferences</title>
|
<title>View Preferences</title>
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
|
@ -1208,7 +1208,7 @@
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="gedit-prefs-editor">
|
<sect2 id="pluma-prefs-editor">
|
||||||
<title>Editor Preferences</title>
|
<title>Editor Preferences</title>
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
|
@ -1234,7 +1234,7 @@
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="gedit-prefs-fontsandcolors">
|
<sect2 id="pluma-prefs-fontsandcolors">
|
||||||
<title>Font & Colors Preferences</title>
|
<title>Font & Colors Preferences</title>
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
|
@ -1287,12 +1287,12 @@
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="gedit-prefs-plugins">
|
<sect2 id="pluma-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="gedit-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="pluma-plugins-overview"/>.</para>
|
||||||
|
|
||||||
<!-- ============= To Load gedit Plugins ========================= -->
|
<!-- ============= To Load pluma Plugins ========================= -->
|
||||||
<sect3 id="gedit-install-plugins">
|
<sect3 id="pluma-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>
|
||||||
|
@ -1311,8 +1311,8 @@
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
<!-- ============= To Remove gedit Plugins ========================= -->
|
<!-- ============= To Remove pluma Plugins ========================= -->
|
||||||
<sect3 id="gedit-remove-plugins">
|
<sect3 id="pluma-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>
|
||||||
|
@ -1334,62 +1334,62 @@
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
<!-- ============= To Use the gedit Plugins ========================= -->
|
<!-- ============= To Use the pluma Plugins ========================= -->
|
||||||
<sect1 id="gedit-plugins">
|
<sect1 id="pluma-plugins">
|
||||||
<title>Plugins</title>
|
<title>Plugins</title>
|
||||||
<sect2 id="gedit-plugins-overview">
|
<sect2 id="pluma-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.mate.org/Gedit/Plugins">gedit 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/Pluma/Plugins">pluma website</ulink> lists third-party plugins.</para>
|
||||||
<para>To enable and disable plugins, or see which plugins are currently enabled, use the <link linkend="gedit-prefs-plugins">Plugins Preferences</link>.</para>
|
<para>To enable and disable plugins, or see which plugins are currently enabled, use the <link linkend="pluma-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="gedit-change-case-plugin"><application>Change Case</application></link> allows you to change the case of the selected text.</para>
|
<para><link linkend="pluma-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="gedit-document-statistics-plugin">Document Statistics</link></application> shows the number of lines, words, and characters in the document. </para>
|
<para><application><link linkend="pluma-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="gedit-external-tools-plugin">External Tools</link></application> allows you to execute external commands from <application>&app;</application>.</para>
|
<para><application><link linkend="pluma-external-tools-plugin">External Tools</link></application> allows you to execute external commands from <application>&app;</application>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><application><!-- <link linkend="gedit-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="pluma-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="gedit-indent-lines-plugin">Indent Lines</link></application> adds or removes indentation from the selected lines.</para>
|
<para><application><link linkend="pluma-indent-lines-plugin">Indent Lines</link></application> adds or removes indentation from the selected lines.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><application><link linkend="gedit-insert-date-time-plugin">Insert Date/Time</link></application> adds the current date and time into a document.</para>
|
<para><application><link linkend="pluma-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="gedit-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="pluma-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="gedit-python-console-plugin">Python Console</link></application> allows you to run commands in the python programming language.</para>
|
<para><application><link linkend="pluma-python-console-plugin">Python Console</link></application> allows you to run commands in the python programming language.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><application><link linkend="gedit-snippets-plugin">Snippets</link></application> allows you to store frequently-used pieces of text and insert them quickly into a document.</para>
|
<para><application><link linkend="pluma-snippets-plugin">Snippets</link></application> allows you to store frequently-used pieces of text and insert them quickly into a document.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><application><link linkend="gedit-sort-plugin">Sort</link></application> arranges selected lines of text into alphabetical order.</para>
|
<para><application><link linkend="pluma-sort-plugin">Sort</link></application> arranges selected lines of text into alphabetical order.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><application><link linkend="gedit-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="pluma-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="gedit-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="pluma-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>
|
||||||
|
|
||||||
<note><para>For more information on creating plugins, see the <ulink type="http" url="http://live.mate.org/Gedit/Plugins"><application>&app;</application> website</ulink>.</para></note>
|
<note><para>For more information on creating plugins, see the <ulink type="http" url="http://live.gnome.org/Pluma/Plugins"><application>&app;</application> website</ulink>.</para></note>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="gedit-change-case-plugin">
|
<sect2 id="pluma-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>
|
||||||
|
@ -1440,7 +1440,7 @@
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="gedit-document-statistics-plugin">
|
<sect2 id="pluma-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>
|
||||||
|
@ -1470,12 +1470,12 @@
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="gedit-external-tools-plugin">
|
<sect2 id="pluma-external-tools-plugin">
|
||||||
<title>External Tools Plugin</title>
|
<title>External Tools Plugin</title>
|
||||||
<para>The <application>External Tools</application> plugin allows you to execute external commands from <application>&app;</application>. You can pipe some content into a command and exploit its output (for example, <application>sed</application>), or launch a predefined command (for example, <application>make</application>).</para>
|
<para>The <application>External Tools</application> plugin allows you to execute external commands from <application>&app;</application>. You can pipe some content into a command and exploit its output (for example, <application>sed</application>), or launch a predefined command (for example, <application>make</application>).</para>
|
||||||
<para>Use the <guilabel>External Tools Manager</guilabel> to create and edit commands. To run an external command, choose it from the <guimenu>Tools</guimenu> menu.</para>
|
<para>Use the <guilabel>External Tools Manager</guilabel> to create and edit commands. To run an external command, choose it from the <guimenu>Tools</guimenu> menu.</para>
|
||||||
|
|
||||||
<sect3 id="gedit-external-tools-plugin-builtin">
|
<sect3 id="pluma-external-tools-plugin-builtin">
|
||||||
<title>Built-in Commands</title>
|
<title>Built-in Commands</title>
|
||||||
<para>The following commands are provided with the <application>External Tools</application> plugin:</para>
|
<para>The following commands are provided with the <application>External Tools</application> plugin:</para>
|
||||||
<variablelist>
|
<variablelist>
|
||||||
|
@ -1507,7 +1507,7 @@
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
<sect3 id="gedit-external-tools-plugin-define">
|
<sect3 id="pluma-external-tools-plugin-define">
|
||||||
<title>Defining a Command</title>
|
<title>Defining a Command</title>
|
||||||
<para>To add an external command, choose <menuchoice><guimenu>Tools</guimenu><guimenuitem>External Tools</guimenuitem></menuchoice>.</para>
|
<para>To add an external command, choose <menuchoice><guimenu>Tools</guimenu><guimenuitem>External Tools</guimenuitem></menuchoice>.</para>
|
||||||
<para>In the <guilabel>External Tools Manager</guilabel> window, click <guibutton>New</guibutton>. You can speficy the following details for the new command:</para>
|
<para>In the <guilabel>External Tools Manager</guilabel> window, click <guibutton>New</guibutton>. You can speficy the following details for the new command:</para>
|
||||||
|
@ -1524,7 +1524,7 @@
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry><term>Commands</term>
|
<varlistentry><term>Commands</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>The actual commands to be run. Several <application>&app;</application> environment variables can be used to pass content to these commands: see <xref linkend="gedit-external-tools-plugin-variables"/>.</para>
|
<para>The actual commands to be run. Several <application>&app;</application> environment variables can be used to pass content to these commands: see <xref linkend="pluma-external-tools-plugin-variables"/>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry><term>Input</term>
|
<varlistentry><term>Input</term>
|
||||||
|
@ -1546,7 +1546,7 @@
|
||||||
|
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
<sect3 id="gedit-external-tools-plugin-edit">
|
<sect3 id="pluma-external-tools-plugin-edit">
|
||||||
<title>Editing and Removing Tools</title>
|
<title>Editing and Removing Tools</title>
|
||||||
<para>To edit a tool, select it in the list and make changes to its properties.</para>
|
<para>To edit a tool, select it in the list and make changes to its properties.</para>
|
||||||
<para>To rename a tool, click it again in the list.</para>
|
<para>To rename a tool, click it again in the list.</para>
|
||||||
|
@ -1554,57 +1554,57 @@
|
||||||
<para>To remove a tool, select it in the list and press <guibutton>Remove</guibutton>. You can not remove built-in tools, only those you have created yourself.</para>
|
<para>To remove a tool, select it in the list and press <guibutton>Remove</guibutton>. You can not remove built-in tools, only those you have created yourself.</para>
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
<sect3 id="gedit-external-tools-plugin-variables">
|
<sect3 id="pluma-external-tools-plugin-variables">
|
||||||
<title>Variables</title>
|
<title>Variables</title>
|
||||||
<para>You can use the following variables in the <guilabel>Commands</guilabel> field of the command definition:</para>
|
<para>You can use the following variables in the <guilabel>Commands</guilabel> field of the command definition:</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>GEDIT_CURRENT_DOCUMENT_URI</para>
|
<para>PLUMA_CURRENT_DOCUMENT_URI</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>GEDIT_CURRENT_DOCUMENT_NAME</para>
|
<para>PLUMA_CURRENT_DOCUMENT_NAME</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>GEDIT_CURRENT_DOCUMENT_SCHEME</para>
|
<para>PLUMA_CURRENT_DOCUMENT_SCHEME</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>GEDIT_CURRENT_DOCUMENT_PATH</para>
|
<para>PLUMA_CURRENT_DOCUMENT_PATH</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>GEDIT_CURRENT_DOCUMENT_DIR</para>
|
<para>PLUMA_CURRENT_DOCUMENT_DIR</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>GEDIT_DOCUMENTS_URI</para>
|
<para>PLUMA_DOCUMENTS_URI</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>GEDIT_DOCUMENTS_PATH</para>
|
<para>PLUMA_DOCUMENTS_PATH</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</sect3>
|
</sect3>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="gedit-file-browser-plugin">
|
<sect2 id="pluma-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="gedit-file-browser-plugin-browsing">
|
<sect3 id="pluma-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="gedit-file-browser-plugin-open">
|
<sect3 id="pluma-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="gedit-file-browser-plugin-create">
|
<sect3 id="pluma-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="gedit-indent-lines-plugin">
|
<sect2 id="pluma-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>
|
||||||
|
@ -1622,11 +1622,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="gedit-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="pluma-prefs-editor"/>.</para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="gedit-insert-date-time-plugin">
|
<sect2 id="pluma-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>
|
||||||
|
@ -1636,7 +1636,7 @@
|
||||||
</listitem>
|
</listitem>
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
|
|
||||||
<sect3 id="gedit-date-time-configure">
|
<sect3 id="pluma-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>
|
||||||
|
@ -1674,7 +1674,7 @@
|
||||||
</sect3>
|
</sect3>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="gedit-modelines-plugin">
|
<sect2 id="pluma-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>
|
||||||
|
@ -1699,42 +1699,42 @@
|
||||||
|
|
||||||
<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="gedit-modelines-plugin-emacs">
|
<sect3 id="pluma-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="gedit-modelines-plugin-kate">
|
<sect3 id="pluma-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="gedit-modelines-plugin-vim">
|
<sect3 id="pluma-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="gedit-python-console-plugin">
|
<sect2 id="pluma-python-console-plugin">
|
||||||
<title>Python Console Plugin</title>
|
<title>Python Console Plugin</title>
|
||||||
<para>The <application>Python Console</application> Plugin allows you to run commands in the python programming language from <application>&app;</application>. Enabling the plugin adds a tab to the bottom pane. This shows recent output and a command prompt field.</para>
|
<para>The <application>Python Console</application> Plugin allows you to run commands in the python programming language from <application>&app;</application>. Enabling the plugin adds a tab to the bottom pane. This shows recent output and a command prompt field.</para>
|
||||||
<caution><para>Commands entered into the python console are not checked before they are run. It is therefore possible to hang <application>&app;</application>, for example by entering an infinite loop.</para></caution>
|
<caution><para>Commands entered into the python console are not checked before they are run. It is therefore possible to hang <application>&app;</application>, for example by entering an infinite loop.</para></caution>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="gedit-snippets-plugin">
|
<sect2 id="pluma-snippets-plugin">
|
||||||
<title>Snippets Plugin</title>
|
<title>Snippets Plugin</title>
|
||||||
<para>The <application>Snippets</application> plugin allows you to store frequently-used pieces of text, called <firstterm>snippets</firstterm>, and insert them quickly into a document.</para>
|
<para>The <application>Snippets</application> plugin allows you to store frequently-used pieces of text, called <firstterm>snippets</firstterm>, and insert them quickly into a document.</para>
|
||||||
<para>Snippets are specific to the language syntax of the current document. For example, when you are working with an HTML document, you can choose from a list of snippets that are useful for HTML. In addition, some snippets are global, and are available in all documents.</para>
|
<para>Snippets are specific to the language syntax of the current document. For example, when you are working with an HTML document, you can choose from a list of snippets that are useful for HTML. In addition, some snippets are global, and are available in all documents.</para>
|
||||||
<para>A number of built-in snippets are installed with <application>&app;</application>, which can be modified.</para>
|
<para>A number of built-in snippets are installed with <application>&app;</application>, which can be modified.</para>
|
||||||
|
|
||||||
<sect3 id="gedit-snippets-plugin-insert">
|
<sect3 id="pluma-snippets-plugin-insert">
|
||||||
<title>Inserting Snippets</title>
|
<title>Inserting Snippets</title>
|
||||||
<para>To insert a snippet into a document, type its <firstterm>tab trigger</firstterm> and press <keycap>Tab</keycap>. A snippet's tab trigger is usually the first few letters of the snippet, or something else that is short and easy to remember.</para>
|
<para>To insert a snippet into a document, type its <firstterm>tab trigger</firstterm> and press <keycap>Tab</keycap>. A snippet's tab trigger is usually the first few letters of the snippet, or something else that is short and easy to remember.</para>
|
||||||
<para>Alternatively, press <keycombo><keycap>Ctrl</keycap><keycap>Space</keycap></keycombo> to see a list of snippets you can insert.</para>
|
<para>Alternatively, press <keycombo><keycap>Ctrl</keycap><keycap>Space</keycap></keycombo> to see a list of snippets you can insert.</para>
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
<sect3 id="gedit-snippets-plugin-add">
|
<sect3 id="pluma-snippets-plugin-add">
|
||||||
<title>Adding Snippets</title>
|
<title>Adding Snippets</title>
|
||||||
<para>To create a new snippet, do the following:</para>
|
<para>To create a new snippet, do the following:</para>
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
|
@ -1757,7 +1757,7 @@
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry><term>Snippet text</term>
|
<varlistentry><term>Snippet text</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Enter the text of the snippet in the <guilabel>Edit snippet</guilabel> text box. For special codes you can use, see <xref linkend="gedit-snippets-plugin-syntax"/>.</para>
|
<para>Enter the text of the snippet in the <guilabel>Edit snippet</guilabel> text box. For special codes you can use, see <xref linkend="pluma-snippets-plugin-syntax"/>.</para>
|
||||||
<tip><para>You can switch back to the document window to copy text without closing the <guilabel>Snippets Manager</guilabel> window.</para></tip>
|
<tip><para>You can switch back to the document window to copy text without closing the <guilabel>Snippets Manager</guilabel> window.</para></tip>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
@ -1777,7 +1777,7 @@
|
||||||
</listitem>
|
</listitem>
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
</sect3>
|
</sect3>
|
||||||
<sect3 id="gedit-snippets-plugin-edit">
|
<sect3 id="pluma-snippets-plugin-edit">
|
||||||
<title>Editing and Removing Snippets</title>
|
<title>Editing and Removing Snippets</title>
|
||||||
<para>To edit a snippet, select it in the list and make changes to its text and activation properties.</para>
|
<para>To edit a snippet, select it in the list and make changes to its text and activation properties.</para>
|
||||||
<para>To rename a snippet, click it again in the list.</para>
|
<para>To rename a snippet, click it again in the list.</para>
|
||||||
|
@ -1785,7 +1785,7 @@
|
||||||
<para>To remove a snippet, select it in the list and press <guibutton>Remove</guibutton>. You can not remove built-in snippets, only those you have created yourself.</para>
|
<para>To remove a snippet, select it in the list and press <guibutton>Remove</guibutton>. You can not remove built-in snippets, only those you have created yourself.</para>
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
<sect3 id="gedit-snippets-plugin-syntax">
|
<sect3 id="pluma-snippets-plugin-syntax">
|
||||||
<title>Snippet Substitutions</title>
|
<title>Snippet Substitutions</title>
|
||||||
<para>In addition to inserting stored text, a snippet can include customizable text, or mark spaces where you can add text once the snippet is inserted in your document.</para>
|
<para>In addition to inserting stored text, a snippet can include customizable text, or mark spaces where you can add text once the snippet is inserted in your document.</para>
|
||||||
|
|
||||||
|
@ -1816,22 +1816,22 @@
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Environmental variable such as <literal>$PATH</literal> and <literal>$HOME</literal> are substituted in snippet text. The following variables specific to <application>&app;</application> can also be used:</para>
|
<para>Environmental variable such as <literal>$PATH</literal> and <literal>$HOME</literal> are substituted in snippet text. The following variables specific to <application>&app;</application> can also be used:</para>
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry><term>$GEDIT_SELECTED_TEXT</term>
|
<varlistentry><term>$PLUMA_SELECTED_TEXT</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>The currently selected text.</para>
|
<para>The currently selected text.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry><term>$GEDIT_FILENAME</term>
|
<varlistentry><term>$PLUMA_FILENAME</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>The full filename of the document, or an empty string if the document isn't saved yet.</para>
|
<para>The full filename of the document, or an empty string if the document isn't saved yet.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry><term>$GEDIT_BASENAME</term>
|
<varlistentry><term>$PLUMA_BASENAME</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>The basename of the filename of the document, or an empty string if the document isn't saved yet.</para>
|
<para>The basename of the filename of the document, or an empty string if the document isn't saved yet.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry><term>$GEDIT_CURRENT_WORD</term>
|
<varlistentry><term>$PLUMA_CURRENT_WORD</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>The word at the cursor's location in the document. When this variable is used, the current word will be replaced by the snippet text.</para>
|
<para>The word at the cursor's location in the document. When this variable is used, the current word will be replaced by the snippet text.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
@ -1859,7 +1859,7 @@
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="gedit-sort-plugin">
|
<sect2 id="pluma-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>.
|
||||||
|
@ -1896,7 +1896,7 @@
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="gedit-spell-checker-plugin">
|
<sect2 id="pluma-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>
|
||||||
|
@ -1951,7 +1951,7 @@
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="gedit-tag-list-plugin">
|
<sect2 id="pluma-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,16 +1,16 @@
|
||||||
include $(top_srcdir)/mate-doc-utils.make
|
include $(top_srcdir)/mate-doc-utils.make
|
||||||
dist-hook: doc-dist-hook
|
dist-hook: doc-dist-hook
|
||||||
|
|
||||||
DOC_MODULE = gedit
|
DOC_MODULE = pluma
|
||||||
DOC_ENTITIES =
|
DOC_ENTITIES =
|
||||||
DOC_INCLUDES = legal.xml
|
DOC_INCLUDES = legal.xml
|
||||||
DOC_FIGURES = \
|
DOC_FIGURES = \
|
||||||
figures/gedit_format_bold.png \
|
figures/pluma_format_bold.png \
|
||||||
figures/gedit_format_italic.png \
|
figures/pluma_format_italic.png \
|
||||||
figures/gedit_format_strikethrough.png \
|
figures/pluma_format_strikethrough.png \
|
||||||
figures/gedit_format_underline.png \
|
figures/pluma_format_underline.png \
|
||||||
figures/gedit_recent_files_menu_icon.png \
|
figures/pluma_recent_files_menu_icon.png \
|
||||||
figures/gedit_window.png
|
figures/pluma_window.png
|
||||||
|
|
||||||
DOC_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
|
DOC_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
|
||||||
|
|
||||||
|
|
1754
help/ar/ar.po
1392
help/bg/bg.po
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
1944
help/ca/ca.po
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
1914
help/cs/cs.po
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
1990
help/da/da.po
1934
help/de/de.po
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
1946
help/el/el.po
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
1956
help/es/es.po
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
1938
help/fi/fi.po
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 430 B After Width: | Height: | Size: 430 B |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
1900
help/fr/fr.po
1908
help/hu/hu.po
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
1934
help/it/it.po
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
1974
help/ja/ja.po
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |