[gtef/wip/tepl] Gtef -> Tepl: start to rename Gtef to Tepl



commit 2eaeb48d1a21e1d7868486cf3ab76810d87fd815
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sun Jun 11 16:55:12 2017 +0200

    Gtef -> Tepl: start to rename Gtef to Tepl
    
    It's easy since Tepl has the same length as Gtef.
    
    I don't really like the name Gtef. Tepl (pronounced like apple) sounds
    much better to me.
    
    Commands used:
    $ find . -type f | grep -v "^\./\.git/" | parallel sed -i 's/GTEF/TEPL/g'
    $ find . -type f | grep -v "^\./\.git/" | parallel sed -i 's/Gtef/Tepl/g'
    $ find . -type f | grep -v "^\./\.git/" | parallel sed -i 's/gtef/tepl/g'
    
    And then:
    $ git checkout -- NEWS
    $ git checkout -- docs/reference/api-breaks.xml
    to keep those two files as is.

 AUTHORS                                |    2 +-
 HACKING                                |    8 +-
 Makefile.am                            |    8 +-
 README                                 |   26 +-
 configure.ac                           |   38 ++--
 docs/reference/Makefile.am             |   30 +-
 docs/reference/gtef-2.0-sections.txt   |  532 ++++++++++++++++----------------
 docs/reference/gtef-docs.xml.in        |    4 +-
 docs/reference/intro.xml.in            |   16 +-
 gtef.doap                              |   12 +-
 gtef.pc.in                             |    4 +-
 gtef/Makefile.am                       |  264 ++++++++--------
 gtef/gtef-action-info-central-store.c  |   92 +++---
 gtef/gtef-action-info-central-store.h  |   54 ++--
 gtef/gtef-action-info-store.c          |  234 +++++++-------
 gtef/gtef-action-info-store.h          |   60 ++--
 gtef/gtef-action-info.c                |  156 +++++-----
 gtef/gtef-action-info.h                |   62 ++--
 gtef/gtef-action-map.c                 |   16 +-
 gtef/gtef-action-map.h                 |   18 +-
 gtef/gtef-application-window.c         |  294 +++++++++---------
 gtef/gtef-application-window.h         |   60 ++--
 gtef/gtef-application.c                |  154 +++++-----
 gtef/gtef-application.h                |   52 ++--
 gtef/gtef-buffer-input-stream.c        |   98 +++---
 gtef/gtef-buffer-input-stream.h        |   50 ++--
 gtef/gtef-buffer.c                     |  314 ++++++++++----------
 gtef/gtef-buffer.h                     |   64 ++--
 gtef/gtef-encoding-converter.c         |   92 +++---
 gtef/gtef-encoding-converter.h         |   60 ++--
 gtef/gtef-encoding-private.h           |   32 +-
 gtef/gtef-encoding.c                   |  240 +++++++-------
 gtef/gtef-encoding.h                   |   48 ++--
 gtef/gtef-enum-types.c.template        |    2 +-
 gtef/gtef-enum-types.h.template        |   12 +-
 gtef/gtef-file-content-loader.c        |  106 ++++----
 gtef/gtef-file-content-loader.h        |   58 ++--
 gtef/gtef-file-loader.c                |  494 +++++++++++++++---------------
 gtef/gtef-file-loader.h                |   76 +++---
 gtef/gtef-file-metadata.c              |  280 +++++++++---------
 gtef/gtef-file-metadata.h              |   48 ++--
 gtef/gtef-file-saver.c                 |  442 +++++++++++++-------------
 gtef/gtef-file-saver.h                 |  126 ++++----
 gtef/gtef-file.c                       |  442 +++++++++++++-------------
 gtef/gtef-file.h                       |  122 ++++----
 gtef/gtef-fold-region.c                |  152 +++++-----
 gtef/gtef-fold-region.h                |   40 ++--
 gtef/gtef-gutter-renderer-folds.c      |   90 +++---
 gtef/gtef-gutter-renderer-folds.h      |   62 ++--
 gtef/gtef-info-bar.c                   |  144 +++++-----
 gtef/gtef-info-bar.h                   |   40 ++--
 gtef/gtef-init.c                       |   24 +-
 gtef/gtef-io-error-info-bar.c          |   36 +-
 gtef/gtef-io-error-info-bar.h          |   30 +-
 gtef/gtef-iter.c                       |   14 +-
 gtef/gtef-iter.h                       |   18 +-
 gtef/gtef-menu-item.c                  |   26 +-
 gtef/gtef-menu-item.h                  |   22 +-
 gtef/gtef-menu-shell.c                 |  170 +++++-----
 gtef/gtef-menu-shell.h                 |   50 ++--
 gtef/gtef-metadata-manager.c           |  136 ++++----
 gtef/gtef-metadata-manager.h           |   26 +-
 gtef/gtef-progress-info-bar.c          |   54 ++--
 gtef/gtef-progress-info-bar.h          |   32 +-
 gtef/gtef-tab.c                        |   60 ++--
 gtef/gtef-tab.h                        |   28 +-
 gtef/gtef-types.h                      |   52 ++--
 gtef/gtef-utils.c                      |   28 +-
 gtef/gtef-utils.h                      |   26 +-
 gtef/gtef-view.c                       |  114 ++++----
 gtef/gtef-view.h                       |   44 ++--
 gtef/gtef.h                            |   64 ++--
 po/Makevars                            |    4 +-
 po/POTFILES.in                         |   48 ++--
 po/POTFILES.skip                       |    4 +-
 po/de.po                               |  146 +++++-----
 po/fur.po                              |  106 ++++----
 po/hu.po                               |  104 +++---
 po/id.po                               |  154 +++++-----
 po/pl.po                               |  154 +++++-----
 po/pt_BR.po                            |  154 +++++-----
 po/ru.po                               |  106 ++++----
 po/sl.po                               |  108 ++++----
 po/sr.po                               |  154 +++++-----
 po/sv.po                               |  154 +++++-----
 po/uk.po                               |  154 +++++-----
 tests/Makefile.am                      |    6 +-
 tests/gtef-gutter-renderer-folds-sub.c |   70 ++--
 tests/gtef-gutter-renderer-folds-sub.h |   42 ++--
 tests/test-fold-region.c               |   16 +-
 tests/test-gutter-renderer-folds.c     |   12 +-
 tests/test-menu.c                      |   48 ++--
 tests/test-tab.c                       |   66 ++--
 testsuite/Makefile.am                  |    8 +-
 testsuite/test-action-info-store.c     |   34 +-
 testsuite/test-action-map.c            |   16 +-
 testsuite/test-buffer-input-stream.c   |   66 ++--
 testsuite/test-encoding-converter.c    |  110 ++++----
 testsuite/test-encoding.c              |   44 ++--
 testsuite/test-file-loader.c           |  142 +++++-----
 testsuite/test-file-metadata.c         |  174 ++++++------
 testsuite/test-file-saver.c            |  114 ++++----
 testsuite/test-file.c                  |  142 +++++-----
 testsuite/test-fold-region.c           |  134 ++++----
 testsuite/test-info-bar.c              |   12 +-
 testsuite/test-utils.c                 |   36 +-
 106 files changed, 4913 insertions(+), 4913 deletions(-)
---
diff --git a/AUTHORS b/AUTHORS
index aba4f30..0b19694 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,2 +1,2 @@
-Author and maintainer of Gtef:
+Author and maintainer of Tepl:
 Sébastien Wilmet <swilmet gnome org>
diff --git a/HACKING b/HACKING
index b50ae38..b5849c4 100644
--- a/HACKING
+++ b/HACKING
@@ -1,10 +1,10 @@
-How to contribute to Gtef
+How to contribute to Tepl
 =========================
 
-Gtef follows the same guidelines and code conventions as GtkSourceView:
+Tepl follows the same guidelines and code conventions as GtkSourceView:
 
     https://git.gnome.org/browse/gtksourceview/tree/HACKING
 
-The bugzilla product of Gtef is available at:
+The bugzilla product of Tepl is available at:
 
-    https://bugzilla.gnome.org/page.cgi?id=browse.html&product=gtef
+    https://bugzilla.gnome.org/page.cgi?id=browse.html&product=tepl
diff --git a/Makefile.am b/Makefile.am
index 095b2b4..f990a62 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,15 +1,15 @@
-SUBDIRS = po gtef tests testsuite docs
+SUBDIRS = po tepl tests testsuite docs
 
 @CODE_COVERAGE_RULES@
 
 AM_DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection --enable-vala
 
-pkgconfig_DATA = gtef-$(GTEF_API_VERSION).pc
+pkgconfig_DATA = tepl-$(TEPL_API_VERSION).pc
 DISTCLEANFILES = $(pkgconfig_DATA)
 
 EXTRA_DIST =           \
-       gtef.doap       \
-       gtef.pc.in      \
+       tepl.doap       \
+       tepl.pc.in      \
        HACKING
 
 MAINTAINERCLEANFILES = \
diff --git a/README b/README
index 511699d..34e6f92 100644
--- a/README
+++ b/README
@@ -1,14 +1,14 @@
-Gtef - GTK+ Text Editor Framework
+Tepl - GTK+ Text Editor Framework
 =================================
 
-This is version 2.0.1 of Gtef.
+This is version 2.0.1 of Tepl.
 
-Gtef is a library that eases the development of GtkSourceView-based text
+Tepl is a library that eases the development of GtkSourceView-based text
 editors and IDEs.
 
-The Gtef website:
+The Tepl website:
 
-    https://wiki.gnome.org/Projects/Gtef
+    https://wiki.gnome.org/Projects/Tepl
 
 Some background on why this project has been created:
 
@@ -19,19 +19,19 @@ The final goal is to create a Tabbed Document Interface (TDI) framework
 suitable for text editors.
 
 But the first short-term goal is to have a higher-level API to load and save a
-file. All the errors would be handled by Gtef, showing GtkInfoBars etc.
+file. All the errors would be handled by Tepl, showing GtkInfoBars etc.
 
-Maybe some of the Gtef features will be moved to GtkSourceView when it's
-considered more stable. So Gtef can also be seen as an incubator for some
+Maybe some of the Tepl features will be moved to GtkSourceView when it's
+considered more stable. So Tepl can also be seen as an incubator for some
 GtkSourceView features.
 
-The Gtef library is free software and is released under the terms of the
+The Tepl library is free software and is released under the terms of the
 GNU Lesser General Public License.
 
 Warning - API/ABI stability
 ---------------------------
 
-Gtef uses the same versioning *scheme* as GNOME, but not the same version
+Tepl uses the same versioning *scheme* as GNOME, but not the same version
 *numbers* at the same time. The package version has the form
 'major.minor.micro'. If 'minor' is an even number, it means that it is a stable
 version and that API/ABI stability is guaranteed, and that it is
@@ -44,7 +44,7 @@ parallel.
 To learn more about the GNOME versioning scheme:
 https://developer.gnome.org/programming-guidelines/stable/versioning.html.en
 
-Gtef contains more experimental APIs than GtkSourceView, sometimes even
+Tepl contains more experimental APIs than GtkSourceView, sometimes even
 unfinished features. It means that - if needed - new major versions are
 released every 6 months, breaking the API to improve and design it
 incrementally.
@@ -77,12 +77,12 @@ From the Git repository, the 'configure' script and the 'INSTALL' file are not
 yet generated, so you need to run 'autogen.sh' instead, which takes the same
 arguments as 'configure'.
 
-To build the latest version of Gtef plus its dependencies from Git, Jhbuild is
+To build the latest version of Tepl plus its dependencies from Git, Jhbuild is
 recommended:
 
     https://wiki.gnome.org/Projects/Jhbuild
 
-Applications that use Gtef
+Applications that use Tepl
 --------------------------
 
 - gCSVedit: http://gcsvedit.sourceforge.net/
diff --git a/configure.ac b/configure.ac
index 91125d1..283aa9e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,13 +3,13 @@ dnl Process this file with autoconf to produce a configure script.
 AC_PREREQ(2.64)
 
 # Package version of the form 'major.minor.micro'.
-m4_define(gtef_package_version, 2.0.1)
+m4_define(tepl_package_version, 2.0.1)
 
-AC_INIT([gtef],
-       [gtef_package_version],
-       [https://bugzilla.gnome.org/enter_bug.cgi?product=gtef],
-       [gtef],
-       [https://wiki.gnome.org/Projects/Gtef])
+AC_INIT([tepl],
+       [tepl_package_version],
+       [https://bugzilla.gnome.org/enter_bug.cgi?product=tepl],
+       [tepl],
+       [https://wiki.gnome.org/Projects/Tepl])
 
 AX_REQUIRE_DEFINED([AX_IS_RELEASE])
 AX_IS_RELEASE([git-directory])
@@ -34,20 +34,20 @@ AX_IS_RELEASE([git-directory])
 # When incrementing the API version (usually for a new major package version),
 # set CURRENT, REVISION and AGE to 0 since it's like a new library.
 
-GTEF_LT_CURRENT=0
-GTEF_LT_REVISION=0
-GTEF_LT_AGE=0
-GTEF_LT_VERSION="$GTEF_LT_CURRENT:$GTEF_LT_REVISION:$GTEF_LT_AGE"
-AC_SUBST(GTEF_LT_VERSION)
+TEPL_LT_CURRENT=0
+TEPL_LT_REVISION=0
+TEPL_LT_AGE=0
+TEPL_LT_VERSION="$TEPL_LT_CURRENT:$TEPL_LT_REVISION:$TEPL_LT_AGE"
+AC_SUBST(TEPL_LT_VERSION)
 
 # API version, used for parallel installability.
 # Not used in:
 # - po/Makevars
-# - the docs/reference/gtef-1.0-sections.txt filename
+# - the docs/reference/tepl-1.0-sections.txt filename
 # Because as far as I've tested, it is not easily feasible to not hardcode the
 # API version in those places (swilmet).
-GTEF_API_VERSION=2
-AC_SUBST(GTEF_API_VERSION)
+TEPL_API_VERSION=2
+AC_SUBST(TEPL_API_VERSION)
 
 # Dependencies
 glib_req=2.52
@@ -55,7 +55,7 @@ gtk_req=3.20
 gtksourceview_req=3.22
 libxml_req=2.5
 
-AC_CONFIG_SRCDIR([gtef/gtef.h])
+AC_CONFIG_SRCDIR([tepl/tepl.h])
 AC_CONFIG_HEADER([config.h])
 AC_CONFIG_MACRO_DIR([m4])
 
@@ -103,7 +103,7 @@ fi
 # i18n
 AM_GNU_GETTEXT([external])
 AM_GNU_GETTEXT_VERSION([0.19.4])
-AC_SUBST([GETTEXT_PACKAGE], [gtef-$GTEF_API_VERSION])
+AC_SUBST([GETTEXT_PACKAGE], [tepl-$TEPL_API_VERSION])
 AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Define to the gettext package name.])
 
 # Documentation
@@ -139,13 +139,13 @@ PKG_CHECK_VAR([GLIB_PREFIX], [glib-2.0], [prefix])
 
 # Output files
 AC_CONFIG_FILES([
-       gtef-${GTEF_API_VERSION}.pc:gtef.pc.in
+       tepl-${TEPL_API_VERSION}.pc:tepl.pc.in
        Makefile
        docs/Makefile
-       docs/reference/gtef-docs.xml
+       docs/reference/tepl-docs.xml
        docs/reference/intro.xml
        docs/reference/Makefile
-       gtef/Makefile
+       tepl/Makefile
        po/Makefile.in
        tests/Makefile
        testsuite/Makefile
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 44dbfea..ab0c71a 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -6,31 +6,31 @@ AUTOMAKE_OPTIONS = 1.6
 # $name-$major.$minor
 # (to show the API online at developer.gnome.org)
 # So, add ".0".
-DOC_MODULE = gtef-@GTEF_API_VERSION@.0
+DOC_MODULE = tepl-@TEPL_API_VERSION@.0
 
 # The top-level XML file (SGML in the past).
-DOC_MAIN_SGML_FILE = gtef-docs.xml
+DOC_MAIN_SGML_FILE = tepl-docs.xml
 
 # Extra options to supply to gtkdoc-scan
 SCAN_OPTIONS = --rebuild-types
 
 # The directory containing the source code. Relative to $(srcdir)
-DOC_SOURCE_DIR = $(top_srcdir)/gtef
+DOC_SOURCE_DIR = $(top_srcdir)/tepl
 
 # Used for dependencies
-HFILE_GLOB = $(top_srcdir)/gtef/*.h
-CFILE_GLOB = $(top_srcdir)/gtef/*.c
+HFILE_GLOB = $(top_srcdir)/tepl/*.h
+CFILE_GLOB = $(top_srcdir)/tepl/*.c
 
 # Header files or dirs to ignore when scanning. Use base file/dir names
 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code
 IGNORE_HFILES =                                \
-       gtef.h                          \
-       gtef-buffer-input-stream.h      \
-       gtef-encoding-converter.h       \
-       gtef-encoding-private.h         \
-       gtef-file-content-loader.h      \
-       gtef-io-error-info-bar.h        \
-       gtef-progress-info-bar.h
+       tepl.h                          \
+       tepl-buffer-input-stream.h      \
+       tepl-encoding-converter.h       \
+       tepl-encoding-private.h         \
+       tepl-file-content-loader.h      \
+       tepl-io-error-info-bar.h        \
+       tepl-progress-info-bar.h
 
 # Extra options to supply to gtkdoc-mkdb
 MKDB_OPTIONS = --xml-mode --output-format=xml
@@ -51,7 +51,7 @@ FIXXREF_OPTIONS =
 # signals and properties.
 GTKDOC_CFLAGS = -I$(top_srcdir) $(DEP_CFLAGS)
 GTKDOC_LIBS =                                                  \
-       $(top_builddir)/gtef/libgtef-@GTEF_API_VERSION@.la      \
+       $(top_builddir)/tepl/libtepl-@TEPL_API_VERSION@.la      \
        $(DEP_LIBS)
 
 MAINTAINERCLEANFILES =                 \
@@ -62,11 +62,11 @@ MAINTAINERCLEANFILES =                      \
 include $(top_srcdir)/gtk-doc.make
 
 EXTRA_DIST +=                  \
-       gtef-docs.xml.in        \
+       tepl-docs.xml.in        \
        intro.xml.in
 
 DISTCLEANFILES =               \
-       gtef-docs.xml           \
+       tepl-docs.xml           \
        intro.xml
 
 -include $(top_srcdir)/git.mk
diff --git a/docs/reference/gtef-2.0-sections.txt b/docs/reference/gtef-2.0-sections.txt
index e1d8792..b2800b8 100644
--- a/docs/reference/gtef-2.0-sections.txt
+++ b/docs/reference/gtef-2.0-sections.txt
@@ -1,375 +1,375 @@
-<INCLUDE>gtef/gtef.h</INCLUDE>
+<INCLUDE>tepl/tepl.h</INCLUDE>
 
 <SECTION>
 <FILE>action-info</FILE>
-GtefActionInfo
-GtefActionInfoEntry
-gtef_action_info_new
-gtef_action_info_new_from_entry
-gtef_action_info_ref
-gtef_action_info_unref
-gtef_action_info_copy
-gtef_action_info_get_action_name
-gtef_action_info_set_action_name
-gtef_action_info_get_icon_name
-gtef_action_info_set_icon_name
-gtef_action_info_get_label
-gtef_action_info_set_label
-gtef_action_info_get_tooltip
-gtef_action_info_set_tooltip
-gtef_action_info_get_accels
-gtef_action_info_set_accels
+TeplActionInfo
+TeplActionInfoEntry
+tepl_action_info_new
+tepl_action_info_new_from_entry
+tepl_action_info_ref
+tepl_action_info_unref
+tepl_action_info_copy
+tepl_action_info_get_action_name
+tepl_action_info_set_action_name
+tepl_action_info_get_icon_name
+tepl_action_info_set_icon_name
+tepl_action_info_get_label
+tepl_action_info_set_label
+tepl_action_info_get_tooltip
+tepl_action_info_set_tooltip
+tepl_action_info_get_accels
+tepl_action_info_set_accels
 <SUBSECTION Standard>
-gtef_action_info_get_type
-GTEF_TYPE_ACTION_INFO
+tepl_action_info_get_type
+TEPL_TYPE_ACTION_INFO
 </SECTION>
 
 <SECTION>
 <FILE>action-info-store</FILE>
-GtefActionInfoStore
-gtef_action_info_store_new
-gtef_action_info_store_get_application
-gtef_action_info_store_add
-gtef_action_info_store_add_entries
-gtef_action_info_store_lookup
-gtef_action_info_store_create_menu_item
-gtef_action_info_store_check_all_used
+TeplActionInfoStore
+tepl_action_info_store_new
+tepl_action_info_store_get_application
+tepl_action_info_store_add
+tepl_action_info_store_add_entries
+tepl_action_info_store_lookup
+tepl_action_info_store_create_menu_item
+tepl_action_info_store_check_all_used
 <SUBSECTION Standard>
-GTEF_ACTION_INFO_STORE
-GTEF_ACTION_INFO_STORE_CLASS
-GTEF_ACTION_INFO_STORE_GET_CLASS
-GTEF_IS_ACTION_INFO_STORE
-GTEF_IS_ACTION_INFO_STORE_CLASS
-GTEF_TYPE_ACTION_INFO_STORE
-GtefActionInfoStoreClass
-GtefActionInfoStorePrivate
-gtef_action_info_store_get_type
+TEPL_ACTION_INFO_STORE
+TEPL_ACTION_INFO_STORE_CLASS
+TEPL_ACTION_INFO_STORE_GET_CLASS
+TEPL_IS_ACTION_INFO_STORE
+TEPL_IS_ACTION_INFO_STORE_CLASS
+TEPL_TYPE_ACTION_INFO_STORE
+TeplActionInfoStoreClass
+TeplActionInfoStorePrivate
+tepl_action_info_store_get_type
 </SECTION>
 
 <SECTION>
 <FILE>action-info-central-store</FILE>
-GtefActionInfoCentralStore
-gtef_action_info_central_store_get_instance
-gtef_action_info_central_store_lookup
+TeplActionInfoCentralStore
+tepl_action_info_central_store_get_instance
+tepl_action_info_central_store_lookup
 <SUBSECTION Standard>
-GTEF_ACTION_INFO_CENTRAL_STORE
-GTEF_ACTION_INFO_CENTRAL_STORE_CLASS
-GTEF_ACTION_INFO_CENTRAL_STORE_GET_CLASS
-GTEF_IS_ACTION_INFO_CENTRAL_STORE
-GTEF_IS_ACTION_INFO_CENTRAL_STORE_CLASS
-GTEF_TYPE_ACTION_INFO_CENTRAL_STORE
-GtefActionInfoCentralStoreClass
-GtefActionInfoCentralStorePrivate
-gtef_action_info_central_store_get_type
+TEPL_ACTION_INFO_CENTRAL_STORE
+TEPL_ACTION_INFO_CENTRAL_STORE_CLASS
+TEPL_ACTION_INFO_CENTRAL_STORE_GET_CLASS
+TEPL_IS_ACTION_INFO_CENTRAL_STORE
+TEPL_IS_ACTION_INFO_CENTRAL_STORE_CLASS
+TEPL_TYPE_ACTION_INFO_CENTRAL_STORE
+TeplActionInfoCentralStoreClass
+TeplActionInfoCentralStorePrivate
+tepl_action_info_central_store_get_type
 </SECTION>
 
 <SECTION>
 <FILE>action-map</FILE>
-gtef_action_map_add_action_entries_check_dups
+tepl_action_map_add_action_entries_check_dups
 </SECTION>
 
 <SECTION>
 <FILE>application</FILE>
-GtefApplication
-gtef_application_get_from_gtk_application
-gtef_application_get_default
-gtef_application_get_application
-gtef_application_get_app_action_info_store
-gtef_application_open_simple
+TeplApplication
+tepl_application_get_from_gtk_application
+tepl_application_get_default
+tepl_application_get_application
+tepl_application_get_app_action_info_store
+tepl_application_open_simple
 <SUBSECTION Standard>
-GTEF_APPLICATION
-GTEF_APPLICATION_CLASS
-GTEF_APPLICATION_GET_CLASS
-GTEF_IS_APPLICATION
-GTEF_IS_APPLICATION_CLASS
-GTEF_TYPE_APPLICATION
-GtefApplicationClass
-GtefApplicationPrivate
-gtef_application_get_type
+TEPL_APPLICATION
+TEPL_APPLICATION_CLASS
+TEPL_APPLICATION_GET_CLASS
+TEPL_IS_APPLICATION
+TEPL_IS_APPLICATION_CLASS
+TEPL_TYPE_APPLICATION
+TeplApplicationClass
+TeplApplicationPrivate
+tepl_application_get_type
 </SECTION>
 
 <SECTION>
 <FILE>application-window</FILE>
-GtefApplicationWindow
-gtef_application_window_get_from_gtk_application_window
-gtef_application_window_get_application_window
-gtef_application_window_get_statusbar
-gtef_application_window_set_statusbar
-gtef_application_window_connect_menu_to_statusbar
-gtef_application_window_connect_recent_chooser_menu_to_statusbar
-gtef_application_window_create_open_recent_menu_item
+TeplApplicationWindow
+tepl_application_window_get_from_gtk_application_window
+tepl_application_window_get_application_window
+tepl_application_window_get_statusbar
+tepl_application_window_set_statusbar
+tepl_application_window_connect_menu_to_statusbar
+tepl_application_window_connect_recent_chooser_menu_to_statusbar
+tepl_application_window_create_open_recent_menu_item
 <SUBSECTION Standard>
-GTEF_APPLICATION_WINDOW
-GTEF_APPLICATION_WINDOW_CLASS
-GTEF_APPLICATION_WINDOW_GET_CLASS
-GTEF_IS_APPLICATION_WINDOW
-GTEF_IS_APPLICATION_WINDOW_CLASS
-GTEF_TYPE_APPLICATION_WINDOW
-GtefApplicationWindowClass
-GtefApplicationWindowPrivate
-gtef_application_window_get_type
+TEPL_APPLICATION_WINDOW
+TEPL_APPLICATION_WINDOW_CLASS
+TEPL_APPLICATION_WINDOW_GET_CLASS
+TEPL_IS_APPLICATION_WINDOW
+TEPL_IS_APPLICATION_WINDOW_CLASS
+TEPL_TYPE_APPLICATION_WINDOW
+TeplApplicationWindowClass
+TeplApplicationWindowPrivate
+tepl_application_window_get_type
 </SECTION>
 
 <SECTION>
 <FILE>buffer</FILE>
-GtefBuffer
-GtefSelectionType
-gtef_buffer_new
-gtef_buffer_get_file
-gtef_buffer_is_untouched
-gtef_buffer_get_title
-gtef_buffer_get_style_scheme_id
-gtef_buffer_set_style_scheme_id
-gtef_buffer_get_selection_type
+TeplBuffer
+TeplSelectionType
+tepl_buffer_new
+tepl_buffer_get_file
+tepl_buffer_is_untouched
+tepl_buffer_get_title
+tepl_buffer_get_style_scheme_id
+tepl_buffer_set_style_scheme_id
+tepl_buffer_get_selection_type
 <SUBSECTION Standard>
-GTEF_TYPE_BUFFER
-GtefBufferClass
-GTEF_TYPE_SELECTION_TYPE
-gtef_selection_type_get_type
+TEPL_TYPE_BUFFER
+TeplBufferClass
+TEPL_TYPE_SELECTION_TYPE
+tepl_selection_type_get_type
 </SECTION>
 
 <SECTION>
 <FILE>encoding</FILE>
-GtefEncoding
+TeplEncoding
 <SUBSECTION>
-gtef_encoding_new
-gtef_encoding_new_utf8
-gtef_encoding_new_from_locale
-gtef_encoding_copy
-gtef_encoding_free
-gtef_encoding_get_charset
-gtef_encoding_get_name
-gtef_encoding_to_string
-gtef_encoding_is_utf8
-gtef_encoding_equals
-gtef_encoding_get_all
-gtef_encoding_get_default_candidates
+tepl_encoding_new
+tepl_encoding_new_utf8
+tepl_encoding_new_from_locale
+tepl_encoding_copy
+tepl_encoding_free
+tepl_encoding_get_charset
+tepl_encoding_get_name
+tepl_encoding_to_string
+tepl_encoding_is_utf8
+tepl_encoding_equals
+tepl_encoding_get_all
+tepl_encoding_get_default_candidates
 <SUBSECTION Standard>
-GTEF_TYPE_ENCODING
-gtef_encoding_get_type
+TEPL_TYPE_ENCODING
+tepl_encoding_get_type
 </SECTION>
 
 <SECTION>
 <FILE>file</FILE>
-GtefFile
-GtefNewlineType
-GTEF_NEWLINE_TYPE_DEFAULT
-GtefCompressionType
-GtefMountOperationFactory
+TeplFile
+TeplNewlineType
+TEPL_NEWLINE_TYPE_DEFAULT
+TeplCompressionType
+TeplMountOperationFactory
 <SUBSECTION>
-gtef_file_new
-gtef_file_get_file_metadata
-gtef_file_get_location
-gtef_file_set_location
-gtef_file_get_short_name
-gtef_file_get_encoding
-gtef_file_get_newline_type
-gtef_file_get_compression_type
-gtef_file_check_file_on_disk
-gtef_file_is_local
-gtef_file_is_externally_modified
-gtef_file_is_deleted
-gtef_file_is_readonly
-gtef_file_set_mount_operation_factory
+tepl_file_new
+tepl_file_get_file_metadata
+tepl_file_get_location
+tepl_file_set_location
+tepl_file_get_short_name
+tepl_file_get_encoding
+tepl_file_get_newline_type
+tepl_file_get_compression_type
+tepl_file_check_file_on_disk
+tepl_file_is_local
+tepl_file_is_externally_modified
+tepl_file_is_deleted
+tepl_file_is_readonly
+tepl_file_set_mount_operation_factory
 <SUBSECTION Standard>
-GtefFileClass
-GTEF_TYPE_FILE
-GTEF_TYPE_NEWLINE_TYPE
-GTEF_TYPE_COMPRESSION_TYPE
-gtef_newline_type_get_type
-gtef_compression_type_get_type
+TeplFileClass
+TEPL_TYPE_FILE
+TEPL_TYPE_NEWLINE_TYPE
+TEPL_TYPE_COMPRESSION_TYPE
+tepl_newline_type_get_type
+tepl_compression_type_get_type
 </SECTION>
 
 <SECTION>
 <FILE>file-metadata</FILE>
-GtefFileMetadata
-gtef_file_metadata_new
-gtef_file_metadata_get_file
-gtef_file_metadata_get
-gtef_file_metadata_set
-gtef_file_metadata_load
-gtef_file_metadata_load_async
-gtef_file_metadata_load_finish
-gtef_file_metadata_save
-gtef_file_metadata_save_async
-gtef_file_metadata_save_finish
+TeplFileMetadata
+tepl_file_metadata_new
+tepl_file_metadata_get_file
+tepl_file_metadata_get
+tepl_file_metadata_set
+tepl_file_metadata_load
+tepl_file_metadata_load_async
+tepl_file_metadata_load_finish
+tepl_file_metadata_save
+tepl_file_metadata_save_async
+tepl_file_metadata_save_finish
 <SUBSECTION Standard>
-GTEF_TYPE_FILE_METADATA
-GtefFileMetadataClass
+TEPL_TYPE_FILE_METADATA
+TeplFileMetadataClass
 </SECTION>
 
 <SECTION>
 <FILE>file-loader</FILE>
-GtefFileLoader
-GTEF_FILE_LOADER_ERROR
-GtefFileLoaderError
+TeplFileLoader
+TEPL_FILE_LOADER_ERROR
+TeplFileLoaderError
 <SUBSECTION>
-gtef_file_loader_new
-gtef_file_loader_get_buffer
-gtef_file_loader_get_file
-gtef_file_loader_get_location
-gtef_file_loader_get_max_size
-gtef_file_loader_set_max_size
-gtef_file_loader_get_chunk_size
-gtef_file_loader_set_chunk_size
-gtef_file_loader_load_async
-gtef_file_loader_load_finish
-gtef_file_loader_get_encoding
-gtef_file_loader_get_newline_type
+tepl_file_loader_new
+tepl_file_loader_get_buffer
+tepl_file_loader_get_file
+tepl_file_loader_get_location
+tepl_file_loader_get_max_size
+tepl_file_loader_set_max_size
+tepl_file_loader_get_chunk_size
+tepl_file_loader_set_chunk_size
+tepl_file_loader_load_async
+tepl_file_loader_load_finish
+tepl_file_loader_get_encoding
+tepl_file_loader_get_newline_type
 <SUBSECTION Standard>
-GTEF_TYPE_FILE_LOADER
-GTEF_TYPE_FILE_LOADER_ERROR
-GtefFileLoaderClass
-gtef_file_loader_error_get_type
-gtef_file_loader_error_quark
+TEPL_TYPE_FILE_LOADER
+TEPL_TYPE_FILE_LOADER_ERROR
+TeplFileLoaderClass
+tepl_file_loader_error_get_type
+tepl_file_loader_error_quark
 </SECTION>
 
 <SECTION>
 <FILE>file-saver</FILE>
-GtefFileSaver
-GTEF_FILE_SAVER_ERROR
-GtefFileSaverError
-GtefFileSaverFlags
+TeplFileSaver
+TEPL_FILE_SAVER_ERROR
+TeplFileSaverError
+TeplFileSaverFlags
 <SUBSECTION>
-gtef_file_saver_new
-gtef_file_saver_new_with_target
-gtef_file_saver_get_buffer
-gtef_file_saver_get_file
-gtef_file_saver_get_location
-gtef_file_saver_set_encoding
-gtef_file_saver_get_encoding
-gtef_file_saver_set_newline_type
-gtef_file_saver_get_newline_type
-gtef_file_saver_set_compression_type
-gtef_file_saver_get_compression_type
-gtef_file_saver_set_flags
-gtef_file_saver_get_flags
-gtef_file_saver_save_async
-gtef_file_saver_save_finish
+tepl_file_saver_new
+tepl_file_saver_new_with_target
+tepl_file_saver_get_buffer
+tepl_file_saver_get_file
+tepl_file_saver_get_location
+tepl_file_saver_set_encoding
+tepl_file_saver_get_encoding
+tepl_file_saver_set_newline_type
+tepl_file_saver_get_newline_type
+tepl_file_saver_set_compression_type
+tepl_file_saver_get_compression_type
+tepl_file_saver_set_flags
+tepl_file_saver_get_flags
+tepl_file_saver_save_async
+tepl_file_saver_save_finish
 <SUBSECTION Standard>
-GTEF_FILE_SAVER
-GTEF_FILE_SAVER_CLASS
-GTEF_FILE_SAVER_GET_CLASS
-GTEF_IS_FILE_SAVER
-GTEF_IS_FILE_SAVER_CLASS
-GTEF_TYPE_FILE_SAVER
-GtefFileSaverClass
-GtefFileSaverPrivate
-gtef_file_saver_get_type
-gtef_file_saver_error_quark
-GTEF_TYPE_FILE_SAVER_ERROR
-GTEF_TYPE_FILE_SAVER_FLAGS
-gtef_file_saver_error_get_type
-gtef_file_saver_flags_get_type
+TEPL_FILE_SAVER
+TEPL_FILE_SAVER_CLASS
+TEPL_FILE_SAVER_GET_CLASS
+TEPL_IS_FILE_SAVER
+TEPL_IS_FILE_SAVER_CLASS
+TEPL_TYPE_FILE_SAVER
+TeplFileSaverClass
+TeplFileSaverPrivate
+tepl_file_saver_get_type
+tepl_file_saver_error_quark
+TEPL_TYPE_FILE_SAVER_ERROR
+TEPL_TYPE_FILE_SAVER_FLAGS
+tepl_file_saver_error_get_type
+tepl_file_saver_flags_get_type
 </SECTION>
 
 <SECTION>
 <FILE>fold-region</FILE>
-GtefFoldRegion
-gtef_fold_region_new
-gtef_fold_region_get_buffer
-gtef_fold_region_get_folded
-gtef_fold_region_set_folded
-gtef_fold_region_get_bounds
-gtef_fold_region_set_bounds
+TeplFoldRegion
+tepl_fold_region_new
+tepl_fold_region_get_buffer
+tepl_fold_region_get_folded
+tepl_fold_region_set_folded
+tepl_fold_region_get_bounds
+tepl_fold_region_set_bounds
 <SUBSECTION Standard>
-GTEF_TYPE_FOLD_REGION
-GtefFoldRegionClass
+TEPL_TYPE_FOLD_REGION
+TeplFoldRegionClass
 </SECTION>
 
 <SECTION>
 <FILE>gutter-renderer-folds</FILE>
-GtefGutterRendererFolds
-GtefGutterRendererFoldsState
-gtef_gutter_renderer_folds_new
-gtef_gutter_renderer_folds_set_state
+TeplGutterRendererFolds
+TeplGutterRendererFoldsState
+tepl_gutter_renderer_folds_new
+tepl_gutter_renderer_folds_set_state
 <SUBSECTION Standard>
-GTEF_TYPE_GUTTER_RENDERER_FOLDS
-GtefGutterRendererFoldsClass
-GTEF_TYPE_GUTTER_RENDERER_FOLDS_STATE
-gtef_gutter_renderer_folds_state_get_type
+TEPL_TYPE_GUTTER_RENDERER_FOLDS
+TeplGutterRendererFoldsClass
+TEPL_TYPE_GUTTER_RENDERER_FOLDS_STATE
+tepl_gutter_renderer_folds_state_get_type
 </SECTION>
 
 <SECTION>
 <FILE>info-bar</FILE>
-GtefInfoBar
-gtef_info_bar_new
-gtef_info_bar_new_simple
-gtef_info_bar_add_icon
-gtef_info_bar_add_primary_message
-gtef_info_bar_add_secondary_message
-gtef_info_bar_add_content_widget
-gtef_info_bar_add_close_button
-gtef_info_bar_create_label
+TeplInfoBar
+tepl_info_bar_new
+tepl_info_bar_new_simple
+tepl_info_bar_add_icon
+tepl_info_bar_add_primary_message
+tepl_info_bar_add_secondary_message
+tepl_info_bar_add_content_widget
+tepl_info_bar_add_close_button
+tepl_info_bar_create_label
 <SUBSECTION Standard>
-GTEF_TYPE_INFO_BAR
-GtefInfoBarClass
+TEPL_TYPE_INFO_BAR
+TeplInfoBarClass
 </SECTION>
 
 <SECTION>
 <FILE>iter</FILE>
-gtef_iter_get_line_indentation
+tepl_iter_get_line_indentation
 </SECTION>
 
 <SECTION>
 <FILE>menu-item</FILE>
-gtef_menu_item_get_long_description
-gtef_menu_item_set_long_description
-gtef_menu_item_set_icon_name
+tepl_menu_item_get_long_description
+tepl_menu_item_set_long_description
+tepl_menu_item_set_icon_name
 </SECTION>
 
 <SECTION>
 <FILE>menu-shell</FILE>
-GtefMenuShell
-gtef_menu_shell_get_from_gtk_menu_shell
-gtef_menu_shell_get_menu_shell
+TeplMenuShell
+tepl_menu_shell_get_from_gtk_menu_shell
+tepl_menu_shell_get_menu_shell
 <SUBSECTION Standard>
-GTEF_IS_MENU_SHELL
-GTEF_IS_MENU_SHELL_CLASS
-GTEF_MENU_SHELL
-GTEF_MENU_SHELL_CLASS
-GTEF_MENU_SHELL_GET_CLASS
-GTEF_TYPE_MENU_SHELL
-GtefMenuShellClass
-GtefMenuShellPrivate
-gtef_menu_shell_get_type
+TEPL_IS_MENU_SHELL
+TEPL_IS_MENU_SHELL_CLASS
+TEPL_MENU_SHELL
+TEPL_MENU_SHELL_CLASS
+TEPL_MENU_SHELL_GET_CLASS
+TEPL_TYPE_MENU_SHELL
+TeplMenuShellClass
+TeplMenuShellPrivate
+tepl_menu_shell_get_type
 </SECTION>
 
 <SECTION>
 <FILE>metadata-manager</FILE>
-gtef_metadata_manager_init
-gtef_metadata_manager_shutdown
+tepl_metadata_manager_init
+tepl_metadata_manager_shutdown
 </SECTION>
 
 <SECTION>
 <FILE>tab</FILE>
-GtefTab
-gtef_tab_new
-gtef_tab_add_info_bar
+TeplTab
+tepl_tab_new
+tepl_tab_add_info_bar
 <SUBSECTION Standard>
-GTEF_TYPE_TAB
-GtefTabClass
+TEPL_TYPE_TAB
+TeplTabClass
 </SECTION>
 
 <SECTION>
 <FILE>utils</FILE>
-gtef_utils_recent_chooser_menu_get_item_uri
+tepl_utils_recent_chooser_menu_get_item_uri
 </SECTION>
 
 <SECTION>
 <FILE>view</FILE>
-GtefView
-gtef_view_new
-gtef_view_cut_clipboard
-gtef_view_copy_clipboard
-gtef_view_paste_clipboard
-gtef_view_delete_selection
-gtef_view_select_all
-gtef_view_scroll_to_cursor
-gtef_view_goto_line
-gtef_view_goto_line_offset
-gtef_view_select_lines
+TeplView
+tepl_view_new
+tepl_view_cut_clipboard
+tepl_view_copy_clipboard
+tepl_view_paste_clipboard
+tepl_view_delete_selection
+tepl_view_select_all
+tepl_view_scroll_to_cursor
+tepl_view_goto_line
+tepl_view_goto_line_offset
+tepl_view_select_lines
 <SUBSECTION Standard>
-GTEF_TYPE_VIEW
-GtefViewClass
+TEPL_TYPE_VIEW
+TeplViewClass
 </SECTION>
diff --git a/docs/reference/gtef-docs.xml.in b/docs/reference/gtef-docs.xml.in
index f76893a..4413c9c 100644
--- a/docs/reference/gtef-docs.xml.in
+++ b/docs/reference/gtef-docs.xml.in
@@ -8,8 +8,8 @@
 ]>
 <book id="index">
   <bookinfo>
-    <title>Gtef @GTEF_API_VERSION@ Reference Manual</title>
-    <releaseinfo>for Gtef &package_version;</releaseinfo>
+    <title>Tepl @TEPL_API_VERSION@ Reference Manual</title>
+    <releaseinfo>for Tepl &package_version;</releaseinfo>
   </bookinfo>
 
   <xi:include href="intro.xml"/>
diff --git a/docs/reference/intro.xml.in b/docs/reference/intro.xml.in
index f73dc92..c1fc5bb 100644
--- a/docs/reference/intro.xml.in
+++ b/docs/reference/intro.xml.in
@@ -11,30 +11,30 @@
   <title>Introduction</title>
 
   <para>
-    Gtef is a library that eases the development of GtkSourceView-based text
-    editors and IDEs. Gtef is the acronym for “GTK+ Text Editor Framework”.
+    Tepl is a library that eases the development of GtkSourceView-based text
+    editors and IDEs. Tepl is the acronym for “GTK+ Text Editor Framework”.
   </para>
 
   <para>
-    See the <ulink url="https://wiki.gnome.org/Projects/Gtef";>Gtef website</ulink>.
+    See the <ulink url="https://wiki.gnome.org/Projects/Tepl";>Tepl website</ulink>.
   </para>
 
   <para>
-    Gtef @GTEF_API_VERSION@ depends on GTK+ 3 and GtkSourceView 3.
+    Tepl @TEPL_API_VERSION@ depends on GTK+ 3 and GtkSourceView 3.
   </para>
 
   <refsect1>
     <title>pkg-config name</title>
     <para>
-      For Gtef @GTEF_API_VERSION@, the pkg-config name is:
-      <code>gtef-@GTEF_API_VERSION@</code>
+      For Tepl @TEPL_API_VERSION@, the pkg-config name is:
+      <code>tepl-@TEPL_API_VERSION@</code>
     </para>
     <para>
-      To compile a program that uses Gtef @GTEF_API_VERSION@, you
+      To compile a program that uses Tepl @TEPL_API_VERSION@, you
       can for example use the following command:
     </para>
     <para>
-      <code>$ gcc hello.c `pkg-config --cflags --libs gtef-@GTEF_API_VERSION@` -o hello</code>
+      <code>$ gcc hello.c `pkg-config --cflags --libs tepl-@TEPL_API_VERSION@` -o hello</code>
     </para>
   </refsect1>
 </part>
diff --git a/gtef.doap b/gtef.doap
index d9cb949..694422d 100644
--- a/gtef.doap
+++ b/gtef.doap
@@ -4,16 +4,16 @@
          xmlns:foaf="http://xmlns.com/foaf/0.1/";
          xmlns:gnome="http://api.gnome.org/doap-extensions#";
          xmlns="http://usefulinc.com/ns/doap#";>
-  <name xml:lang="en">Gtef</name>
+  <name xml:lang="en">Tepl</name>
   <shortdesc xml:lang="en">GTK+ Text Editor Framework</shortdesc>
-  <description xml:lang="en">Gtef is a library that eases the development of
-GtkSourceView-based text editors and IDEs. Gtef is the acronym for “GTK+ Text
+  <description xml:lang="en">Tepl is a library that eases the development of
+GtkSourceView-based text editors and IDEs. Tepl is the acronym for “GTK+ Text
 Editor Framework”.</description>
 
-  <homepage rdf:resource="https://wiki.gnome.org/Projects/Gtef"; />
+  <homepage rdf:resource="https://wiki.gnome.org/Projects/Tepl"; />
   <mailing-list rdf:resource="https://mail.gnome.org/mailman/listinfo/gnome-devtools"; />
-  <download-page rdf:resource="https://download.gnome.org/sources/gtef/"; />
-  <bug-database rdf:resource="https://bugzilla.gnome.org/browse.cgi?product=gtef"; />
+  <download-page rdf:resource="https://download.gnome.org/sources/tepl/"; />
+  <bug-database rdf:resource="https://bugzilla.gnome.org/browse.cgi?product=tepl"; />
 
   <programming-language>C</programming-language>
 
diff --git a/gtef.pc.in b/gtef.pc.in
index a953139..2d1d819 100644
--- a/gtef.pc.in
+++ b/gtef.pc.in
@@ -8,5 +8,5 @@ Description: GTK+ Text Editor Framework
 Version: @PACKAGE_VERSION@
 Requires: @AX_PACKAGE_REQUIRES@
 Requires.private: @AX_PACKAGE_REQUIRES_PRIVATE@
-Libs: -L${libdir} -lgtef-@GTEF_API_VERSION@
-Cflags: -I${includedir}/gtef-@GTEF_API_VERSION@
+Libs: -L${libdir} -ltepl-@TEPL_API_VERSION@
+Cflags: -I${includedir}/tepl-@TEPL_API_VERSION@
diff --git a/gtef/Makefile.am b/gtef/Makefile.am
index 5a19335..a292039 100644
--- a/gtef/Makefile.am
+++ b/gtef/Makefile.am
@@ -2,180 +2,180 @@
 
 AM_CPPFLAGS =                          \
        -DDATADIR=\""$(datadir)"\"      \
-       -DG_LOG_DOMAIN=\"Gtef\"         \
-       -DGTEF_COMPILATION              \
+       -DG_LOG_DOMAIN=\"Tepl\"         \
+       -DTEPL_COMPILATION              \
        -I$(top_builddir)               \
        -I$(top_srcdir)                 \
        $(WARN_CFLAGS)                  \
        $(CODE_COVERAGE_CPPFLAGS)       \
        $(DEP_CFLAGS)
 
-gtef_public_headers =                          \
-       gtef.h                                  \
-       gtef-action-info.h                      \
-       gtef-action-info-central-store.h        \
-       gtef-action-info-store.h                \
-       gtef-action-map.h                       \
-       gtef-application.h                      \
-       gtef-application-window.h               \
-       gtef-buffer.h                           \
-       gtef-encoding.h                         \
-       gtef-file.h                             \
-       gtef-file-loader.h                      \
-       gtef-file-metadata.h                    \
-       gtef-file-saver.h                       \
-       gtef-fold-region.h                      \
-       gtef-gutter-renderer-folds.h            \
-       gtef-info-bar.h                         \
-       gtef-iter.h                             \
-       gtef-menu-item.h                        \
-       gtef-menu-shell.h                       \
-       gtef-metadata-manager.h                 \
-       gtef-types.h                            \
-       gtef-tab.h                              \
-       gtef-utils.h                            \
-       gtef-view.h
-
-gtef_public_c_files =                          \
-       gtef-action-info.c                      \
-       gtef-action-info-central-store.c        \
-       gtef-action-info-store.c                \
-       gtef-action-map.c                       \
-       gtef-application.c                      \
-       gtef-application-window.c               \
-       gtef-buffer.c                           \
-       gtef-encoding.c                         \
-       gtef-file.c                             \
-       gtef-file-loader.c                      \
-       gtef-file-metadata.c                    \
-       gtef-file-saver.c                       \
-       gtef-fold-region.c                      \
-       gtef-gutter-renderer-folds.c            \
-       gtef-info-bar.c                         \
-       gtef-iter.c                             \
-       gtef-menu-item.c                        \
-       gtef-menu-shell.c                       \
-       gtef-metadata-manager.c                 \
-       gtef-tab.c                              \
-       gtef-utils.c                            \
-       gtef-view.c
-
-gtef_private_headers =                 \
+tepl_public_headers =                          \
+       tepl.h                                  \
+       tepl-action-info.h                      \
+       tepl-action-info-central-store.h        \
+       tepl-action-info-store.h                \
+       tepl-action-map.h                       \
+       tepl-application.h                      \
+       tepl-application-window.h               \
+       tepl-buffer.h                           \
+       tepl-encoding.h                         \
+       tepl-file.h                             \
+       tepl-file-loader.h                      \
+       tepl-file-metadata.h                    \
+       tepl-file-saver.h                       \
+       tepl-fold-region.h                      \
+       tepl-gutter-renderer-folds.h            \
+       tepl-info-bar.h                         \
+       tepl-iter.h                             \
+       tepl-menu-item.h                        \
+       tepl-menu-shell.h                       \
+       tepl-metadata-manager.h                 \
+       tepl-types.h                            \
+       tepl-tab.h                              \
+       tepl-utils.h                            \
+       tepl-view.h
+
+tepl_public_c_files =                          \
+       tepl-action-info.c                      \
+       tepl-action-info-central-store.c        \
+       tepl-action-info-store.c                \
+       tepl-action-map.c                       \
+       tepl-application.c                      \
+       tepl-application-window.c               \
+       tepl-buffer.c                           \
+       tepl-encoding.c                         \
+       tepl-file.c                             \
+       tepl-file-loader.c                      \
+       tepl-file-metadata.c                    \
+       tepl-file-saver.c                       \
+       tepl-fold-region.c                      \
+       tepl-gutter-renderer-folds.c            \
+       tepl-info-bar.c                         \
+       tepl-iter.c                             \
+       tepl-menu-item.c                        \
+       tepl-menu-shell.c                       \
+       tepl-metadata-manager.c                 \
+       tepl-tab.c                              \
+       tepl-utils.c                            \
+       tepl-view.c
+
+tepl_private_headers =                 \
        gconstructor.h                  \
-       gtef-buffer-input-stream.h      \
-       gtef-encoding-converter.h       \
-       gtef-encoding-private.h         \
-       gtef-file-content-loader.h      \
-       gtef-io-error-info-bar.h        \
-       gtef-progress-info-bar.h
-
-gtef_private_c_files =                 \
-       gtef-buffer-input-stream.c      \
-       gtef-encoding-converter.c       \
-       gtef-file-content-loader.c      \
-       gtef-init.c                     \
-       gtef-io-error-info-bar.c        \
-       gtef-progress-info-bar.c
-
-gtef_built_public_headers =            \
-       gtef-enum-types.h
-
-gtef_built_public_c_files =            \
-       gtef-enum-types.c
+       tepl-buffer-input-stream.h      \
+       tepl-encoding-converter.h       \
+       tepl-encoding-private.h         \
+       tepl-file-content-loader.h      \
+       tepl-io-error-info-bar.h        \
+       tepl-progress-info-bar.h
+
+tepl_private_c_files =                 \
+       tepl-buffer-input-stream.c      \
+       tepl-encoding-converter.c       \
+       tepl-file-content-loader.c      \
+       tepl-init.c                     \
+       tepl-io-error-info-bar.c        \
+       tepl-progress-info-bar.c
+
+tepl_built_public_headers =            \
+       tepl-enum-types.h
+
+tepl_built_public_c_files =            \
+       tepl-enum-types.c
 
 # Helper Libtool library, so that the private functions can be used in unit
 # tests.
-noinst_LTLIBRARIES = libgtef-core.la
+noinst_LTLIBRARIES = libtepl-core.la
 
-libgtef_core_la_SOURCES =              \
-       $(gtef_private_c_files)         \
-       $(gtef_private_headers)         \
-       $(gtef_public_c_files)          \
-       $(gtef_public_headers)
+libtepl_core_la_SOURCES =              \
+       $(tepl_private_c_files)         \
+       $(tepl_private_headers)         \
+       $(tepl_public_c_files)          \
+       $(tepl_public_headers)
 
-nodist_libgtef_core_la_SOURCES =       \
-       $(gtef_built_public_c_files)    \
-       $(gtef_built_public_headers)
+nodist_libtepl_core_la_SOURCES =       \
+       $(tepl_built_public_c_files)    \
+       $(tepl_built_public_headers)
 
 BUILT_SOURCES =                                \
-       $(gtef_built_public_c_files)    \
-       $(gtef_built_public_headers)
+       $(tepl_built_public_c_files)    \
+       $(tepl_built_public_headers)
 
-libgtef_core_la_CFLAGS =       \
+libtepl_core_la_CFLAGS =       \
        $(CODE_COVERAGE_CFLAGS)
 
-libgtef_core_la_LDFLAGS =      \
+libtepl_core_la_LDFLAGS =      \
        -no-undefined           \
        $(WARN_LDFLAGS)
 
-libgtef_core_la_LIBADD =       \
+libtepl_core_la_LIBADD =       \
        $(CODE_COVERAGE_LIBS)
 
 # The real library.
-lib_LTLIBRARIES = libgtef-@GTEF_API_VERSION@.la
+lib_LTLIBRARIES = libtepl-@TEPL_API_VERSION@.la
 
-libgtef_@GTEF_API_VERSION@_la_SOURCES =
+libtepl_@TEPL_API_VERSION@_la_SOURCES =
 
-libgtef_@GTEF_API_VERSION@_la_LIBADD = \
-       libgtef-core.la                 \
+libtepl_@TEPL_API_VERSION@_la_LIBADD = \
+       libtepl-core.la                 \
        $(DEP_LIBS)
 
-libgtef_@GTEF_API_VERSION@_la_LDFLAGS =                \
-       -version-info $(GTEF_LT_VERSION)        \
+libtepl_@TEPL_API_VERSION@_la_LDFLAGS =                \
+       -version-info $(TEPL_LT_VERSION)        \
        -no-undefined                           \
-       -export-symbols-regex "^gtef_.*"        \
+       -export-symbols-regex "^tepl_.*"        \
        $(WARN_LDFLAGS)
 
-libgtef_includedir = $(includedir)/gtef-@GTEF_API_VERSION@/gtef
-libgtef_include_HEADERS = $(gtef_public_headers)
-nodist_libgtef_include_HEADERS = $(gtef_built_public_headers)
+libtepl_includedir = $(includedir)/tepl-@TEPL_API_VERSION@/tepl
+libtepl_include_HEADERS = $(tepl_public_headers)
+nodist_libtepl_include_HEADERS = $(tepl_built_public_headers)
 
-ENUM_TYPES = $(gtef_public_headers)
+ENUM_TYPES = $(tepl_public_headers)
 
-gtef-enum-types.h: gtef-enum-types.h.template $(ENUM_TYPES) $(GLIB_MKENUMS)
-       $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template gtef-enum-types.h.template $(ENUM_TYPES)) > $@
+tepl-enum-types.h: tepl-enum-types.h.template $(ENUM_TYPES) $(GLIB_MKENUMS)
+       $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template tepl-enum-types.h.template $(ENUM_TYPES)) > $@
 
-gtef-enum-types.c: gtef-enum-types.c.template $(ENUM_TYPES) $(GLIB_MKENUMS)
-       $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template gtef-enum-types.c.template $(ENUM_TYPES)) > $@
+tepl-enum-types.c: tepl-enum-types.c.template $(ENUM_TYPES) $(GLIB_MKENUMS)
+       $(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template tepl-enum-types.c.template $(ENUM_TYPES)) > $@
 
 EXTRA_DIST =                           \
-       gtef-enum-types.c.template      \
-       gtef-enum-types.h.template
+       tepl-enum-types.c.template      \
+       tepl-enum-types.h.template
 
 CLEANFILES = $(BUILT_SOURCES)
 
 if HAVE_INTROSPECTION
 -include $(INTROSPECTION_MAKEFILE)
-INTROSPECTION_GIRS = Gtef-@GTEF_API_VERSION@.gir
+INTROSPECTION_GIRS = Tepl-@TEPL_API_VERSION@.gir
 
 INTROSPECTION_SCANNER_ENV = CC="$(CC)"
 
-Gtef-@GTEF_API_VERSION@.gir: libgtef-@GTEF_API_VERSION@.la
+Tepl-@TEPL_API_VERSION@.gir: libtepl-@TEPL_API_VERSION@.la
 INTROSPECTION_SCANNER_ARGS =           \
        -I$(top_srcdir)                 \
        -I$(top_builddir)               \
-       --c-include=gtef/gtef.h         \
+       --c-include=tepl/tepl.h         \
        --warn-all
-Gtef_@GTEF_API_VERSION@_gir_NAMESPACE = Gtef
-Gtef_@GTEF_API_VERSION@_gir_VERSION = @GTEF_API_VERSION@
-Gtef_@GTEF_API_VERSION@_gir_CFLAGS = $(DEP_CFLAGS)
-Gtef_@GTEF_API_VERSION@_gir_SCANNERFLAGS = $(WARN_SCANNERFLAGS)
-Gtef_@GTEF_API_VERSION@_gir_LIBS = libgtef-@GTEF_API_VERSION@.la
-Gtef_@GTEF_API_VERSION@_gir_FILES =    \
-       $(gtef_public_headers)          \
-       $(gtef_public_c_files)          \
-       $(gtef_built_public_headers)    \
-       $(gtef_built_public_c_files)
-
-Gtef_@GTEF_API_VERSION@_gir_INCLUDES = Gtk-3.0 GtkSource-3.0
-Gtef_@GTEF_API_VERSION@_gir_PACKAGES = gtk+-3.0 gtksourceview-3.0
-Gtef_@GTEF_API_VERSION@_gir_EXPORT_PACKAGES = gtef-@GTEF_API_VERSION@
+Tepl_@TEPL_API_VERSION@_gir_NAMESPACE = Tepl
+Tepl_@TEPL_API_VERSION@_gir_VERSION = @TEPL_API_VERSION@
+Tepl_@TEPL_API_VERSION@_gir_CFLAGS = $(DEP_CFLAGS)
+Tepl_@TEPL_API_VERSION@_gir_SCANNERFLAGS = $(WARN_SCANNERFLAGS)
+Tepl_@TEPL_API_VERSION@_gir_LIBS = libtepl-@TEPL_API_VERSION@.la
+Tepl_@TEPL_API_VERSION@_gir_FILES =    \
+       $(tepl_public_headers)          \
+       $(tepl_public_c_files)          \
+       $(tepl_built_public_headers)    \
+       $(tepl_built_public_c_files)
+
+Tepl_@TEPL_API_VERSION@_gir_INCLUDES = Gtk-3.0 GtkSource-3.0
+Tepl_@TEPL_API_VERSION@_gir_PACKAGES = gtk+-3.0 gtksourceview-3.0
+Tepl_@TEPL_API_VERSION@_gir_EXPORT_PACKAGES = tepl-@TEPL_API_VERSION@
 
 girdir = $(datadir)/gir-1.0
-gir_DATA = Gtef-@GTEF_API_VERSION@.gir
+gir_DATA = Tepl-@TEPL_API_VERSION@.gir
 
 typelibdir = $(libdir)/girepository-1.0
-typelib_DATA = Gtef-@GTEF_API_VERSION@.typelib
+typelib_DATA = Tepl-@TEPL_API_VERSION@.typelib
 
 CLEANFILES +=          \
        $(gir_DATA)     \
@@ -186,24 +186,24 @@ endif # HAVE_INTROSPECTION
 if ENABLE_VAPIGEN
 -include $(VAPIGEN_MAKEFILE)
 
-gtef-@GTEF_API_VERSION@.vapi: Gtef-@GTEF_API_VERSION@.gir
+tepl-@TEPL_API_VERSION@.vapi: Tepl-@TEPL_API_VERSION@.gir
 
-VAPIGEN_VAPIS = gtef-@GTEF_API_VERSION@.vapi
+VAPIGEN_VAPIS = tepl-@TEPL_API_VERSION@.vapi
 
-gtef_@GTEF_API_VERSION@_vapi_DEPS = gtk+-3.0 gtksourceview-3.0
+tepl_@TEPL_API_VERSION@_vapi_DEPS = gtk+-3.0 gtksourceview-3.0
 
-gtef-@GTEF_API_VERSION@.deps:
-       $(AM_V_GEN) for pkg in $(gtef_@GTEF_API_VERSION@_vapi_DEPS); do \
+tepl-@TEPL_API_VERSION@.deps:
+       $(AM_V_GEN) for pkg in $(tepl_@TEPL_API_VERSION@_vapi_DEPS); do \
                echo $$pkg >> $@; \
        done
 
-gtef_@GTEF_API_VERSION@_vapi_METADATADIRS = $(srcdir)
-gtef_@GTEF_API_VERSION@_vapi_FILES = Gtef-@GTEF_API_VERSION@.gir
+tepl_@TEPL_API_VERSION@_vapi_METADATADIRS = $(srcdir)
+tepl_@TEPL_API_VERSION@_vapi_FILES = Tepl-@TEPL_API_VERSION@.gir
 
 vapidir = $(datadir)/vala/vapi
 vapi_DATA =                            \
-       gtef-@GTEF_API_VERSION@.vapi    \
-       gtef-@GTEF_API_VERSION@.deps
+       tepl-@TEPL_API_VERSION@.vapi    \
+       tepl-@TEPL_API_VERSION@.deps
 
 CLEANFILES += $(vapi_DATA)
 
diff --git a/gtef/gtef-action-info-central-store.c b/gtef/gtef-action-info-central-store.c
index 81d3440..ba607aa 100644
--- a/gtef/gtef-action-info-central-store.c
+++ b/gtef/gtef-action-info-central-store.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,36 +17,36 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "gtef-action-info-central-store.h"
-#include "gtef-action-info.h"
+#include "tepl-action-info-central-store.h"
+#include "tepl-action-info.h"
 
 /**
  * SECTION:action-info-central-store
- * @Short_description: Aggregation of all GtefActionInfoStore's
- * @Title: GtefActionInfoCentralStore
- * @See_also: #GtefActionInfoStore
+ * @Short_description: Aggregation of all TeplActionInfoStore's
+ * @Title: TeplActionInfoCentralStore
+ * @See_also: #TeplActionInfoStore
  *
- * #GtefActionInfoCentralStore is a singleton class containing the aggregation
- * of all #GtefActionInfoStore's. Each time a #GtefActionInfo is added to a
- * #GtefActionInfoStore, it is also added to the #GtefActionInfoCentralStore.
+ * #TeplActionInfoCentralStore is a singleton class containing the aggregation
+ * of all #TeplActionInfoStore's. Each time a #TeplActionInfo is added to a
+ * #TeplActionInfoStore, it is also added to the #TeplActionInfoCentralStore.
  */
 
 /* API design:
  *
- * Why both GtefActionInfoStore and GtefActionInfoCentralStore are needed?
+ * Why both TeplActionInfoStore and TeplActionInfoCentralStore are needed?
  *
- * Advantages of GtefActionInfoStore:
- * - gtef_action_info_store_new() takes an optional GtkApplication parameter. It
+ * Advantages of TeplActionInfoStore:
+ * - tepl_action_info_store_new() takes an optional GtkApplication parameter. It
  *   doesn't rely on g_application_get_default() (calling
  *   g_application_get_default() in a library is not really a good practice I
  *   think. In theory an app can have several GApplication instances).
- * - gtef_action_info_store_check_all_used()
+ * - tepl_action_info_store_check_all_used()
  *
- * Advantages of GtefActionInfoCentralStore:
+ * Advantages of TeplActionInfoCentralStore:
  * - The central store checks if there are no duplicated action names
  *   (globally).
  * - [For the menu bar, easy to retrieve the tooltip to show it in the
- *   statusbar.] No longer relevant with gtef_menu_item_get_long_description().
+ *   statusbar.] No longer relevant with tepl_menu_item_get_long_description().
  *
  * If there was only one of the two classes, hacks would be needed to achieve
  * the above items. So by having the two classes, we have the best of both
@@ -54,79 +54,79 @@
  * big.
  */
 
-struct _GtefActionInfoCentralStorePrivate
+struct _TeplActionInfoCentralStorePrivate
 {
        /* Key: owned gchar*: action name.
-        * Value: owned GtefActionInfo.
+        * Value: owned TeplActionInfo.
         */
        GHashTable *hash_table;
 };
 
-G_DEFINE_TYPE_WITH_PRIVATE (GtefActionInfoCentralStore, gtef_action_info_central_store, G_TYPE_OBJECT)
+G_DEFINE_TYPE_WITH_PRIVATE (TeplActionInfoCentralStore, tepl_action_info_central_store, G_TYPE_OBJECT)
 
 static void
-gtef_action_info_central_store_finalize (GObject *object)
+tepl_action_info_central_store_finalize (GObject *object)
 {
-       GtefActionInfoCentralStore *central_store = GTEF_ACTION_INFO_CENTRAL_STORE (object);
+       TeplActionInfoCentralStore *central_store = TEPL_ACTION_INFO_CENTRAL_STORE (object);
 
        g_hash_table_unref (central_store->priv->hash_table);
 
-       G_OBJECT_CLASS (gtef_action_info_central_store_parent_class)->finalize (object);
+       G_OBJECT_CLASS (tepl_action_info_central_store_parent_class)->finalize (object);
 }
 
 static void
-gtef_action_info_central_store_class_init (GtefActionInfoCentralStoreClass *klass)
+tepl_action_info_central_store_class_init (TeplActionInfoCentralStoreClass *klass)
 {
        GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-       object_class->finalize = gtef_action_info_central_store_finalize;
+       object_class->finalize = tepl_action_info_central_store_finalize;
 }
 
 static void
-gtef_action_info_central_store_init (GtefActionInfoCentralStore *central_store)
+tepl_action_info_central_store_init (TeplActionInfoCentralStore *central_store)
 {
-       central_store->priv = gtef_action_info_central_store_get_instance_private (central_store);
+       central_store->priv = tepl_action_info_central_store_get_instance_private (central_store);
 
        central_store->priv->hash_table = g_hash_table_new_full (g_str_hash,
                                                                 g_str_equal,
                                                                 g_free,
-                                                                (GDestroyNotify) gtef_action_info_unref);
+                                                                (GDestroyNotify) tepl_action_info_unref);
 }
 
 /**
- * gtef_action_info_central_store_get_instance:
+ * tepl_action_info_central_store_get_instance:
  *
- * Returns: (transfer none): the #GtefActionInfoCentralStore singleton instance.
+ * Returns: (transfer none): the #TeplActionInfoCentralStore singleton instance.
  * Since: 2.0
  */
-GtefActionInfoCentralStore *
-gtef_action_info_central_store_get_instance (void)
+TeplActionInfoCentralStore *
+tepl_action_info_central_store_get_instance (void)
 {
-       static GtefActionInfoCentralStore *instance = NULL;
+       static TeplActionInfoCentralStore *instance = NULL;
 
        if (G_UNLIKELY (instance == NULL))
        {
-               instance = g_object_new (GTEF_TYPE_ACTION_INFO_CENTRAL_STORE, NULL);
+               instance = g_object_new (TEPL_TYPE_ACTION_INFO_CENTRAL_STORE, NULL);
        }
 
        return instance;
 }
 
 void
-_gtef_action_info_central_store_add (GtefActionInfoCentralStore *central_store,
-                                    GtefActionInfo             *info)
+_tepl_action_info_central_store_add (TeplActionInfoCentralStore *central_store,
+                                    TeplActionInfo             *info)
 {
        const gchar *action_name;
 
-       g_return_if_fail (GTEF_IS_ACTION_INFO_CENTRAL_STORE (central_store));
+       g_return_if_fail (TEPL_IS_ACTION_INFO_CENTRAL_STORE (central_store));
        g_return_if_fail (info != NULL);
 
-       action_name = gtef_action_info_get_action_name (info);
+       action_name = tepl_action_info_get_action_name (info);
        g_return_if_fail (action_name != NULL);
 
        if (g_hash_table_lookup (central_store->priv->hash_table, action_name) != NULL)
        {
-               g_warning ("The GtefActionInfoCentralStore already contains a GtefActionInfo "
+               g_warning ("The TeplActionInfoCentralStore already contains a TeplActionInfo "
                           "with the action name “%s”. Libraries must namespace their action names.",
                           action_name);
                return;
@@ -134,22 +134,22 @@ _gtef_action_info_central_store_add (GtefActionInfoCentralStore *central_store,
 
        g_hash_table_insert (central_store->priv->hash_table,
                             g_strdup (action_name),
-                            gtef_action_info_ref (info));
+                            tepl_action_info_ref (info));
 }
 
 /**
- * gtef_action_info_central_store_lookup:
- * @central_store: a #GtefActionInfoCentralStore.
+ * tepl_action_info_central_store_lookup:
+ * @central_store: a #TeplActionInfoCentralStore.
  * @action_name: an action name.
  *
- * Returns: (transfer none): the found #GtefActionInfo, or %NULL.
+ * Returns: (transfer none): the found #TeplActionInfo, or %NULL.
  * Since: 2.0
  */
-const GtefActionInfo *
-gtef_action_info_central_store_lookup (GtefActionInfoCentralStore *central_store,
+const TeplActionInfo *
+tepl_action_info_central_store_lookup (TeplActionInfoCentralStore *central_store,
                                       const gchar                *action_name)
 {
-       g_return_val_if_fail (GTEF_IS_ACTION_INFO_CENTRAL_STORE (central_store), NULL);
+       g_return_val_if_fail (TEPL_IS_ACTION_INFO_CENTRAL_STORE (central_store), NULL);
        g_return_val_if_fail (action_name != NULL, NULL);
 
        return g_hash_table_lookup (central_store->priv->hash_table, action_name);
diff --git a/gtef/gtef-action-info-central-store.h b/gtef/gtef-action-info-central-store.h
index 8d6db4f..a6806a8 100644
--- a/gtef/gtef-action-info-central-store.h
+++ b/gtef/gtef-action-info-central-store.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,55 +17,55 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_ACTION_INFO_CENTRAL_STORE_H
-#define GTEF_ACTION_INFO_CENTRAL_STORE_H
+#ifndef TEPL_ACTION_INFO_CENTRAL_STORE_H
+#define TEPL_ACTION_INFO_CENTRAL_STORE_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <glib-object.h>
-#include <gtef/gtef-types.h>
+#include <tepl/tepl-types.h>
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_ACTION_INFO_CENTRAL_STORE             (gtef_action_info_central_store_get_type ())
-#define GTEF_ACTION_INFO_CENTRAL_STORE(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), 
GTEF_TYPE_ACTION_INFO_CENTRAL_STORE, GtefActionInfoCentralStore))
-#define GTEF_ACTION_INFO_CENTRAL_STORE_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), 
GTEF_TYPE_ACTION_INFO_CENTRAL_STORE, GtefActionInfoCentralStoreClass))
-#define GTEF_IS_ACTION_INFO_CENTRAL_STORE(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), 
GTEF_TYPE_ACTION_INFO_CENTRAL_STORE))
-#define GTEF_IS_ACTION_INFO_CENTRAL_STORE_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), 
GTEF_TYPE_ACTION_INFO_CENTRAL_STORE))
-#define GTEF_ACTION_INFO_CENTRAL_STORE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), 
GTEF_TYPE_ACTION_INFO_CENTRAL_STORE, GtefActionInfoCentralStoreClass))
+#define TEPL_TYPE_ACTION_INFO_CENTRAL_STORE             (tepl_action_info_central_store_get_type ())
+#define TEPL_ACTION_INFO_CENTRAL_STORE(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), 
TEPL_TYPE_ACTION_INFO_CENTRAL_STORE, TeplActionInfoCentralStore))
+#define TEPL_ACTION_INFO_CENTRAL_STORE_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), 
TEPL_TYPE_ACTION_INFO_CENTRAL_STORE, TeplActionInfoCentralStoreClass))
+#define TEPL_IS_ACTION_INFO_CENTRAL_STORE(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), 
TEPL_TYPE_ACTION_INFO_CENTRAL_STORE))
+#define TEPL_IS_ACTION_INFO_CENTRAL_STORE_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), 
TEPL_TYPE_ACTION_INFO_CENTRAL_STORE))
+#define TEPL_ACTION_INFO_CENTRAL_STORE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), 
TEPL_TYPE_ACTION_INFO_CENTRAL_STORE, TeplActionInfoCentralStoreClass))
 
-typedef struct _GtefActionInfoCentralStoreClass    GtefActionInfoCentralStoreClass;
-typedef struct _GtefActionInfoCentralStorePrivate  GtefActionInfoCentralStorePrivate;
+typedef struct _TeplActionInfoCentralStoreClass    TeplActionInfoCentralStoreClass;
+typedef struct _TeplActionInfoCentralStorePrivate  TeplActionInfoCentralStorePrivate;
 
-struct _GtefActionInfoCentralStore
+struct _TeplActionInfoCentralStore
 {
        GObject parent;
 
-       GtefActionInfoCentralStorePrivate *priv;
+       TeplActionInfoCentralStorePrivate *priv;
 };
 
-struct _GtefActionInfoCentralStoreClass
+struct _TeplActionInfoCentralStoreClass
 {
        GObjectClass parent_class;
 
        gpointer padding[12];
 };
 
-GType          gtef_action_info_central_store_get_type         (void) G_GNUC_CONST;
+GType          tepl_action_info_central_store_get_type         (void) G_GNUC_CONST;
 
-GtefActionInfoCentralStore *
-               gtef_action_info_central_store_get_instance     (void);
+TeplActionInfoCentralStore *
+               tepl_action_info_central_store_get_instance     (void);
 
-const GtefActionInfo *
-               gtef_action_info_central_store_lookup           (GtefActionInfoCentralStore *central_store,
+const TeplActionInfo *
+               tepl_action_info_central_store_lookup           (TeplActionInfoCentralStore *central_store,
                                                                 const gchar                *action_name);
 
 G_GNUC_INTERNAL
-void           _gtef_action_info_central_store_add             (GtefActionInfoCentralStore *central_store,
-                                                                GtefActionInfo             *info);
+void           _tepl_action_info_central_store_add             (TeplActionInfoCentralStore *central_store,
+                                                                TeplActionInfo             *info);
 
 G_END_DECLS
 
-#endif /* GTEF_ACTION_INFO_CENTRAL_STORE_H */
+#endif /* TEPL_ACTION_INFO_CENTRAL_STORE_H */
diff --git a/gtef/gtef-action-info-store.c b/gtef/gtef-action-info-store.c
index 785977c..e88baf7 100644
--- a/gtef/gtef-action-info-store.c
+++ b/gtef/gtef-action-info-store.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,49 +17,49 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "gtef-action-info-store.h"
-#include "gtef-action-info.h"
-#include "gtef-action-info-central-store.h"
-#include "gtef-menu-item.h"
+#include "tepl-action-info-store.h"
+#include "tepl-action-info.h"
+#include "tepl-action-info-central-store.h"
+#include "tepl-menu-item.h"
 
 /**
  * SECTION:action-info-store
- * @Short_description: A store of GtefActionInfo's
- * @Title: GtefActionInfoStore
- * @See_also: #GtefActionInfo, #GtefActionInfoCentralStore
+ * @Short_description: A store of TeplActionInfo's
+ * @Title: TeplActionInfoStore
+ * @See_also: #TeplActionInfo, #TeplActionInfoCentralStore
  *
- * #GtefActionInfoStore contains a set of #GtefActionInfo's.
+ * #TeplActionInfoStore contains a set of #TeplActionInfo's.
  *
- * #GtefActionInfoStore is add-only, a #GtefActionInfo cannot be removed. If
+ * #TeplActionInfoStore is add-only, a #TeplActionInfo cannot be removed. If
  * needed, the remove operation will be added in the future.
  *
  * A #GtkApplication can be associated so that when a widget is created,
  * gtk_application_set_accels_for_action() is called. See
- * gtef_action_info_store_create_menu_item() for more details. Note that this
- * happens on widget creation, not when adding a #GtefActionInfo to the store,
+ * tepl_action_info_store_create_menu_item() for more details. Note that this
+ * happens on widget creation, not when adding a #TeplActionInfo to the store,
  * so that the accelerator is bound to the application only if the
- * #GtefActionInfo is actually used.
+ * #TeplActionInfo is actually used.
  *
- * #GtefActionInfoStore is designed so that libraries can provide their own
+ * #TeplActionInfoStore is designed so that libraries can provide their own
  * store, to share action information (with translations) and possibly the
- * #GAction implementations as well. Application-specific #GtefActionInfo's can
+ * #GAction implementations as well. Application-specific #TeplActionInfo's can
  * be added to the store returned by
- * gtef_application_get_app_action_info_store().
+ * tepl_application_get_app_action_info_store().
  *
- * A library #GtefActionInfoStore must namespace the action names to not have
- * conflicts when a #GtefActionInfo is added to the #GtefActionInfoCentralStore.
- * Examples of namespaced action names: `"win.gtef-save"` or `"app.gtef-quit"`.
+ * A library #TeplActionInfoStore must namespace the action names to not have
+ * conflicts when a #TeplActionInfo is added to the #TeplActionInfoCentralStore.
+ * Examples of namespaced action names: `"win.tepl-save"` or `"app.tepl-quit"`.
  */
 
-struct _GtefActionInfoStorePrivate
+struct _TeplActionInfoStorePrivate
 {
        /* Weak ref, because usually GtkApplication owns (indirectly) a
-        * GtefActionInfoStore.
+        * TeplActionInfoStore.
         */
        GtkApplication *app;
 
        /* Key: owned gchar*: action name.
-        * Value: owned GtefActionInfo.
+        * Value: owned TeplActionInfo.
         */
        GHashTable *hash_table;
 };
@@ -73,10 +73,10 @@ enum
 
 static GParamSpec *properties[N_PROPERTIES];
 
-G_DEFINE_TYPE_WITH_PRIVATE (GtefActionInfoStore, gtef_action_info_store, G_TYPE_OBJECT)
+G_DEFINE_TYPE_WITH_PRIVATE (TeplActionInfoStore, tepl_action_info_store, G_TYPE_OBJECT)
 
 static void
-set_application (GtefActionInfoStore *store,
+set_application (TeplActionInfoStore *store,
                 GtkApplication      *app)
 {
        g_return_if_fail (app == NULL || GTK_IS_APPLICATION (app));
@@ -96,17 +96,17 @@ set_application (GtefActionInfoStore *store,
 }
 
 static void
-gtef_action_info_store_get_property (GObject    *object,
+tepl_action_info_store_get_property (GObject    *object,
                                     guint       prop_id,
                                     GValue     *value,
                                     GParamSpec *pspec)
 {
-       GtefActionInfoStore *store = GTEF_ACTION_INFO_STORE (object);
+       TeplActionInfoStore *store = TEPL_ACTION_INFO_STORE (object);
 
        switch (prop_id)
        {
                case PROP_APPLICATION:
-                       g_value_set_object (value, gtef_action_info_store_get_application (store));
+                       g_value_set_object (value, tepl_action_info_store_get_application (store));
                        break;
 
                default:
@@ -116,12 +116,12 @@ gtef_action_info_store_get_property (GObject    *object,
 }
 
 static void
-gtef_action_info_store_set_property (GObject      *object,
+tepl_action_info_store_set_property (GObject      *object,
                                     guint         prop_id,
                                     const GValue *value,
                                     GParamSpec   *pspec)
 {
-       GtefActionInfoStore *store = GTEF_ACTION_INFO_STORE (object);
+       TeplActionInfoStore *store = TEPL_ACTION_INFO_STORE (object);
 
        switch (prop_id)
        {
@@ -136,9 +136,9 @@ gtef_action_info_store_set_property (GObject      *object,
 }
 
 static void
-gtef_action_info_store_dispose (GObject *object)
+tepl_action_info_store_dispose (GObject *object)
 {
-       GtefActionInfoStore *store = GTEF_ACTION_INFO_STORE (object);
+       TeplActionInfoStore *store = TEPL_ACTION_INFO_STORE (object);
 
        if (store->priv->app != NULL)
        {
@@ -147,33 +147,33 @@ gtef_action_info_store_dispose (GObject *object)
                store->priv->app = NULL;
        }
 
-       G_OBJECT_CLASS (gtef_action_info_store_parent_class)->dispose (object);
+       G_OBJECT_CLASS (tepl_action_info_store_parent_class)->dispose (object);
 }
 
 static void
-gtef_action_info_store_finalize (GObject *object)
+tepl_action_info_store_finalize (GObject *object)
 {
-       GtefActionInfoStore *store = GTEF_ACTION_INFO_STORE (object);
+       TeplActionInfoStore *store = TEPL_ACTION_INFO_STORE (object);
 
        g_hash_table_unref (store->priv->hash_table);
 
-       G_OBJECT_CLASS (gtef_action_info_store_parent_class)->finalize (object);
+       G_OBJECT_CLASS (tepl_action_info_store_parent_class)->finalize (object);
 }
 
 static void
-gtef_action_info_store_class_init (GtefActionInfoStoreClass *klass)
+tepl_action_info_store_class_init (TeplActionInfoStoreClass *klass)
 {
        GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-       object_class->get_property = gtef_action_info_store_get_property;
-       object_class->set_property = gtef_action_info_store_set_property;
-       object_class->dispose = gtef_action_info_store_dispose;
-       object_class->finalize = gtef_action_info_store_finalize;
+       object_class->get_property = tepl_action_info_store_get_property;
+       object_class->set_property = tepl_action_info_store_set_property;
+       object_class->dispose = tepl_action_info_store_dispose;
+       object_class->finalize = tepl_action_info_store_finalize;
 
        /**
-        * GtefActionInfoStore:application:
+        * TeplActionInfoStore:application:
         *
-        * The associated #GtkApplication. #GtefActionInfoStore has a weak
+        * The associated #GtkApplication. #TeplActionInfoStore has a weak
         * reference to the #GtkApplication.
         *
         * Since: 2.0
@@ -191,79 +191,79 @@ gtef_action_info_store_class_init (GtefActionInfoStoreClass *klass)
 }
 
 static void
-gtef_action_info_store_init (GtefActionInfoStore *store)
+tepl_action_info_store_init (TeplActionInfoStore *store)
 {
-       store->priv = gtef_action_info_store_get_instance_private (store);
+       store->priv = tepl_action_info_store_get_instance_private (store);
 
        store->priv->hash_table = g_hash_table_new_full (g_str_hash,
                                                         g_str_equal,
                                                         g_free,
-                                                        (GDestroyNotify) gtef_action_info_unref);
+                                                        (GDestroyNotify) tepl_action_info_unref);
 }
 
 /**
- * gtef_action_info_store_new:
+ * tepl_action_info_store_new:
  * @application: (nullable): a #GtkApplication, or %NULL.
  *
- * Creates a new #GtefActionInfoStore object. Associating a #GtkApplication is
+ * Creates a new #TeplActionInfoStore object. Associating a #GtkApplication is
  * optional.
  *
- * Returns: a new #GtefActionInfoStore.
+ * Returns: a new #TeplActionInfoStore.
  * Since: 2.0
  */
-GtefActionInfoStore *
-gtef_action_info_store_new (GtkApplication *application)
+TeplActionInfoStore *
+tepl_action_info_store_new (GtkApplication *application)
 {
        g_return_val_if_fail (application == NULL || GTK_IS_APPLICATION (application), NULL);
 
-       return g_object_new (GTEF_TYPE_ACTION_INFO_STORE,
+       return g_object_new (TEPL_TYPE_ACTION_INFO_STORE,
                             "application", application,
                             NULL);
 }
 
 /**
- * gtef_action_info_store_get_application:
- * @store: a #GtefActionInfoStore.
+ * tepl_action_info_store_get_application:
+ * @store: a #TeplActionInfoStore.
  *
  * Returns: (transfer none) (nullable): the associated #GtkApplication, or
  * %NULL.
  */
 GtkApplication *
-gtef_action_info_store_get_application (GtefActionInfoStore *store)
+tepl_action_info_store_get_application (TeplActionInfoStore *store)
 {
-       g_return_val_if_fail (GTEF_IS_ACTION_INFO_STORE (store), NULL);
+       g_return_val_if_fail (TEPL_IS_ACTION_INFO_STORE (store), NULL);
 
        return store->priv->app;
 }
 
 /**
- * gtef_action_info_store_add:
- * @store: a #GtefActionInfoStore.
- * @info: a #GtefActionInfo.
+ * tepl_action_info_store_add:
+ * @store: a #TeplActionInfoStore.
+ * @info: a #TeplActionInfo.
  *
- * Inserts @info into @store and into the #GtefActionInfoCentralStore. Both the
+ * Inserts @info into @store and into the #TeplActionInfoCentralStore. Both the
  * @store and central store must <emphasis>not</emphasis> already contain a
- * #GtefActionInfo with the same action name. The stores take their own
+ * #TeplActionInfo with the same action name. The stores take their own
  * reference on @info.
  *
  * Since: 2.0
  */
 void
-gtef_action_info_store_add (GtefActionInfoStore *store,
-                           GtefActionInfo      *info)
+tepl_action_info_store_add (TeplActionInfoStore *store,
+                           TeplActionInfo      *info)
 {
        const gchar *action_name;
-       GtefActionInfoCentralStore *central_store;
+       TeplActionInfoCentralStore *central_store;
 
-       g_return_if_fail (GTEF_IS_ACTION_INFO_STORE (store));
+       g_return_if_fail (TEPL_IS_ACTION_INFO_STORE (store));
        g_return_if_fail (info != NULL);
 
-       action_name = gtef_action_info_get_action_name (info);
+       action_name = tepl_action_info_get_action_name (info);
        g_return_if_fail (action_name != NULL);
 
        if (g_hash_table_lookup (store->priv->hash_table, action_name) != NULL)
        {
-               g_warning ("%s(): the GtefActionInfoStore already contains a GtefActionInfo "
+               g_warning ("%s(): the TeplActionInfoStore already contains a TeplActionInfo "
                           "with the action name “%s”.",
                           G_STRFUNC,
                           action_name);
@@ -272,102 +272,102 @@ gtef_action_info_store_add (GtefActionInfoStore *store,
 
        g_hash_table_insert (store->priv->hash_table,
                             g_strdup (action_name),
-                            gtef_action_info_ref (info));
+                            tepl_action_info_ref (info));
 
-       central_store = gtef_action_info_central_store_get_instance ();
-       _gtef_action_info_central_store_add (central_store, info);
+       central_store = tepl_action_info_central_store_get_instance ();
+       _tepl_action_info_central_store_add (central_store, info);
 }
 
 /**
- * gtef_action_info_store_add_entries:
- * @store: a #GtefActionInfoStore.
- * @entries: (array length=n_entries) (element-type GtefActionInfoEntry): a
- * pointer to the first item in an array of #GtefActionInfoEntry structs.
+ * tepl_action_info_store_add_entries:
+ * @store: a #TeplActionInfoStore.
+ * @entries: (array length=n_entries) (element-type TeplActionInfoEntry): a
+ * pointer to the first item in an array of #TeplActionInfoEntry structs.
  * @n_entries: the length of @entries, or -1 if @entries is %NULL-terminated.
  * @translation_domain: (nullable): a gettext domain, or %NULL.
  *
- * Calls gtef_action_info_store_add() for each entry.
+ * Calls tepl_action_info_store_add() for each entry.
  *
  * If @translation_domain is not %NULL, g_dgettext() is used to translate the
- * @label and @tooltip of each entry before setting them to the #GtefActionInfo.
+ * @label and @tooltip of each entry before setting them to the #TeplActionInfo.
  *
  * An API similar to g_action_map_add_action_entries().
  *
  * Since: 2.0
  */
 void
-gtef_action_info_store_add_entries (GtefActionInfoStore       *store,
-                                   const GtefActionInfoEntry *entries,
+tepl_action_info_store_add_entries (TeplActionInfoStore       *store,
+                                   const TeplActionInfoEntry *entries,
                                    gint                       n_entries,
                                    const gchar               *translation_domain)
 {
        gint i;
 
-       g_return_if_fail (GTEF_IS_ACTION_INFO_STORE (store));
+       g_return_if_fail (TEPL_IS_ACTION_INFO_STORE (store));
        g_return_if_fail (n_entries >= -1);
        g_return_if_fail (entries != NULL || n_entries == 0);
 
        for (i = 0; n_entries == -1 ? entries[i].action_name != NULL : i < n_entries; i++)
        {
-               GtefActionInfo *info;
+               TeplActionInfo *info;
 
-               info = gtef_action_info_new_from_entry (&entries[i], translation_domain);
-               gtef_action_info_store_add (store, info);
-               gtef_action_info_unref (info);
+               info = tepl_action_info_new_from_entry (&entries[i], translation_domain);
+               tepl_action_info_store_add (store, info);
+               tepl_action_info_unref (info);
        }
 }
 
 /**
- * gtef_action_info_store_lookup:
- * @store: a #GtefActionInfoStore.
+ * tepl_action_info_store_lookup:
+ * @store: a #TeplActionInfoStore.
  * @action_name: an action name.
  *
- * Returns: (transfer none): the found #GtefActionInfo, or %NULL.
+ * Returns: (transfer none): the found #TeplActionInfo, or %NULL.
  * Since: 2.0
  */
-const GtefActionInfo *
-gtef_action_info_store_lookup (GtefActionInfoStore *store,
+const TeplActionInfo *
+tepl_action_info_store_lookup (TeplActionInfoStore *store,
                               const gchar         *action_name)
 {
-       g_return_val_if_fail (GTEF_IS_ACTION_INFO_STORE (store), NULL);
+       g_return_val_if_fail (TEPL_IS_ACTION_INFO_STORE (store), NULL);
        g_return_val_if_fail (action_name != NULL, NULL);
 
        return g_hash_table_lookup (store->priv->hash_table, action_name);
 }
 
 /**
- * gtef_action_info_store_create_menu_item:
- * @store: a #GtefActionInfoStore.
+ * tepl_action_info_store_create_menu_item:
+ * @store: a #TeplActionInfoStore.
  * @action_name: an action name.
  *
  * Creates a new #GtkMenuItem for @action_name. The @store must contain a
- * #GtefActionInfo for @action_name.
+ * #TeplActionInfo for @action_name.
  *
  * gtk_actionable_set_action_name() is called on the menu item with
  * @action_name. The label is set with the #GtkMenuItem:use-underline property
  * enabled. The first accelerator is set to the #GtkAccelLabel of the menu item.
  * The icon is set. And the tooltip is set with
- * gtef_menu_item_set_long_description().
+ * tepl_menu_item_set_long_description().
  *
- * If #GtefActionInfoStore:application is non-%NULL, this function also calls
+ * If #TeplActionInfoStore:application is non-%NULL, this function also calls
  * gtk_application_set_accels_for_action() with the accelerators returned by
- * gtef_action_info_get_accels() (this will erase previously set accelerators
+ * tepl_action_info_get_accels() (this will erase previously set accelerators
  * for that action, if any).
  *
  * Returns: (transfer floating): a new #GtkMenuItem for @action_name.
  * Since: 2.0
  */
 GtkWidget *
-gtef_action_info_store_create_menu_item (GtefActionInfoStore *store,
+tepl_action_info_store_create_menu_item (TeplActionInfoStore *store,
                                         const gchar         *action_name)
 {
        GtkMenuItem *menu_item;
-       GtefActionInfo *action_info;
+       TeplActionInfo *action_info;
        const gchar * const *accels;
        const gchar *icon_name;
        const gchar *tooltip;
 
-       g_return_val_if_fail (GTEF_IS_ACTION_INFO_STORE (store), NULL);
+       g_return_val_if_fail (TEPL_IS_ACTION_INFO_STORE (store), NULL);
        g_return_val_if_fail (action_name != NULL, NULL);
 
        action_info = g_hash_table_lookup (store->priv->hash_table, action_name);
@@ -386,12 +386,12 @@ gtef_action_info_store_create_menu_item (GtefActionInfoStore *store,
        gtk_actionable_set_action_name (GTK_ACTIONABLE (menu_item), action_name);
 
        gtk_menu_item_set_use_underline (menu_item, TRUE);
-       gtk_menu_item_set_label (menu_item, gtef_action_info_get_label (action_info));
+       gtk_menu_item_set_label (menu_item, tepl_action_info_get_label (action_info));
 
        /* Set accel before setting icon, because
-        * gtef_menu_item_set_icon_name() adds a GtkBox.
+        * tepl_menu_item_set_icon_name() adds a GtkBox.
         */
-       accels = gtef_action_info_get_accels (action_info);
+       accels = tepl_action_info_get_accels (action_info);
        if (accels != NULL && accels[0] != NULL)
        {
                guint accel_key;
@@ -411,16 +411,16 @@ gtef_action_info_store_create_menu_item (GtefActionInfoStore *store,
                }
        }
 
-       icon_name = gtef_action_info_get_icon_name (action_info);
+       icon_name = tepl_action_info_get_icon_name (action_info);
        if (icon_name != NULL)
        {
-               gtef_menu_item_set_icon_name (menu_item, icon_name);
+               tepl_menu_item_set_icon_name (menu_item, icon_name);
        }
 
-       tooltip = gtef_action_info_get_tooltip (action_info);
+       tooltip = tepl_action_info_get_tooltip (action_info);
        if (tooltip != NULL)
        {
-               gtef_menu_item_set_long_description (menu_item, tooltip);
+               tepl_menu_item_set_long_description (menu_item, tooltip);
        }
 
        if (store->priv->app != NULL)
@@ -430,7 +430,7 @@ gtef_action_info_store_create_menu_item (GtefActionInfoStore *store,
                                                       accels);
        }
 
-       _gtef_action_info_set_used (action_info);
+       _tepl_action_info_set_used (action_info);
 
        return GTK_WIDGET (menu_item);
 }
@@ -441,33 +441,33 @@ check_used_cb (gpointer key,
               gpointer user_data)
 {
        const gchar *action_name = key;
-       const GtefActionInfo *action_info = value;
+       const TeplActionInfo *action_info = value;
 
-       if (!_gtef_action_info_get_used (action_info))
+       if (!_tepl_action_info_get_used (action_info))
        {
-               g_warning ("GtefActionInfo with action_name='%s' has not been used.",
+               g_warning ("TeplActionInfo with action_name='%s' has not been used.",
                           action_name);
        }
 }
 
 /**
- * gtef_action_info_store_check_all_used:
- * @store: a #GtefActionInfoStore.
+ * tepl_action_info_store_check_all_used:
+ * @store: a #TeplActionInfoStore.
  *
- * Checks that all #GtefActionInfo's of @store have been used by
- * gtef_action_info_store_create_menu_item(). If not, a warning is printed and
+ * Checks that all #TeplActionInfo's of @store have been used by
+ * tepl_action_info_store_create_menu_item(). If not, a warning is printed and
  * might indicate dead code.
  *
  * You probably want to call this function on the store returned by
- * gtef_application_get_app_action_info_store(). But it can also be useful for a
+ * tepl_application_get_app_action_info_store(). But it can also be useful for a
  * store provided by a library, to easily see which actions you don't use.
  *
  * Since: 2.0
  */
 void
-gtef_action_info_store_check_all_used (GtefActionInfoStore *store)
+tepl_action_info_store_check_all_used (TeplActionInfoStore *store)
 {
-       g_return_if_fail (GTEF_IS_ACTION_INFO_STORE (store));
+       g_return_if_fail (TEPL_IS_ACTION_INFO_STORE (store));
 
        g_hash_table_foreach (store->priv->hash_table,
                              check_used_cb,
diff --git a/gtef/gtef-action-info-store.h b/gtef/gtef-action-info-store.h
index 3d85c62..437019e 100644
--- a/gtef/gtef-action-info-store.h
+++ b/gtef/gtef-action-info-store.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,64 +17,64 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_ACTION_INFO_STORE_H
-#define GTEF_ACTION_INFO_STORE_H
+#ifndef TEPL_ACTION_INFO_STORE_H
+#define TEPL_ACTION_INFO_STORE_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <gtk/gtk.h>
-#include <gtef/gtef-types.h>
+#include <tepl/tepl-types.h>
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_ACTION_INFO_STORE             (gtef_action_info_store_get_type ())
-#define GTEF_ACTION_INFO_STORE(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), 
GTEF_TYPE_ACTION_INFO_STORE, GtefActionInfoStore))
-#define GTEF_ACTION_INFO_STORE_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), 
GTEF_TYPE_ACTION_INFO_STORE, GtefActionInfoStoreClass))
-#define GTEF_IS_ACTION_INFO_STORE(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), 
GTEF_TYPE_ACTION_INFO_STORE))
-#define GTEF_IS_ACTION_INFO_STORE_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), 
GTEF_TYPE_ACTION_INFO_STORE))
-#define GTEF_ACTION_INFO_STORE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), 
GTEF_TYPE_ACTION_INFO_STORE, GtefActionInfoStoreClass))
+#define TEPL_TYPE_ACTION_INFO_STORE             (tepl_action_info_store_get_type ())
+#define TEPL_ACTION_INFO_STORE(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), 
TEPL_TYPE_ACTION_INFO_STORE, TeplActionInfoStore))
+#define TEPL_ACTION_INFO_STORE_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), 
TEPL_TYPE_ACTION_INFO_STORE, TeplActionInfoStoreClass))
+#define TEPL_IS_ACTION_INFO_STORE(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), 
TEPL_TYPE_ACTION_INFO_STORE))
+#define TEPL_IS_ACTION_INFO_STORE_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), 
TEPL_TYPE_ACTION_INFO_STORE))
+#define TEPL_ACTION_INFO_STORE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), 
TEPL_TYPE_ACTION_INFO_STORE, TeplActionInfoStoreClass))
 
-typedef struct _GtefActionInfoStoreClass    GtefActionInfoStoreClass;
-typedef struct _GtefActionInfoStorePrivate  GtefActionInfoStorePrivate;
+typedef struct _TeplActionInfoStoreClass    TeplActionInfoStoreClass;
+typedef struct _TeplActionInfoStorePrivate  TeplActionInfoStorePrivate;
 
-struct _GtefActionInfoStore
+struct _TeplActionInfoStore
 {
        GObject parent;
 
-       GtefActionInfoStorePrivate *priv;
+       TeplActionInfoStorePrivate *priv;
 };
 
-struct _GtefActionInfoStoreClass
+struct _TeplActionInfoStoreClass
 {
        GObjectClass parent_class;
 
        gpointer padding[12];
 };
 
-GType                  gtef_action_info_store_get_type                 (void) G_GNUC_CONST;
+GType                  tepl_action_info_store_get_type                 (void) G_GNUC_CONST;
 
-GtefActionInfoStore *  gtef_action_info_store_new                      (GtkApplication *application);
+TeplActionInfoStore *  tepl_action_info_store_new                      (GtkApplication *application);
 
-GtkApplication *       gtef_action_info_store_get_application          (GtefActionInfoStore *store);
+GtkApplication *       tepl_action_info_store_get_application          (TeplActionInfoStore *store);
 
-void                   gtef_action_info_store_add                      (GtefActionInfoStore *store,
-                                                                        GtefActionInfo      *info);
+void                   tepl_action_info_store_add                      (TeplActionInfoStore *store,
+                                                                        TeplActionInfo      *info);
 
-void                   gtef_action_info_store_add_entries              (GtefActionInfoStore       *store,
-                                                                        const GtefActionInfoEntry *entries,
+void                   tepl_action_info_store_add_entries              (TeplActionInfoStore       *store,
+                                                                        const TeplActionInfoEntry *entries,
                                                                         gint                       n_entries,
                                                                         const gchar               
*translation_domain);
 
-const GtefActionInfo * gtef_action_info_store_lookup                   (GtefActionInfoStore *store,
+const TeplActionInfo * tepl_action_info_store_lookup                   (TeplActionInfoStore *store,
                                                                         const gchar         *action_name);
 
-GtkWidget *            gtef_action_info_store_create_menu_item         (GtefActionInfoStore *store,
+GtkWidget *            tepl_action_info_store_create_menu_item         (TeplActionInfoStore *store,
                                                                         const gchar         *action_name);
 
-void                   gtef_action_info_store_check_all_used           (GtefActionInfoStore *store);
+void                   tepl_action_info_store_check_all_used           (TeplActionInfoStore *store);
 
 G_END_DECLS
 
-#endif /* GTEF_ACTION_INFO_STORE_H */
+#endif /* TEPL_ACTION_INFO_STORE_H */
diff --git a/gtef/gtef-action-info.c b/gtef/gtef-action-info.c
index f66dafe..af9d7bd 100644
--- a/gtef/gtef-action-info.c
+++ b/gtef/gtef-action-info.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -18,29 +18,29 @@
  */
 
 #include "config.h"
-#include "gtef-action-info.h"
+#include "tepl-action-info.h"
 #include <glib/gi18n-lib.h>
-#include "gtef-utils.h"
+#include "tepl-utils.h"
 
 /**
  * SECTION:action-info
  * @Short_description: GAction information
- * @Title: GtefActionInfo
- * @See_also: #GtefActionInfoStore
+ * @Title: TeplActionInfo
+ * @See_also: #TeplActionInfoStore
  *
- * A #GtefActionInfo instance contains a set of information about a #GAction.
+ * A #TeplActionInfo instance contains a set of information about a #GAction.
  * Those pieces of information are useful to create UI elements that trigger the
  * #GAction, for example a menu item or a toolbar item.
  *
  * When writing an XML file to create a #GMenu, with the format understood by
  * #GtkBuilder (see the class description of #GtkApplicationWindow), the
  * information in the XML file can be used only to create a #GMenu. The initial
- * goal with #GtefActionInfo and its related classes is to encode the
+ * goal with #TeplActionInfo and its related classes is to encode the
  * information just once, and be able to create both a menu and a toolbar easily
  * (to have a traditional user interface).
  */
 
-struct _GtefActionInfo
+struct _TeplActionInfo
 {
        gchar *action_name;
        gchar *icon_name;
@@ -58,14 +58,14 @@ struct _GtefActionInfo
        guint used : 1;
 };
 
-static void _gtef_action_info_free (GtefActionInfo *info);
+static void _tepl_action_info_free (TeplActionInfo *info);
 
-G_DEFINE_BOXED_TYPE (GtefActionInfo, gtef_action_info,
-                    gtef_action_info_copy,
-                    _gtef_action_info_free)
+G_DEFINE_BOXED_TYPE (TeplActionInfo, tepl_action_info,
+                    tepl_action_info_copy,
+                    _tepl_action_info_free)
 
 static void
-_gtef_action_info_free (GtefActionInfo *info)
+_tepl_action_info_free (TeplActionInfo *info)
 {
        if (info != NULL)
        {
@@ -80,17 +80,17 @@ _gtef_action_info_free (GtefActionInfo *info)
 }
 
 /**
- * gtef_action_info_new:
+ * tepl_action_info_new:
  *
- * Returns: a new #GtefActionInfo.
+ * Returns: a new #TeplActionInfo.
  * Since: 2.0
  */
-GtefActionInfo *
-gtef_action_info_new (void)
+TeplActionInfo *
+tepl_action_info_new (void)
 {
-       GtefActionInfo *info;
+       TeplActionInfo *info;
 
-       info = g_new0 (GtefActionInfo, 1);
+       info = g_new0 (TeplActionInfo, 1);
        info->accels = g_malloc0 (sizeof (gchar *));
        info->ref_count = 1;
 
@@ -98,25 +98,25 @@ gtef_action_info_new (void)
 }
 
 /**
- * gtef_action_info_new_from_entry:
- * @info_entry: a #GtefActionInfoEntry.
+ * tepl_action_info_new_from_entry:
+ * @info_entry: a #TeplActionInfoEntry.
  * @translation_domain: (nullable): a gettext domain, or %NULL.
  *
- * Creates a new #GtefActionInfo from a #GtefActionInfoEntry.
+ * Creates a new #TeplActionInfo from a #TeplActionInfoEntry.
  *
  * If @translation_domain is not %NULL, g_dgettext() is used to translate the
- * @label and @tooltip before setting them to the #GtefActionInfo.
+ * @label and @tooltip before setting them to the #TeplActionInfo.
  *
- * Returns: a new #GtefActionInfo.
+ * Returns: a new #TeplActionInfo.
  * Since: 2.0
  */
-GtefActionInfo *
-gtef_action_info_new_from_entry (const GtefActionInfoEntry *info_entry,
+TeplActionInfo *
+tepl_action_info_new_from_entry (const TeplActionInfoEntry *info_entry,
                                 const gchar               *translation_domain)
 {
-       GtefActionInfo *info;
+       TeplActionInfo *info;
 
-       info = gtef_action_info_new ();
+       info = tepl_action_info_new ();
        info->action_name = g_strdup (info_entry->action_name);
        info->icon_name = g_strdup (info_entry->icon_name);
 
@@ -144,16 +144,16 @@ gtef_action_info_new_from_entry (const GtefActionInfoEntry *info_entry,
 }
 
 /**
- * gtef_action_info_ref:
- * @info: a #GtefActionInfo.
+ * tepl_action_info_ref:
+ * @info: a #TeplActionInfo.
  *
  * Increments the reference count of @info by one.
  *
  * Returns: the passed in @info.
  * Since: 2.0
  */
-GtefActionInfo *
-gtef_action_info_ref (GtefActionInfo *info)
+TeplActionInfo *
+tepl_action_info_ref (TeplActionInfo *info)
 {
        g_return_val_if_fail (info != NULL, NULL);
 
@@ -163,8 +163,8 @@ gtef_action_info_ref (GtefActionInfo *info)
 }
 
 /**
- * gtef_action_info_unref:
- * @info: a #GtefActionInfo.
+ * tepl_action_info_unref:
+ * @info: a #TeplActionInfo.
  *
  * Decrements the reference count of @info by one. If the reference count drops
  * to 0, @info is freed.
@@ -172,7 +172,7 @@ gtef_action_info_ref (GtefActionInfo *info)
  * Since: 2.0
  */
 void
-gtef_action_info_unref (GtefActionInfo *info)
+tepl_action_info_unref (TeplActionInfo *info)
 {
        g_return_if_fail (info != NULL);
 
@@ -180,46 +180,46 @@ gtef_action_info_unref (GtefActionInfo *info)
 
        if (info->ref_count == 0)
        {
-               _gtef_action_info_free (info);
+               _tepl_action_info_free (info);
        }
 }
 
 /**
- * gtef_action_info_copy:
- * @info: a #GtefActionInfo.
+ * tepl_action_info_copy:
+ * @info: a #TeplActionInfo.
  *
  * Returns: (transfer full): a copy of @info. The copy will have a reference
  * count of one.
  * Since: 2.0
  */
-GtefActionInfo *
-gtef_action_info_copy (const GtefActionInfo *info)
+TeplActionInfo *
+tepl_action_info_copy (const TeplActionInfo *info)
 {
-       GtefActionInfo *new_info;
+       TeplActionInfo *new_info;
 
        g_return_val_if_fail (info != NULL, NULL);
 
-       new_info = gtef_action_info_new ();
+       new_info = tepl_action_info_new ();
 
        new_info->action_name = g_strdup (info->action_name);
        new_info->icon_name = g_strdup (info->icon_name);
        new_info->label = g_strdup (info->label);
        new_info->tooltip = g_strdup (info->tooltip);
 
-       gtef_action_info_set_accels (new_info, (const gchar * const *)info->accels);
+       tepl_action_info_set_accels (new_info, (const gchar * const *)info->accels);
 
        return new_info;
 }
 
 /**
- * gtef_action_info_get_action_name:
- * @info: a #GtefActionInfo.
+ * tepl_action_info_get_action_name:
+ * @info: a #TeplActionInfo.
  *
  * Returns: (nullable): the action name, or %NULL. Example: `"win.save"`.
  * Since: 2.0
  */
 const gchar *
-gtef_action_info_get_action_name (const GtefActionInfo *info)
+tepl_action_info_get_action_name (const TeplActionInfo *info)
 {
        g_return_val_if_fail (info != NULL, NULL);
 
@@ -227,8 +227,8 @@ gtef_action_info_get_action_name (const GtefActionInfo *info)
 }
 
 /**
- * gtef_action_info_set_action_name:
- * @info: a #GtefActionInfo.
+ * tepl_action_info_set_action_name:
+ * @info: a #TeplActionInfo.
  * @action_name: the action name.
  *
  * Sets the action name, for example `"win.save"`.
@@ -236,7 +236,7 @@ gtef_action_info_get_action_name (const GtefActionInfo *info)
  * Since: 2.0
  */
 void
-gtef_action_info_set_action_name (GtefActionInfo *info,
+tepl_action_info_set_action_name (TeplActionInfo *info,
                                  const gchar    *action_name)
 {
        g_return_if_fail (info != NULL);
@@ -247,14 +247,14 @@ gtef_action_info_set_action_name (GtefActionInfo *info,
 }
 
 /**
- * gtef_action_info_get_icon_name:
- * @info: a #GtefActionInfo.
+ * tepl_action_info_get_icon_name:
+ * @info: a #TeplActionInfo.
  *
  * Returns: (nullable): the icon name, or %NULL.
  * Since: 2.0
  */
 const gchar *
-gtef_action_info_get_icon_name (const GtefActionInfo *info)
+tepl_action_info_get_icon_name (const TeplActionInfo *info)
 {
        g_return_val_if_fail (info != NULL, NULL);
 
@@ -262,14 +262,14 @@ gtef_action_info_get_icon_name (const GtefActionInfo *info)
 }
 
 /**
- * gtef_action_info_set_icon_name:
- * @info: a #GtefActionInfo.
+ * tepl_action_info_set_icon_name:
+ * @info: a #TeplActionInfo.
  * @icon_name: (nullable): the icon name, or %NULL.
  *
  * Since: 2.0
  */
 void
-gtef_action_info_set_icon_name (GtefActionInfo *info,
+tepl_action_info_set_icon_name (TeplActionInfo *info,
                                const gchar    *icon_name)
 {
        g_return_if_fail (info != NULL);
@@ -279,14 +279,14 @@ gtef_action_info_set_icon_name (GtefActionInfo *info,
 }
 
 /**
- * gtef_action_info_get_label:
- * @info: a #GtefActionInfo.
+ * tepl_action_info_get_label:
+ * @info: a #TeplActionInfo.
  *
  * Returns: (nullable): the label (i.e. a short description), or %NULL.
  * Since: 2.0
  */
 const gchar *
-gtef_action_info_get_label (const GtefActionInfo *info)
+tepl_action_info_get_label (const TeplActionInfo *info)
 {
        g_return_val_if_fail (info != NULL, NULL);
 
@@ -294,14 +294,14 @@ gtef_action_info_get_label (const GtefActionInfo *info)
 }
 
 /**
- * gtef_action_info_set_label:
- * @info: a #GtefActionInfo.
+ * tepl_action_info_set_label:
+ * @info: a #TeplActionInfo.
  * @label: (nullable): the label (i.e. a short description), or %NULL.
  *
  * Since: 2.0
  */
 void
-gtef_action_info_set_label (GtefActionInfo *info,
+tepl_action_info_set_label (TeplActionInfo *info,
                            const gchar    *label)
 {
        g_return_if_fail (info != NULL);
@@ -311,14 +311,14 @@ gtef_action_info_set_label (GtefActionInfo *info,
 }
 
 /**
- * gtef_action_info_get_tooltip:
- * @info: a #GtefActionInfo.
+ * tepl_action_info_get_tooltip:
+ * @info: a #TeplActionInfo.
  *
  * Returns: (nullable): the tooltip (i.e. a long description), or %NULL.
  * Since: 2.0
  */
 const gchar *
-gtef_action_info_get_tooltip (const GtefActionInfo *info)
+tepl_action_info_get_tooltip (const TeplActionInfo *info)
 {
        g_return_val_if_fail (info != NULL, NULL);
 
@@ -326,14 +326,14 @@ gtef_action_info_get_tooltip (const GtefActionInfo *info)
 }
 
 /**
- * gtef_action_info_set_tooltip:
- * @info: a #GtefActionInfo.
+ * tepl_action_info_set_tooltip:
+ * @info: a #TeplActionInfo.
  * @tooltip: (nullable): the tooltip (i.e. a long description), or %NULL.
  *
  * Since: 2.0
  */
 void
-gtef_action_info_set_tooltip (GtefActionInfo *info,
+tepl_action_info_set_tooltip (TeplActionInfo *info,
                              const gchar    *tooltip)
 {
        g_return_if_fail (info != NULL);
@@ -343,8 +343,8 @@ gtef_action_info_set_tooltip (GtefActionInfo *info,
 }
 
 /**
- * gtef_action_info_get_accels:
- * @info: a #GtefActionInfo.
+ * tepl_action_info_get_accels:
+ * @info: a #TeplActionInfo.
  *
  * Returns the accelerators. This function never returns %NULL, it always
  * returns a %NULL-terminated array, to be suitable for
@@ -355,7 +355,7 @@ gtef_action_info_set_tooltip (GtefActionInfo *info,
  * Since: 2.0
  */
 const gchar * const *
-gtef_action_info_get_accels (const GtefActionInfo *info)
+tepl_action_info_get_accels (const TeplActionInfo *info)
 {
        g_return_val_if_fail (info != NULL, NULL);
 
@@ -365,8 +365,8 @@ gtef_action_info_get_accels (const GtefActionInfo *info)
 }
 
 /**
- * gtef_action_info_set_accels:
- * @info: a #GtefActionInfo.
+ * tepl_action_info_set_accels:
+ * @info: a #TeplActionInfo.
  * @accels: (array zero-terminated=1): a %NULL-terminated array of accelerators
  * in the format understood by gtk_accelerator_parse().
  *
@@ -378,18 +378,18 @@ gtef_action_info_get_accels (const GtefActionInfo *info)
  * Since: 2.0
  */
 void
-gtef_action_info_set_accels (GtefActionInfo      *info,
+tepl_action_info_set_accels (TeplActionInfo      *info,
                             const gchar * const *accels)
 {
        g_return_if_fail (info != NULL);
        g_return_if_fail (accels != NULL);
 
        g_strfreev (info->accels);
-       info->accels = _gtef_utils_strv_copy (accels);
+       info->accels = _tepl_utils_strv_copy (accels);
 }
 
 gboolean
-_gtef_action_info_get_used (const GtefActionInfo *info)
+_tepl_action_info_get_used (const TeplActionInfo *info)
 {
        g_return_val_if_fail (info != NULL, FALSE);
 
@@ -397,7 +397,7 @@ _gtef_action_info_get_used (const GtefActionInfo *info)
 }
 
 void
-_gtef_action_info_set_used (GtefActionInfo *info)
+_tepl_action_info_set_used (TeplActionInfo *info)
 {
        g_return_if_fail (info != NULL);
 
diff --git a/gtef/gtef-action-info.h b/gtef/gtef-action-info.h
index 8f5f113..6f46d63 100644
--- a/gtef/gtef-action-info.h
+++ b/gtef/gtef-action-info.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,22 +17,22 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_ACTION_INFO_H
-#define GTEF_ACTION_INFO_H
+#ifndef TEPL_ACTION_INFO_H
+#define TEPL_ACTION_INFO_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <glib-object.h>
-#include <gtef/gtef-types.h>
+#include <tepl/tepl-types.h>
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_ACTION_INFO (gtef_action_info_get_type ())
+#define TEPL_TYPE_ACTION_INFO (tepl_action_info_get_type ())
 
 /**
- * GtefActionInfoEntry:
+ * TeplActionInfoEntry:
  * @action_name: the action name.
  * @icon_name: the icon name, or %NULL.
  * @label: the label (i.e. a short description), or %NULL.
@@ -41,7 +41,7 @@ G_BEGIN_DECLS
  * @tooltip: the tooltip (i.e. a long description), or %NULL.
  *
  * This struct defines a set of information for a single action. It is for use
- * with gtef_action_info_store_add_entries().
+ * with tepl_action_info_store_add_entries().
  *
  * Like #GActionEntry, it is permissible to use an incomplete initialiser in
  * order to leave some of the later values as %NULL. Additional optional fields
@@ -49,7 +49,7 @@ G_BEGIN_DECLS
  *
  * Since: 2.0
  */
-struct _GtefActionInfoEntry
+struct _TeplActionInfoEntry
 {
        const gchar *action_name;
        const gchar *icon_name;
@@ -61,50 +61,50 @@ struct _GtefActionInfoEntry
        gpointer padding[3];
 };
 
-GType                  gtef_action_info_get_type               (void) G_GNUC_CONST;
+GType                  tepl_action_info_get_type               (void) G_GNUC_CONST;
 
-GtefActionInfo *       gtef_action_info_new                    (void);
+TeplActionInfo *       tepl_action_info_new                    (void);
 
-GtefActionInfo *       gtef_action_info_new_from_entry         (const GtefActionInfoEntry *info_entry,
+TeplActionInfo *       tepl_action_info_new_from_entry         (const TeplActionInfoEntry *info_entry,
                                                                 const gchar               
*translation_domain);
 
-GtefActionInfo *       gtef_action_info_ref                    (GtefActionInfo *info);
+TeplActionInfo *       tepl_action_info_ref                    (TeplActionInfo *info);
 
-void                   gtef_action_info_unref                  (GtefActionInfo *info);
+void                   tepl_action_info_unref                  (TeplActionInfo *info);
 
-GtefActionInfo *       gtef_action_info_copy                   (const GtefActionInfo *info);
+TeplActionInfo *       tepl_action_info_copy                   (const TeplActionInfo *info);
 
-const gchar *          gtef_action_info_get_action_name        (const GtefActionInfo *info);
+const gchar *          tepl_action_info_get_action_name        (const TeplActionInfo *info);
 
-void                   gtef_action_info_set_action_name        (GtefActionInfo *info,
+void                   tepl_action_info_set_action_name        (TeplActionInfo *info,
                                                                 const gchar    *action_name);
 
-const gchar *          gtef_action_info_get_icon_name          (const GtefActionInfo *info);
+const gchar *          tepl_action_info_get_icon_name          (const TeplActionInfo *info);
 
-void                   gtef_action_info_set_icon_name          (GtefActionInfo *info,
+void                   tepl_action_info_set_icon_name          (TeplActionInfo *info,
                                                                 const gchar    *icon_name);
 
-const gchar *          gtef_action_info_get_label              (const GtefActionInfo *info);
+const gchar *          tepl_action_info_get_label              (const TeplActionInfo *info);
 
-void                   gtef_action_info_set_label              (GtefActionInfo *info,
+void                   tepl_action_info_set_label              (TeplActionInfo *info,
                                                                 const gchar    *label);
 
-const gchar *          gtef_action_info_get_tooltip            (const GtefActionInfo *info);
+const gchar *          tepl_action_info_get_tooltip            (const TeplActionInfo *info);
 
-void                   gtef_action_info_set_tooltip            (GtefActionInfo *info,
+void                   tepl_action_info_set_tooltip            (TeplActionInfo *info,
                                                                 const gchar    *tooltip);
 
-const gchar * const *  gtef_action_info_get_accels             (const GtefActionInfo *info);
+const gchar * const *  tepl_action_info_get_accels             (const TeplActionInfo *info);
 
-void                   gtef_action_info_set_accels             (GtefActionInfo      *info,
+void                   tepl_action_info_set_accels             (TeplActionInfo      *info,
                                                                 const gchar * const *accels);
 
 G_GNUC_INTERNAL
-gboolean               _gtef_action_info_get_used              (const GtefActionInfo *info);
+gboolean               _tepl_action_info_get_used              (const TeplActionInfo *info);
 
 G_GNUC_INTERNAL
-void                   _gtef_action_info_set_used              (GtefActionInfo *info);
+void                   _tepl_action_info_set_used              (TeplActionInfo *info);
 
 G_END_DECLS
 
-#endif  /* GTEF_ACTION_INFO_H */
+#endif  /* TEPL_ACTION_INFO_H */
diff --git a/gtef/gtef-action-map.c b/gtef/gtef-action-map.c
index 948c517..7ffc046 100644
--- a/gtef/gtef-action-map.c
+++ b/gtef/gtef-action-map.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,12 +17,12 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "gtef-action-map.h"
+#include "tepl-action-map.h"
 
 /**
  * SECTION:action-map
  * @Short_description: GActionMap wrapper functions
- * @Title: GtefActionMap
+ * @Title: TeplActionMap
  *
  * #GActionMap wrapper functions.
  */
@@ -40,7 +40,7 @@ check_dups_in_array (const GActionEntry *entries,
 
                if (g_strcmp0 (action_name, entry->name) == 0)
                {
-                       g_warning ("gtef_action_map_add_action_entries_check_dups(): "
+                       g_warning ("tepl_action_map_add_action_entries_check_dups(): "
                                   "the GActionEntry array contains duplicated entries for the action name 
'%s'. "
                                   "The first one will be dropped from the GActionMap.",
                                   action_name);
@@ -50,7 +50,7 @@ check_dups_in_array (const GActionEntry *entries,
 }
 
 /**
- * gtef_action_map_add_action_entries_check_dups:
+ * tepl_action_map_add_action_entries_check_dups:
  * @action_map: a #GActionMap.
  * @entries: (array length=n_entries) (element-type GActionEntry): a pointer to
  *           the first item in an array of #GActionEntry structs.
@@ -72,7 +72,7 @@ check_dups_in_array (const GActionEntry *entries,
  * Since: 2.0
  */
 void
-gtef_action_map_add_action_entries_check_dups (GActionMap         *action_map,
+tepl_action_map_add_action_entries_check_dups (GActionMap         *action_map,
                                               const GActionEntry *entries,
                                               gint                n_entries,
                                               gpointer            user_data)
diff --git a/gtef/gtef-action-map.h b/gtef/gtef-action-map.h
index ae9a66e..6252ca1 100644
--- a/gtef/gtef-action-map.h
+++ b/gtef/gtef-action-map.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,22 +17,22 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_ACTION_MAP_H
-#define GTEF_ACTION_MAP_H
+#ifndef TEPL_ACTION_MAP_H
+#define TEPL_ACTION_MAP_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <gio/gio.h>
 
 G_BEGIN_DECLS
 
-void   gtef_action_map_add_action_entries_check_dups   (GActionMap         *action_map,
+void   tepl_action_map_add_action_entries_check_dups   (GActionMap         *action_map,
                                                         const GActionEntry *entries,
                                                         gint                n_entries,
                                                         gpointer            user_data);
 
 G_END_DECLS
 
-#endif /* GTEF_ACTION_MAP_H */
+#endif /* TEPL_ACTION_MAP_H */
diff --git a/gtef/gtef-application-window.c b/gtef/gtef-application-window.c
index 1767336..9b03fa7 100644
--- a/gtef/gtef-application-window.c
+++ b/gtef/gtef-application-window.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -18,29 +18,29 @@
  */
 
 #include "config.h"
-#include "gtef-application-window.h"
+#include "tepl-application-window.h"
 #include <glib/gi18n-lib.h>
-#include "gtef-application.h"
-#include "gtef-action-info.h"
-#include "gtef-action-info-central-store.h"
-#include "gtef-menu-item.h"
-#include "gtef-menu-shell.h"
-#include "gtef-utils.h"
+#include "tepl-application.h"
+#include "tepl-action-info.h"
+#include "tepl-action-info-central-store.h"
+#include "tepl-menu-item.h"
+#include "tepl-menu-shell.h"
+#include "tepl-utils.h"
 
 /**
  * SECTION:application-window
  * @Short_description: An extension of GtkApplicationWindow
- * @Title: GtefApplicationWindow
+ * @Title: TeplApplicationWindow
  *
- * #GtefApplicationWindow extends the #GtkApplicationWindow class.
+ * #TeplApplicationWindow extends the #GtkApplicationWindow class.
  *
- * Note that #GtefApplicationWindow extends the #GtkApplicationWindow class but
+ * Note that #TeplApplicationWindow extends the #GtkApplicationWindow class but
  * without subclassing it, because several libraries might want to extend
  * #GtkApplicationWindow and an application needs to be able to use all those
  * extensions at the same time.
  */
 
-struct _GtefApplicationWindowPrivate
+struct _TeplApplicationWindowPrivate
 {
        GtkApplicationWindow *gtk_window;
        GtkStatusbar *statusbar;
@@ -54,30 +54,30 @@ enum
        N_PROPERTIES
 };
 
-#define GTEF_APPLICATION_WINDOW_KEY "gtef-application-window-key"
-#define MENU_SHELL_STATUSBAR_CONTEXT_ID_KEY "gtef-menu-shell-statusbar-context-id-key"
-#define MENU_SHELL_FOR_RECENT_CHOOSER_KEY "gtef-menu-shell-for-recent-chooser-key"
+#define TEPL_APPLICATION_WINDOW_KEY "tepl-application-window-key"
+#define MENU_SHELL_STATUSBAR_CONTEXT_ID_KEY "tepl-menu-shell-statusbar-context-id-key"
+#define MENU_SHELL_FOR_RECENT_CHOOSER_KEY "tepl-menu-shell-for-recent-chooser-key"
 
 static GParamSpec *properties[N_PROPERTIES];
 
-G_DEFINE_TYPE_WITH_PRIVATE (GtefApplicationWindow, gtef_application_window, G_TYPE_OBJECT)
+G_DEFINE_TYPE_WITH_PRIVATE (TeplApplicationWindow, tepl_application_window, G_TYPE_OBJECT)
 
 static void
-gtef_application_window_get_property (GObject    *object,
+tepl_application_window_get_property (GObject    *object,
                                      guint       prop_id,
                                      GValue     *value,
                                      GParamSpec *pspec)
 {
-       GtefApplicationWindow *gtef_window = GTEF_APPLICATION_WINDOW (object);
+       TeplApplicationWindow *tepl_window = TEPL_APPLICATION_WINDOW (object);
 
        switch (prop_id)
        {
                case PROP_APPLICATION_WINDOW:
-                       g_value_set_object (value, gtef_application_window_get_application_window 
(gtef_window));
+                       g_value_set_object (value, tepl_application_window_get_application_window 
(tepl_window));
                        break;
 
                case PROP_STATUSBAR:
-                       g_value_set_object (value, gtef_application_window_get_statusbar (gtef_window));
+                       g_value_set_object (value, tepl_application_window_get_statusbar (tepl_window));
                        break;
 
                default:
@@ -87,22 +87,22 @@ gtef_application_window_get_property (GObject    *object,
 }
 
 static void
-gtef_application_window_set_property (GObject      *object,
+tepl_application_window_set_property (GObject      *object,
                                      guint         prop_id,
                                      const GValue *value,
                                      GParamSpec   *pspec)
 {
-       GtefApplicationWindow *gtef_window = GTEF_APPLICATION_WINDOW (object);
+       TeplApplicationWindow *tepl_window = TEPL_APPLICATION_WINDOW (object);
 
        switch (prop_id)
        {
                case PROP_APPLICATION_WINDOW:
-                       g_assert (gtef_window->priv->gtk_window == NULL);
-                       gtef_window->priv->gtk_window = g_value_get_object (value);
+                       g_assert (tepl_window->priv->gtk_window == NULL);
+                       tepl_window->priv->gtk_window = g_value_get_object (value);
                        break;
 
                case PROP_STATUSBAR:
-                       gtef_application_window_set_statusbar (gtef_window, g_value_get_object (value));
+                       tepl_application_window_set_statusbar (tepl_window, g_value_get_object (value));
                        break;
 
                default:
@@ -112,26 +112,26 @@ gtef_application_window_set_property (GObject      *object,
 }
 
 static void
-gtef_application_window_dispose (GObject *object)
+tepl_application_window_dispose (GObject *object)
 {
-       GtefApplicationWindow *gtef_window = GTEF_APPLICATION_WINDOW (object);
+       TeplApplicationWindow *tepl_window = TEPL_APPLICATION_WINDOW (object);
 
-       gtef_window->priv->gtk_window = NULL;
+       tepl_window->priv->gtk_window = NULL;
 
-       G_OBJECT_CLASS (gtef_application_window_parent_class)->dispose (object);
+       G_OBJECT_CLASS (tepl_application_window_parent_class)->dispose (object);
 }
 
 static void
-gtef_application_window_class_init (GtefApplicationWindowClass *klass)
+tepl_application_window_class_init (TeplApplicationWindowClass *klass)
 {
        GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-       object_class->get_property = gtef_application_window_get_property;
-       object_class->set_property = gtef_application_window_set_property;
-       object_class->dispose = gtef_application_window_dispose;
+       object_class->get_property = tepl_application_window_get_property;
+       object_class->set_property = tepl_application_window_set_property;
+       object_class->dispose = tepl_application_window_dispose;
 
        /**
-        * GtefApplicationWindow:application-window:
+        * TeplApplicationWindow:application-window:
         *
         * The #GtkApplicationWindow.
         *
@@ -147,7 +147,7 @@ gtef_application_window_class_init (GtefApplicationWindowClass *klass)
                                     G_PARAM_STATIC_STRINGS);
 
        /**
-        * GtefApplicationWindow:statusbar:
+        * TeplApplicationWindow:statusbar:
         *
         * The #GtkStatusbar. %NULL by default.
         *
@@ -165,93 +165,93 @@ gtef_application_window_class_init (GtefApplicationWindowClass *klass)
 }
 
 static void
-gtef_application_window_init (GtefApplicationWindow *gtef_window)
+tepl_application_window_init (TeplApplicationWindow *tepl_window)
 {
-       gtef_window->priv = gtef_application_window_get_instance_private (gtef_window);
+       tepl_window->priv = tepl_application_window_get_instance_private (tepl_window);
 }
 
 /**
- * gtef_application_window_get_from_gtk_application_window:
+ * tepl_application_window_get_from_gtk_application_window:
  * @gtk_window: a #GtkApplicationWindow.
  *
- * Returns the #GtefApplicationWindow of @gtk_window. The returned object is
+ * Returns the #TeplApplicationWindow of @gtk_window. The returned object is
  * guaranteed to be the same for the lifetime of @gtk_window.
  *
- * Returns: (transfer none): the #GtefApplicationWindow of @gtk_window.
+ * Returns: (transfer none): the #TeplApplicationWindow of @gtk_window.
  * Since: 2.0
  */
-GtefApplicationWindow *
-gtef_application_window_get_from_gtk_application_window (GtkApplicationWindow *gtk_window)
+TeplApplicationWindow *
+tepl_application_window_get_from_gtk_application_window (GtkApplicationWindow *gtk_window)
 {
-       GtefApplicationWindow *gtef_window;
+       TeplApplicationWindow *tepl_window;
 
        g_return_val_if_fail (GTK_IS_APPLICATION_WINDOW (gtk_window), NULL);
 
-       gtef_window = g_object_get_data (G_OBJECT (gtk_window), GTEF_APPLICATION_WINDOW_KEY);
+       tepl_window = g_object_get_data (G_OBJECT (gtk_window), TEPL_APPLICATION_WINDOW_KEY);
 
-       if (gtef_window == NULL)
+       if (tepl_window == NULL)
        {
-               gtef_window = g_object_new (GTEF_TYPE_APPLICATION_WINDOW,
+               tepl_window = g_object_new (TEPL_TYPE_APPLICATION_WINDOW,
                                            "application-window", gtk_window,
                                            NULL);
 
                g_object_set_data_full (G_OBJECT (gtk_window),
-                                       GTEF_APPLICATION_WINDOW_KEY,
-                                       gtef_window,
+                                       TEPL_APPLICATION_WINDOW_KEY,
+                                       tepl_window,
                                        g_object_unref);
        }
 
-       g_return_val_if_fail (GTEF_IS_APPLICATION_WINDOW (gtef_window), NULL);
-       return gtef_window;
+       g_return_val_if_fail (TEPL_IS_APPLICATION_WINDOW (tepl_window), NULL);
+       return tepl_window;
 }
 
 /**
- * gtef_application_window_get_application_window:
- * @gtef_window: a #GtefApplicationWindow.
+ * tepl_application_window_get_application_window:
+ * @tepl_window: a #TeplApplicationWindow.
  *
- * Returns: (transfer none): the #GtkApplicationWindow of @gtef_window.
+ * Returns: (transfer none): the #GtkApplicationWindow of @tepl_window.
  * Since: 2.0
  */
 GtkApplicationWindow *
-gtef_application_window_get_application_window (GtefApplicationWindow *gtef_window)
+tepl_application_window_get_application_window (TeplApplicationWindow *tepl_window)
 {
-       g_return_val_if_fail (GTEF_IS_APPLICATION_WINDOW (gtef_window), NULL);
+       g_return_val_if_fail (TEPL_IS_APPLICATION_WINDOW (tepl_window), NULL);
 
-       return gtef_window->priv->gtk_window;
+       return tepl_window->priv->gtk_window;
 }
 
 /**
- * gtef_application_window_get_statusbar:
- * @gtef_window: a #GtefApplicationWindow.
+ * tepl_application_window_get_statusbar:
+ * @tepl_window: a #TeplApplicationWindow.
  *
- * Returns: (transfer none) (nullable): the #GtefApplicationWindow:statusbar.
+ * Returns: (transfer none) (nullable): the #TeplApplicationWindow:statusbar.
  * Since: 2.0
  */
 GtkStatusbar *
-gtef_application_window_get_statusbar (GtefApplicationWindow *gtef_window)
+tepl_application_window_get_statusbar (TeplApplicationWindow *tepl_window)
 {
-       g_return_val_if_fail (GTEF_IS_APPLICATION_WINDOW (gtef_window), NULL);
+       g_return_val_if_fail (TEPL_IS_APPLICATION_WINDOW (tepl_window), NULL);
 
-       return gtef_window->priv->statusbar;
+       return tepl_window->priv->statusbar;
 }
 
 /**
- * gtef_application_window_set_statusbar:
- * @gtef_window: a #GtefApplicationWindow.
+ * tepl_application_window_set_statusbar:
+ * @tepl_window: a #TeplApplicationWindow.
  * @statusbar: (nullable): a #GtkStatusbar, or %NULL.
  *
- * Sets the #GtefApplicationWindow:statusbar property.
+ * Sets the #TeplApplicationWindow:statusbar property.
  *
  * Since: 2.0
  */
 void
-gtef_application_window_set_statusbar (GtefApplicationWindow *gtef_window,
+tepl_application_window_set_statusbar (TeplApplicationWindow *tepl_window,
                                       GtkStatusbar          *statusbar)
 {
-       g_return_if_fail (GTEF_IS_APPLICATION_WINDOW (gtef_window));
+       g_return_if_fail (TEPL_IS_APPLICATION_WINDOW (tepl_window));
        g_return_if_fail (statusbar == NULL || GTK_IS_STATUSBAR (statusbar));
 
-       if (gtef_window->priv->statusbar == statusbar)
+       if (tepl_window->priv->statusbar == statusbar)
        {
                return;
        }
@@ -261,28 +261,28 @@ gtef_application_window_set_statusbar (GtefApplicationWindow *gtef_window,
                g_object_ref_sink (statusbar);
        }
 
-       if (gtef_window->priv->statusbar != NULL)
+       if (tepl_window->priv->statusbar != NULL)
        {
-               g_object_unref (gtef_window->priv->statusbar);
+               g_object_unref (tepl_window->priv->statusbar);
        }
 
-       gtef_window->priv->statusbar = statusbar;
-       g_object_notify_by_pspec (G_OBJECT (gtef_window), properties[PROP_STATUSBAR]);
+       tepl_window->priv->statusbar = statusbar;
+       g_object_notify_by_pspec (G_OBJECT (tepl_window), properties[PROP_STATUSBAR]);
 }
 
 /* Returns: %TRUE if a context ID exists and has been set to @context_id. */
 static gboolean
-get_statusbar_context_id_for_menu_shell (GtefApplicationWindow *gtef_window,
-                                        GtefMenuShell         *gtef_menu_shell,
+get_statusbar_context_id_for_menu_shell (TeplApplicationWindow *tepl_window,
+                                        TeplMenuShell         *tepl_menu_shell,
                                         gboolean               create,
                                         guint                 *context_id)
 {
        gpointer data;
 
-       g_assert (gtef_window->priv->statusbar != NULL);
+       g_assert (tepl_window->priv->statusbar != NULL);
        g_assert (context_id != NULL);
 
-       data = g_object_get_data (G_OBJECT (gtef_menu_shell), MENU_SHELL_STATUSBAR_CONTEXT_ID_KEY);
+       data = g_object_get_data (G_OBJECT (tepl_menu_shell), MENU_SHELL_STATUSBAR_CONTEXT_ID_KEY);
 
        if (data == NULL && !create)
        {
@@ -291,10 +291,10 @@ get_statusbar_context_id_for_menu_shell (GtefApplicationWindow *gtef_window,
 
        if (data == NULL)
        {
-               *context_id = gtk_statusbar_get_context_id (gtef_window->priv->statusbar,
+               *context_id = gtk_statusbar_get_context_id (tepl_window->priv->statusbar,
                                                            "Show long description of menu items.");
 
-               g_object_set_data (G_OBJECT (gtef_menu_shell),
+               g_object_set_data (G_OBJECT (tepl_menu_shell),
                                   MENU_SHELL_STATUSBAR_CONTEXT_ID_KEY,
                                   GUINT_TO_POINTER (*context_id));
        }
@@ -308,20 +308,20 @@ get_statusbar_context_id_for_menu_shell (GtefApplicationWindow *gtef_window,
 
 /* Free the return value with g_free(). */
 static gchar *
-get_menu_item_long_description (GtefMenuShell *gtef_menu_shell,
+get_menu_item_long_description (TeplMenuShell *tepl_menu_shell,
                                GtkMenuItem   *menu_item)
 {
        const gchar *long_description;
        gpointer data;
        gboolean is_for_recent_chooser;
 
-       long_description = gtef_menu_item_get_long_description (menu_item);
+       long_description = tepl_menu_item_get_long_description (menu_item);
        if (long_description != NULL)
        {
                return g_strdup (long_description);
        }
 
-       data = g_object_get_data (G_OBJECT (gtef_menu_shell), MENU_SHELL_FOR_RECENT_CHOOSER_KEY);
+       data = g_object_get_data (G_OBJECT (tepl_menu_shell), MENU_SHELL_FOR_RECENT_CHOOSER_KEY);
        is_for_recent_chooser = data != NULL ? GPOINTER_TO_INT (data) : FALSE;
 
        if (is_for_recent_chooser)
@@ -334,9 +334,9 @@ get_menu_item_long_description (GtefMenuShell *gtef_menu_shell,
                gchar *nicer_filename;
                gchar *ret;
 
-               gtk_menu_shell = gtef_menu_shell_get_menu_shell (gtef_menu_shell);
+               gtk_menu_shell = tepl_menu_shell_get_menu_shell (tepl_menu_shell);
                recent_chooser_menu = GTK_RECENT_CHOOSER_MENU (gtk_menu_shell);
-               uri = gtef_utils_recent_chooser_menu_get_item_uri (recent_chooser_menu, menu_item);
+               uri = tepl_utils_recent_chooser_menu_get_item_uri (recent_chooser_menu, menu_item);
 
                if (uri == NULL)
                {
@@ -349,7 +349,7 @@ get_menu_item_long_description (GtefMenuShell *gtef_menu_shell,
                parse_name = g_file_get_parse_name (file);
                g_object_unref (file);
 
-               nicer_filename = _gtef_utils_replace_home_dir_with_tilde (parse_name);
+               nicer_filename = _tepl_utils_replace_home_dir_with_tilde (parse_name);
                g_free (parse_name);
 
                /* Translators: %s is a filename. */
@@ -363,31 +363,31 @@ get_menu_item_long_description (GtefMenuShell *gtef_menu_shell,
 }
 
 static void
-menu_item_selected_cb (GtefMenuShell *gtef_menu_shell,
+menu_item_selected_cb (TeplMenuShell *tepl_menu_shell,
                       GtkMenuItem   *menu_item,
                       gpointer       user_data)
 {
-       GtefApplicationWindow *gtef_window = GTEF_APPLICATION_WINDOW (user_data);
+       TeplApplicationWindow *tepl_window = TEPL_APPLICATION_WINDOW (user_data);
        gchar *long_description;
        guint context_id;
 
-       if (gtef_window->priv->statusbar == NULL)
+       if (tepl_window->priv->statusbar == NULL)
        {
                return;
        }
 
-       long_description = get_menu_item_long_description (gtef_menu_shell, menu_item);
+       long_description = get_menu_item_long_description (tepl_menu_shell, menu_item);
        if (long_description == NULL)
        {
                return;
        }
 
-       get_statusbar_context_id_for_menu_shell (gtef_window,
-                                                gtef_menu_shell,
+       get_statusbar_context_id_for_menu_shell (tepl_window,
+                                                tepl_menu_shell,
                                                 TRUE,
                                                 &context_id);
 
-       gtk_statusbar_push (gtef_window->priv->statusbar,
+       gtk_statusbar_push (tepl_window->priv->statusbar,
                            context_id,
                            long_description);
 
@@ -395,24 +395,24 @@ menu_item_selected_cb (GtefMenuShell *gtef_menu_shell,
 }
 
 static void
-menu_item_deselected_cb (GtefMenuShell *gtef_menu_shell,
+menu_item_deselected_cb (TeplMenuShell *tepl_menu_shell,
                         GtkMenuItem   *menu_item,
                         gpointer       user_data)
 {
-       GtefApplicationWindow *gtef_window = GTEF_APPLICATION_WINDOW (user_data);
+       TeplApplicationWindow *tepl_window = TEPL_APPLICATION_WINDOW (user_data);
        const gchar *long_description;
        gpointer data;
        gboolean is_for_recent_chooser;
        guint context_id;
 
-       if (gtef_window->priv->statusbar == NULL)
+       if (tepl_window->priv->statusbar == NULL)
        {
                return;
        }
 
-       long_description = gtef_menu_item_get_long_description (menu_item);
+       long_description = tepl_menu_item_get_long_description (menu_item);
 
-       data = g_object_get_data (G_OBJECT (gtef_menu_shell), MENU_SHELL_FOR_RECENT_CHOOSER_KEY);
+       data = g_object_get_data (G_OBJECT (tepl_menu_shell), MENU_SHELL_FOR_RECENT_CHOOSER_KEY);
        is_for_recent_chooser = data != NULL ? GPOINTER_TO_INT (data) : FALSE;
 
        if (long_description == NULL && !is_for_recent_chooser)
@@ -420,127 +420,127 @@ menu_item_deselected_cb (GtefMenuShell *gtef_menu_shell,
                return;
        }
 
-       if (get_statusbar_context_id_for_menu_shell (gtef_window,
-                                                    gtef_menu_shell,
+       if (get_statusbar_context_id_for_menu_shell (tepl_window,
+                                                    tepl_menu_shell,
                                                     FALSE,
                                                     &context_id))
        {
-               gtk_statusbar_pop (gtef_window->priv->statusbar, context_id);
+               gtk_statusbar_pop (tepl_window->priv->statusbar, context_id);
        }
 }
 
 static void
-statusbar_notify_cb (GtefApplicationWindow *gtef_window,
+statusbar_notify_cb (TeplApplicationWindow *tepl_window,
                     GParamSpec            *pspec,
                     gpointer               user_data)
 {
-       GtefMenuShell *gtef_menu_shell = GTEF_MENU_SHELL (user_data);
+       TeplMenuShell *tepl_menu_shell = TEPL_MENU_SHELL (user_data);
 
-       g_object_set_data (G_OBJECT (gtef_menu_shell),
+       g_object_set_data (G_OBJECT (tepl_menu_shell),
                           MENU_SHELL_STATUSBAR_CONTEXT_ID_KEY,
                           NULL);
 }
 
 /**
- * gtef_application_window_connect_menu_to_statusbar:
- * @gtef_window: a #GtefApplicationWindow.
- * @gtef_menu_shell: a #GtefMenuShell.
+ * tepl_application_window_connect_menu_to_statusbar:
+ * @tepl_window: a #TeplApplicationWindow.
+ * @tepl_menu_shell: a #TeplMenuShell.
  *
- * Connect to the #GtefMenuShell::menu-item-selected and
- * #GtefMenuShell::menu-item-deselected signals of @gtef_menu_shell to push/pop
+ * Connect to the #TeplMenuShell::menu-item-selected and
+ * #TeplMenuShell::menu-item-deselected signals of @tepl_menu_shell to push/pop
  * the long description of #GtkMenuItem's to the
- * #GtefApplicationWindow:statusbar.
+ * #TeplApplicationWindow:statusbar.
  *
- * The long description is retrieved with gtef_menu_item_get_long_description().
- * So gtef_menu_item_set_long_description() must have been called, which is the
+ * The long description is retrieved with tepl_menu_item_get_long_description().
+ * So tepl_menu_item_set_long_description() must have been called, which is the
  * case if the #GtkMenuItem has been created with the functions available in
- * #GtefActionInfoStore.
+ * #TeplActionInfoStore.
  *
  * Since: 2.0
  */
 void
-gtef_application_window_connect_menu_to_statusbar (GtefApplicationWindow *gtef_window,
-                                                  GtefMenuShell         *gtef_menu_shell)
+tepl_application_window_connect_menu_to_statusbar (TeplApplicationWindow *tepl_window,
+                                                  TeplMenuShell         *tepl_menu_shell)
 {
-       g_return_if_fail (GTEF_IS_APPLICATION_WINDOW (gtef_window));
-       g_return_if_fail (GTEF_IS_MENU_SHELL (gtef_menu_shell));
+       g_return_if_fail (TEPL_IS_APPLICATION_WINDOW (tepl_window));
+       g_return_if_fail (TEPL_IS_MENU_SHELL (tepl_menu_shell));
 
-       g_signal_connect_object (gtef_menu_shell,
+       g_signal_connect_object (tepl_menu_shell,
                                 "menu-item-selected",
                                 G_CALLBACK (menu_item_selected_cb),
-                                gtef_window,
+                                tepl_window,
                                 0);
 
-       g_signal_connect_object (gtef_menu_shell,
+       g_signal_connect_object (tepl_menu_shell,
                                 "menu-item-deselected",
                                 G_CALLBACK (menu_item_deselected_cb),
-                                gtef_window,
+                                tepl_window,
                                 0);
 
-       g_signal_connect_object (gtef_window,
+       g_signal_connect_object (tepl_window,
                                 "notify::statusbar",
                                 G_CALLBACK (statusbar_notify_cb),
-                                gtef_menu_shell,
+                                tepl_menu_shell,
                                 0);
 }
 
 /**
- * gtef_application_window_connect_recent_chooser_menu_to_statusbar:
- * @gtef_window: a #GtefApplicationWindow.
+ * tepl_application_window_connect_recent_chooser_menu_to_statusbar:
+ * @tepl_window: a #TeplApplicationWindow.
  * @menu: a #GtkRecentChooserMenu.
  *
  * An alternative to gtk_recent_chooser_set_show_tips(). Shows the full path in
- * the #GtefApplicationWindow:statusbar when a #GtkMenuItem of @menu is
+ * the #TeplApplicationWindow:statusbar when a #GtkMenuItem of @menu is
  * selected.
  *
  * The full path is retrieved with
- * gtef_utils_recent_chooser_menu_get_item_uri().
+ * tepl_utils_recent_chooser_menu_get_item_uri().
  *
  * Since: 2.0
  */
 void
-gtef_application_window_connect_recent_chooser_menu_to_statusbar (GtefApplicationWindow *gtef_window,
+tepl_application_window_connect_recent_chooser_menu_to_statusbar (TeplApplicationWindow *tepl_window,
                                                                  GtkRecentChooserMenu  *menu)
 {
-       GtefMenuShell *gtef_menu_shell;
+       TeplMenuShell *tepl_menu_shell;
 
-       g_return_if_fail (GTEF_IS_APPLICATION_WINDOW (gtef_window));
+       g_return_if_fail (TEPL_IS_APPLICATION_WINDOW (tepl_window));
        g_return_if_fail (GTK_IS_RECENT_CHOOSER_MENU (menu));
 
-       gtef_menu_shell = gtef_menu_shell_get_from_gtk_menu_shell (GTK_MENU_SHELL (menu));
+       tepl_menu_shell = tepl_menu_shell_get_from_gtk_menu_shell (GTK_MENU_SHELL (menu));
 
-       g_object_set_data (G_OBJECT (gtef_menu_shell),
+       g_object_set_data (G_OBJECT (tepl_menu_shell),
                           MENU_SHELL_FOR_RECENT_CHOOSER_KEY,
                           GINT_TO_POINTER (TRUE));
 
-       gtef_application_window_connect_menu_to_statusbar (gtef_window, gtef_menu_shell);
+       tepl_application_window_connect_menu_to_statusbar (tepl_window, tepl_menu_shell);
 }
 
 static void
 open_recent_file_cb (GtkRecentChooser *recent_chooser,
                     gpointer          user_data)
 {
-       GtefApplicationWindow *gtef_window = GTEF_APPLICATION_WINDOW (user_data);
+       TeplApplicationWindow *tepl_window = TEPL_APPLICATION_WINDOW (user_data);
        GtkApplication *gtk_app;
-       GtefApplication *gtef_app;
+       TeplApplication *tepl_app;
        gchar *uri;
        GFile *file;
 
-       gtk_app = gtk_window_get_application (GTK_WINDOW (gtef_window->priv->gtk_window));
-       gtef_app = gtef_application_get_from_gtk_application (gtk_app);
+       gtk_app = gtk_window_get_application (GTK_WINDOW (tepl_window->priv->gtk_window));
+       tepl_app = tepl_application_get_from_gtk_application (gtk_app);
 
        uri = gtk_recent_chooser_get_current_uri (recent_chooser);
        file = g_file_new_for_uri (uri);
 
-       gtef_application_open_simple (gtef_app, file);
+       tepl_application_open_simple (tepl_app, file);
 
        g_free (uri);
        g_object_unref (file);
 }
 
 /**
- * gtef_application_window_create_open_recent_menu_item:
- * @gtef_window: a #GtefApplicationWindow.
+ * tepl_application_window_create_open_recent_menu_item:
+ * @tepl_window: a #TeplApplicationWindow.
  *
  * Creates a #GtkMenuItem with a simple and generic #GtkRecentChooserMenu as
  * submenu.
@@ -552,17 +552,17 @@ open_recent_file_cb (GtkRecentChooser *recent_chooser,
  * #GtkRecentChooserMenu.
  *
  * The #GtkRecentChooserMenu is connected to the statusbar with
- * gtef_application_window_connect_recent_chooser_menu_to_statusbar().
+ * tepl_application_window_connect_recent_chooser_menu_to_statusbar().
  *
  * When the #GtkRecentChooser::item-activated signal is emitted,
- * gtef_application_open_simple() is called, so the #GApplication must have the
+ * tepl_application_open_simple() is called, so the #GApplication must have the
  * %G_APPLICATION_HANDLES_OPEN flag set.
  *
  * Returns: (transfer floating): a new #GtkMenuItem.
  * Since: 2.0
  */
 GtkWidget *
-gtef_application_window_create_open_recent_menu_item (GtefApplicationWindow *gtef_window)
+tepl_application_window_create_open_recent_menu_item (TeplApplicationWindow *tepl_window)
 {
        GtkMenuItem *menu_item;
        gchar *long_description;
@@ -570,14 +570,14 @@ gtef_application_window_create_open_recent_menu_item (GtefApplicationWindow *gte
        GtkRecentChooser *recent_chooser;
        GtkRecentFilter *filter;
 
-       g_return_val_if_fail (GTEF_IS_APPLICATION_WINDOW (gtef_window), NULL);
+       g_return_val_if_fail (TEPL_IS_APPLICATION_WINDOW (tepl_window), NULL);
 
        menu_item = GTK_MENU_ITEM (gtk_menu_item_new_with_mnemonic (_("Open _Recent")));
 
        /* Translators: %s is the application name. */
        long_description = g_strdup_printf (_("Open a file recently used with %s"),
                                            g_get_application_name ());
-       gtef_menu_item_set_long_description (menu_item, long_description);
+       tepl_menu_item_set_long_description (menu_item, long_description);
        g_free (long_description);
 
        recent_chooser_menu = GTK_RECENT_CHOOSER_MENU (gtk_recent_chooser_menu_new ());
@@ -591,12 +591,12 @@ gtef_application_window_create_open_recent_menu_item (GtefApplicationWindow *gte
        gtk_recent_filter_add_application (filter, g_get_application_name ());
        gtk_recent_chooser_set_filter (recent_chooser, filter);
 
-       gtef_application_window_connect_recent_chooser_menu_to_statusbar (gtef_window, recent_chooser_menu);
+       tepl_application_window_connect_recent_chooser_menu_to_statusbar (tepl_window, recent_chooser_menu);
 
        g_signal_connect_object (recent_chooser,
                                 "item-activated",
                                 G_CALLBACK (open_recent_file_cb),
-                                gtef_window,
+                                tepl_window,
                                 0);
 
        return GTK_WIDGET (menu_item);
diff --git a/gtef/gtef-application-window.h b/gtef/gtef-application-window.h
index bef5bcd..9515eda 100644
--- a/gtef/gtef-application-window.h
+++ b/gtef/gtef-application-window.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,64 +17,64 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_APPLICATION_WINDOW_H
-#define GTEF_APPLICATION_WINDOW_H
+#ifndef TEPL_APPLICATION_WINDOW_H
+#define TEPL_APPLICATION_WINDOW_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <gtk/gtk.h>
-#include <gtef/gtef-types.h>
+#include <tepl/tepl-types.h>
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_APPLICATION_WINDOW             (gtef_application_window_get_type ())
-#define GTEF_APPLICATION_WINDOW(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), 
GTEF_TYPE_APPLICATION_WINDOW, GtefApplicationWindow))
-#define GTEF_APPLICATION_WINDOW_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), 
GTEF_TYPE_APPLICATION_WINDOW, GtefApplicationWindowClass))
-#define GTEF_IS_APPLICATION_WINDOW(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), 
GTEF_TYPE_APPLICATION_WINDOW))
-#define GTEF_IS_APPLICATION_WINDOW_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), 
GTEF_TYPE_APPLICATION_WINDOW))
-#define GTEF_APPLICATION_WINDOW_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), 
GTEF_TYPE_APPLICATION_WINDOW, GtefApplicationWindowClass))
+#define TEPL_TYPE_APPLICATION_WINDOW             (tepl_application_window_get_type ())
+#define TEPL_APPLICATION_WINDOW(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), 
TEPL_TYPE_APPLICATION_WINDOW, TeplApplicationWindow))
+#define TEPL_APPLICATION_WINDOW_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), 
TEPL_TYPE_APPLICATION_WINDOW, TeplApplicationWindowClass))
+#define TEPL_IS_APPLICATION_WINDOW(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), 
TEPL_TYPE_APPLICATION_WINDOW))
+#define TEPL_IS_APPLICATION_WINDOW_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), 
TEPL_TYPE_APPLICATION_WINDOW))
+#define TEPL_APPLICATION_WINDOW_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), 
TEPL_TYPE_APPLICATION_WINDOW, TeplApplicationWindowClass))
 
-typedef struct _GtefApplicationWindowClass    GtefApplicationWindowClass;
-typedef struct _GtefApplicationWindowPrivate  GtefApplicationWindowPrivate;
+typedef struct _TeplApplicationWindowClass    TeplApplicationWindowClass;
+typedef struct _TeplApplicationWindowPrivate  TeplApplicationWindowPrivate;
 
-struct _GtefApplicationWindow
+struct _TeplApplicationWindow
 {
        GObject parent;
 
-       GtefApplicationWindowPrivate *priv;
+       TeplApplicationWindowPrivate *priv;
 };
 
-struct _GtefApplicationWindowClass
+struct _TeplApplicationWindowClass
 {
        GObjectClass parent_class;
 
        gpointer padding[12];
 };
 
-GType                  gtef_application_window_get_type                        (void) G_GNUC_CONST;
+GType                  tepl_application_window_get_type                        (void) G_GNUC_CONST;
 
-GtefApplicationWindow *        gtef_application_window_get_from_gtk_application_window (GtkApplicationWindow 
*gtk_window);
+TeplApplicationWindow *        tepl_application_window_get_from_gtk_application_window (GtkApplicationWindow 
*gtk_window);
 
-GtkApplicationWindow * gtef_application_window_get_application_window          (GtefApplicationWindow 
*gtef_window);
+GtkApplicationWindow * tepl_application_window_get_application_window          (TeplApplicationWindow 
*tepl_window);
 
-GtkStatusbar *         gtef_application_window_get_statusbar                   (GtefApplicationWindow 
*gtef_window);
+GtkStatusbar *         tepl_application_window_get_statusbar                   (TeplApplicationWindow 
*tepl_window);
 
-void                   gtef_application_window_set_statusbar                   (GtefApplicationWindow 
*gtef_window,
+void                   tepl_application_window_set_statusbar                   (TeplApplicationWindow 
*tepl_window,
                                                                                 GtkStatusbar          
*statusbar);
 
-void                   gtef_application_window_connect_menu_to_statusbar       (GtefApplicationWindow 
*gtef_window,
-                                                                                GtefMenuShell         
*gtef_menu_shell);
+void                   tepl_application_window_connect_menu_to_statusbar       (TeplApplicationWindow 
*tepl_window,
+                                                                                TeplMenuShell         
*tepl_menu_shell);
 
-void                   gtef_application_window_connect_recent_chooser_menu_to_statusbar
-                                                                               (GtefApplicationWindow 
*gtef_window,
+void                   tepl_application_window_connect_recent_chooser_menu_to_statusbar
+                                                                               (TeplApplicationWindow 
*tepl_window,
                                                                                 GtkRecentChooserMenu  *menu);
 
-GtkWidget *            gtef_application_window_create_open_recent_menu_item    (GtefApplicationWindow 
*gtef_window);
+GtkWidget *            tepl_application_window_create_open_recent_menu_item    (TeplApplicationWindow 
*tepl_window);
 
 G_END_DECLS
 
-#endif /* GTEF_APPLICATION_WINDOW_H */
+#endif /* TEPL_APPLICATION_WINDOW_H */
 
 /* ex:set ts=8 noet: */
diff --git a/gtef/gtef-application.c b/gtef/gtef-application.c
index 8b057f5..3d9ae1b 100644
--- a/gtef/gtef-application.c
+++ b/gtef/gtef-application.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,27 +17,27 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "gtef-application.h"
-#include "gtef-action-info-store.h"
+#include "tepl-application.h"
+#include "tepl-action-info-store.h"
 
 /**
  * SECTION:application
  * @Short_description: An extension of GtkApplication
- * @Title: GtefApplication
- * @See_also: #GtefActionInfoStore
+ * @Title: TeplApplication
+ * @See_also: #TeplActionInfoStore
  *
- * #GtefApplication extends the #GtkApplication class.
+ * #TeplApplication extends the #GtkApplication class.
  *
- * Note that #GtefApplication extends the #GtkApplication class but without
+ * Note that #TeplApplication extends the #GtkApplication class but without
  * subclassing it, because several libraries might want to extend
  * #GtkApplication and an application needs to be able to use all those
  * extensions at the same time.
  */
 
-struct _GtefApplicationPrivate
+struct _TeplApplicationPrivate
 {
        GtkApplication *gtk_app;
-       GtefActionInfoStore *app_action_info_store;
+       TeplActionInfoStore *app_action_info_store;
 };
 
 enum
@@ -47,33 +47,33 @@ enum
        N_PROPERTIES
 };
 
-#define GTEF_APPLICATION_KEY "gtef-application-key"
+#define TEPL_APPLICATION_KEY "tepl-application-key"
 
 static GParamSpec *properties[N_PROPERTIES];
 
-G_DEFINE_TYPE_WITH_PRIVATE (GtefApplication, gtef_application, G_TYPE_OBJECT)
+G_DEFINE_TYPE_WITH_PRIVATE (TeplApplication, tepl_application, G_TYPE_OBJECT)
 
 static void
-init_app_action_info_store (GtefApplication *gtef_app)
+init_app_action_info_store (TeplApplication *tepl_app)
 {
-       g_return_if_fail (gtef_app->priv->app_action_info_store == NULL);
-       g_assert (gtef_app->priv->gtk_app != NULL);
+       g_return_if_fail (tepl_app->priv->app_action_info_store == NULL);
+       g_assert (tepl_app->priv->gtk_app != NULL);
 
-       gtef_app->priv->app_action_info_store = gtef_action_info_store_new (gtef_app->priv->gtk_app);
+       tepl_app->priv->app_action_info_store = tepl_action_info_store_new (tepl_app->priv->gtk_app);
 }
 
 static void
-gtef_application_get_property (GObject    *object,
+tepl_application_get_property (GObject    *object,
                               guint       prop_id,
                               GValue     *value,
                               GParamSpec *pspec)
 {
-       GtefApplication *gtef_app = GTEF_APPLICATION (object);
+       TeplApplication *tepl_app = TEPL_APPLICATION (object);
 
        switch (prop_id)
        {
                case PROP_APPLICATION:
-                       g_value_set_object (value, gtef_application_get_application (gtef_app));
+                       g_value_set_object (value, tepl_application_get_application (tepl_app));
                        break;
 
                default:
@@ -83,20 +83,20 @@ gtef_application_get_property (GObject    *object,
 }
 
 static void
-gtef_application_set_property (GObject      *object,
+tepl_application_set_property (GObject      *object,
                               guint         prop_id,
                               const GValue *value,
                               GParamSpec   *pspec)
 {
-       GtefApplication *gtef_app = GTEF_APPLICATION (object);
+       TeplApplication *tepl_app = TEPL_APPLICATION (object);
 
        switch (prop_id)
        {
                case PROP_APPLICATION:
-                       g_assert (gtef_app->priv->gtk_app == NULL);
-                       gtef_app->priv->gtk_app = g_value_get_object (value);
+                       g_assert (tepl_app->priv->gtk_app == NULL);
+                       tepl_app->priv->gtk_app = g_value_get_object (value);
 
-                       init_app_action_info_store (gtef_app);
+                       init_app_action_info_store (tepl_app);
                        break;
 
                default:
@@ -106,27 +106,27 @@ gtef_application_set_property (GObject      *object,
 }
 
 static void
-gtef_application_dispose (GObject *object)
+tepl_application_dispose (GObject *object)
 {
-       GtefApplication *gtef_app = GTEF_APPLICATION (object);
+       TeplApplication *tepl_app = TEPL_APPLICATION (object);
 
-       gtef_app->priv->gtk_app = NULL;
-       g_clear_object (&gtef_app->priv->app_action_info_store);
+       tepl_app->priv->gtk_app = NULL;
+       g_clear_object (&tepl_app->priv->app_action_info_store);
 
-       G_OBJECT_CLASS (gtef_application_parent_class)->dispose (object);
+       G_OBJECT_CLASS (tepl_application_parent_class)->dispose (object);
 }
 
 static void
-gtef_application_class_init (GtefApplicationClass *klass)
+tepl_application_class_init (TeplApplicationClass *klass)
 {
        GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-       object_class->get_property = gtef_application_get_property;
-       object_class->set_property = gtef_application_set_property;
-       object_class->dispose = gtef_application_dispose;
+       object_class->get_property = tepl_application_get_property;
+       object_class->set_property = tepl_application_set_property;
+       object_class->dispose = tepl_application_dispose;
 
        /**
-        * GtefApplication:application:
+        * TeplApplication:application:
         *
         * The #GtkApplication.
         *
@@ -145,106 +145,106 @@ gtef_application_class_init (GtefApplicationClass *klass)
 }
 
 static void
-gtef_application_init (GtefApplication *gtef_app)
+tepl_application_init (TeplApplication *tepl_app)
 {
-       gtef_app->priv = gtef_application_get_instance_private (gtef_app);
+       tepl_app->priv = tepl_application_get_instance_private (tepl_app);
 }
 
 /**
- * gtef_application_get_from_gtk_application:
+ * tepl_application_get_from_gtk_application:
  * @gtk_app: a #GtkApplication.
  *
- * Returns the #GtefApplication of @gtk_app. The returned object is guaranteed
+ * Returns the #TeplApplication of @gtk_app. The returned object is guaranteed
  * to be the same for the lifetime of @gtk_app.
  *
- * Returns: (transfer none): the #GtefApplication of @gtk_app.
+ * Returns: (transfer none): the #TeplApplication of @gtk_app.
  * Since: 2.0
  */
-GtefApplication *
-gtef_application_get_from_gtk_application (GtkApplication *gtk_app)
+TeplApplication *
+tepl_application_get_from_gtk_application (GtkApplication *gtk_app)
 {
-       GtefApplication *gtef_app;
+       TeplApplication *tepl_app;
 
        g_return_val_if_fail (GTK_IS_APPLICATION (gtk_app), NULL);
 
-       gtef_app = g_object_get_data (G_OBJECT (gtk_app), GTEF_APPLICATION_KEY);
+       tepl_app = g_object_get_data (G_OBJECT (gtk_app), TEPL_APPLICATION_KEY);
 
-       if (gtef_app == NULL)
+       if (tepl_app == NULL)
        {
-               gtef_app = g_object_new (GTEF_TYPE_APPLICATION,
+               tepl_app = g_object_new (TEPL_TYPE_APPLICATION,
                                         "application", gtk_app,
                                         NULL);
 
                g_object_set_data_full (G_OBJECT (gtk_app),
-                                       GTEF_APPLICATION_KEY,
-                                       gtef_app,
+                                       TEPL_APPLICATION_KEY,
+                                       tepl_app,
                                        g_object_unref);
        }
 
-       g_return_val_if_fail (GTEF_IS_APPLICATION (gtef_app), NULL);
-       return gtef_app;
+       g_return_val_if_fail (TEPL_IS_APPLICATION (tepl_app), NULL);
+       return tepl_app;
 }
 
 /**
- * gtef_application_get_default:
+ * tepl_application_get_default:
  *
  * Convenience function that calls g_application_get_default() followed by
- * gtef_application_get_from_gtk_application(). The object returned by
+ * tepl_application_get_from_gtk_application(). The object returned by
  * g_application_get_default() must be a #GtkApplication.
  *
- * Returns: (transfer none): the default #GtefApplication.
+ * Returns: (transfer none): the default #TeplApplication.
  * Since: 2.0
  */
-GtefApplication *
-gtef_application_get_default (void)
+TeplApplication *
+tepl_application_get_default (void)
 {
        GApplication *g_app;
 
        g_app = g_application_get_default ();
        g_return_val_if_fail (GTK_IS_APPLICATION (g_app), NULL);
 
-       return gtef_application_get_from_gtk_application (GTK_APPLICATION (g_app));
+       return tepl_application_get_from_gtk_application (GTK_APPLICATION (g_app));
 }
 
 /**
- * gtef_application_get_application:
- * @gtef_app: a #GtefApplication.
+ * tepl_application_get_application:
+ * @tepl_app: a #TeplApplication.
  *
- * Returns: (transfer none): the #GtkApplication of @gtef_app.
+ * Returns: (transfer none): the #GtkApplication of @tepl_app.
  * Since: 2.0
  */
 GtkApplication *
-gtef_application_get_application (GtefApplication *gtef_app)
+tepl_application_get_application (TeplApplication *tepl_app)
 {
-       g_return_val_if_fail (GTEF_IS_APPLICATION (gtef_app), NULL);
+       g_return_val_if_fail (TEPL_IS_APPLICATION (tepl_app), NULL);
 
-       return gtef_app->priv->gtk_app;
+       return tepl_app->priv->gtk_app;
 }
 
 /**
- * gtef_application_get_app_action_info_store:
- * @gtef_app: a #GtefApplication.
+ * tepl_application_get_app_action_info_store:
+ * @tepl_app: a #TeplApplication.
  *
- * Returns an initially empty #GtefActionInfoStore reserved for the
- * application-specific actions. Libraries should not add #GtefActionInfo's to
+ * Returns an initially empty #TeplActionInfoStore reserved for the
+ * application-specific actions. Libraries should not add #TeplActionInfo's to
  * this store. Libraries should provide their own store if they want to share
- * #GtefActionInfo's.
+ * #TeplActionInfo's.
  *
- * Returns: (transfer none): the #GtefActionInfoStore reserved for the
+ * Returns: (transfer none): the #TeplActionInfoStore reserved for the
  * application.
  * Since: 2.0
  */
-GtefActionInfoStore *
-gtef_application_get_app_action_info_store (GtefApplication *gtef_app)
+TeplActionInfoStore *
+tepl_application_get_app_action_info_store (TeplApplication *tepl_app)
 {
-       g_return_val_if_fail (GTEF_IS_APPLICATION (gtef_app), NULL);
+       g_return_val_if_fail (TEPL_IS_APPLICATION (tepl_app), NULL);
 
-       return gtef_app->priv->app_action_info_store;
+       return tepl_app->priv->app_action_info_store;
 }
 
 /**
- * gtef_application_open_simple:
- * @gtef_app: a #GtefApplication.
+ * tepl_application_open_simple:
+ * @tepl_app: a #TeplApplication.
  * @file: a #GFile.
  *
  * Calls g_application_open() with a single file and an empty hint.
@@ -252,16 +252,16 @@ gtef_application_get_app_action_info_store (GtefApplication *gtef_app)
  * Since: 2.0
  */
 void
-gtef_application_open_simple (GtefApplication *gtef_app,
+tepl_application_open_simple (TeplApplication *tepl_app,
                              GFile           *file)
 {
        GFile *files[1];
 
-       g_return_if_fail (GTEF_IS_APPLICATION (gtef_app));
+       g_return_if_fail (TEPL_IS_APPLICATION (tepl_app));
        g_return_if_fail (G_IS_FILE (file));
 
        files[0] = file;
-       g_application_open (G_APPLICATION (gtef_app->priv->gtk_app), files, 1, "");
+       g_application_open (G_APPLICATION (tepl_app->priv->gtk_app), files, 1, "");
 }
 
 /* ex:set ts=8 noet: */
diff --git a/gtef/gtef-application.h b/gtef/gtef-application.h
index fa2a1e7..98e5dee 100644
--- a/gtef/gtef-application.h
+++ b/gtef/gtef-application.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,57 +17,57 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_APPLICATION_H
-#define GTEF_APPLICATION_H
+#ifndef TEPL_APPLICATION_H
+#define TEPL_APPLICATION_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <gtk/gtk.h>
-#include <gtef/gtef-types.h>
+#include <tepl/tepl-types.h>
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_APPLICATION             (gtef_application_get_type ())
-#define GTEF_APPLICATION(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTEF_TYPE_APPLICATION, 
GtefApplication))
-#define GTEF_APPLICATION_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), GTEF_TYPE_APPLICATION, 
GtefApplicationClass))
-#define GTEF_IS_APPLICATION(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTEF_TYPE_APPLICATION))
-#define GTEF_IS_APPLICATION_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), GTEF_TYPE_APPLICATION))
-#define GTEF_APPLICATION_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GTEF_TYPE_APPLICATION, 
GtefApplicationClass))
+#define TEPL_TYPE_APPLICATION             (tepl_application_get_type ())
+#define TEPL_APPLICATION(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), TEPL_TYPE_APPLICATION, 
TeplApplication))
+#define TEPL_APPLICATION_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), TEPL_TYPE_APPLICATION, 
TeplApplicationClass))
+#define TEPL_IS_APPLICATION(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TEPL_TYPE_APPLICATION))
+#define TEPL_IS_APPLICATION_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), TEPL_TYPE_APPLICATION))
+#define TEPL_APPLICATION_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), TEPL_TYPE_APPLICATION, 
TeplApplicationClass))
 
-typedef struct _GtefApplicationClass    GtefApplicationClass;
-typedef struct _GtefApplicationPrivate  GtefApplicationPrivate;
+typedef struct _TeplApplicationClass    TeplApplicationClass;
+typedef struct _TeplApplicationPrivate  TeplApplicationPrivate;
 
-struct _GtefApplication
+struct _TeplApplication
 {
        GObject parent;
 
-       GtefApplicationPrivate *priv;
+       TeplApplicationPrivate *priv;
 };
 
-struct _GtefApplicationClass
+struct _TeplApplicationClass
 {
        GObjectClass parent_class;
 
        gpointer padding[12];
 };
 
-GType                  gtef_application_get_type                       (void) G_GNUC_CONST;
+GType                  tepl_application_get_type                       (void) G_GNUC_CONST;
 
-GtefApplication *      gtef_application_get_from_gtk_application       (GtkApplication *gtk_app);
+TeplApplication *      tepl_application_get_from_gtk_application       (GtkApplication *gtk_app);
 
-GtefApplication *      gtef_application_get_default                    (void);
+TeplApplication *      tepl_application_get_default                    (void);
 
-GtkApplication *       gtef_application_get_application                (GtefApplication *gtef_app);
+GtkApplication *       tepl_application_get_application                (TeplApplication *tepl_app);
 
-GtefActionInfoStore *  gtef_application_get_app_action_info_store      (GtefApplication *gtef_app);
+TeplActionInfoStore *  tepl_application_get_app_action_info_store      (TeplApplication *tepl_app);
 
-void                   gtef_application_open_simple                    (GtefApplication *gtef_app,
+void                   tepl_application_open_simple                    (TeplApplication *tepl_app,
                                                                         GFile           *file);
 
 G_END_DECLS
 
-#endif /* GTEF_APPLICATION_H */
+#endif /* TEPL_APPLICATION_H */
 
 /* ex:set ts=8 noet: */
diff --git a/gtef/gtef-buffer-input-stream.c b/gtef/gtef-buffer-input-stream.c
index 87e8972..8946870 100644
--- a/gtef/gtef-buffer-input-stream.c
+++ b/gtef/gtef-buffer-input-stream.c
@@ -1,15 +1,15 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2010 - Ignacio Casal Quinteiro
  * Copyright 2014, 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -18,9 +18,9 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "gtef-buffer-input-stream.h"
+#include "tepl-buffer-input-stream.h"
 #include <string.h>
-#include "gtef-enum-types.h"
+#include "tepl-enum-types.h"
 
 /* Code coming from GtkSourceView. */
 
@@ -31,13 +31,13 @@
  * thread.
  */
 
-struct _GtefBufferInputStreamPrivate
+struct _TeplBufferInputStreamPrivate
 {
        GtkTextBuffer *buffer;
        GtkTextMark *pos;
        gint bytes_partial;
 
-       GtefNewlineType newline_type;
+       TeplNewlineType newline_type;
 
        guint newline_added : 1;
        guint is_initialized : 1;
@@ -52,18 +52,18 @@ enum
        PROP_ADD_TRAILING_NEWLINE
 };
 
-G_DEFINE_TYPE_WITH_PRIVATE (GtefBufferInputStream, _gtef_buffer_input_stream, G_TYPE_INPUT_STREAM);
+G_DEFINE_TYPE_WITH_PRIVATE (TeplBufferInputStream, _tepl_buffer_input_stream, G_TYPE_INPUT_STREAM);
 
 static gsize
-get_new_line_size (GtefBufferInputStream *stream)
+get_new_line_size (TeplBufferInputStream *stream)
 {
        switch (stream->priv->newline_type)
        {
-               case GTEF_NEWLINE_TYPE_CR:
-               case GTEF_NEWLINE_TYPE_LF:
+               case TEPL_NEWLINE_TYPE_CR:
+               case TEPL_NEWLINE_TYPE_LF:
                        return 1;
 
-               case GTEF_NEWLINE_TYPE_CR_LF:
+               case TEPL_NEWLINE_TYPE_CR_LF:
                        return 2;
 
                default:
@@ -75,17 +75,17 @@ get_new_line_size (GtefBufferInputStream *stream)
 }
 
 static const gchar *
-get_new_line (GtefBufferInputStream *stream)
+get_new_line (TeplBufferInputStream *stream)
 {
        switch (stream->priv->newline_type)
        {
-               case GTEF_NEWLINE_TYPE_LF:
+               case TEPL_NEWLINE_TYPE_LF:
                        return "\n";
 
-               case GTEF_NEWLINE_TYPE_CR:
+               case TEPL_NEWLINE_TYPE_CR:
                        return "\r";
 
-               case GTEF_NEWLINE_TYPE_CR_LF:
+               case TEPL_NEWLINE_TYPE_CR_LF:
                        return "\r\n";
 
                default:
@@ -97,7 +97,7 @@ get_new_line (GtefBufferInputStream *stream)
 }
 
 static gsize
-read_line (GtefBufferInputStream *stream,
+read_line (TeplBufferInputStream *stream,
           gchar                 *outbuf,
           gsize                  space_left)
 {
@@ -223,17 +223,17 @@ read_line (GtefBufferInputStream *stream,
 }
 
 static gssize
-_gtef_buffer_input_stream_read (GInputStream  *input_stream,
+_tepl_buffer_input_stream_read (GInputStream  *input_stream,
                                void          *buffer,
                                gsize          count,
                                GCancellable  *cancellable,
                                GError       **error)
 {
-       GtefBufferInputStream *stream;
+       TeplBufferInputStream *stream;
        GtkTextIter iter;
        gssize space_left, read, n;
 
-       stream = GTEF_BUFFER_INPUT_STREAM (input_stream);
+       stream = TEPL_BUFFER_INPUT_STREAM (input_stream);
 
        if (count < 6)
        {
@@ -306,11 +306,11 @@ _gtef_buffer_input_stream_read (GInputStream  *input_stream,
 }
 
 static gboolean
-_gtef_buffer_input_stream_close (GInputStream  *input_stream,
+_tepl_buffer_input_stream_close (GInputStream  *input_stream,
                                 GCancellable  *cancellable,
                                 GError       **error)
 {
-       GtefBufferInputStream *stream = GTEF_BUFFER_INPUT_STREAM (input_stream);
+       TeplBufferInputStream *stream = TEPL_BUFFER_INPUT_STREAM (input_stream);
 
        stream->priv->newline_added = FALSE;
 
@@ -324,12 +324,12 @@ _gtef_buffer_input_stream_close (GInputStream  *input_stream,
 }
 
 static void
-_gtef_buffer_input_stream_set_property (GObject      *object,
+_tepl_buffer_input_stream_set_property (GObject      *object,
                                        guint         prop_id,
                                        const GValue *value,
                                        GParamSpec   *pspec)
 {
-       GtefBufferInputStream *stream = GTEF_BUFFER_INPUT_STREAM (object);
+       TeplBufferInputStream *stream = TEPL_BUFFER_INPUT_STREAM (object);
 
        switch (prop_id)
        {
@@ -353,12 +353,12 @@ _gtef_buffer_input_stream_set_property (GObject      *object,
 }
 
 static void
-_gtef_buffer_input_stream_get_property (GObject    *object,
+_tepl_buffer_input_stream_get_property (GObject    *object,
                                        guint       prop_id,
                                        GValue     *value,
                                        GParamSpec *pspec)
 {
-       GtefBufferInputStream *stream = GTEF_BUFFER_INPUT_STREAM (object);
+       TeplBufferInputStream *stream = TEPL_BUFFER_INPUT_STREAM (object);
 
        switch (prop_id)
        {
@@ -381,27 +381,27 @@ _gtef_buffer_input_stream_get_property (GObject    *object,
 }
 
 static void
-_gtef_buffer_input_stream_dispose (GObject *object)
+_tepl_buffer_input_stream_dispose (GObject *object)
 {
-       GtefBufferInputStream *stream = GTEF_BUFFER_INPUT_STREAM (object);
+       TeplBufferInputStream *stream = TEPL_BUFFER_INPUT_STREAM (object);
 
        g_clear_object (&stream->priv->buffer);
 
-       G_OBJECT_CLASS (_gtef_buffer_input_stream_parent_class)->dispose (object);
+       G_OBJECT_CLASS (_tepl_buffer_input_stream_parent_class)->dispose (object);
 }
 
 static void
-_gtef_buffer_input_stream_class_init (GtefBufferInputStreamClass *klass)
+_tepl_buffer_input_stream_class_init (TeplBufferInputStreamClass *klass)
 {
        GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
        GInputStreamClass *stream_class = G_INPUT_STREAM_CLASS (klass);
 
-       gobject_class->get_property = _gtef_buffer_input_stream_get_property;
-       gobject_class->set_property = _gtef_buffer_input_stream_set_property;
-       gobject_class->dispose = _gtef_buffer_input_stream_dispose;
+       gobject_class->get_property = _tepl_buffer_input_stream_get_property;
+       gobject_class->set_property = _tepl_buffer_input_stream_set_property;
+       gobject_class->dispose = _tepl_buffer_input_stream_dispose;
 
-       stream_class->read_fn = _gtef_buffer_input_stream_read;
-       stream_class->close_fn = _gtef_buffer_input_stream_close;
+       stream_class->read_fn = _tepl_buffer_input_stream_read;
+       stream_class->close_fn = _tepl_buffer_input_stream_close;
 
        g_object_class_install_property (gobject_class,
                                         PROP_BUFFER,
@@ -414,7 +414,7 @@ _gtef_buffer_input_stream_class_init (GtefBufferInputStreamClass *klass)
                                                              G_PARAM_STATIC_STRINGS));
 
        /**
-        * GtefBufferInputStream:newline-type:
+        * TeplBufferInputStream:newline-type:
         *
         * The :newline-type property determines what is considered
         * as a line ending when reading complete lines from the stream.
@@ -425,13 +425,13 @@ _gtef_buffer_input_stream_class_init (GtefBufferInputStreamClass *klass)
                                                            "Newline type",
                                                            "",
                                                            GTK_SOURCE_TYPE_NEWLINE_TYPE,
-                                                           GTEF_NEWLINE_TYPE_LF,
+                                                           TEPL_NEWLINE_TYPE_LF,
                                                            G_PARAM_READWRITE |
                                                            G_PARAM_STATIC_STRINGS |
                                                            G_PARAM_CONSTRUCT_ONLY));
 
        /**
-        * GtefBufferInputStream:add-trailing-newline:
+        * TeplBufferInputStream:add-trailing-newline:
         *
         * The :add-trailing-newline property specifies whether or not to
         * add a trailing newline when reading the buffer.
@@ -448,27 +448,27 @@ _gtef_buffer_input_stream_class_init (GtefBufferInputStreamClass *klass)
 }
 
 static void
-_gtef_buffer_input_stream_init (GtefBufferInputStream *stream)
+_tepl_buffer_input_stream_init (TeplBufferInputStream *stream)
 {
-       stream->priv = _gtef_buffer_input_stream_get_instance_private (stream);
+       stream->priv = _tepl_buffer_input_stream_get_instance_private (stream);
 }
 
 /**
- * _gtef_buffer_input_stream_new:
+ * _tepl_buffer_input_stream_new:
  * @buffer: a #GtkTextBuffer
  *
  * Reads the data from @buffer.
  *
  * Returns: a new input stream to read @buffer
  */
-GtefBufferInputStream *
-_gtef_buffer_input_stream_new (GtkTextBuffer   *buffer,
-                              GtefNewlineType  type,
+TeplBufferInputStream *
+_tepl_buffer_input_stream_new (GtkTextBuffer   *buffer,
+                              TeplNewlineType  type,
                               gboolean         add_trailing_newline)
 {
        g_return_val_if_fail (GTK_IS_TEXT_BUFFER (buffer), NULL);
 
-       return g_object_new (GTEF_TYPE_BUFFER_INPUT_STREAM,
+       return g_object_new (TEPL_TYPE_BUFFER_INPUT_STREAM,
                             "buffer", buffer,
                             "newline-type", type,
                             "add-trailing-newline", add_trailing_newline,
@@ -476,9 +476,9 @@ _gtef_buffer_input_stream_new (GtkTextBuffer   *buffer,
 }
 
 gsize
-_gtef_buffer_input_stream_get_total_size (GtefBufferInputStream *stream)
+_tepl_buffer_input_stream_get_total_size (TeplBufferInputStream *stream)
 {
-       g_return_val_if_fail (GTEF_IS_BUFFER_INPUT_STREAM (stream), 0);
+       g_return_val_if_fail (TEPL_IS_BUFFER_INPUT_STREAM (stream), 0);
 
        if (stream->priv->buffer == NULL)
        {
@@ -489,9 +489,9 @@ _gtef_buffer_input_stream_get_total_size (GtefBufferInputStream *stream)
 }
 
 gsize
-_gtef_buffer_input_stream_tell (GtefBufferInputStream *stream)
+_tepl_buffer_input_stream_tell (TeplBufferInputStream *stream)
 {
-       g_return_val_if_fail (GTEF_IS_BUFFER_INPUT_STREAM (stream), 0);
+       g_return_val_if_fail (TEPL_IS_BUFFER_INPUT_STREAM (stream), 0);
 
        /* FIXME: is this potentially inefficient? If yes, we could keep
           track of the offset internally, assuming the mark doesn't move
diff --git a/gtef/gtef-buffer-input-stream.h b/gtef/gtef-buffer-input-stream.h
index 8751181..f5d4bca 100644
--- a/gtef/gtef-buffer-input-stream.h
+++ b/gtef/gtef-buffer-input-stream.h
@@ -1,15 +1,15 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2010 - Ignacio Casal Quinteiro
  * Copyright 2014, 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -18,52 +18,52 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_BUFFER_INPUT_STREAM_H
-#define GTEF_BUFFER_INPUT_STREAM_H
+#ifndef TEPL_BUFFER_INPUT_STREAM_H
+#define TEPL_BUFFER_INPUT_STREAM_H
 
 #include <gtk/gtk.h>
-#include "gtef-file.h"
+#include "tepl-file.h"
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_BUFFER_INPUT_STREAM                  (_gtef_buffer_input_stream_get_type ())
-#define GTEF_BUFFER_INPUT_STREAM(obj)                  (G_TYPE_CHECK_INSTANCE_CAST ((obj), 
GTEF_TYPE_BUFFER_INPUT_STREAM, GtefBufferInputStream))
-#define GTEF_BUFFER_INPUT_STREAM_CLASS(klass)          (G_TYPE_CHECK_CLASS_CAST ((klass), 
GTEF_TYPE_BUFFER_INPUT_STREAM, GtefBufferInputStreamClass))
-#define GTEF_IS_BUFFER_INPUT_STREAM(obj)               (G_TYPE_CHECK_INSTANCE_TYPE ((obj), 
GTEF_TYPE_BUFFER_INPUT_STREAM))
-#define GTEF_IS_BUFFER_INPUT_STREAM_CLASS(klass)       (G_TYPE_CHECK_CLASS_TYPE ((klass), 
GTEF_TYPE_BUFFER_INPUT_STREAM))
-#define GTEF_BUFFER_INPUT_STREAM_GET_CLASS(obj)                (G_TYPE_INSTANCE_GET_CLASS ((obj), 
GTEF_TYPE_BUFFER_INPUT_STREAM, GtefBufferInputStreamClass))
+#define TEPL_TYPE_BUFFER_INPUT_STREAM                  (_tepl_buffer_input_stream_get_type ())
+#define TEPL_BUFFER_INPUT_STREAM(obj)                  (G_TYPE_CHECK_INSTANCE_CAST ((obj), 
TEPL_TYPE_BUFFER_INPUT_STREAM, TeplBufferInputStream))
+#define TEPL_BUFFER_INPUT_STREAM_CLASS(klass)          (G_TYPE_CHECK_CLASS_CAST ((klass), 
TEPL_TYPE_BUFFER_INPUT_STREAM, TeplBufferInputStreamClass))
+#define TEPL_IS_BUFFER_INPUT_STREAM(obj)               (G_TYPE_CHECK_INSTANCE_TYPE ((obj), 
TEPL_TYPE_BUFFER_INPUT_STREAM))
+#define TEPL_IS_BUFFER_INPUT_STREAM_CLASS(klass)       (G_TYPE_CHECK_CLASS_TYPE ((klass), 
TEPL_TYPE_BUFFER_INPUT_STREAM))
+#define TEPL_BUFFER_INPUT_STREAM_GET_CLASS(obj)                (G_TYPE_INSTANCE_GET_CLASS ((obj), 
TEPL_TYPE_BUFFER_INPUT_STREAM, TeplBufferInputStreamClass))
 
-typedef struct _GtefBufferInputStream          GtefBufferInputStream;
-typedef struct _GtefBufferInputStreamClass     GtefBufferInputStreamClass;
-typedef struct _GtefBufferInputStreamPrivate   GtefBufferInputStreamPrivate;
+typedef struct _TeplBufferInputStream          TeplBufferInputStream;
+typedef struct _TeplBufferInputStreamClass     TeplBufferInputStreamClass;
+typedef struct _TeplBufferInputStreamPrivate   TeplBufferInputStreamPrivate;
 
-struct _GtefBufferInputStream
+struct _TeplBufferInputStream
 {
        GInputStream parent;
 
-       GtefBufferInputStreamPrivate *priv;
+       TeplBufferInputStreamPrivate *priv;
 };
 
-struct _GtefBufferInputStreamClass
+struct _TeplBufferInputStreamClass
 {
        GInputStreamClass parent_class;
 };
 
 G_GNUC_INTERNAL
-GType          _gtef_buffer_input_stream_get_type              (void);
+GType          _tepl_buffer_input_stream_get_type              (void);
 
 G_GNUC_INTERNAL
-GtefBufferInputStream *
-               _gtef_buffer_input_stream_new                   (GtkTextBuffer        *buffer,
-                                                                GtefNewlineType       type,
+TeplBufferInputStream *
+               _tepl_buffer_input_stream_new                   (GtkTextBuffer        *buffer,
+                                                                TeplNewlineType       type,
                                                                 gboolean              add_trailing_newline);
 
 G_GNUC_INTERNAL
-gsize          _gtef_buffer_input_stream_get_total_size        (GtefBufferInputStream *stream);
+gsize          _tepl_buffer_input_stream_get_total_size        (TeplBufferInputStream *stream);
 
 G_GNUC_INTERNAL
-gsize          _gtef_buffer_input_stream_tell                  (GtefBufferInputStream *stream);
+gsize          _tepl_buffer_input_stream_tell                  (TeplBufferInputStream *stream);
 
 G_END_DECLS
 
-#endif /* GTEF_BUFFER_INPUT_STREAM_H */
+#endif /* TEPL_BUFFER_INPUT_STREAM_H */
diff --git a/gtef/gtef-buffer.c b/gtef/gtef-buffer.c
index 75915f1..df159a2 100644
--- a/gtef/gtef-buffer.c
+++ b/gtef/gtef-buffer.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,31 +17,31 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "gtef-buffer.h"
-#include "gtef-file.h"
-#include "gtef-utils.h"
+#include "tepl-buffer.h"
+#include "tepl-file.h"
+#include "tepl-utils.h"
 
 /**
  * SECTION:buffer
- * @Short_description: Stores the text for display in a GtefView
- * @Title: GtefBuffer
+ * @Short_description: Stores the text for display in a TeplView
+ * @Title: TeplBuffer
  *
- * #GtefBuffer is a subclass of #GtkSourceBuffer, to add more features useful
+ * #TeplBuffer is a subclass of #GtkSourceBuffer, to add more features useful
  * for a text editor.
  *
- * It also adds an association to a #GtefFile that can be retrieved with
- * gtef_buffer_get_file(). The association cannot change.
+ * It also adds an association to a #TeplFile that can be retrieved with
+ * tepl_buffer_get_file(). The association cannot change.
  *
- * The properties and signals have the gtef namespace, to avoid potential
+ * The properties and signals have the tepl namespace, to avoid potential
  * conflicts in the future if the property or signal is moved to
  * #GtkSourceBuffer.
  */
 
-typedef struct _GtefBufferPrivate GtefBufferPrivate;
+typedef struct _TeplBufferPrivate TeplBufferPrivate;
 
-struct _GtefBufferPrivate
+struct _TeplBufferPrivate
 {
-       GtefFile *file;
+       TeplFile *file;
 
        GtkTextTag *invalid_char_tag;
 
@@ -52,30 +52,30 @@ struct _GtefBufferPrivate
 enum
 {
        PROP_0,
-       PROP_GTEF_TITLE,
-       PROP_GTEF_STYLE_SCHEME_ID,
+       PROP_TEPL_TITLE,
+       PROP_TEPL_STYLE_SCHEME_ID,
        N_PROPERTIES
 };
 
 enum
 {
-       SIGNAL_GTEF_CURSOR_MOVED,
+       SIGNAL_TEPL_CURSOR_MOVED,
        N_SIGNALS
 };
 
 static GParamSpec *properties[N_PROPERTIES];
 static guint signals[N_SIGNALS];
 
-G_DEFINE_TYPE_WITH_PRIVATE (GtefBuffer, gtef_buffer, GTK_SOURCE_TYPE_BUFFER)
+G_DEFINE_TYPE_WITH_PRIVATE (TeplBuffer, tepl_buffer, GTK_SOURCE_TYPE_BUFFER)
 
 static void
-update_invalid_char_tag_style (GtefBuffer *buffer)
+update_invalid_char_tag_style (TeplBuffer *buffer)
 {
-       GtefBufferPrivate *priv;
+       TeplBufferPrivate *priv;
        GtkSourceStyleScheme *style_scheme;
        GtkSourceStyle *style = NULL;
 
-       priv = gtef_buffer_get_instance_private (buffer);
+       priv = tepl_buffer_get_instance_private (buffer);
 
        if (priv->invalid_char_tag == NULL)
        {
@@ -93,21 +93,21 @@ update_invalid_char_tag_style (GtefBuffer *buffer)
 }
 
 static void
-gtef_buffer_get_property (GObject    *object,
+tepl_buffer_get_property (GObject    *object,
                          guint       prop_id,
                          GValue     *value,
                          GParamSpec *pspec)
 {
-       GtefBuffer *buffer = GTEF_BUFFER (object);
+       TeplBuffer *buffer = TEPL_BUFFER (object);
 
        switch (prop_id)
        {
-               case PROP_GTEF_TITLE:
-                       g_value_take_string (value, gtef_buffer_get_title (buffer));
+               case PROP_TEPL_TITLE:
+                       g_value_take_string (value, tepl_buffer_get_title (buffer));
                        break;
 
-               case PROP_GTEF_STYLE_SCHEME_ID:
-                       g_value_take_string (value, gtef_buffer_get_style_scheme_id (buffer));
+               case PROP_TEPL_STYLE_SCHEME_ID:
+                       g_value_take_string (value, tepl_buffer_get_style_scheme_id (buffer));
                        break;
 
                default:
@@ -117,17 +117,17 @@ gtef_buffer_get_property (GObject    *object,
 }
 
 static void
-gtef_buffer_set_property (GObject      *object,
+tepl_buffer_set_property (GObject      *object,
                          guint         prop_id,
                          const GValue *value,
                          GParamSpec   *pspec)
 {
-       GtefBuffer *buffer = GTEF_BUFFER (object);
+       TeplBuffer *buffer = TEPL_BUFFER (object);
 
        switch (prop_id)
        {
-               case PROP_GTEF_STYLE_SCHEME_ID:
-                       gtef_buffer_set_style_scheme_id (buffer, g_value_get_string (value));
+               case PROP_TEPL_STYLE_SCHEME_ID:
+                       tepl_buffer_set_style_scheme_id (buffer, g_value_get_string (value));
                        break;
 
                default:
@@ -137,9 +137,9 @@ gtef_buffer_set_property (GObject      *object,
 }
 
 static void
-gtef_buffer_dispose (GObject *object)
+tepl_buffer_dispose (GObject *object)
 {
-       GtefBufferPrivate *priv = gtef_buffer_get_instance_private (GTEF_BUFFER (object));
+       TeplBufferPrivate *priv = tepl_buffer_get_instance_private (TEPL_BUFFER (object));
 
        g_clear_object (&priv->file);
 
@@ -149,25 +149,25 @@ gtef_buffer_dispose (GObject *object)
                priv->idle_cursor_moved_id = 0;
        }
 
-       G_OBJECT_CLASS (gtef_buffer_parent_class)->dispose (object);
+       G_OBJECT_CLASS (tepl_buffer_parent_class)->dispose (object);
 }
 
 static gboolean
 idle_cursor_moved_cb (gpointer user_data)
 {
-       GtefBuffer *buffer = GTEF_BUFFER (user_data);
-       GtefBufferPrivate *priv = gtef_buffer_get_instance_private (buffer);
+       TeplBuffer *buffer = TEPL_BUFFER (user_data);
+       TeplBufferPrivate *priv = tepl_buffer_get_instance_private (buffer);
 
-       g_signal_emit (buffer, signals[SIGNAL_GTEF_CURSOR_MOVED], 0);
+       g_signal_emit (buffer, signals[SIGNAL_TEPL_CURSOR_MOVED], 0);
 
        priv->idle_cursor_moved_id = 0;
        return G_SOURCE_REMOVE;
 }
 
 static void
-install_idle_cursor_moved (GtefBuffer *buffer)
+install_idle_cursor_moved (TeplBuffer *buffer)
 {
-       GtefBufferPrivate *priv = gtef_buffer_get_instance_private (buffer);
+       TeplBufferPrivate *priv = tepl_buffer_get_instance_private (buffer);
 
        if (priv->idle_cursor_moved_id == 0)
        {
@@ -185,26 +185,26 @@ install_idle_cursor_moved (GtefBuffer *buffer)
 }
 
 static void
-gtef_buffer_begin_user_action (GtkTextBuffer *buffer)
+tepl_buffer_begin_user_action (GtkTextBuffer *buffer)
 {
-       GtefBufferPrivate *priv = gtef_buffer_get_instance_private (GTEF_BUFFER (buffer));
+       TeplBufferPrivate *priv = tepl_buffer_get_instance_private (TEPL_BUFFER (buffer));
 
        priv->n_nested_user_actions++;
 
-       if (GTK_TEXT_BUFFER_CLASS (gtef_buffer_parent_class)->begin_user_action != NULL)
+       if (GTK_TEXT_BUFFER_CLASS (tepl_buffer_parent_class)->begin_user_action != NULL)
        {
-               GTK_TEXT_BUFFER_CLASS (gtef_buffer_parent_class)->begin_user_action (buffer);
+               GTK_TEXT_BUFFER_CLASS (tepl_buffer_parent_class)->begin_user_action (buffer);
        }
 }
 
 static void
-gtef_buffer_end_user_action (GtkTextBuffer *buffer)
+tepl_buffer_end_user_action (GtkTextBuffer *buffer)
 {
-       GtefBufferPrivate *priv = gtef_buffer_get_instance_private (GTEF_BUFFER (buffer));
+       TeplBufferPrivate *priv = tepl_buffer_get_instance_private (TEPL_BUFFER (buffer));
 
-       if (GTK_TEXT_BUFFER_CLASS (gtef_buffer_parent_class)->end_user_action != NULL)
+       if (GTK_TEXT_BUFFER_CLASS (tepl_buffer_parent_class)->end_user_action != NULL)
        {
-               GTK_TEXT_BUFFER_CLASS (gtef_buffer_parent_class)->end_user_action (buffer);
+               GTK_TEXT_BUFFER_CLASS (tepl_buffer_parent_class)->end_user_action (buffer);
        }
 
        g_return_if_fail (priv->n_nested_user_actions > 0);
@@ -212,101 +212,101 @@ gtef_buffer_end_user_action (GtkTextBuffer *buffer)
 
        if (priv->n_nested_user_actions == 0)
        {
-               install_idle_cursor_moved (GTEF_BUFFER (buffer));
+               install_idle_cursor_moved (TEPL_BUFFER (buffer));
        }
 }
 
 static void
-gtef_buffer_mark_set (GtkTextBuffer     *buffer,
+tepl_buffer_mark_set (GtkTextBuffer     *buffer,
                      const GtkTextIter *location,
                      GtkTextMark       *mark)
 {
-       GtefBufferPrivate *priv = gtef_buffer_get_instance_private (GTEF_BUFFER (buffer));
+       TeplBufferPrivate *priv = tepl_buffer_get_instance_private (TEPL_BUFFER (buffer));
 
-       if (GTK_TEXT_BUFFER_CLASS (gtef_buffer_parent_class)->mark_set != NULL)
+       if (GTK_TEXT_BUFFER_CLASS (tepl_buffer_parent_class)->mark_set != NULL)
        {
-               GTK_TEXT_BUFFER_CLASS (gtef_buffer_parent_class)->mark_set (buffer, location, mark);
+               GTK_TEXT_BUFFER_CLASS (tepl_buffer_parent_class)->mark_set (buffer, location, mark);
        }
 
        if (priv->n_nested_user_actions == 0 &&
            mark == gtk_text_buffer_get_insert (buffer))
        {
-               install_idle_cursor_moved (GTEF_BUFFER (buffer));
+               install_idle_cursor_moved (TEPL_BUFFER (buffer));
        }
 }
 
 static void
-gtef_buffer_changed (GtkTextBuffer *buffer)
+tepl_buffer_changed (GtkTextBuffer *buffer)
 {
-       GtefBufferPrivate *priv = gtef_buffer_get_instance_private (GTEF_BUFFER (buffer));
+       TeplBufferPrivate *priv = tepl_buffer_get_instance_private (TEPL_BUFFER (buffer));
 
-       if (GTK_TEXT_BUFFER_CLASS (gtef_buffer_parent_class)->changed != NULL)
+       if (GTK_TEXT_BUFFER_CLASS (tepl_buffer_parent_class)->changed != NULL)
        {
-               GTK_TEXT_BUFFER_CLASS (gtef_buffer_parent_class)->changed (buffer);
+               GTK_TEXT_BUFFER_CLASS (tepl_buffer_parent_class)->changed (buffer);
        }
 
        if (priv->n_nested_user_actions == 0)
        {
-               install_idle_cursor_moved (GTEF_BUFFER (buffer));
+               install_idle_cursor_moved (TEPL_BUFFER (buffer));
        }
 }
 
 static void
-gtef_buffer_modified_changed (GtkTextBuffer *buffer)
+tepl_buffer_modified_changed (GtkTextBuffer *buffer)
 {
-       if (GTK_TEXT_BUFFER_CLASS (gtef_buffer_parent_class)->modified_changed != NULL)
+       if (GTK_TEXT_BUFFER_CLASS (tepl_buffer_parent_class)->modified_changed != NULL)
        {
-               GTK_TEXT_BUFFER_CLASS (gtef_buffer_parent_class)->modified_changed (buffer);
+               GTK_TEXT_BUFFER_CLASS (tepl_buffer_parent_class)->modified_changed (buffer);
        }
 
-       g_object_notify_by_pspec (G_OBJECT (buffer), properties[PROP_GTEF_TITLE]);
+       g_object_notify_by_pspec (G_OBJECT (buffer), properties[PROP_TEPL_TITLE]);
 }
 
 static void
-gtef_buffer_class_init (GtefBufferClass *klass)
+tepl_buffer_class_init (TeplBufferClass *klass)
 {
        GObjectClass *object_class = G_OBJECT_CLASS (klass);
        GtkTextBufferClass *text_buffer_class = GTK_TEXT_BUFFER_CLASS (klass);
 
-       object_class->get_property = gtef_buffer_get_property;
-       object_class->set_property = gtef_buffer_set_property;
-       object_class->dispose = gtef_buffer_dispose;
+       object_class->get_property = tepl_buffer_get_property;
+       object_class->set_property = tepl_buffer_set_property;
+       object_class->dispose = tepl_buffer_dispose;
 
-       text_buffer_class->begin_user_action = gtef_buffer_begin_user_action;
-       text_buffer_class->end_user_action = gtef_buffer_end_user_action;
-       text_buffer_class->mark_set = gtef_buffer_mark_set;
-       text_buffer_class->changed = gtef_buffer_changed;
-       text_buffer_class->modified_changed = gtef_buffer_modified_changed;
+       text_buffer_class->begin_user_action = tepl_buffer_begin_user_action;
+       text_buffer_class->end_user_action = tepl_buffer_end_user_action;
+       text_buffer_class->mark_set = tepl_buffer_mark_set;
+       text_buffer_class->changed = tepl_buffer_changed;
+       text_buffer_class->modified_changed = tepl_buffer_modified_changed;
 
        /**
-        * GtefBuffer:gtef-title:
+        * TeplBuffer:tepl-title:
         *
-        * The buffer title. See gtef_buffer_get_title().
+        * The buffer title. See tepl_buffer_get_title().
         *
         * Since: 2.0
         */
-       properties[PROP_GTEF_TITLE] =
-               g_param_spec_string ("gtef-title",
-                                    "Gtef Title",
+       properties[PROP_TEPL_TITLE] =
+               g_param_spec_string ("tepl-title",
+                                    "Tepl Title",
                                     "",
                                     NULL,
                                     G_PARAM_READABLE |
                                     G_PARAM_STATIC_STRINGS);
 
        /**
-        * GtefBuffer:gtef-style-scheme-id:
+        * TeplBuffer:tepl-style-scheme-id:
         *
         * The #GtkSourceBuffer:style-scheme ID, as a string. This property is
         * useful for binding it to a #GSettings key.
         *
         * When the #GtkSourceBuffer:style-scheme is %NULL,
-        * #GtefBuffer:gtef-style-scheme-id contains the empty string.
+        * #TeplBuffer:tepl-style-scheme-id contains the empty string.
         *
         * Since: 2.0
         */
-       properties[PROP_GTEF_STYLE_SCHEME_ID] =
-               g_param_spec_string ("gtef-style-scheme-id",
-                                    "Gtef Style Scheme ID",
+       properties[PROP_TEPL_STYLE_SCHEME_ID] =
+               g_param_spec_string ("tepl-style-scheme-id",
+                                    "Tepl Style Scheme ID",
                                     "",
                                     "",
                                     G_PARAM_READWRITE |
@@ -315,10 +315,10 @@ gtef_buffer_class_init (GtefBufferClass *klass)
        g_object_class_install_properties (object_class, N_PROPERTIES, properties);
 
        /**
-        * GtefBuffer::gtef-cursor-moved:
-        * @buffer: the #GtefBuffer emitting the signal.
+        * TeplBuffer::tepl-cursor-moved:
+        * @buffer: the #TeplBuffer emitting the signal.
         *
-        * The ::gtef-cursor-moved signal is emitted when the insert mark is
+        * The ::tepl-cursor-moved signal is emitted when the insert mark is
         * moved explicitely or when the buffer changes (insert/delete).
         *
         * A typical use-case for this signal is to update the cursor position
@@ -326,21 +326,21 @@ gtef_buffer_class_init (GtefBufferClass *klass)
         *
         * Since: 2.0
         */
-       signals[SIGNAL_GTEF_CURSOR_MOVED] =
-               g_signal_new ("gtef-cursor-moved",
+       signals[SIGNAL_TEPL_CURSOR_MOVED] =
+               g_signal_new ("tepl-cursor-moved",
                              G_TYPE_FROM_CLASS (klass),
                              G_SIGNAL_RUN_FIRST,
-                             G_STRUCT_OFFSET (GtefBufferClass, gtef_cursor_moved),
+                             G_STRUCT_OFFSET (TeplBufferClass, tepl_cursor_moved),
                              NULL, NULL, NULL,
                              G_TYPE_NONE, 0);
 }
 
 static void
-short_name_notify_cb (GtefFile   *file,
+short_name_notify_cb (TeplFile   *file,
                      GParamSpec *pspec,
-                     GtefBuffer *buffer)
+                     TeplBuffer *buffer)
 {
-       g_object_notify_by_pspec (G_OBJECT (buffer), properties[PROP_GTEF_TITLE]);
+       g_object_notify_by_pspec (G_OBJECT (buffer), properties[PROP_TEPL_TITLE]);
 }
 
 static void
@@ -348,19 +348,19 @@ style_scheme_notify_cb (GtkSourceBuffer *buffer,
                        GParamSpec      *pspec,
                        gpointer         user_data)
 {
-       update_invalid_char_tag_style (GTEF_BUFFER (buffer));
+       update_invalid_char_tag_style (TEPL_BUFFER (buffer));
 
-       g_object_notify_by_pspec (G_OBJECT (buffer), properties[PROP_GTEF_STYLE_SCHEME_ID]);
+       g_object_notify_by_pspec (G_OBJECT (buffer), properties[PROP_TEPL_STYLE_SCHEME_ID]);
 }
 
 static void
-gtef_buffer_init (GtefBuffer *buffer)
+tepl_buffer_init (TeplBuffer *buffer)
 {
-       GtefBufferPrivate *priv;
+       TeplBufferPrivate *priv;
 
-       priv = gtef_buffer_get_instance_private (buffer);
+       priv = tepl_buffer_get_instance_private (buffer);
 
-       priv->file = gtef_file_new ();
+       priv->file = tepl_file_new ();
 
        g_signal_connect_object (priv->file,
                                 "notify::short-name",
@@ -375,41 +375,41 @@ gtef_buffer_init (GtefBuffer *buffer)
 }
 
 /**
- * gtef_buffer_new:
+ * tepl_buffer_new:
  *
- * Returns: a new #GtefBuffer.
+ * Returns: a new #TeplBuffer.
  * Since: 1.0
  */
-GtefBuffer *
-gtef_buffer_new (void)
+TeplBuffer *
+tepl_buffer_new (void)
 {
-       return g_object_new (GTEF_TYPE_BUFFER, NULL);
+       return g_object_new (TEPL_TYPE_BUFFER, NULL);
 }
 
 /**
- * gtef_buffer_get_file:
- * @buffer: a #GtefBuffer.
+ * tepl_buffer_get_file:
+ * @buffer: a #TeplBuffer.
  *
- * Returns the #GtefFile of @buffer. The returned object is guaranteed to be the
+ * Returns the #TeplFile of @buffer. The returned object is guaranteed to be the
  * same for the lifetime of @buffer.
  *
- * Returns: (transfer none): the associated #GtefFile.
+ * Returns: (transfer none): the associated #TeplFile.
  * Since: 1.0
  */
-GtefFile *
-gtef_buffer_get_file (GtefBuffer *buffer)
+TeplFile *
+tepl_buffer_get_file (TeplBuffer *buffer)
 {
-       GtefBufferPrivate *priv;
+       TeplBufferPrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_BUFFER (buffer), NULL);
+       g_return_val_if_fail (TEPL_IS_BUFFER (buffer), NULL);
 
-       priv = gtef_buffer_get_instance_private (buffer);
+       priv = tepl_buffer_get_instance_private (buffer);
        return priv->file;
 }
 
 /**
- * gtef_buffer_is_untouched:
- * @buffer: a #GtefBuffer.
+ * tepl_buffer_is_untouched:
+ * @buffer: a #TeplBuffer.
  *
  * Returns whether @buffer is untouched.
  *
@@ -418,35 +418,35 @@ gtef_buffer_get_file (GtefBuffer *buffer)
  *
  * For this function to return %TRUE, the @buffer must be empty, non-modified,
  * the undo/redo #GtkSourceBuffer history must be empty, and the
- * #GtefFile:location must be %NULL.
+ * #TeplFile:location must be %NULL.
  *
  * Returns: %TRUE if @buffer has not been touched, %FALSE otherwise.
  * Since: 1.0
  */
 gboolean
-gtef_buffer_is_untouched (GtefBuffer *buffer)
+tepl_buffer_is_untouched (TeplBuffer *buffer)
 {
-       GtefBufferPrivate *priv;
+       TeplBufferPrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_BUFFER (buffer), FALSE);
+       g_return_val_if_fail (TEPL_IS_BUFFER (buffer), FALSE);
 
-       priv = gtef_buffer_get_instance_private (buffer);
+       priv = tepl_buffer_get_instance_private (buffer);
 
        return (gtk_text_buffer_get_char_count (GTK_TEXT_BUFFER (buffer)) == 0 &&
                !gtk_text_buffer_get_modified (GTK_TEXT_BUFFER (buffer)) &&
                !gtk_source_buffer_can_undo (GTK_SOURCE_BUFFER (buffer)) &&
                !gtk_source_buffer_can_redo (GTK_SOURCE_BUFFER (buffer)) &&
-               gtef_file_get_location (priv->file) == NULL);
+               tepl_file_get_location (priv->file) == NULL);
 }
 
 /**
- * gtef_buffer_get_title:
- * @buffer: a #GtefBuffer.
+ * tepl_buffer_get_title:
+ * @buffer: a #TeplBuffer.
  *
  * Returns a title suitable for a #GtkWindow title. It contains (in that order):
  * - '*' if the buffer is modified;
- * - the #GtefFile:short-name;
- * - the directory path in parenthesis if the #GtefFile:location isn't
+ * - the #TeplFile:short-name;
+ * - the directory path in parenthesis if the #TeplFile:location isn't
  *   %NULL.
  *
  * Returns: the @buffer title. Free the return value with g_free() when no
@@ -454,19 +454,19 @@ gtef_buffer_is_untouched (GtefBuffer *buffer)
  * Since: 1.0
  */
 gchar *
-gtef_buffer_get_title (GtefBuffer *buffer)
+tepl_buffer_get_title (TeplBuffer *buffer)
 {
-       GtefBufferPrivate *priv;
+       TeplBufferPrivate *priv;
        GFile *location;
        const gchar *short_name;
        gchar *title;
 
-       g_return_val_if_fail (GTEF_IS_BUFFER (buffer), NULL);
+       g_return_val_if_fail (TEPL_IS_BUFFER (buffer), NULL);
 
-       priv = gtef_buffer_get_instance_private (buffer);
+       priv = tepl_buffer_get_instance_private (buffer);
 
-       location = gtef_file_get_location (priv->file);
-       short_name = gtef_file_get_short_name (priv->file);
+       location = tepl_file_get_location (priv->file);
+       short_name = tepl_file_get_short_name (priv->file);
 
        if (location == NULL ||
            !g_file_has_parent (location, NULL))
@@ -481,7 +481,7 @@ gtef_buffer_get_title (GtefBuffer *buffer)
 
                parent = g_file_get_parent (location);
                directory = g_file_get_parse_name (parent);
-               directory_tilde = _gtef_utils_replace_home_dir_with_tilde (directory);
+               directory_tilde = _tepl_utils_replace_home_dir_with_tilde (directory);
 
                title = g_strdup_printf ("%s (%s)", short_name, directory_tilde);
 
@@ -504,19 +504,19 @@ gtef_buffer_get_title (GtefBuffer *buffer)
 }
 
 /**
- * gtef_buffer_get_style_scheme_id:
- * @buffer: a #GtefBuffer.
+ * tepl_buffer_get_style_scheme_id:
+ * @buffer: a #TeplBuffer.
  *
- * Returns: the #GtefBuffer:gtef-style-scheme-id. Free with g_free().
+ * Returns: the #TeplBuffer:tepl-style-scheme-id. Free with g_free().
  * Since: 2.0
  */
 gchar *
-gtef_buffer_get_style_scheme_id (GtefBuffer *buffer)
+tepl_buffer_get_style_scheme_id (TeplBuffer *buffer)
 {
        GtkSourceStyleScheme *style_scheme;
        const gchar *id;
 
-       g_return_val_if_fail (GTEF_IS_BUFFER (buffer), g_strdup (""));
+       g_return_val_if_fail (TEPL_IS_BUFFER (buffer), g_strdup (""));
 
        style_scheme = gtk_source_buffer_get_style_scheme (GTK_SOURCE_BUFFER (buffer));
 
@@ -531,11 +531,11 @@ gtef_buffer_get_style_scheme_id (GtefBuffer *buffer)
 }
 
 /**
- * gtef_buffer_set_style_scheme_id:
- * @buffer: a #GtefBuffer.
+ * tepl_buffer_set_style_scheme_id:
+ * @buffer: a #TeplBuffer.
  * @style_scheme_id: the new value.
  *
- * Sets the #GtefBuffer:gtef-style-scheme-id property.
+ * Sets the #TeplBuffer:tepl-style-scheme-id property.
  *
  * The #GtkSourceStyleScheme is taken from the default
  * #GtkSourceStyleSchemeManager as returned by
@@ -544,13 +544,13 @@ gtef_buffer_get_style_scheme_id (GtefBuffer *buffer)
  * Since: 2.0
  */
 void
-gtef_buffer_set_style_scheme_id (GtefBuffer  *buffer,
+tepl_buffer_set_style_scheme_id (TeplBuffer  *buffer,
                                 const gchar *style_scheme_id)
 {
        GtkSourceStyleSchemeManager *manager;
        GtkSourceStyleScheme *style_scheme;
 
-       g_return_if_fail (GTEF_IS_BUFFER (buffer));
+       g_return_if_fail (TEPL_IS_BUFFER (buffer));
        g_return_if_fail (style_scheme_id != NULL);
 
        manager = gtk_source_style_scheme_manager_get_default ();
@@ -559,25 +559,25 @@ gtef_buffer_set_style_scheme_id (GtefBuffer  *buffer,
 }
 
 /**
- * gtef_buffer_get_selection_type:
- * @buffer: a #GtefBuffer.
+ * tepl_buffer_get_selection_type:
+ * @buffer: a #TeplBuffer.
  *
- * Returns: the current #GtefSelectionType.
+ * Returns: the current #TeplSelectionType.
  * Since: 1.0
  */
-GtefSelectionType
-gtef_buffer_get_selection_type (GtefBuffer *buffer)
+TeplSelectionType
+tepl_buffer_get_selection_type (TeplBuffer *buffer)
 {
        GtkTextIter start;
        GtkTextIter end;
        gint start_line;
        gint end_line;
 
-       g_return_val_if_fail (GTEF_IS_BUFFER (buffer), GTEF_SELECTION_TYPE_NO_SELECTION);
+       g_return_val_if_fail (TEPL_IS_BUFFER (buffer), TEPL_SELECTION_TYPE_NO_SELECTION);
 
        if (!gtk_text_buffer_get_selection_bounds (GTK_TEXT_BUFFER (buffer), &start, &end))
        {
-               return GTEF_SELECTION_TYPE_NO_SELECTION;
+               return TEPL_SELECTION_TYPE_NO_SELECTION;
        }
 
        start_line = gtk_text_iter_get_line (&start);
@@ -585,10 +585,10 @@ gtef_buffer_get_selection_type (GtefBuffer *buffer)
 
        if (start_line == end_line)
        {
-               return GTEF_SELECTION_TYPE_ON_SAME_LINE;
+               return TEPL_SELECTION_TYPE_ON_SAME_LINE;
        }
 
-       return GTEF_SELECTION_TYPE_MULTIPLE_LINES;
+       return TEPL_SELECTION_TYPE_MULTIPLE_LINES;
 }
 
 static void
@@ -604,17 +604,17 @@ text_tag_set_highest_priority (GtkTextTag    *tag,
 }
 
 void
-_gtef_buffer_set_as_invalid_character (GtefBuffer        *buffer,
+_tepl_buffer_set_as_invalid_character (TeplBuffer        *buffer,
                                       const GtkTextIter *start,
                                       const GtkTextIter *end)
 {
-       GtefBufferPrivate *priv;
+       TeplBufferPrivate *priv;
 
-       g_return_if_fail (GTEF_IS_BUFFER (buffer));
+       g_return_if_fail (TEPL_IS_BUFFER (buffer));
        g_return_if_fail (start != NULL);
        g_return_if_fail (end != NULL);
 
-       priv = gtef_buffer_get_instance_private (buffer);
+       priv = tepl_buffer_get_instance_private (buffer);
 
        if (priv->invalid_char_tag == NULL)
        {
@@ -638,14 +638,14 @@ _gtef_buffer_set_as_invalid_character (GtefBuffer        *buffer,
 }
 
 gboolean
-_gtef_buffer_has_invalid_chars (GtefBuffer *buffer)
+_tepl_buffer_has_invalid_chars (TeplBuffer *buffer)
 {
-       GtefBufferPrivate *priv;
+       TeplBufferPrivate *priv;
        GtkTextIter start;
 
-       g_return_val_if_fail (GTEF_IS_BUFFER (buffer), FALSE);
+       g_return_val_if_fail (TEPL_IS_BUFFER (buffer), FALSE);
 
-       priv = gtef_buffer_get_instance_private (buffer);
+       priv = tepl_buffer_get_instance_private (buffer);
 
        if (priv->invalid_char_tag == NULL)
        {
diff --git a/gtef/gtef-buffer.h b/gtef/gtef-buffer.h
index 567a305..714f1f3 100644
--- a/gtef/gtef-buffer.h
+++ b/gtef/gtef-buffer.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,72 +17,72 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_BUFFER_H
-#define GTEF_BUFFER_H
+#ifndef TEPL_BUFFER_H
+#define TEPL_BUFFER_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <gtksourceview/gtksource.h>
-#include <gtef/gtef-types.h>
+#include <tepl/tepl-types.h>
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_BUFFER (gtef_buffer_get_type ())
-G_DECLARE_DERIVABLE_TYPE (GtefBuffer, gtef_buffer,
-                         GTEF, BUFFER,
+#define TEPL_TYPE_BUFFER (tepl_buffer_get_type ())
+G_DECLARE_DERIVABLE_TYPE (TeplBuffer, tepl_buffer,
+                         TEPL, BUFFER,
                          GtkSourceBuffer)
 
-struct _GtefBufferClass
+struct _TeplBufferClass
 {
        GtkSourceBufferClass parent_class;
 
        /* Signals */
-       void (* gtef_cursor_moved)      (GtefBuffer *buffer);
+       void (* tepl_cursor_moved)      (TeplBuffer *buffer);
 
        gpointer padding[12];
 };
 
 /**
- * GtefSelectionType:
- * @GTEF_SELECTION_TYPE_NO_SELECTION: No selection.
- * @GTEF_SELECTION_TYPE_ON_SAME_LINE: The start and end selection bounds are on
+ * TeplSelectionType:
+ * @TEPL_SELECTION_TYPE_NO_SELECTION: No selection.
+ * @TEPL_SELECTION_TYPE_ON_SAME_LINE: The start and end selection bounds are on
  *   the same line.
- * @GTEF_SELECTION_TYPE_MULTIPLE_LINES: The selection spans multiple lines.
+ * @TEPL_SELECTION_TYPE_MULTIPLE_LINES: The selection spans multiple lines.
  *
  * Since: 1.0
  */
-typedef enum _GtefSelectionType
+typedef enum _TeplSelectionType
 {
-       GTEF_SELECTION_TYPE_NO_SELECTION,
-       GTEF_SELECTION_TYPE_ON_SAME_LINE,
-       GTEF_SELECTION_TYPE_MULTIPLE_LINES
-} GtefSelectionType;
+       TEPL_SELECTION_TYPE_NO_SELECTION,
+       TEPL_SELECTION_TYPE_ON_SAME_LINE,
+       TEPL_SELECTION_TYPE_MULTIPLE_LINES
+} TeplSelectionType;
 
-GtefBuffer *           gtef_buffer_new                         (void);
+TeplBuffer *           tepl_buffer_new                         (void);
 
-GtefFile *             gtef_buffer_get_file                    (GtefBuffer *buffer);
+TeplFile *             tepl_buffer_get_file                    (TeplBuffer *buffer);
 
-gboolean               gtef_buffer_is_untouched                (GtefBuffer *buffer);
+gboolean               tepl_buffer_is_untouched                (TeplBuffer *buffer);
 
-gchar *                        gtef_buffer_get_title                   (GtefBuffer *buffer);
+gchar *                        tepl_buffer_get_title                   (TeplBuffer *buffer);
 
-gchar *                        gtef_buffer_get_style_scheme_id         (GtefBuffer *buffer);
+gchar *                        tepl_buffer_get_style_scheme_id         (TeplBuffer *buffer);
 
-void                   gtef_buffer_set_style_scheme_id         (GtefBuffer  *buffer,
+void                   tepl_buffer_set_style_scheme_id         (TeplBuffer  *buffer,
                                                                 const gchar *style_scheme_id);
 
-GtefSelectionType      gtef_buffer_get_selection_type          (GtefBuffer *buffer);
+TeplSelectionType      tepl_buffer_get_selection_type          (TeplBuffer *buffer);
 
 G_GNUC_INTERNAL
-void                   _gtef_buffer_set_as_invalid_character   (GtefBuffer        *buffer,
+void                   _tepl_buffer_set_as_invalid_character   (TeplBuffer        *buffer,
                                                                 const GtkTextIter *start,
                                                                 const GtkTextIter *end);
 
 G_GNUC_INTERNAL
-gboolean               _gtef_buffer_has_invalid_chars          (GtefBuffer *buffer);
+gboolean               _tepl_buffer_has_invalid_chars          (TeplBuffer *buffer);
 
 G_END_DECLS
 
-#endif /* GTEF_BUFFER_H */
+#endif /* TEPL_BUFFER_H */
diff --git a/gtef/gtef-encoding-converter.c b/gtef/gtef-encoding-converter.c
index a24ec16..ad5963a 100644
--- a/gtef/gtef-encoding-converter.c
+++ b/gtef/gtef-encoding-converter.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -18,7 +18,7 @@
  */
 
 #include "config.h"
-#include "gtef-encoding-converter.h"
+#include "tepl-encoding-converter.h"
 #include <errno.h>
 #include <string.h>
 #include <gio/gio.h>
@@ -27,7 +27,7 @@
 /* A higher-level, more convenient API for character encoding streaming
  * conversion based on iconv.
  *
- * A #GtefEncodingConverter object can be opened/closed several times, for
+ * A #TeplEncodingConverter object can be opened/closed several times, for
  * different conversions.
  *
  * Even if from_codeset and to_codeset are the same, this class can be useful
@@ -39,7 +39,7 @@
  *   callback is called.
  */
 
-struct _GtefEncodingConverterPrivate
+struct _TeplEncodingConverterPrivate
 {
        GIConv conv;
 
@@ -54,7 +54,7 @@ struct _GtefEncodingConverterPrivate
        gint64 outbuf_size;
        gsize outbytes_left;
 
-       GtefEncodingConversionCallback callback;
+       TeplEncodingConversionCallback callback;
        gpointer callback_user_data;
 
        /* On incomplete input, store the remaining inbuf so that it can be used
@@ -85,23 +85,23 @@ typedef enum _Result
 
 static GParamSpec *properties[N_PROPERTIES];
 
-G_DEFINE_TYPE_WITH_PRIVATE (GtefEncodingConverter, _gtef_encoding_converter, G_TYPE_OBJECT)
+G_DEFINE_TYPE_WITH_PRIVATE (TeplEncodingConverter, _tepl_encoding_converter, G_TYPE_OBJECT)
 
 static void
-check_invariants (GtefEncodingConverter *converter)
+check_invariants (TeplEncodingConverter *converter)
 {
        g_assert_cmpint (converter->priv->outbuf_size, >=, MIN_OUTBUF_SIZE);
        g_assert_cmpint (converter->priv->outbytes_left, <, converter->priv->outbuf_size);
 }
 
 static gboolean
-is_opened (GtefEncodingConverter *converter)
+is_opened (TeplEncodingConverter *converter)
 {
        return converter->priv->conv != (GIConv)-1;
 }
 
 static gboolean
-outbuf_is_empty (GtefEncodingConverter *converter)
+outbuf_is_empty (TeplEncodingConverter *converter)
 {
        check_invariants (converter);
 
@@ -110,7 +110,7 @@ outbuf_is_empty (GtefEncodingConverter *converter)
 }
 
 static gsize
-get_outbuf_used_length (GtefEncodingConverter *converter)
+get_outbuf_used_length (TeplEncodingConverter *converter)
 {
        check_invariants (converter);
 
@@ -118,7 +118,7 @@ get_outbuf_used_length (GtefEncodingConverter *converter)
 }
 
 static void
-flush_outbuf (GtefEncodingConverter *converter)
+flush_outbuf (TeplEncodingConverter *converter)
 {
        if (outbuf_is_empty (converter))
        {
@@ -141,7 +141,7 @@ flush_outbuf (GtefEncodingConverter *converter)
 }
 
 static void
-close_conv (GtefEncodingConverter *converter)
+close_conv (TeplEncodingConverter *converter)
 {
        if (converter->priv->conv != (GIConv)-1)
        {
@@ -157,17 +157,17 @@ close_conv (GtefEncodingConverter *converter)
 }
 
 static void
-_gtef_encoding_converter_get_property (GObject    *object,
+_tepl_encoding_converter_get_property (GObject    *object,
                                       guint       prop_id,
                                       GValue     *value,
                                       GParamSpec *pspec)
 {
-       GtefEncodingConverter *converter = GTEF_ENCODING_CONVERTER (object);
+       TeplEncodingConverter *converter = TEPL_ENCODING_CONVERTER (object);
 
        switch (prop_id)
        {
                case PROP_BUFFER_SIZE:
-                       g_value_set_int64 (value, _gtef_encoding_converter_get_buffer_size (converter));
+                       g_value_set_int64 (value, _tepl_encoding_converter_get_buffer_size (converter));
                        break;
 
                default:
@@ -177,12 +177,12 @@ _gtef_encoding_converter_get_property (GObject    *object,
 }
 
 static void
-_gtef_encoding_converter_set_property (GObject      *object,
+_tepl_encoding_converter_set_property (GObject      *object,
                                       guint         prop_id,
                                       const GValue *value,
                                       GParamSpec   *pspec)
 {
-       GtefEncodingConverter *converter = GTEF_ENCODING_CONVERTER (object);
+       TeplEncodingConverter *converter = TEPL_ENCODING_CONVERTER (object);
 
        switch (prop_id)
        {
@@ -197,27 +197,27 @@ _gtef_encoding_converter_set_property (GObject      *object,
 }
 
 static void
-_gtef_encoding_converter_finalize (GObject *object)
+_tepl_encoding_converter_finalize (GObject *object)
 {
-       GtefEncodingConverter *converter = GTEF_ENCODING_CONVERTER (object);
+       TeplEncodingConverter *converter = TEPL_ENCODING_CONVERTER (object);
 
        close_conv (converter);
        g_free (converter->priv->outbuf);
 
-       G_OBJECT_CLASS (_gtef_encoding_converter_parent_class)->finalize (object);
+       G_OBJECT_CLASS (_tepl_encoding_converter_parent_class)->finalize (object);
 }
 
 static void
-_gtef_encoding_converter_class_init (GtefEncodingConverterClass *klass)
+_tepl_encoding_converter_class_init (TeplEncodingConverterClass *klass)
 {
        GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-       object_class->get_property = _gtef_encoding_converter_get_property;
-       object_class->set_property = _gtef_encoding_converter_set_property;
-       object_class->finalize = _gtef_encoding_converter_finalize;
+       object_class->get_property = _tepl_encoding_converter_get_property;
+       object_class->set_property = _tepl_encoding_converter_set_property;
+       object_class->finalize = _tepl_encoding_converter_finalize;
 
        /**
-        * GtefEncodingConverter:buffer-size:
+        * TeplEncodingConverter:buffer-size:
         *
         * The buffer size, in bytes. When the buffer is full, the callback is
         * called to empty the buffer.
@@ -237,15 +237,15 @@ _gtef_encoding_converter_class_init (GtefEncodingConverterClass *klass)
 }
 
 static void
-_gtef_encoding_converter_init (GtefEncodingConverter *converter)
+_tepl_encoding_converter_init (TeplEncodingConverter *converter)
 {
-       converter->priv = _gtef_encoding_converter_get_instance_private (converter);
+       converter->priv = _tepl_encoding_converter_get_instance_private (converter);
 
        converter->priv->conv = (GIConv)-1;
 }
 
-GtefEncodingConverter *
-_gtef_encoding_converter_new (gint64 buffer_size)
+TeplEncodingConverter *
+_tepl_encoding_converter_new (gint64 buffer_size)
 {
        g_return_val_if_fail (buffer_size == -1 || buffer_size >= MIN_OUTBUF_SIZE, NULL);
 
@@ -254,37 +254,37 @@ _gtef_encoding_converter_new (gint64 buffer_size)
                buffer_size = DEFAULT_OUTBUF_SIZE;
        }
 
-       return g_object_new (GTEF_TYPE_ENCODING_CONVERTER,
+       return g_object_new (TEPL_TYPE_ENCODING_CONVERTER,
                             "buffer-size", buffer_size,
                             NULL);
 }
 
 gint64
-_gtef_encoding_converter_get_buffer_size (GtefEncodingConverter *converter)
+_tepl_encoding_converter_get_buffer_size (TeplEncodingConverter *converter)
 {
-       g_return_val_if_fail (GTEF_IS_ENCODING_CONVERTER (converter), 0);
+       g_return_val_if_fail (TEPL_IS_ENCODING_CONVERTER (converter), 0);
 
        return converter->priv->outbuf_size;
 }
 
 void
-_gtef_encoding_converter_set_callback (GtefEncodingConverter          *converter,
-                                      GtefEncodingConversionCallback  callback,
+_tepl_encoding_converter_set_callback (TeplEncodingConverter          *converter,
+                                      TeplEncodingConversionCallback  callback,
                                       gpointer                        user_data)
 {
-       g_return_if_fail (GTEF_IS_ENCODING_CONVERTER (converter));
+       g_return_if_fail (TEPL_IS_ENCODING_CONVERTER (converter));
 
        converter->priv->callback = callback;
        converter->priv->callback_user_data = user_data;
 }
 
 gboolean
-_gtef_encoding_converter_open (GtefEncodingConverter  *converter,
+_tepl_encoding_converter_open (TeplEncodingConverter  *converter,
                               const gchar            *to_codeset,
                               const gchar            *from_codeset,
                               GError                **error)
 {
-       g_return_val_if_fail (GTEF_IS_ENCODING_CONVERTER (converter), FALSE);
+       g_return_val_if_fail (TEPL_IS_ENCODING_CONVERTER (converter), FALSE);
        g_return_val_if_fail (to_codeset != NULL, FALSE);
        g_return_val_if_fail (from_codeset != NULL, FALSE);
        g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
@@ -328,7 +328,7 @@ _gtef_encoding_converter_open (GtefEncodingConverter  *converter,
 }
 
 static Result
-read_inbuf (GtefEncodingConverter  *converter,
+read_inbuf (TeplEncodingConverter  *converter,
            gchar                 **inbuf,
            gsize                  *inbytes_left,
            GError                **error)
@@ -395,7 +395,7 @@ read_inbuf (GtefEncodingConverter  *converter,
  * until it succeeds. That way, it's just tiny allocations.
  */
 static Result
-handle_remaining_inbuf (GtefEncodingConverter  *converter,
+handle_remaining_inbuf (TeplEncodingConverter  *converter,
                        gchar                 **inbuf,
                        gsize                  *inbytes_left,
                        GError                **error)
@@ -460,13 +460,13 @@ handle_remaining_inbuf (GtefEncodingConverter  *converter,
 
 /*
  * The callback is called when the internal buffer is filled, it doesn't
- * necessarily happen each time _gtef_encoding_converter_feed() is called, and
+ * necessarily happen each time _tepl_encoding_converter_feed() is called, and
  * the callback can be called several times during a single feed.
  *
  * Returns: %TRUE on success, %FALSE on error.
  */
 gboolean
-_gtef_encoding_converter_feed (GtefEncodingConverter  *converter,
+_tepl_encoding_converter_feed (TeplEncodingConverter  *converter,
                               const gchar            *chunk,
                               gssize                  size,
                               GError                **error)
@@ -475,7 +475,7 @@ _gtef_encoding_converter_feed (GtefEncodingConverter  *converter,
        gsize inbytes_left;
        Result result;
 
-       g_return_val_if_fail (GTEF_IS_ENCODING_CONVERTER (converter), FALSE);
+       g_return_val_if_fail (TEPL_IS_ENCODING_CONVERTER (converter), FALSE);
        g_return_val_if_fail (size >= -1, FALSE);
        g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
        g_return_val_if_fail (is_opened (converter), FALSE);
@@ -538,12 +538,12 @@ _gtef_encoding_converter_feed (GtefEncodingConverter  *converter,
  * the last chunk ended with an incomplete multi-byte char.
  */
 gboolean
-_gtef_encoding_converter_close (GtefEncodingConverter  *converter,
+_tepl_encoding_converter_close (TeplEncodingConverter  *converter,
                                GError                **error)
 {
        gboolean ok = TRUE;
 
-       g_return_val_if_fail (GTEF_IS_ENCODING_CONVERTER (converter), FALSE);
+       g_return_val_if_fail (TEPL_IS_ENCODING_CONVERTER (converter), FALSE);
        g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
        g_return_val_if_fail (is_opened (converter), FALSE);
 
diff --git a/gtef/gtef-encoding-converter.h b/gtef/gtef-encoding-converter.h
index 5c651d3..72066e7 100644
--- a/gtef/gtef-encoding-converter.h
+++ b/gtef/gtef-encoding-converter.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,82 +17,82 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_ENCODING_CONVERTER_H
-#define GTEF_ENCODING_CONVERTER_H
+#ifndef TEPL_ENCODING_CONVERTER_H
+#define TEPL_ENCODING_CONVERTER_H
 
 #include <glib-object.h>
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_ENCODING_CONVERTER             (_gtef_encoding_converter_get_type ())
-#define GTEF_ENCODING_CONVERTER(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), 
GTEF_TYPE_ENCODING_CONVERTER, GtefEncodingConverter))
-#define GTEF_ENCODING_CONVERTER_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), 
GTEF_TYPE_ENCODING_CONVERTER, GtefEncodingConverterClass))
-#define GTEF_IS_ENCODING_CONVERTER(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), 
GTEF_TYPE_ENCODING_CONVERTER))
-#define GTEF_IS_ENCODING_CONVERTER_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), 
GTEF_TYPE_ENCODING_CONVERTER))
-#define GTEF_ENCODING_CONVERTER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), 
GTEF_TYPE_ENCODING_CONVERTER, GtefEncodingConverterClass))
+#define TEPL_TYPE_ENCODING_CONVERTER             (_tepl_encoding_converter_get_type ())
+#define TEPL_ENCODING_CONVERTER(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), 
TEPL_TYPE_ENCODING_CONVERTER, TeplEncodingConverter))
+#define TEPL_ENCODING_CONVERTER_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), 
TEPL_TYPE_ENCODING_CONVERTER, TeplEncodingConverterClass))
+#define TEPL_IS_ENCODING_CONVERTER(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), 
TEPL_TYPE_ENCODING_CONVERTER))
+#define TEPL_IS_ENCODING_CONVERTER_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), 
TEPL_TYPE_ENCODING_CONVERTER))
+#define TEPL_ENCODING_CONVERTER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), 
TEPL_TYPE_ENCODING_CONVERTER, TeplEncodingConverterClass))
 
-typedef struct _GtefEncodingConverter         GtefEncodingConverter;
-typedef struct _GtefEncodingConverterClass    GtefEncodingConverterClass;
-typedef struct _GtefEncodingConverterPrivate  GtefEncodingConverterPrivate;
+typedef struct _TeplEncodingConverter         TeplEncodingConverter;
+typedef struct _TeplEncodingConverterClass    TeplEncodingConverterClass;
+typedef struct _TeplEncodingConverterPrivate  TeplEncodingConverterPrivate;
 
-struct _GtefEncodingConverter
+struct _TeplEncodingConverter
 {
        GObject parent;
 
-       GtefEncodingConverterPrivate *priv;
+       TeplEncodingConverterPrivate *priv;
 };
 
-struct _GtefEncodingConverterClass
+struct _TeplEncodingConverterClass
 {
        GObjectClass parent_class;
 };
 
 /**
- * GtefEncodingConversionCallback:
+ * TeplEncodingConversionCallback:
  * @str: nul-terminated converted contents.
  * @length: length of @str, without the terminating nul-byte.
  * @user_data: user data set when the callback was connected.
  *
- * @str must not be freed, it is owned by the #GtefEncodingConverter. But to
+ * @str must not be freed, it is owned by the #TeplEncodingConverter. But to
  * avoid re-allocation, @str can be modified if needed, for example to set a
  * nul-byte at a different place; as long as you modify and access @str inside
  * its [0, @length] bounds.
  */
-typedef void (*GtefEncodingConversionCallback) (const gchar *str,
+typedef void (*TeplEncodingConversionCallback) (const gchar *str,
                                                gsize        length,
                                                gpointer     user_data);
 
 G_GNUC_INTERNAL
-GType          _gtef_encoding_converter_get_type               (void);
+GType          _tepl_encoding_converter_get_type               (void);
 
 G_GNUC_INTERNAL
-GtefEncodingConverter *
-               _gtef_encoding_converter_new                    (gint64 buffer_size);
+TeplEncodingConverter *
+               _tepl_encoding_converter_new                    (gint64 buffer_size);
 
 G_GNUC_INTERNAL
-gint64         _gtef_encoding_converter_get_buffer_size        (GtefEncodingConverter *converter);
+gint64         _tepl_encoding_converter_get_buffer_size        (TeplEncodingConverter *converter);
 
 G_GNUC_INTERNAL
-void           _gtef_encoding_converter_set_callback           (GtefEncodingConverter          *converter,
-                                                                GtefEncodingConversionCallback  callback,
+void           _tepl_encoding_converter_set_callback           (TeplEncodingConverter          *converter,
+                                                                TeplEncodingConversionCallback  callback,
                                                                 gpointer                        user_data);
 
 G_GNUC_INTERNAL
-gboolean       _gtef_encoding_converter_open                   (GtefEncodingConverter  *converter,
+gboolean       _tepl_encoding_converter_open                   (TeplEncodingConverter  *converter,
                                                                 const gchar            *to_codeset,
                                                                 const gchar            *from_codeset,
                                                                 GError                **error);
 
 G_GNUC_INTERNAL
-gboolean       _gtef_encoding_converter_feed                   (GtefEncodingConverter  *converter,
+gboolean       _tepl_encoding_converter_feed                   (TeplEncodingConverter  *converter,
                                                                 const gchar            *chunk,
                                                                 gssize                  size,
                                                                 GError                **error);
 
 G_GNUC_INTERNAL
-gboolean       _gtef_encoding_converter_close                  (GtefEncodingConverter  *converter,
+gboolean       _tepl_encoding_converter_close                  (TeplEncodingConverter  *converter,
                                                                 GError                **error);
 
 G_END_DECLS
 
-#endif /* GTEF_ENCODING_CONVERTER_H */
+#endif /* TEPL_ENCODING_CONVERTER_H */
diff --git a/gtef/gtef-encoding-private.h b/gtef/gtef-encoding-private.h
index afd5f76..c3165dc 100644
--- a/gtef/gtef-encoding-private.h
+++ b/gtef/gtef-encoding-private.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2014, 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,31 +17,31 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_ENCODING_PRIVATE_H
-#define GTEF_ENCODING_PRIVATE_H
+#ifndef TEPL_ENCODING_PRIVATE_H
+#define TEPL_ENCODING_PRIVATE_H
 
 #include <glib.h>
 
 G_BEGIN_DECLS
 
 /*
- * GtefEncodingDuplicates:
- * @GTEF_ENCODING_DUPLICATES_KEEP_FIRST: Keep the first occurrence.
- * @GTEF_ENCODING_DUPLICATES_KEEP_LAST: Keep the last occurrence.
+ * TeplEncodingDuplicates:
+ * @TEPL_ENCODING_DUPLICATES_KEEP_FIRST: Keep the first occurrence.
+ * @TEPL_ENCODING_DUPLICATES_KEEP_LAST: Keep the last occurrence.
  *
  * Specifies which encoding occurrence to keep when removing duplicated
- * encodings in a list with _gtef_encoding_remove_duplicates().
+ * encodings in a list with _tepl_encoding_remove_duplicates().
  */
-typedef enum _GtefEncodingDuplicates
+typedef enum _TeplEncodingDuplicates
 {
-       GTEF_ENCODING_DUPLICATES_KEEP_FIRST,
-       GTEF_ENCODING_DUPLICATES_KEEP_LAST
-} GtefEncodingDuplicates;
+       TEPL_ENCODING_DUPLICATES_KEEP_FIRST,
+       TEPL_ENCODING_DUPLICATES_KEEP_LAST
+} TeplEncodingDuplicates;
 
 G_GNUC_INTERNAL
-GSList *       _gtef_encoding_remove_duplicates        (GSList                 *encodings,
-                                                        GtefEncodingDuplicates  removal_type);
+GSList *       _tepl_encoding_remove_duplicates        (GSList                 *encodings,
+                                                        TeplEncodingDuplicates  removal_type);
 
 G_END_DECLS
 
-#endif  /* GTEF_ENCODING_PRIVATE_H */
+#endif  /* TEPL_ENCODING_PRIVATE_H */
diff --git a/gtef/gtef-encoding.c b/gtef/gtef-encoding.c
index e86f0c9..0c28295 100644
--- a/gtef/gtef-encoding.c
+++ b/gtef/gtef-encoding.c
@@ -1,15 +1,15 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2002-2005 - Paolo Maggi
  * Copyright 2014, 2015, 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -19,35 +19,35 @@
  */
 
 #include "config.h"
-#include "gtef-encoding.h"
-#include "gtef-encoding-private.h"
+#include "tepl-encoding.h"
+#include "tepl-encoding-private.h"
 #include <glib/gi18n-lib.h>
 
 /**
  * SECTION:encoding
  * @Short_description: Character encoding
- * @Title: GtefEncoding
- * @See_also: #GtefFileSaver, #GtefFileLoader
+ * @Title: TeplEncoding
+ * @See_also: #TeplFileSaver, #TeplFileLoader
  *
- * The #GtefEncoding boxed type represents a character encoding. It is used
- * for example by #GtefFile. Note that the text in GTK+ widgets is always
+ * The #TeplEncoding boxed type represents a character encoding. It is used
+ * for example by #TeplFile. Note that the text in GTK+ widgets is always
  * encoded in UTF-8.
  *
- * #GtefEncoding is a fork of #GtkSourceEncoding with a different API to
- * accommodate the new #GtefFileLoader implementation.
+ * #TeplEncoding is a fork of #GtkSourceEncoding with a different API to
+ * accommodate the new #TeplFileLoader implementation.
  */
 
 /* API design:
  *
  * Why not using a simple string to store a charset? With for example a
- * GtefEncodingTable singleton to retrieve the information from the table.
+ * TeplEncodingTable singleton to retrieve the information from the table.
  * An API like that would have some ugliness:
- * - To compare charsets, g_ascii_strcasecmp() must be used. GtefEncoding hides
- *   that with gtef_encoding_equals().
+ * - To compare charsets, g_ascii_strcasecmp() must be used. TeplEncoding hides
+ *   that with tepl_encoding_equals().
  * - The result of `iconv --list` contains duplicates, for example "UTF8" and
- *   "UTF-8". Since UTF-8 is an important case, GtefEncoding has special cases
- *   and special functions for it: gtef_encoding_new_utf8() and
- *   gtef_encoding_is_utf8().
+ *   "UTF-8". Since UTF-8 is an important case, TeplEncoding has special cases
+ *   and special functions for it: tepl_encoding_new_utf8() and
+ *   tepl_encoding_is_utf8().
  *
  * An earlier implementation of this class (the first implementation of
  * GtkSourceEncoding, which came from gedit) didn't support other charsets than
@@ -59,19 +59,19 @@
  * candidate GtkSourceEncoding one by one. But the new file loader
  * implementation uses an external library (uchardet) to determine the encoding.
  * uchardet returns an iconv-compatible charset, as a string, which is not
- * guaranteed to be in the table. So the charset passed to gtef_encoding_new()
+ * guaranteed to be in the table. So the charset passed to tepl_encoding_new()
  * is copied as-is, to not loose any information from uchardet. If the table
  * contains that charset, fine, we also have a name like "Unicode"; otherwise
- * it's not a problem, we have a GtefEncoding encapsulating the charset.
+ * it's not a problem, we have a TeplEncoding encapsulating the charset.
  *
  * It's a boxed type, not a GObject. Because signals are not needed, so a boxed
- * type is lighter. gtef_encoding_get_all() creates a lot of GtefEncoding's. It
- * would be slightly more convenient to have ref counting, but GtefEncoding can
+ * type is lighter. tepl_encoding_get_all() creates a lot of TeplEncoding's. It
+ * would be slightly more convenient to have ref counting, but TeplEncoding can
  * be seen as a string: instead of g_strdup()/g_free(), it's
- * gtef_encoding_copy()/gtef_encoding_free().
+ * tepl_encoding_copy()/tepl_encoding_free().
  */
 
-struct _GtefEncoding
+struct _TeplEncoding
 {
        /* Must never be NULL. */
        gchar *charset;
@@ -93,14 +93,14 @@ struct _EncodingData
 
 #define UTF8_CANONICAL_FORM "UTF-8"
 
-G_DEFINE_BOXED_TYPE (GtefEncoding, gtef_encoding,
-                     gtef_encoding_copy,
-                     gtef_encoding_free)
+G_DEFINE_BOXED_TYPE (TeplEncoding, tepl_encoding,
+                     tepl_encoding_copy,
+                     tepl_encoding_free)
 
 /* This table should not contain duplicates: iconv supports for example "utf8",
  * "UTF8", "utf-8" and "UTF-8", they are equivalent (as far as I've tested) but
  * the table contains only "UTF-8". As a result, a function like
- * gtef_encoding_get_all() doesn't return duplicates, which is important to not
+ * tepl_encoding_get_all() doesn't return duplicates, which is important to not
  * try several times the same encoding when loading a file, or to not show
  * duplicated encodings in a GtkComboBox when choosing manually an encoding.
  *
@@ -110,7 +110,7 @@ G_DEFINE_BOXED_TYPE (GtefEncoding, gtef_encoding,
 static const EncodingData encodings_table[] =
 {
        /* UTF-8 first, so that it's the first encoding returned by
-        * gtef_encoding_get_all().
+        * tepl_encoding_get_all().
         */
        { UTF8_CANONICAL_FORM, N_("Unicode") },
 
@@ -186,15 +186,15 @@ static const EncodingData encodings_table[] =
        { "WINDOWS-1258", N_("Vietnamese") }
 };
 
-static GtefEncoding *
-_gtef_encoding_new_full (const gchar *charset,
+static TeplEncoding *
+_tepl_encoding_new_full (const gchar *charset,
                         const gchar *translated_name)
 {
-       GtefEncoding *enc;
+       TeplEncoding *enc;
 
        g_assert (charset != NULL);
 
-       enc = g_new (GtefEncoding, 1);
+       enc = g_new (TeplEncoding, 1);
        enc->charset = g_strdup (charset);
        enc->translated_name = g_strdup (translated_name);
 
@@ -202,29 +202,29 @@ _gtef_encoding_new_full (const gchar *charset,
 }
 
 /**
- * gtef_encoding_copy:
- * @enc: a #GtefEncoding.
+ * tepl_encoding_copy:
+ * @enc: a #TeplEncoding.
  *
  * Returns: (transfer full): a copy of @enc.
  * Since: 2.0
  */
-GtefEncoding *
-gtef_encoding_copy (const GtefEncoding *enc)
+TeplEncoding *
+tepl_encoding_copy (const TeplEncoding *enc)
 {
        g_return_val_if_fail (enc != NULL, NULL);
 
-       return _gtef_encoding_new_full (enc->charset,
+       return _tepl_encoding_new_full (enc->charset,
                                        enc->translated_name);
 }
 
 /**
- * gtef_encoding_free:
- * @enc: (nullable): a #GtefEncoding, or %NULL.
+ * tepl_encoding_free:
+ * @enc: (nullable): a #TeplEncoding, or %NULL.
  *
  * Since: 2.0
  */
 void
-gtef_encoding_free (GtefEncoding *enc)
+tepl_encoding_free (TeplEncoding *enc)
 {
        if (enc != NULL)
        {
@@ -273,17 +273,17 @@ get_translated_name (const gchar *charset)
 }
 
 /**
- * gtef_encoding_new:
+ * tepl_encoding_new:
  * @charset: a character set.
  *
- * Creates a new #GtefEncoding from a character set such as "UTF-8" or
+ * Creates a new #TeplEncoding from a character set such as "UTF-8" or
  * "ISO-8859-1".
  *
- * Returns: the new #GtefEncoding. Free with gtef_encoding_free().
+ * Returns: the new #TeplEncoding. Free with tepl_encoding_free().
  * Since: 2.0
  */
-GtefEncoding *
-gtef_encoding_new (const gchar *charset)
+TeplEncoding *
+tepl_encoding_new (const gchar *charset)
 {
        const gchar *translated_name;
 
@@ -291,56 +291,56 @@ gtef_encoding_new (const gchar *charset)
 
        translated_name = get_translated_name (charset);
 
-       return _gtef_encoding_new_full (charset, translated_name);
+       return _tepl_encoding_new_full (charset, translated_name);
 }
 
 /**
- * gtef_encoding_new_utf8:
+ * tepl_encoding_new_utf8:
  *
- * Creates a new #GtefEncoding with the "UTF-8" character set.
+ * Creates a new #TeplEncoding with the "UTF-8" character set.
  *
- * Returns: the new #GtefEncoding. Free with gtef_encoding_free().
+ * Returns: the new #TeplEncoding. Free with tepl_encoding_free().
  * Since: 2.0
  */
-GtefEncoding *
-gtef_encoding_new_utf8 (void)
+TeplEncoding *
+tepl_encoding_new_utf8 (void)
 {
-       return gtef_encoding_new (UTF8_CANONICAL_FORM);
+       return tepl_encoding_new (UTF8_CANONICAL_FORM);
 }
 
 /**
- * gtef_encoding_new_from_locale:
+ * tepl_encoding_new_from_locale:
  *
- * Creates a new #GtefEncoding from the current locale, as returned by
+ * Creates a new #TeplEncoding from the current locale, as returned by
  * g_get_charset().
  *
- * Returns: the new #GtefEncoding. Free with gtef_encoding_free().
+ * Returns: the new #TeplEncoding. Free with tepl_encoding_free().
  * Since: 2.0
  */
-GtefEncoding *
-gtef_encoding_new_from_locale (void)
+TeplEncoding *
+tepl_encoding_new_from_locale (void)
 {
        const gchar *locale_charset;
 
        if (g_get_charset (&locale_charset))
        {
-               return gtef_encoding_new_utf8 ();
+               return tepl_encoding_new_utf8 ();
        }
 
-       return gtef_encoding_new (locale_charset);
+       return tepl_encoding_new (locale_charset);
 }
 
 /**
- * gtef_encoding_get_charset:
- * @enc: a #GtefEncoding.
+ * tepl_encoding_get_charset:
+ * @enc: a #TeplEncoding.
  *
- * Gets the character set of the #GtefEncoding, such as "UTF-8" or "ISO-8859-1".
+ * Gets the character set of the #TeplEncoding, such as "UTF-8" or "ISO-8859-1".
  *
- * Returns: the character set of the #GtefEncoding.
+ * Returns: the character set of the #TeplEncoding.
  * Since: 2.0
  */
 const gchar *
-gtef_encoding_get_charset (const GtefEncoding *enc)
+tepl_encoding_get_charset (const TeplEncoding *enc)
 {
        g_return_val_if_fail (enc != NULL, NULL);
        g_assert (enc->charset != NULL);
@@ -349,16 +349,16 @@ gtef_encoding_get_charset (const GtefEncoding *enc)
 }
 
 /**
- * gtef_encoding_get_name:
- * @enc: a #GtefEncoding.
+ * tepl_encoding_get_name:
+ * @enc: a #TeplEncoding.
  *
- * Gets the name of the #GtefEncoding such as "Unicode" or "Western".
+ * Gets the name of the #TeplEncoding such as "Unicode" or "Western".
  *
- * Returns: the name of the #GtefEncoding.
+ * Returns: the name of the #TeplEncoding.
  * Since: 2.0
  */
 const gchar *
-gtef_encoding_get_name (const GtefEncoding *enc)
+tepl_encoding_get_name (const TeplEncoding *enc)
 {
        g_return_val_if_fail (enc != NULL, NULL);
 
@@ -366,8 +366,8 @@ gtef_encoding_get_name (const GtefEncoding *enc)
 }
 
 /**
- * gtef_encoding_to_string:
- * @enc: a #GtefEncoding.
+ * tepl_encoding_to_string:
+ * @enc: a #TeplEncoding.
  *
  * Returns the encoding name with the charset in parenthesis, for example
  * "Unicode (UTF-8)". If the name is unknown, just the charset is returned.
@@ -376,7 +376,7 @@ gtef_encoding_get_name (const GtefEncoding *enc)
  * Since: 2.0
  */
 gchar *
-gtef_encoding_to_string (const GtefEncoding *enc)
+tepl_encoding_to_string (const TeplEncoding *enc)
 {
        g_return_val_if_fail (enc != NULL, NULL);
        g_assert (enc->charset != NULL);
@@ -390,14 +390,14 @@ gtef_encoding_to_string (const GtefEncoding *enc)
 }
 
 /**
- * gtef_encoding_is_utf8:
- * @enc: a #GtefEncoding.
+ * tepl_encoding_is_utf8:
+ * @enc: a #TeplEncoding.
  *
  * Returns: whether @enc is a UTF-8 encoding.
  * Since: 2.0
  */
 gboolean
-gtef_encoding_is_utf8 (const GtefEncoding *enc)
+tepl_encoding_is_utf8 (const TeplEncoding *enc)
 {
        g_return_val_if_fail (enc != NULL, FALSE);
        g_assert (enc->charset != NULL);
@@ -406,16 +406,16 @@ gtef_encoding_is_utf8 (const GtefEncoding *enc)
 }
 
 /**
- * gtef_encoding_equals:
- * @enc1: (nullable): a #GtefEncoding, or %NULL.
- * @enc2: (nullable): a #GtefEncoding, or %NULL.
+ * tepl_encoding_equals:
+ * @enc1: (nullable): a #TeplEncoding, or %NULL.
+ * @enc2: (nullable): a #TeplEncoding, or %NULL.
  *
  * Returns: whether @enc1 and @enc2 are equals.
  * Since: 2.0
  */
 gboolean
-gtef_encoding_equals (const GtefEncoding *enc1,
-                     const GtefEncoding *enc2)
+tepl_encoding_equals (const TeplEncoding *enc1,
+                     const TeplEncoding *enc2)
 {
        if (enc1 == NULL || enc2 == NULL)
        {
@@ -425,8 +425,8 @@ gtef_encoding_equals (const GtefEncoding *enc1,
        g_assert (enc1->charset != NULL);
        g_assert (enc2->charset != NULL);
 
-       if (gtef_encoding_is_utf8 (enc1) &&
-           gtef_encoding_is_utf8 (enc2))
+       if (tepl_encoding_is_utf8 (enc1) &&
+           tepl_encoding_is_utf8 (enc2))
        {
                return TRUE;
        }
@@ -435,16 +435,16 @@ gtef_encoding_equals (const GtefEncoding *enc1,
 }
 
 /**
- * gtef_encoding_get_all:
+ * tepl_encoding_get_all:
  *
- * Gets a list of all encodings known by #GtefEncoding.
+ * Gets a list of all encodings known by #TeplEncoding.
  *
- * Returns: (transfer full) (element-type GtefEncoding): a list of
- * #GtefEncoding's.
+ * Returns: (transfer full) (element-type TeplEncoding): a list of
+ * #TeplEncoding's.
  * Since: 2.0
  */
 GSList *
-gtef_encoding_get_all (void)
+tepl_encoding_get_all (void)
 {
        GSList *list = NULL;
        gint i;
@@ -452,9 +452,9 @@ gtef_encoding_get_all (void)
        for (i = G_N_ELEMENTS (encodings_table) - 1; i >= 0; i--)
        {
                const EncodingData *cur_data = encodings_table + i;
-               GtefEncoding *enc;
+               TeplEncoding *enc;
 
-               enc = _gtef_encoding_new_full (cur_data->charset,
+               enc = _tepl_encoding_new_full (cur_data->charset,
                                               _(cur_data->name_to_translate));
 
                list = g_slist_prepend (list, enc);
@@ -465,15 +465,15 @@ gtef_encoding_get_all (void)
 
 static gboolean
 present_in_list (const GSList       *list,
-                const GtefEncoding *enc)
+                const TeplEncoding *enc)
 {
        const GSList *l;
 
        for (l = list; l != NULL; l = l->next)
        {
-               const GtefEncoding *cur_enc = l->data;
+               const TeplEncoding *cur_enc = l->data;
 
-               if (gtef_encoding_equals (cur_enc, enc))
+               if (tepl_encoding_equals (cur_enc, enc))
                {
                        return TRUE;
                }
@@ -490,11 +490,11 @@ remove_duplicates_keep_first (GSList *list)
 
        for (l = list; l != NULL; l = l->next)
        {
-               GtefEncoding *cur_enc = l->data;
+               TeplEncoding *cur_enc = l->data;
 
                if (present_in_list (new_list, cur_enc))
                {
-                       gtef_encoding_free (cur_enc);
+                       tepl_encoding_free (cur_enc);
                }
                else
                {
@@ -518,11 +518,11 @@ remove_duplicates_keep_last (GSList *list)
 
        for (l = list; l != NULL; l = l->next)
        {
-               GtefEncoding *cur_enc = l->data;
+               TeplEncoding *cur_enc = l->data;
 
                if (present_in_list (new_list, cur_enc))
                {
-                       gtef_encoding_free (cur_enc);
+                       tepl_encoding_free (cur_enc);
                }
                else
                {
@@ -535,27 +535,27 @@ remove_duplicates_keep_last (GSList *list)
 }
 
 /*
- * _gtef_encoding_remove_duplicates:
- * @list: (transfer full) (element-type GtefEncoding): a list of
- * #GtefEncoding's.
- * @removal_type: the #GtefEncodingDuplicates.
+ * _tepl_encoding_remove_duplicates:
+ * @list: (transfer full) (element-type TeplEncoding): a list of
+ * #TeplEncoding's.
+ * @removal_type: the #TeplEncodingDuplicates.
  *
  * A convenience function to remove duplicated encodings in a list.
  *
- * Returns: (transfer full) (element-type GtefEncoding): the new start of the
+ * Returns: (transfer full) (element-type TeplEncoding): the new start of the
  * #GSList.
  * Since: 2.0
  */
 GSList *
-_gtef_encoding_remove_duplicates (GSList                 *list,
-                                 GtefEncodingDuplicates  removal_type)
+_tepl_encoding_remove_duplicates (GSList                 *list,
+                                 TeplEncodingDuplicates  removal_type)
 {
        switch (removal_type)
        {
-               case GTEF_ENCODING_DUPLICATES_KEEP_FIRST:
+               case TEPL_ENCODING_DUPLICATES_KEEP_FIRST:
                        return remove_duplicates_keep_first (list);
 
-               case GTEF_ENCODING_DUPLICATES_KEEP_LAST:
+               case TEPL_ENCODING_DUPLICATES_KEEP_LAST:
                        return remove_duplicates_keep_last (list);
 
                default:
@@ -565,7 +565,7 @@ _gtef_encoding_remove_duplicates (GSList                 *list,
        g_return_val_if_reached (list);
 }
 
-/* Returns: (transfer full) (element-type GtefEncoding). */
+/* Returns: (transfer full) (element-type TeplEncoding). */
 static GSList *
 strv_to_list (const gchar * const *enc_str)
 {
@@ -575,20 +575,20 @@ strv_to_list (const gchar * const *enc_str)
        for (p = (gchar **)enc_str; p != NULL && *p != NULL; p++)
        {
                const gchar *charset = *p;
-               GtefEncoding *enc;
+               TeplEncoding *enc;
 
                if (g_str_equal (charset, "CURRENT"))
                {
-                       enc = gtef_encoding_new_from_locale ();
+                       enc = tepl_encoding_new_from_locale ();
                }
                else
                {
-                       enc = gtef_encoding_new (charset);
+                       enc = tepl_encoding_new (charset);
                }
 
                if (present_in_list (list, enc))
                {
-                       gtef_encoding_free (enc);
+                       tepl_encoding_free (enc);
                }
                else
                {
@@ -600,7 +600,7 @@ strv_to_list (const gchar * const *enc_str)
 }
 
 /**
- * gtef_encoding_get_default_candidates:
+ * tepl_encoding_get_default_candidates:
  *
  * Gets the list of default candidate encodings to try when loading a file. See
  * gtk_source_file_loader_set_candidate_encodings().
@@ -609,15 +609,15 @@ strv_to_list (const gchar * const *enc_str)
  * language, country and default encoding). The UTF-8 encoding and the current
  * locale encoding are guaranteed to be present in the returned list.
  *
- * Returns: (transfer full) (element-type GtefEncoding): the list of default
+ * Returns: (transfer full) (element-type TeplEncoding): the list of default
  * candidate encodings.
  * Since: 2.0
  */
-/* TODO s/gtk_source_file_loader_set_candidate_encodings/gtef_.../ when the
+/* TODO s/gtk_source_file_loader_set_candidate_encodings/tepl_.../ when the
  * latter exists.
  */
 GSList *
-gtef_encoding_get_default_candidates (void)
+tepl_encoding_get_default_candidates (void)
 {
        const gchar *encodings_str;
        const gchar *encodings_str_translated;
@@ -626,13 +626,13 @@ gtef_encoding_get_default_candidates (void)
        GSList *encodings_list;
        GError *error = NULL;
 
-       /* Translators: This is the sorted list of encodings used by Gtef for
+       /* Translators: This is the sorted list of encodings used by Tepl 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 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 in your country will rarely
-        * use it. 'CURRENT' is a magic value used by Gtef and it represents
+        * use it. 'CURRENT' is a magic value used by Tepl and it represents
         * the encoding for the current locale, so please don't translate the
         * 'CURRENT' term. Keep the same format: square brackets, single quotes,
         * commas.
@@ -676,10 +676,10 @@ gtef_encoding_get_default_candidates (void)
        g_free ((gpointer) encodings_strv);
 
        /* Ensure that UTF-8 and CURRENT are present. */
-       encodings_list = g_slist_prepend (encodings_list, gtef_encoding_new_from_locale ());
-       encodings_list = g_slist_prepend (encodings_list, gtef_encoding_new_utf8 ());
-       encodings_list = _gtef_encoding_remove_duplicates (encodings_list,
-                                                          GTEF_ENCODING_DUPLICATES_KEEP_LAST);
+       encodings_list = g_slist_prepend (encodings_list, tepl_encoding_new_from_locale ());
+       encodings_list = g_slist_prepend (encodings_list, tepl_encoding_new_utf8 ());
+       encodings_list = _tepl_encoding_remove_duplicates (encodings_list,
+                                                          TEPL_ENCODING_DUPLICATES_KEEP_LAST);
 
        g_variant_unref (encodings_variant);
        return encodings_list;
diff --git a/gtef/gtef-encoding.h b/gtef/gtef-encoding.h
index b37ae41..71a92d9 100644
--- a/gtef/gtef-encoding.h
+++ b/gtef/gtef-encoding.h
@@ -1,15 +1,15 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2002-2005 - Paolo Maggi
  * Copyright 2014, 2015, 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -18,47 +18,47 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_ENCODING_H
-#define GTEF_ENCODING_H
+#ifndef TEPL_ENCODING_H
+#define TEPL_ENCODING_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <glib-object.h>
-#include <gtef/gtef-types.h>
+#include <tepl/tepl-types.h>
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_ENCODING (gtef_encoding_get_type ())
+#define TEPL_TYPE_ENCODING (tepl_encoding_get_type ())
 
-GType                  gtef_encoding_get_type                  (void) G_GNUC_CONST;
+GType                  tepl_encoding_get_type                  (void) G_GNUC_CONST;
 
-GtefEncoding *         gtef_encoding_new                       (const gchar *charset);
+TeplEncoding *         tepl_encoding_new                       (const gchar *charset);
 
-GtefEncoding *         gtef_encoding_new_utf8                  (void);
+TeplEncoding *         tepl_encoding_new_utf8                  (void);
 
-GtefEncoding *         gtef_encoding_new_from_locale           (void);
+TeplEncoding *         tepl_encoding_new_from_locale           (void);
 
-GtefEncoding *         gtef_encoding_copy                      (const GtefEncoding *enc);
+TeplEncoding *         tepl_encoding_copy                      (const TeplEncoding *enc);
 
-void                   gtef_encoding_free                      (GtefEncoding *enc);
+void                   tepl_encoding_free                      (TeplEncoding *enc);
 
-const gchar *          gtef_encoding_get_charset               (const GtefEncoding *enc);
+const gchar *          tepl_encoding_get_charset               (const TeplEncoding *enc);
 
-const gchar *          gtef_encoding_get_name                  (const GtefEncoding *enc);
+const gchar *          tepl_encoding_get_name                  (const TeplEncoding *enc);
 
-gchar *                        gtef_encoding_to_string                 (const GtefEncoding *enc);
+gchar *                        tepl_encoding_to_string                 (const TeplEncoding *enc);
 
-gboolean               gtef_encoding_is_utf8                   (const GtefEncoding *enc);
+gboolean               tepl_encoding_is_utf8                   (const TeplEncoding *enc);
 
-gboolean               gtef_encoding_equals                    (const GtefEncoding *enc1,
-                                                                const GtefEncoding *enc2);
+gboolean               tepl_encoding_equals                    (const TeplEncoding *enc1,
+                                                                const TeplEncoding *enc2);
 
-GSList *               gtef_encoding_get_all                   (void);
+GSList *               tepl_encoding_get_all                   (void);
 
-GSList *               gtef_encoding_get_default_candidates    (void);
+GSList *               tepl_encoding_get_default_candidates    (void);
 
 G_END_DECLS
 
-#endif  /* GTEF_ENCODING_H */
+#endif  /* TEPL_ENCODING_H */
diff --git a/gtef/gtef-enum-types.c.template b/gtef/gtef-enum-types.c.template
index 96165b5..a54514d 100644
--- a/gtef/gtef-enum-types.c.template
+++ b/gtef/gtef-enum-types.c.template
@@ -1,5 +1,5 @@
 /*** BEGIN file-header ***/
-#include "gtef-enum-types.h"
+#include "tepl-enum-types.h"
 
 /*** END file-header ***/
 
diff --git a/gtef/gtef-enum-types.h.template b/gtef/gtef-enum-types.h.template
index 59cb14a..d3fb363 100644
--- a/gtef/gtef-enum-types.h.template
+++ b/gtef/gtef-enum-types.h.template
@@ -1,9 +1,9 @@
 /*** BEGIN file-header ***/
-#ifndef GTEF_ENUM_TYPES_H
-#define GTEF_ENUM_TYPES_H
+#ifndef TEPL_ENUM_TYPES_H
+#define TEPL_ENUM_TYPES_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <glib-object.h>
@@ -18,7 +18,7 @@ G_BEGIN_DECLS
 /*** END file-production ***/
 
 /*** BEGIN enumeration-production ***/
-#define GTEF_TYPE_@ENUMSHORT@ (@enum_name@_get_type())
+#define TEPL_TYPE_@ENUMSHORT@ (@enum_name@_get_type())
 GType @enum_name@_get_type (void);
 
 /*** END enumeration-production ***/
@@ -26,5 +26,5 @@ GType @enum_name@_get_type (void);
 /*** BEGIN file-tail ***/
 G_END_DECLS
 
-#endif /* GTEF_ENUM_TYPES_H */
+#endif /* TEPL_ENUM_TYPES_H */
 /*** END file-tail ***/
diff --git a/gtef/gtef-file-content-loader.c b/gtef/gtef-file-content-loader.c
index b586595..dd1f4d3 100644
--- a/gtef/gtef-file-content-loader.c
+++ b/gtef/gtef-file-content-loader.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -18,9 +18,9 @@
  */
 
 #include "config.h"
-#include "gtef-file-content-loader.h"
+#include "tepl-file-content-loader.h"
 #include <glib/gi18n-lib.h>
-#include "gtef-file-loader.h" /* For GTEF_FILE_LOADER_ERROR */
+#include "tepl-file-loader.h" /* For TEPL_FILE_LOADER_ERROR */
 
 /* Just loads the content of a GFile, with a max size and a progress callback.
  * The progress callback is called after each chunk read. The chunk size can be
@@ -30,7 +30,7 @@
 
 typedef struct _TaskData TaskData;
 
-struct _GtefFileContentLoaderPrivate
+struct _TeplFileContentLoaderPrivate
 {
        GFile *location;
 
@@ -58,7 +58,7 @@ struct _TaskData
        goffset total_size;
 };
 
-G_DEFINE_TYPE_WITH_PRIVATE (GtefFileContentLoader, _gtef_file_content_loader, G_TYPE_OBJECT)
+G_DEFINE_TYPE_WITH_PRIVATE (TeplFileContentLoader, _tepl_file_content_loader, G_TYPE_OBJECT)
 
 /* Prototypes */
 static void read_next_chunk (GTask *task);
@@ -90,7 +90,7 @@ task_data_free (gpointer data)
 }
 
 static void
-reset (GtefFileContentLoader *loader)
+reset (TeplFileContentLoader *loader)
 {
        g_clear_object (&loader->priv->task);
        g_clear_object (&loader->priv->info);
@@ -106,56 +106,56 @@ reset (GtefFileContentLoader *loader)
 }
 
 static void
-_gtef_file_content_loader_dispose (GObject *object)
+_tepl_file_content_loader_dispose (GObject *object)
 {
-       GtefFileContentLoader *loader = GTEF_FILE_CONTENT_LOADER (object);
+       TeplFileContentLoader *loader = TEPL_FILE_CONTENT_LOADER (object);
 
        reset (loader);
        g_clear_object (&loader->priv->location);
 
-       G_OBJECT_CLASS (_gtef_file_content_loader_parent_class)->dispose (object);
+       G_OBJECT_CLASS (_tepl_file_content_loader_parent_class)->dispose (object);
 }
 
 static void
-_gtef_file_content_loader_class_init (GtefFileContentLoaderClass *klass)
+_tepl_file_content_loader_class_init (TeplFileContentLoaderClass *klass)
 {
        GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-       object_class->dispose = _gtef_file_content_loader_dispose;
+       object_class->dispose = _tepl_file_content_loader_dispose;
 }
 
 static void
-_gtef_file_content_loader_init (GtefFileContentLoader *loader)
+_tepl_file_content_loader_init (TeplFileContentLoader *loader)
 {
-       loader->priv = _gtef_file_content_loader_get_instance_private (loader);
+       loader->priv = _tepl_file_content_loader_get_instance_private (loader);
 
-       loader->priv->max_size = GTEF_FILE_CONTENT_LOADER_DEFAULT_MAX_SIZE;
-       loader->priv->chunk_size = GTEF_FILE_CONTENT_LOADER_DEFAULT_CHUNK_SIZE;
+       loader->priv->max_size = TEPL_FILE_CONTENT_LOADER_DEFAULT_MAX_SIZE;
+       loader->priv->chunk_size = TEPL_FILE_CONTENT_LOADER_DEFAULT_CHUNK_SIZE;
 }
 
-GtefFileContentLoader *
-_gtef_file_content_loader_new_from_file (GFile *location)
+TeplFileContentLoader *
+_tepl_file_content_loader_new_from_file (GFile *location)
 {
-       GtefFileContentLoader *loader;
+       TeplFileContentLoader *loader;
 
        g_return_val_if_fail (G_IS_FILE (location), NULL);
 
-       loader = g_object_new (GTEF_TYPE_FILE_CONTENT_LOADER, NULL);
+       loader = g_object_new (TEPL_TYPE_FILE_CONTENT_LOADER, NULL);
        loader->priv->location = g_object_ref (location);
 
        return loader;
 }
 
 /*
- * _gtef_file_content_loader_set_max_size:
- * @loader: a #GtefFileContentLoader.
+ * _tepl_file_content_loader_set_max_size:
+ * @loader: a #TeplFileContentLoader.
  * @max_size: the new maximum size, or -1 for unlimited.
  */
 void
-_gtef_file_content_loader_set_max_size (GtefFileContentLoader *loader,
+_tepl_file_content_loader_set_max_size (TeplFileContentLoader *loader,
                                        gint64                 max_size)
 {
-       g_return_if_fail (GTEF_IS_FILE_CONTENT_LOADER (loader));
+       g_return_if_fail (TEPL_IS_FILE_CONTENT_LOADER (loader));
        g_return_if_fail (max_size >= -1);
        g_return_if_fail (loader->priv->task == NULL);
 
@@ -163,10 +163,10 @@ _gtef_file_content_loader_set_max_size (GtefFileContentLoader *loader,
 }
 
 void
-_gtef_file_content_loader_set_chunk_size (GtefFileContentLoader *loader,
+_tepl_file_content_loader_set_chunk_size (TeplFileContentLoader *loader,
                                          gint64                 chunk_size)
 {
-       g_return_if_fail (GTEF_IS_FILE_CONTENT_LOADER (loader));
+       g_return_if_fail (TEPL_IS_FILE_CONTENT_LOADER (loader));
        g_return_if_fail (chunk_size >= 1);
 
        loader->priv->chunk_size = chunk_size;
@@ -214,7 +214,7 @@ read_next_chunk_cb (GObject      *source_object,
 {
        GInputStream *input_stream = G_INPUT_STREAM (source_object);
        GTask *task = G_TASK (user_data);
-       GtefFileContentLoader *loader;
+       TeplFileContentLoader *loader;
        TaskData *task_data;
        GBytes *chunk;
        gsize chunk_size;
@@ -280,7 +280,7 @@ read_next_chunk_cb (GObject      *source_object,
 static void
 read_next_chunk (GTask *task)
 {
-       GtefFileContentLoader *loader;
+       TeplFileContentLoader *loader;
        TaskData *task_data;
 
        loader = g_task_get_source_object (task);
@@ -312,7 +312,7 @@ static void
 check_file_size (GTask *task)
 {
        TaskData *task_data;
-       GtefFileContentLoader *loader;
+       TeplFileContentLoader *loader;
 
        task_data = g_task_get_task_data (task);
        loader = g_task_get_source_object (task);
@@ -329,8 +329,8 @@ check_file_size (GTask *task)
                        max_size_str = g_format_size (loader->priv->max_size);
 
                        g_task_return_new_error (task,
-                                                GTEF_FILE_LOADER_ERROR,
-                                                GTEF_FILE_LOADER_ERROR_TOO_BIG,
+                                                TEPL_FILE_LOADER_ERROR,
+                                                TEPL_FILE_LOADER_ERROR_TOO_BIG,
                                                 _("The file is too big. Maximum %s can be loaded."),
                                                 max_size_str);
 
@@ -350,7 +350,7 @@ query_info_on_location_cb (GObject      *source_object,
 {
        GFile *location = G_FILE (source_object);
        GTask *task = G_TASK (user_data);
-       GtefFileContentLoader *loader;
+       TeplFileContentLoader *loader;
        GError *error = NULL;
 
        loader = g_task_get_source_object (task);
@@ -370,7 +370,7 @@ query_info_on_location_cb (GObject      *source_object,
 static void
 query_info_on_location (GTask *task)
 {
-       GtefFileContentLoader *loader;
+       TeplFileContentLoader *loader;
 
        loader = g_task_get_source_object (task);
 
@@ -395,7 +395,7 @@ query_info_on_file_input_stream_cb (GObject      *source_object,
 {
        GFileInputStream *file_input_stream = G_FILE_INPUT_STREAM (source_object);
        GTask *task = G_TASK (user_data);
-       GtefFileContentLoader *loader;
+       TeplFileContentLoader *loader;
        GFileInfo *info;
        GError *error = NULL;
 
@@ -466,7 +466,7 @@ open_file_cb (GObject      *source_object,
 static void
 open_file (GTask *task)
 {
-       GtefFileContentLoader *loader;
+       TeplFileContentLoader *loader;
 
        loader = g_task_get_source_object (task);
 
@@ -478,8 +478,8 @@ open_file (GTask *task)
 }
 
 /*
- * _gtef_file_content_loader_load_async:
- * @loader: a #GtefFileContentLoader.
+ * _tepl_file_content_loader_load_async:
+ * @loader: a #TeplFileContentLoader.
  * @io_priority: the I/O priority of the request. E.g. %G_PRIORITY_LOW,
  *   %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
  * @cancellable: (nullable): optional #GCancellable object, %NULL to ignore.
@@ -500,7 +500,7 @@ open_file (GTask *task)
  * https://bugzilla.gnome.org/show_bug.cgi?id=616044
  */
 void
-_gtef_file_content_loader_load_async (GtefFileContentLoader *loader,
+_tepl_file_content_loader_load_async (TeplFileContentLoader *loader,
                                      gint                   io_priority,
                                      GCancellable          *cancellable,
                                      GFileProgressCallback  progress_callback,
@@ -511,13 +511,13 @@ _gtef_file_content_loader_load_async (GtefFileContentLoader *loader,
 {
        TaskData *task_data;
 
-       g_return_if_fail (GTEF_IS_FILE_CONTENT_LOADER (loader));
+       g_return_if_fail (TEPL_IS_FILE_CONTENT_LOADER (loader));
        g_return_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable));
 
        if (loader->priv->task != NULL)
        {
                g_warning ("Several load operations in parallel with the same "
-                          "GtefFileContentLoader is not possible and doesn't make sense.");
+                          "TeplFileContentLoader is not possible and doesn't make sense.");
                return;
        }
 
@@ -537,26 +537,26 @@ _gtef_file_content_loader_load_async (GtefFileContentLoader *loader,
 }
 
 /*
- * _gtef_file_content_loader_load_finish:
- * @loader: a #GtefFileContentLoader.
+ * _tepl_file_content_loader_load_finish:
+ * @loader: a #TeplFileContentLoader.
  * @result: a #GAsyncResult.
  * @error: a #GError, or %NULL.
  *
- * Finishes a file loading started with _gtef_file_content_loader_load_async().
+ * Finishes a file loading started with _tepl_file_content_loader_load_async().
  *
- * If the file is too big, the %GTEF_FILE_LOADER_ERROR_TOO_BIG error is
+ * If the file is too big, the %TEPL_FILE_LOADER_ERROR_TOO_BIG error is
  * returned.
  *
  * Returns: whether the content has been loaded successfully.
  */
 gboolean
-_gtef_file_content_loader_load_finish (GtefFileContentLoader  *loader,
+_tepl_file_content_loader_load_finish (TeplFileContentLoader  *loader,
                                       GAsyncResult           *result,
                                       GError                **error)
 {
        gboolean ok;
 
-       g_return_val_if_fail (GTEF_IS_FILE_CONTENT_LOADER (loader), FALSE);
+       g_return_val_if_fail (TEPL_IS_FILE_CONTENT_LOADER (loader), FALSE);
        g_return_val_if_fail (g_task_is_valid (result, loader), FALSE);
        g_return_val_if_fail (G_TASK (result) == loader->priv->task, FALSE);
        g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
@@ -574,9 +574,9 @@ _gtef_file_content_loader_load_finish (GtefFileContentLoader  *loader,
  * loaded by the last load operation on @loader.
  */
 GQueue *
-_gtef_file_content_loader_get_content (GtefFileContentLoader *loader)
+_tepl_file_content_loader_get_content (TeplFileContentLoader *loader)
 {
-       g_return_val_if_fail (GTEF_IS_FILE_CONTENT_LOADER (loader), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE_CONTENT_LOADER (loader), NULL);
 
        if (loader->priv->content == NULL)
        {
@@ -588,18 +588,18 @@ _gtef_file_content_loader_get_content (GtefFileContentLoader *loader)
 
 /* Should be called only after a successful load operation. */
 const gchar *
-_gtef_file_content_loader_get_etag (GtefFileContentLoader *loader)
+_tepl_file_content_loader_get_etag (TeplFileContentLoader *loader)
 {
-       g_return_val_if_fail (GTEF_IS_FILE_CONTENT_LOADER (loader), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE_CONTENT_LOADER (loader), NULL);
 
        return loader->priv->etag;
 }
 
 /* Should be called only after a successful load operation. */
 gboolean
-_gtef_file_content_loader_get_readonly (GtefFileContentLoader *loader)
+_tepl_file_content_loader_get_readonly (TeplFileContentLoader *loader)
 {
-       g_return_val_if_fail (GTEF_IS_FILE_CONTENT_LOADER (loader), FALSE);
+       g_return_val_if_fail (TEPL_IS_FILE_CONTENT_LOADER (loader), FALSE);
        g_return_val_if_fail (loader->priv->info != NULL, FALSE);
 
        if (g_file_info_has_attribute (loader->priv->info, G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE))
diff --git a/gtef/gtef-file-content-loader.h b/gtef/gtef-file-content-loader.h
index 147e2cb..2ac214d 100644
--- a/gtef/gtef-file-content-loader.h
+++ b/gtef/gtef-file-content-loader.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,58 +17,58 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_FILE_CONTENT_LOADER_H
-#define GTEF_FILE_CONTENT_LOADER_H
+#ifndef TEPL_FILE_CONTENT_LOADER_H
+#define TEPL_FILE_CONTENT_LOADER_H
 
 #include <gio/gio.h>
 
 G_BEGIN_DECLS
 
 /* 50MB, not 50MiB because the UI shows the value in MB. */
-#define GTEF_FILE_CONTENT_LOADER_DEFAULT_MAX_SIZE (50 * 1000 * 1000)
+#define TEPL_FILE_CONTENT_LOADER_DEFAULT_MAX_SIZE (50 * 1000 * 1000)
 
 /* Should be small enough for slow network connections, to report progress. */
-#define GTEF_FILE_CONTENT_LOADER_DEFAULT_CHUNK_SIZE (8 * 1024)
+#define TEPL_FILE_CONTENT_LOADER_DEFAULT_CHUNK_SIZE (8 * 1024)
 
-#define GTEF_TYPE_FILE_CONTENT_LOADER             (_gtef_file_content_loader_get_type ())
-#define GTEF_FILE_CONTENT_LOADER(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), 
GTEF_TYPE_FILE_CONTENT_LOADER, GtefFileContentLoader))
-#define GTEF_FILE_CONTENT_LOADER_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), 
GTEF_TYPE_FILE_CONTENT_LOADER, GtefFileContentLoaderClass))
-#define GTEF_IS_FILE_CONTENT_LOADER(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), 
GTEF_TYPE_FILE_CONTENT_LOADER))
-#define GTEF_IS_FILE_CONTENT_LOADER_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), 
GTEF_TYPE_FILE_CONTENT_LOADER))
-#define GTEF_FILE_CONTENT_LOADER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), 
GTEF_TYPE_FILE_CONTENT_LOADER, GtefFileContentLoaderClass))
+#define TEPL_TYPE_FILE_CONTENT_LOADER             (_tepl_file_content_loader_get_type ())
+#define TEPL_FILE_CONTENT_LOADER(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), 
TEPL_TYPE_FILE_CONTENT_LOADER, TeplFileContentLoader))
+#define TEPL_FILE_CONTENT_LOADER_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), 
TEPL_TYPE_FILE_CONTENT_LOADER, TeplFileContentLoaderClass))
+#define TEPL_IS_FILE_CONTENT_LOADER(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), 
TEPL_TYPE_FILE_CONTENT_LOADER))
+#define TEPL_IS_FILE_CONTENT_LOADER_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), 
TEPL_TYPE_FILE_CONTENT_LOADER))
+#define TEPL_FILE_CONTENT_LOADER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), 
TEPL_TYPE_FILE_CONTENT_LOADER, TeplFileContentLoaderClass))
 
-typedef struct _GtefFileContentLoader         GtefFileContentLoader;
-typedef struct _GtefFileContentLoaderClass    GtefFileContentLoaderClass;
-typedef struct _GtefFileContentLoaderPrivate  GtefFileContentLoaderPrivate;
+typedef struct _TeplFileContentLoader         TeplFileContentLoader;
+typedef struct _TeplFileContentLoaderClass    TeplFileContentLoaderClass;
+typedef struct _TeplFileContentLoaderPrivate  TeplFileContentLoaderPrivate;
 
-struct _GtefFileContentLoader
+struct _TeplFileContentLoader
 {
        GObject parent;
 
-       GtefFileContentLoaderPrivate *priv;
+       TeplFileContentLoaderPrivate *priv;
 };
 
-struct _GtefFileContentLoaderClass
+struct _TeplFileContentLoaderClass
 {
        GObjectClass parent_class;
 };
 
 G_GNUC_INTERNAL
-GType                  _gtef_file_content_loader_get_type              (void);
+GType                  _tepl_file_content_loader_get_type              (void);
 
 G_GNUC_INTERNAL
-GtefFileContentLoader *        _gtef_file_content_loader_new_from_file         (GFile *location);
+TeplFileContentLoader *        _tepl_file_content_loader_new_from_file         (GFile *location);
 
 G_GNUC_INTERNAL
-void                   _gtef_file_content_loader_set_max_size          (GtefFileContentLoader *loader,
+void                   _tepl_file_content_loader_set_max_size          (TeplFileContentLoader *loader,
                                                                         gint64                 max_size);
 
 G_GNUC_INTERNAL
-void                   _gtef_file_content_loader_set_chunk_size        (GtefFileContentLoader *loader,
+void                   _tepl_file_content_loader_set_chunk_size        (TeplFileContentLoader *loader,
                                                                         gint64                 chunk_size);
 
 G_GNUC_INTERNAL
-void                   _gtef_file_content_loader_load_async            (GtefFileContentLoader *loader,
+void                   _tepl_file_content_loader_load_async            (TeplFileContentLoader *loader,
                                                                         gint                   io_priority,
                                                                         GCancellable          *cancellable,
                                                                         GFileProgressCallback  
progress_callback,
@@ -78,19 +78,19 @@ void                        _gtef_file_content_loader_load_async            
(GtefFileContentLoader *loader,
                                                                         gpointer               user_data);
 
 G_GNUC_INTERNAL
-gboolean               _gtef_file_content_loader_load_finish           (GtefFileContentLoader  *loader,
+gboolean               _tepl_file_content_loader_load_finish           (TeplFileContentLoader  *loader,
                                                                         GAsyncResult           *result,
                                                                         GError                **error);
 
 G_GNUC_INTERNAL
-GQueue *               _gtef_file_content_loader_get_content           (GtefFileContentLoader *loader);
+GQueue *               _tepl_file_content_loader_get_content           (TeplFileContentLoader *loader);
 
 G_GNUC_INTERNAL
-const gchar *          _gtef_file_content_loader_get_etag              (GtefFileContentLoader *loader);
+const gchar *          _tepl_file_content_loader_get_etag              (TeplFileContentLoader *loader);
 
 G_GNUC_INTERNAL
-gboolean               _gtef_file_content_loader_get_readonly          (GtefFileContentLoader *loader);
+gboolean               _tepl_file_content_loader_get_readonly          (TeplFileContentLoader *loader);
 
 G_END_DECLS
 
-#endif /* GTEF_FILE_CONTENT_LOADER_H */
+#endif /* TEPL_FILE_CONTENT_LOADER_H */
diff --git a/gtef/gtef-file-loader.c b/gtef/gtef-file-loader.c
index 41d7592..ec5a8a7 100644
--- a/gtef/gtef-file-loader.c
+++ b/gtef/gtef-file-loader.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016, 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -18,33 +18,33 @@
  */
 
 #include "config.h"
-#include "gtef-file-loader.h"
+#include "tepl-file-loader.h"
 #include <uchardet.h>
 #include <glib/gi18n-lib.h>
-#include "gtef-buffer.h"
-#include "gtef-file.h"
-#include "gtef-file-content-loader.h"
-#include "gtef-encoding.h"
-#include "gtef-encoding-converter.h"
+#include "tepl-buffer.h"
+#include "tepl-file.h"
+#include "tepl-file-content-loader.h"
+#include "tepl-encoding.h"
+#include "tepl-encoding-converter.h"
 
 /**
  * SECTION:file-loader
- * @Short_description: Load a file into a GtefBuffer
- * @Title: GtefFileLoader
- * @See_also: #GtefFile, #GtefFileSaver
+ * @Short_description: Load a file into a TeplBuffer
+ * @Title: TeplFileLoader
+ * @See_also: #TeplFile, #TeplFileSaver
  *
- * #GtefFileLoader is not a fork of #GtkSourceFileLoader, it is a new
+ * #TeplFileLoader is not a fork of #GtkSourceFileLoader, it is a new
  * implementation based on
  * [uchardet](https://www.freedesktop.org/wiki/Software/uchardet/).
  *
- * A #GtefFileLoader object permits to load the content of a #GFile into a
- * #GtefBuffer.
+ * A #TeplFileLoader object permits to load the content of a #GFile into a
+ * #TeplBuffer.
  *
  * A file loader should be used only for one load operation, including errors
  * handling. If an error occurs, you can reconfigure the loader and relaunch the
- * operation with gtef_file_loader_load_async().
+ * operation with tepl_file_loader_load_async().
  *
- * Running a #GtefFileLoader is an undoable action for the #GtefBuffer. That is,
+ * Running a #TeplFileLoader is an undoable action for the #TeplBuffer. That is,
  * gtk_source_buffer_begin_not_undoable_action() and
  * gtk_source_buffer_end_not_undoable_action() are called, which delete the
  * undo/redo history.
@@ -54,35 +54,35 @@
  * gtk_text_buffer_set_modified() is called with %FALSE.
  */
 
-typedef struct _GtefFileLoaderPrivate GtefFileLoaderPrivate;
+typedef struct _TeplFileLoaderPrivate TeplFileLoaderPrivate;
 typedef struct _TaskData TaskData;
 
-struct _GtefFileLoaderPrivate
+struct _TeplFileLoaderPrivate
 {
-       /* Weak ref to the GtefBuffer. A strong ref could create a reference
-        * cycle in an application. For example a subclass of GtefBuffer can
+       /* Weak ref to the TeplBuffer. A strong ref could create a reference
+        * cycle in an application. For example a subclass of TeplBuffer can
         * have a strong ref to the FileLoader.
         */
-       GtefBuffer *buffer;
+       TeplBuffer *buffer;
 
-       /* Weak ref to the GtefFile. A strong ref could create a reference
-        * cycle in an application. For example a subclass of GtefFile can
+       /* Weak ref to the TeplFile. A strong ref could create a reference
+        * cycle in an application. For example a subclass of TeplFile can
         * have a strong ref to the FileLoader.
         */
-       GtefFile *file;
+       TeplFile *file;
 
        GFile *location;
        gint64 max_size;
        gint64 chunk_size;
        GTask *task;
 
-       GtefEncoding *detected_encoding;
-       GtefNewlineType detected_newline_type;
+       TeplEncoding *detected_encoding;
+       TeplNewlineType detected_newline_type;
 };
 
 struct _TaskData
 {
-       GtefFileContentLoader *content_loader;
+       TeplFileContentLoader *content_loader;
 
        /* TODO report progress also when determining encoding, and when
         * converting and inserting the content.
@@ -112,24 +112,24 @@ enum
        N_PROPERTIES
 };
 
-/* Take the default buffer-size of GtefEncodingConverter. */
+/* Take the default buffer-size of TeplEncodingConverter. */
 #define ENCODING_CONVERTER_BUFFER_SIZE (-1)
 
 static GParamSpec *properties[N_PROPERTIES];
 
-G_DEFINE_TYPE_WITH_PRIVATE (GtefFileLoader, gtef_file_loader, G_TYPE_OBJECT)
+G_DEFINE_TYPE_WITH_PRIVATE (TeplFileLoader, tepl_file_loader, G_TYPE_OBJECT)
 
 /* Prototypes */
 static void load_content (GTask *task);
 
 GQuark
-gtef_file_loader_error_quark (void)
+tepl_file_loader_error_quark (void)
 {
        static GQuark quark = 0;
 
        if (G_UNLIKELY (quark == 0))
        {
-               quark = g_quark_from_static_string ("gtef-file-loader-error");
+               quark = g_quark_from_static_string ("tepl-file-loader-error");
        }
 
        return quark;
@@ -162,11 +162,11 @@ task_data_free (gpointer data)
 }
 
 static void
-empty_buffer (GtefFileLoader *loader)
+empty_buffer (TeplFileLoader *loader)
 {
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoaderPrivate *priv;
 
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
 
        if (priv->buffer != NULL)
        {
@@ -175,17 +175,17 @@ empty_buffer (GtefFileLoader *loader)
 }
 
 static void
-detect_newline_type (GtefFileLoader *loader)
+detect_newline_type (TeplFileLoader *loader)
 {
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoaderPrivate *priv;
        GtkTextIter iter;
        gunichar first_char;
 
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
 
        if (priv->buffer == NULL)
        {
-               priv->detected_newline_type = GTEF_NEWLINE_TYPE_DEFAULT;
+               priv->detected_newline_type = TEPL_NEWLINE_TYPE_DEFAULT;
                return;
        }
 
@@ -199,7 +199,7 @@ detect_newline_type (GtefFileLoader *loader)
 
        if (first_char == '\n')
        {
-               priv->detected_newline_type = GTEF_NEWLINE_TYPE_LF;
+               priv->detected_newline_type = TEPL_NEWLINE_TYPE_LF;
        }
        else if (first_char == '\r')
        {
@@ -210,27 +210,27 @@ detect_newline_type (GtefFileLoader *loader)
 
                if (second_char == '\n')
                {
-                       priv->detected_newline_type = GTEF_NEWLINE_TYPE_CR_LF;
+                       priv->detected_newline_type = TEPL_NEWLINE_TYPE_CR_LF;
                }
                else
                {
-                       priv->detected_newline_type = GTEF_NEWLINE_TYPE_CR;
+                       priv->detected_newline_type = TEPL_NEWLINE_TYPE_CR;
                }
        }
        else
        {
-               priv->detected_newline_type = GTEF_NEWLINE_TYPE_DEFAULT;
+               priv->detected_newline_type = TEPL_NEWLINE_TYPE_DEFAULT;
        }
 }
 
 static void
-remove_trailing_newline_if_needed (GtefFileLoader *loader)
+remove_trailing_newline_if_needed (TeplFileLoader *loader)
 {
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoaderPrivate *priv;
        GtkTextIter start;
        GtkTextIter end;
 
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
 
        if (priv->buffer == NULL)
        {
@@ -262,33 +262,33 @@ remove_trailing_newline_if_needed (GtefFileLoader *loader)
 }
 
 static void
-gtef_file_loader_get_property (GObject    *object,
+tepl_file_loader_get_property (GObject    *object,
                               guint       prop_id,
                               GValue     *value,
                               GParamSpec *pspec)
 {
-       GtefFileLoader *loader = GTEF_FILE_LOADER (object);
+       TeplFileLoader *loader = TEPL_FILE_LOADER (object);
 
        switch (prop_id)
        {
                case PROP_BUFFER:
-                       g_value_set_object (value, gtef_file_loader_get_buffer (loader));
+                       g_value_set_object (value, tepl_file_loader_get_buffer (loader));
                        break;
 
                case PROP_FILE:
-                       g_value_set_object (value, gtef_file_loader_get_file (loader));
+                       g_value_set_object (value, tepl_file_loader_get_file (loader));
                        break;
 
                case PROP_LOCATION:
-                       g_value_set_object (value, gtef_file_loader_get_location (loader));
+                       g_value_set_object (value, tepl_file_loader_get_location (loader));
                        break;
 
                case PROP_MAX_SIZE:
-                       g_value_set_int64 (value, gtef_file_loader_get_max_size (loader));
+                       g_value_set_int64 (value, tepl_file_loader_get_max_size (loader));
                        break;
 
                case PROP_CHUNK_SIZE:
-                       g_value_set_int64 (value, gtef_file_loader_get_chunk_size (loader));
+                       g_value_set_int64 (value, tepl_file_loader_get_chunk_size (loader));
                        break;
 
                default:
@@ -298,13 +298,13 @@ gtef_file_loader_get_property (GObject    *object,
 }
 
 static void
-gtef_file_loader_set_property (GObject      *object,
+tepl_file_loader_set_property (GObject      *object,
                               guint         prop_id,
                               const GValue *value,
                               GParamSpec   *pspec)
 {
-       GtefFileLoader *loader = GTEF_FILE_LOADER (object);
-       GtefFileLoaderPrivate *priv = gtef_file_loader_get_instance_private (loader);
+       TeplFileLoader *loader = TEPL_FILE_LOADER (object);
+       TeplFileLoaderPrivate *priv = tepl_file_loader_get_instance_private (loader);
 
        switch (prop_id)
        {
@@ -328,11 +328,11 @@ gtef_file_loader_set_property (GObject      *object,
                        break;
 
                case PROP_MAX_SIZE:
-                       gtef_file_loader_set_max_size (loader, g_value_get_int64 (value));
+                       tepl_file_loader_set_max_size (loader, g_value_get_int64 (value));
                        break;
 
                case PROP_CHUNK_SIZE:
-                       gtef_file_loader_set_chunk_size (loader, g_value_get_int64 (value));
+                       tepl_file_loader_set_chunk_size (loader, g_value_get_int64 (value));
                        break;
 
                default:
@@ -342,16 +342,16 @@ gtef_file_loader_set_property (GObject      *object,
 }
 
 static void
-gtef_file_loader_constructed (GObject *object)
+tepl_file_loader_constructed (GObject *object)
 {
-       GtefFileLoaderPrivate *priv = gtef_file_loader_get_instance_private (GTEF_FILE_LOADER (object));
+       TeplFileLoaderPrivate *priv = tepl_file_loader_get_instance_private (TEPL_FILE_LOADER (object));
 
-       G_OBJECT_CLASS (gtef_file_loader_parent_class)->constructed (object);
+       G_OBJECT_CLASS (tepl_file_loader_parent_class)->constructed (object);
 
        if (priv->file != NULL &&
            priv->location == NULL)
        {
-               priv->location = gtef_file_get_location (priv->file);
+               priv->location = tepl_file_get_location (priv->file);
 
                if (priv->location != NULL)
                {
@@ -359,16 +359,16 @@ gtef_file_loader_constructed (GObject *object)
                }
                else
                {
-                       g_warning ("GtefFileLoader: the GtefFile location is NULL. "
-                                  "Call gtef_file_set_location() before creating the FileLoader.");
+                       g_warning ("TeplFileLoader: the TeplFile location is NULL. "
+                                  "Call tepl_file_set_location() before creating the FileLoader.");
                }
        }
 }
 
 static void
-gtef_file_loader_dispose (GObject *object)
+tepl_file_loader_dispose (GObject *object)
 {
-       GtefFileLoaderPrivate *priv = gtef_file_loader_get_instance_private (GTEF_FILE_LOADER (object));
+       TeplFileLoaderPrivate *priv = tepl_file_loader_get_instance_private (TEPL_FILE_LOADER (object));
 
        if (priv->buffer != NULL)
        {
@@ -387,69 +387,69 @@ gtef_file_loader_dispose (GObject *object)
        g_clear_object (&priv->location);
        g_clear_object (&priv->task);
 
-       G_OBJECT_CLASS (gtef_file_loader_parent_class)->dispose (object);
+       G_OBJECT_CLASS (tepl_file_loader_parent_class)->dispose (object);
 }
 
 static void
-gtef_file_loader_finalize (GObject *object)
+tepl_file_loader_finalize (GObject *object)
 {
-       GtefFileLoaderPrivate *priv = gtef_file_loader_get_instance_private (GTEF_FILE_LOADER (object));
+       TeplFileLoaderPrivate *priv = tepl_file_loader_get_instance_private (TEPL_FILE_LOADER (object));
 
-       gtef_encoding_free (priv->detected_encoding);
+       tepl_encoding_free (priv->detected_encoding);
 
-       G_OBJECT_CLASS (gtef_file_loader_parent_class)->finalize (object);
+       G_OBJECT_CLASS (tepl_file_loader_parent_class)->finalize (object);
 }
 
 static void
-gtef_file_loader_class_init (GtefFileLoaderClass *klass)
+tepl_file_loader_class_init (TeplFileLoaderClass *klass)
 {
        GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-       object_class->get_property = gtef_file_loader_get_property;
-       object_class->set_property = gtef_file_loader_set_property;
-       object_class->constructed = gtef_file_loader_constructed;
-       object_class->dispose = gtef_file_loader_dispose;
-       object_class->finalize = gtef_file_loader_finalize;
+       object_class->get_property = tepl_file_loader_get_property;
+       object_class->set_property = tepl_file_loader_set_property;
+       object_class->constructed = tepl_file_loader_constructed;
+       object_class->dispose = tepl_file_loader_dispose;
+       object_class->finalize = tepl_file_loader_finalize;
 
        /**
-        * GtefFileLoader:buffer:
+        * TeplFileLoader:buffer:
         *
-        * The #GtefBuffer to load the content into. The #GtefFileLoader object
+        * The #TeplBuffer to load the content into. The #TeplFileLoader object
         * has a weak reference to the buffer.
         *
         * Since: 1.0
         */
        properties[PROP_BUFFER] =
                g_param_spec_object ("buffer",
-                                    "GtefBuffer",
+                                    "TeplBuffer",
                                     "",
-                                    GTEF_TYPE_BUFFER,
+                                    TEPL_TYPE_BUFFER,
                                     G_PARAM_READWRITE |
                                     G_PARAM_CONSTRUCT_ONLY |
                                     G_PARAM_STATIC_STRINGS);
 
        /**
-        * GtefFileLoader:file:
+        * TeplFileLoader:file:
         *
-        * The #GtefFile. The #GtefFileLoader object has a weak
+        * The #TeplFile. The #TeplFileLoader object has a weak
         * reference to the file.
         *
         * Since: 1.0
         */
        properties[PROP_FILE] =
                g_param_spec_object ("file",
-                                    "GtefFile",
+                                    "TeplFile",
                                     "",
-                                    GTEF_TYPE_FILE,
+                                    TEPL_TYPE_FILE,
                                     G_PARAM_READWRITE |
                                     G_PARAM_CONSTRUCT_ONLY |
                                     G_PARAM_STATIC_STRINGS);
 
        /**
-        * GtefFileLoader:location:
+        * TeplFileLoader:location:
         *
         * The #GFile to load. By default the location is taken from the
-        * #GtefFile at construction time.
+        * #TeplFile at construction time.
         *
         * Since: 1.0
         */
@@ -463,7 +463,7 @@ gtef_file_loader_class_init (GtefFileLoaderClass *klass)
                                     G_PARAM_STATIC_STRINGS);
 
        /**
-        * GtefFileLoader:max-size:
+        * TeplFileLoader:max-size:
         *
         * The maximum content size, in bytes. Keep in mind that all the
         * content is loaded in memory, and when loaded into a #GtkTextBuffer
@@ -479,13 +479,13 @@ gtef_file_loader_class_init (GtefFileLoaderClass *klass)
                                    "",
                                    -1,
                                    G_MAXINT64,
-                                   GTEF_FILE_CONTENT_LOADER_DEFAULT_MAX_SIZE,
+                                   TEPL_FILE_CONTENT_LOADER_DEFAULT_MAX_SIZE,
                                    G_PARAM_READWRITE |
                                    G_PARAM_CONSTRUCT |
                                    G_PARAM_STATIC_STRINGS);
 
        /**
-        * GtefFileLoader:chunk-size:
+        * TeplFileLoader:chunk-size:
         *
         * The chunk size, in bytes. The content is loaded chunk by chunk. It
         * permits to avoid allocating a too big contiguous memory area, as well
@@ -502,7 +502,7 @@ gtef_file_loader_class_init (GtefFileLoaderClass *klass)
                                    "",
                                    1,
                                    G_MAXINT64,
-                                   GTEF_FILE_CONTENT_LOADER_DEFAULT_CHUNK_SIZE,
+                                   TEPL_FILE_CONTENT_LOADER_DEFAULT_CHUNK_SIZE,
                                    G_PARAM_READWRITE |
                                    G_PARAM_CONSTRUCT |
                                    G_PARAM_STATIC_STRINGS);
@@ -511,136 +511,136 @@ gtef_file_loader_class_init (GtefFileLoaderClass *klass)
 }
 
 static void
-gtef_file_loader_init (GtefFileLoader *loader)
+tepl_file_loader_init (TeplFileLoader *loader)
 {
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoaderPrivate *priv;
 
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
 
-       priv->detected_newline_type = GTEF_NEWLINE_TYPE_DEFAULT;
+       priv->detected_newline_type = TEPL_NEWLINE_TYPE_DEFAULT;
 }
 
 /**
- * gtef_file_loader_new:
- * @buffer: the #GtefBuffer to load the content into.
- * @file: the #GtefFile.
+ * tepl_file_loader_new:
+ * @buffer: the #TeplBuffer to load the content into.
+ * @file: the #TeplFile.
  *
- * Creates a new #GtefFileLoader object. The content is read from the #GtefFile
+ * Creates a new #TeplFileLoader object. The content is read from the #TeplFile
  * location.
  *
- * If not already done, call gtef_file_set_location() before calling this
+ * If not already done, call tepl_file_set_location() before calling this
  * constructor. The previous location is anyway not needed, because as soon as
- * the file loading begins, the @buffer is emptied. Setting the #GtefFile
+ * the file loading begins, the @buffer is emptied. Setting the #TeplFile
  * location directly permits to update the UI, to display the good location when
  * the file is loading.
  *
- * Returns: a new #GtefFileLoader object.
+ * Returns: a new #TeplFileLoader object.
  * Since: 1.0
  */
-GtefFileLoader *
-gtef_file_loader_new (GtefBuffer *buffer,
-                     GtefFile   *file)
+TeplFileLoader *
+tepl_file_loader_new (TeplBuffer *buffer,
+                     TeplFile   *file)
 {
-       g_return_val_if_fail (GTEF_IS_BUFFER (buffer), NULL);
-       g_return_val_if_fail (GTEF_IS_FILE (file), NULL);
+       g_return_val_if_fail (TEPL_IS_BUFFER (buffer), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE (file), NULL);
 
-       return g_object_new (GTEF_TYPE_FILE_LOADER,
+       return g_object_new (TEPL_TYPE_FILE_LOADER,
                             "buffer", buffer,
                             "file", file,
                             NULL);
 }
 
 /**
- * gtef_file_loader_get_buffer:
- * @loader: a #GtefFileLoader.
+ * tepl_file_loader_get_buffer:
+ * @loader: a #TeplFileLoader.
  *
- * Returns: (transfer none) (nullable): the #GtefBuffer to load the content
+ * Returns: (transfer none) (nullable): the #TeplBuffer to load the content
  * into.
  * Since: 1.0
  */
-GtefBuffer *
-gtef_file_loader_get_buffer (GtefFileLoader *loader)
+TeplBuffer *
+tepl_file_loader_get_buffer (TeplFileLoader *loader)
 {
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoaderPrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FILE_LOADER (loader), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE_LOADER (loader), NULL);
 
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
        return priv->buffer;
 }
 
 /**
- * gtef_file_loader_get_file:
- * @loader: a #GtefFileLoader.
+ * tepl_file_loader_get_file:
+ * @loader: a #TeplFileLoader.
  *
- * Returns: (transfer none) (nullable): the #GtefFile.
+ * Returns: (transfer none) (nullable): the #TeplFile.
  * Since: 1.0
  */
-GtefFile *
-gtef_file_loader_get_file (GtefFileLoader *loader)
+TeplFile *
+tepl_file_loader_get_file (TeplFileLoader *loader)
 {
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoaderPrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FILE_LOADER (loader), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE_LOADER (loader), NULL);
 
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
        return priv->file;
 }
 
 /**
- * gtef_file_loader_get_location:
- * @loader: a #GtefFileLoader.
+ * tepl_file_loader_get_location:
+ * @loader: a #TeplFileLoader.
  *
  * Returns: (transfer none) (nullable): the #GFile to load.
  * Since: 1.0
  */
 GFile *
-gtef_file_loader_get_location (GtefFileLoader *loader)
+tepl_file_loader_get_location (TeplFileLoader *loader)
 {
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoaderPrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FILE_LOADER (loader), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE_LOADER (loader), NULL);
 
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
        return priv->location;
 }
 
 /**
- * gtef_file_loader_get_max_size:
- * @loader: a #GtefFileLoader.
+ * tepl_file_loader_get_max_size:
+ * @loader: a #TeplFileLoader.
  *
  * Returns: the maximum content size, or -1 for unlimited.
  * Since: 1.0
  */
 gint64
-gtef_file_loader_get_max_size (GtefFileLoader *loader)
+tepl_file_loader_get_max_size (TeplFileLoader *loader)
 {
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoaderPrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FILE_LOADER (loader),
-                             GTEF_FILE_CONTENT_LOADER_DEFAULT_MAX_SIZE);
+       g_return_val_if_fail (TEPL_IS_FILE_LOADER (loader),
+                             TEPL_FILE_CONTENT_LOADER_DEFAULT_MAX_SIZE);
 
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
        return priv->max_size;
 }
 
 /**
- * gtef_file_loader_set_max_size:
- * @loader: a #GtefFileLoader.
+ * tepl_file_loader_set_max_size:
+ * @loader: a #TeplFileLoader.
  * @max_size: the new maximum size, or -1 for unlimited.
  *
  * Since: 1.0
  */
 void
-gtef_file_loader_set_max_size (GtefFileLoader *loader,
+tepl_file_loader_set_max_size (TeplFileLoader *loader,
                               gint64          max_size)
 {
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoaderPrivate *priv;
 
-       g_return_if_fail (GTEF_IS_FILE_LOADER (loader));
+       g_return_if_fail (TEPL_IS_FILE_LOADER (loader));
        g_return_if_fail (max_size >= -1);
 
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
 
        g_return_if_fail (priv->task == NULL);
 
@@ -652,41 +652,41 @@ gtef_file_loader_set_max_size (GtefFileLoader *loader,
 }
 
 /**
- * gtef_file_loader_get_chunk_size:
- * @loader: a #GtefFileLoader.
+ * tepl_file_loader_get_chunk_size:
+ * @loader: a #TeplFileLoader.
  *
  * Returns: the chunk size.
  * Since: 1.0
  */
 gint64
-gtef_file_loader_get_chunk_size (GtefFileLoader *loader)
+tepl_file_loader_get_chunk_size (TeplFileLoader *loader)
 {
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoaderPrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FILE_LOADER (loader),
-                             GTEF_FILE_CONTENT_LOADER_DEFAULT_CHUNK_SIZE);
+       g_return_val_if_fail (TEPL_IS_FILE_LOADER (loader),
+                             TEPL_FILE_CONTENT_LOADER_DEFAULT_CHUNK_SIZE);
 
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
        return priv->chunk_size;
 }
 
 /**
- * gtef_file_loader_set_chunk_size:
- * @loader: a #GtefFileLoader.
+ * tepl_file_loader_set_chunk_size:
+ * @loader: a #TeplFileLoader.
  * @chunk_size: the new chunk size.
  *
  * Since: 1.0
  */
 void
-gtef_file_loader_set_chunk_size (GtefFileLoader *loader,
+tepl_file_loader_set_chunk_size (TeplFileLoader *loader,
                                 gint64          chunk_size)
 {
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoaderPrivate *priv;
 
-       g_return_if_fail (GTEF_IS_FILE_LOADER (loader));
+       g_return_if_fail (TEPL_IS_FILE_LOADER (loader));
        g_return_if_fail (chunk_size >= 1);
 
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
 
        if (priv->chunk_size == chunk_size)
        {
@@ -703,7 +703,7 @@ gtef_file_loader_set_chunk_size (GtefFileLoader *loader,
 
                if (task_data->content_loader != NULL)
                {
-                       _gtef_file_content_loader_set_chunk_size (task_data->content_loader,
+                       _tepl_file_content_loader_set_chunk_size (task_data->content_loader,
                                                                  chunk_size);
                }
        }
@@ -733,14 +733,14 @@ content_converted_cb (const gchar *str,
                      gpointer     user_data)
 {
        GTask *task = G_TASK (user_data);
-       GtefFileLoader *loader;
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoader *loader;
+       TeplFileLoaderPrivate *priv;
        TaskData *task_data;
        gchar *my_str;
        gsize my_length;
 
        loader = g_task_get_source_object (task);
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
 
        task_data = g_task_get_task_data (task);
 
@@ -790,16 +790,16 @@ content_converted_cb (const gchar *str,
 static void
 convert_and_insert_content (GTask *task)
 {
-       GtefFileLoader *loader;
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoader *loader;
+       TeplFileLoaderPrivate *priv;
        TaskData *task_data;
-       GtefEncodingConverter *converter = NULL;
+       TeplEncodingConverter *converter = NULL;
        GQueue *content;
        GList *l;
        GError *error = NULL;
 
        loader = g_task_get_source_object (task);
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
 
        task_data = g_task_get_task_data (task);
 
@@ -809,16 +809,16 @@ convert_and_insert_content (GTask *task)
                return;
        }
 
-       converter = _gtef_encoding_converter_new (ENCODING_CONVERTER_BUFFER_SIZE);
+       converter = _tepl_encoding_converter_new (ENCODING_CONVERTER_BUFFER_SIZE);
 
-       _gtef_encoding_converter_set_callback (converter,
+       _tepl_encoding_converter_set_callback (converter,
                                               content_converted_cb,
                                               task);
 
        g_assert (priv->detected_encoding != NULL);
-       _gtef_encoding_converter_open (converter,
+       _tepl_encoding_converter_open (converter,
                                       "UTF-8",
-                                      gtef_encoding_get_charset (priv->detected_encoding),
+                                      tepl_encoding_get_charset (priv->detected_encoding),
                                       &error);
        if (error != NULL)
        {
@@ -826,7 +826,7 @@ convert_and_insert_content (GTask *task)
                goto out;
        }
 
-       content = _gtef_file_content_loader_get_content (task_data->content_loader);
+       content = _tepl_file_content_loader_get_content (task_data->content_loader);
 
        for (l = content->head; l != NULL; l = l->next)
        {
@@ -835,7 +835,7 @@ convert_and_insert_content (GTask *task)
                g_assert (chunk != NULL);
                g_assert (g_bytes_get_size (chunk) > 0);
 
-               _gtef_encoding_converter_feed (converter,
+               _tepl_encoding_converter_feed (converter,
                                               g_bytes_get_data (chunk, NULL),
                                               g_bytes_get_size (chunk),
                                               &error);
@@ -847,7 +847,7 @@ convert_and_insert_content (GTask *task)
                }
        }
 
-       _gtef_encoding_converter_close (converter, &error);
+       _tepl_encoding_converter_close (converter, &error);
        if (error != NULL)
        {
                g_task_return_error (task, error);
@@ -875,8 +875,8 @@ out:
 static void
 determine_encoding (GTask *task)
 {
-       GtefFileLoader *loader;
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoader *loader;
+       TeplFileLoaderPrivate *priv;
        TaskData *task_data;
        uchardet_t ud;
        const gchar *charset;
@@ -884,13 +884,13 @@ determine_encoding (GTask *task)
        GList *l;
 
        loader = g_task_get_source_object (task);
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
 
        task_data = g_task_get_task_data (task);
 
        ud = uchardet_new ();
 
-       content = _gtef_file_content_loader_get_content (task_data->content_loader);
+       content = _tepl_file_content_loader_get_content (task_data->content_loader);
 
        for (l = content->head; l != NULL; l = l->next)
        {
@@ -912,7 +912,7 @@ determine_encoding (GTask *task)
        charset = uchardet_get_charset (ud);
        if (charset != NULL && charset[0] != '\0')
        {
-               priv->detected_encoding = gtef_encoding_new (charset);
+               priv->detected_encoding = tepl_encoding_new (charset);
        }
 
        uchardet_delete (ud);
@@ -920,8 +920,8 @@ determine_encoding (GTask *task)
        if (priv->detected_encoding == NULL)
        {
                g_task_return_new_error (task,
-                                        GTEF_FILE_LOADER_ERROR,
-                                        GTEF_FILE_LOADER_ERROR_ENCODING_AUTO_DETECTION_FAILED,
+                                        TEPL_FILE_LOADER_ERROR,
+                                        TEPL_FILE_LOADER_ERROR_ENCODING_AUTO_DETECTION_FAILED,
                                         _("It is not possible to detect the character encoding 
automatically."));
                return;
        }
@@ -936,12 +936,12 @@ mount_cb (GObject      *source_object,
 {
        GFile *location = G_FILE (source_object);
        GTask *task = G_TASK (user_data);
-       GtefFileLoader *loader;
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoader *loader;
+       TeplFileLoaderPrivate *priv;
        GError *error = NULL;
 
        loader = g_task_get_source_object (task);
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
 
        g_file_mount_enclosing_volume_finish (location, result, &error);
 
@@ -953,7 +953,7 @@ mount_cb (GObject      *source_object,
        {
                if (priv->file != NULL)
                {
-                       _gtef_file_set_mounted (priv->file);
+                       _tepl_file_set_mounted (priv->file);
                }
 
                /* Try again the previous operation. */
@@ -964,17 +964,17 @@ mount_cb (GObject      *source_object,
 static void
 recover_not_mounted (GTask *task)
 {
-       GtefFileLoader *loader;
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoader *loader;
+       TeplFileLoaderPrivate *priv;
        TaskData *task_data;
        GMountOperation *mount_operation;
 
        loader = g_task_get_source_object (task);
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
 
        task_data = g_task_get_task_data (task);
 
-       mount_operation = _gtef_file_create_mount_operation (priv->file);
+       mount_operation = _tepl_file_create_mount_operation (priv->file);
 
        task_data->tried_mount = TRUE;
 
@@ -993,14 +993,14 @@ load_content_cb (GObject      *source_object,
                 GAsyncResult *result,
                 gpointer      user_data)
 {
-       GtefFileContentLoader *content_loader = GTEF_FILE_CONTENT_LOADER (source_object);
+       TeplFileContentLoader *content_loader = TEPL_FILE_CONTENT_LOADER (source_object);
        GTask *task = G_TASK (user_data);
        TaskData *task_data;
        GError *error = NULL;
 
        task_data = g_task_get_task_data (task);
 
-       _gtef_file_content_loader_load_finish (content_loader, result, &error);
+       _tepl_file_content_loader_load_finish (content_loader, result, &error);
 
        if (error != NULL)
        {
@@ -1026,24 +1026,24 @@ static void
 load_content (GTask *task)
 {
        TaskData *task_data;
-       GtefFileLoader *loader;
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoader *loader;
+       TeplFileLoaderPrivate *priv;
 
        task_data = g_task_get_task_data (task);
 
        loader = g_task_get_source_object (task);
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
 
        g_clear_object (&task_data->content_loader);
-       task_data->content_loader = _gtef_file_content_loader_new_from_file (priv->location);
+       task_data->content_loader = _tepl_file_content_loader_new_from_file (priv->location);
 
-       _gtef_file_content_loader_set_max_size (task_data->content_loader,
+       _tepl_file_content_loader_set_max_size (task_data->content_loader,
                                                priv->max_size);
 
-       _gtef_file_content_loader_set_chunk_size (task_data->content_loader,
+       _tepl_file_content_loader_set_chunk_size (task_data->content_loader,
                                                  priv->chunk_size);
 
-       _gtef_file_content_loader_load_async (task_data->content_loader,
+       _tepl_file_content_loader_load_async (task_data->content_loader,
                                              g_task_get_priority (task),
                                              g_task_get_cancellable (task),
                                              task_data->progress_cb,
@@ -1056,11 +1056,11 @@ load_content (GTask *task)
 static void
 start_loading (GTask *task)
 {
-       GtefFileLoader *loader;
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoader *loader;
+       TeplFileLoaderPrivate *priv;
 
        loader = g_task_get_source_object (task);
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
 
        if (priv->buffer == NULL)
        {
@@ -1079,12 +1079,12 @@ start_loading (GTask *task)
 static void
 finish_loading (GTask *task)
 {
-       GtefFileLoader *loader;
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoader *loader;
+       TeplFileLoaderPrivate *priv;
        GtkTextIter start;
 
        loader = g_task_get_source_object (task);
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
 
        if (priv->buffer == NULL)
        {
@@ -1101,19 +1101,19 @@ finish_loading (GTask *task)
 }
 
 static void
-reset (GtefFileLoader *loader)
+reset (TeplFileLoader *loader)
 {
-       GtefFileLoaderPrivate *priv = gtef_file_loader_get_instance_private (loader);
+       TeplFileLoaderPrivate *priv = tepl_file_loader_get_instance_private (loader);
 
-       gtef_encoding_free (priv->detected_encoding);
+       tepl_encoding_free (priv->detected_encoding);
        priv->detected_encoding = NULL;
 
-       priv->detected_newline_type = GTEF_NEWLINE_TYPE_DEFAULT;
+       priv->detected_newline_type = TEPL_NEWLINE_TYPE_DEFAULT;
 }
 
 /**
- * gtef_file_loader_load_async:
- * @loader: a #GtefFileLoader.
+ * tepl_file_loader_load_async:
+ * @loader: a #TeplFileLoader.
  * @io_priority: the I/O priority of the request. E.g. %G_PRIORITY_LOW,
  *   %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
  * @cancellable: (nullable): optional #GCancellable object, %NULL to ignore.
@@ -1127,7 +1127,7 @@ reset (GtefFileLoader *loader)
  *   satisfied.
  * @user_data: user data to pass to @callback.
  *
- * Loads asynchronously the file content into the #GtefBuffer.
+ * Loads asynchronously the file content into the #TeplBuffer.
  *
  * See the #GAsyncResult documentation to know how to use this function.
  *
@@ -1138,7 +1138,7 @@ reset (GtefFileLoader *loader)
  * https://bugzilla.gnome.org/show_bug.cgi?id=616044
  */
 void
-gtef_file_loader_load_async (GtefFileLoader        *loader,
+tepl_file_loader_load_async (TeplFileLoader        *loader,
                             gint                   io_priority,
                             GCancellable          *cancellable,
                             GFileProgressCallback  progress_callback,
@@ -1147,18 +1147,18 @@ gtef_file_loader_load_async (GtefFileLoader        *loader,
                             GAsyncReadyCallback    callback,
                             gpointer               user_data)
 {
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoaderPrivate *priv;
        TaskData *task_data;
 
-       g_return_if_fail (GTEF_IS_FILE_LOADER (loader));
+       g_return_if_fail (TEPL_IS_FILE_LOADER (loader));
        g_return_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable));
 
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
 
        if (priv->task != NULL)
        {
                g_warning ("Several load operations in parallel with the same "
-                          "GtefFileLoader is not possible and doesn't make sense.");
+                          "TeplFileLoader is not possible and doesn't make sense.");
                return;
        }
 
@@ -1180,29 +1180,29 @@ gtef_file_loader_load_async (GtefFileLoader        *loader,
 }
 
 /**
- * gtef_file_loader_load_finish:
- * @loader: a #GtefFileLoader.
+ * tepl_file_loader_load_finish:
+ * @loader: a #TeplFileLoader.
  * @result: a #GAsyncResult.
  * @error: a #GError, or %NULL.
  *
- * Finishes a file loading started with gtef_file_loader_load_async().
+ * Finishes a file loading started with tepl_file_loader_load_async().
  *
  * Returns: whether the content has been loaded successfully.
  * Since: 1.0
  */
 gboolean
-gtef_file_loader_load_finish (GtefFileLoader  *loader,
+tepl_file_loader_load_finish (TeplFileLoader  *loader,
                              GAsyncResult    *result,
                              GError         **error)
 {
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoaderPrivate *priv;
        gboolean ok;
 
-       g_return_val_if_fail (GTEF_IS_FILE_LOADER (loader), FALSE);
+       g_return_val_if_fail (TEPL_IS_FILE_LOADER (loader), FALSE);
        g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
        g_return_val_if_fail (g_task_is_valid (result, loader), FALSE);
 
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
 
        g_return_val_if_fail (G_TASK (result) == priv->task, FALSE);
 
@@ -1218,17 +1218,17 @@ gtef_file_loader_load_finish (GtefFileLoader  *loader,
 
                task_data = g_task_get_task_data (priv->task);
 
-               _gtef_file_set_encoding (priv->file, priv->detected_encoding);
-               _gtef_file_set_newline_type (priv->file, priv->detected_newline_type);
-               _gtef_file_set_compression_type (priv->file, GTEF_COMPRESSION_TYPE_NONE);
-               _gtef_file_set_externally_modified (priv->file, FALSE);
-               _gtef_file_set_deleted (priv->file, FALSE);
+               _tepl_file_set_encoding (priv->file, priv->detected_encoding);
+               _tepl_file_set_newline_type (priv->file, priv->detected_newline_type);
+               _tepl_file_set_compression_type (priv->file, TEPL_COMPRESSION_TYPE_NONE);
+               _tepl_file_set_externally_modified (priv->file, FALSE);
+               _tepl_file_set_deleted (priv->file, FALSE);
 
-               etag = _gtef_file_content_loader_get_etag (task_data->content_loader);
-               _gtef_file_set_etag (priv->file, etag);
+               etag = _tepl_file_content_loader_get_etag (task_data->content_loader);
+               _tepl_file_set_etag (priv->file, etag);
 
-               readonly = _gtef_file_content_loader_get_readonly (task_data->content_loader);
-               _gtef_file_set_readonly (priv->file, readonly);
+               readonly = _tepl_file_content_loader_get_readonly (task_data->content_loader);
+               _tepl_file_set_readonly (priv->file, readonly);
        }
 
        g_clear_object (&priv->task);
@@ -1237,50 +1237,50 @@ gtef_file_loader_load_finish (GtefFileLoader  *loader,
 }
 
 /**
- * gtef_file_loader_get_encoding:
- * @loader: a #GtefFileLoader.
+ * tepl_file_loader_get_encoding:
+ * @loader: a #TeplFileLoader.
  *
  * Returns: (nullable): the detected file encoding, or %NULL.
  * Since: 2.0
  */
-const GtefEncoding *
-gtef_file_loader_get_encoding (GtefFileLoader *loader)
+const TeplEncoding *
+tepl_file_loader_get_encoding (TeplFileLoader *loader)
 {
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoaderPrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FILE_LOADER (loader), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE_LOADER (loader), NULL);
 
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
        return priv->detected_encoding;
 }
 
 /**
- * gtef_file_loader_get_newline_type:
- * @loader: a #GtefFileLoader.
+ * tepl_file_loader_get_newline_type:
+ * @loader: a #TeplFileLoader.
  *
  * Returns: the detected newline type.
  * Since: 2.0
  */
-GtefNewlineType
-gtef_file_loader_get_newline_type (GtefFileLoader *loader)
+TeplNewlineType
+tepl_file_loader_get_newline_type (TeplFileLoader *loader)
 {
-       GtefFileLoaderPrivate *priv;
+       TeplFileLoaderPrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FILE_LOADER (loader), GTEF_NEWLINE_TYPE_LF);
+       g_return_val_if_fail (TEPL_IS_FILE_LOADER (loader), TEPL_NEWLINE_TYPE_LF);
 
-       priv = gtef_file_loader_get_instance_private (loader);
+       priv = tepl_file_loader_get_instance_private (loader);
        return priv->detected_newline_type;
 }
 
 /* For the unit tests. */
 gint64
-_gtef_file_loader_get_encoding_converter_buffer_size (void)
+_tepl_file_loader_get_encoding_converter_buffer_size (void)
 {
-       GtefEncodingConverter *converter;
+       TeplEncodingConverter *converter;
        gint64 buffer_size;
 
-       converter = _gtef_encoding_converter_new (ENCODING_CONVERTER_BUFFER_SIZE);
-       buffer_size = _gtef_encoding_converter_get_buffer_size (converter);
+       converter = _tepl_encoding_converter_new (ENCODING_CONVERTER_BUFFER_SIZE);
+       buffer_size = _tepl_encoding_converter_get_buffer_size (converter);
        g_object_unref (converter);
 
        return buffer_size;
diff --git a/gtef/gtef-file-loader.h b/gtef/gtef-file-loader.h
index 7b84de8..d999aaf 100644
--- a/gtef/gtef-file-loader.h
+++ b/gtef/gtef-file-loader.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,71 +17,71 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_FILE_LOADER_H
-#define GTEF_FILE_LOADER_H
+#ifndef TEPL_FILE_LOADER_H
+#define TEPL_FILE_LOADER_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <gio/gio.h>
-#include <gtef/gtef-types.h>
-#include <gtef/gtef-file.h>
+#include <tepl/tepl-types.h>
+#include <tepl/tepl-file.h>
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_FILE_LOADER (gtef_file_loader_get_type ())
-G_DECLARE_DERIVABLE_TYPE (GtefFileLoader, gtef_file_loader,
-                         GTEF, FILE_LOADER,
+#define TEPL_TYPE_FILE_LOADER (tepl_file_loader_get_type ())
+G_DECLARE_DERIVABLE_TYPE (TeplFileLoader, tepl_file_loader,
+                         TEPL, FILE_LOADER,
                          GObject)
 
-#define GTEF_FILE_LOADER_ERROR gtef_file_loader_error_quark ()
+#define TEPL_FILE_LOADER_ERROR tepl_file_loader_error_quark ()
 
 /**
- * GtefFileLoaderError:
- * @GTEF_FILE_LOADER_ERROR_TOO_BIG: The file is too big.
- * @GTEF_FILE_LOADER_ERROR_ENCODING_AUTO_DETECTION_FAILED: It is not possible to
+ * TeplFileLoaderError:
+ * @TEPL_FILE_LOADER_ERROR_TOO_BIG: The file is too big.
+ * @TEPL_FILE_LOADER_ERROR_ENCODING_AUTO_DETECTION_FAILED: It is not possible to
  *   detect the encoding automatically.
  *
- * An error code used with the %GTEF_FILE_LOADER_ERROR domain.
+ * An error code used with the %TEPL_FILE_LOADER_ERROR domain.
  *
  * Since: 1.0
  */
-typedef enum _GtefFileLoaderError
+typedef enum _TeplFileLoaderError
 {
-       GTEF_FILE_LOADER_ERROR_TOO_BIG,
-       GTEF_FILE_LOADER_ERROR_ENCODING_AUTO_DETECTION_FAILED
-} GtefFileLoaderError;
+       TEPL_FILE_LOADER_ERROR_TOO_BIG,
+       TEPL_FILE_LOADER_ERROR_ENCODING_AUTO_DETECTION_FAILED
+} TeplFileLoaderError;
 
-struct _GtefFileLoaderClass
+struct _TeplFileLoaderClass
 {
        GObjectClass parent_class;
 
        gpointer padding[12];
 };
 
-GQuark                 gtef_file_loader_error_quark                            (void);
+GQuark                 tepl_file_loader_error_quark                            (void);
 
-GtefFileLoader *       gtef_file_loader_new                                    (GtefBuffer *buffer,
-                                                                                GtefFile   *file);
+TeplFileLoader *       tepl_file_loader_new                                    (TeplBuffer *buffer,
+                                                                                TeplFile   *file);
 
-GtefBuffer *           gtef_file_loader_get_buffer                             (GtefFileLoader *loader);
+TeplBuffer *           tepl_file_loader_get_buffer                             (TeplFileLoader *loader);
 
-GtefFile *             gtef_file_loader_get_file                               (GtefFileLoader *loader);
+TeplFile *             tepl_file_loader_get_file                               (TeplFileLoader *loader);
 
-GFile *                        gtef_file_loader_get_location                           (GtefFileLoader 
*loader);
+GFile *                        tepl_file_loader_get_location                           (TeplFileLoader 
*loader);
 
-gint64                 gtef_file_loader_get_max_size                           (GtefFileLoader *loader);
+gint64                 tepl_file_loader_get_max_size                           (TeplFileLoader *loader);
 
-void                   gtef_file_loader_set_max_size                           (GtefFileLoader *loader,
+void                   tepl_file_loader_set_max_size                           (TeplFileLoader *loader,
                                                                                 gint64          max_size);
 
-gint64                 gtef_file_loader_get_chunk_size                         (GtefFileLoader *loader);
+gint64                 tepl_file_loader_get_chunk_size                         (TeplFileLoader *loader);
 
-void                   gtef_file_loader_set_chunk_size                         (GtefFileLoader *loader,
+void                   tepl_file_loader_set_chunk_size                         (TeplFileLoader *loader,
                                                                                 gint64          chunk_size);
 
-void                   gtef_file_loader_load_async                             (GtefFileLoader        
*loader,
+void                   tepl_file_loader_load_async                             (TeplFileLoader        
*loader,
                                                                                 gint                   
io_priority,
                                                                                 GCancellable          
*cancellable,
                                                                                 GFileProgressCallback  
progress_callback,
@@ -90,17 +90,17 @@ void                        gtef_file_loader_load_async                             
(GtefFileLoader        *loader,
                                                                                 GAsyncReadyCallback    
callback,
                                                                                 gpointer               
user_data);
 
-gboolean               gtef_file_loader_load_finish                            (GtefFileLoader  *loader,
+gboolean               tepl_file_loader_load_finish                            (TeplFileLoader  *loader,
                                                                                 GAsyncResult    *result,
                                                                                 GError         **error);
 
-const GtefEncoding *   gtef_file_loader_get_encoding                           (GtefFileLoader *loader);
+const TeplEncoding *   tepl_file_loader_get_encoding                           (TeplFileLoader *loader);
 
-GtefNewlineType                gtef_file_loader_get_newline_type                       (GtefFileLoader 
*loader);
+TeplNewlineType                tepl_file_loader_get_newline_type                       (TeplFileLoader 
*loader);
 
 G_GNUC_INTERNAL
-gint64                 _gtef_file_loader_get_encoding_converter_buffer_size    (void);
+gint64                 _tepl_file_loader_get_encoding_converter_buffer_size    (void);
 
 G_END_DECLS
 
-#endif /* GTEF_FILE_LOADER_H */
+#endif /* TEPL_FILE_LOADER_H */
diff --git a/gtef/gtef-file-metadata.c b/gtef/gtef-file-metadata.c
index bd97d95..5b88c7b 100644
--- a/gtef/gtef-file-metadata.c
+++ b/gtef/gtef-file-metadata.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -18,49 +18,49 @@
  */
 
 #include "config.h"
-#include "gtef-file-metadata.h"
+#include "tepl-file-metadata.h"
 #include <glib/gi18n-lib.h>
-#include "gtef-file.h"
-#include "gtef-metadata-manager.h"
+#include "tepl-file.h"
+#include "tepl-metadata-manager.h"
 
 /**
  * SECTION:file-metadata
  * @Short_description: File metadata
- * @Title: GtefFileMetadata
+ * @Title: TeplFileMetadata
  *
- * A #GtefFileMetadata object stores the metadata of a #GtefFile. You need to
- * call gtef_metadata_manager_init() and gtef_metadata_manager_shutdown() in
+ * A #TeplFileMetadata object stores the metadata of a #TeplFile. You need to
+ * call tepl_metadata_manager_init() and tepl_metadata_manager_shutdown() in
  * your application, in case GVfs metadata are not supported.
  *
- * The gtef_file_metadata_get() and gtef_file_metadata_set() functions don't
+ * The tepl_file_metadata_get() and tepl_file_metadata_set() functions don't
  * load or save the metadata on disk. They only access the metadata stored in
- * the #GtefFileMetadata object memory. To load the metadata from disk, call
- * gtef_file_metadata_load() or its async variant. Likewise, to save the
- * metadata on disk, call gtef_file_metadata_save() or its async variant. When
- * loading or saving metadata, the file at #GtefFile:location, if non-%NULL,
+ * the #TeplFileMetadata object memory. To load the metadata from disk, call
+ * tepl_file_metadata_load() or its async variant. Likewise, to save the
+ * metadata on disk, call tepl_file_metadata_save() or its async variant. When
+ * loading or saving metadata, the file at #TeplFile:location, if non-%NULL,
  * must exist on the filesystem, otherwise an error is returned.
  *
- * When the #GtefFile:location changes, the metadata are still kept in the
- * #GtefFileMetadata object memory. But the metadata are
+ * When the #TeplFile:location changes, the metadata are still kept in the
+ * #TeplFileMetadata object memory. But the metadata are
  * <emphasis>not</emphasis> automatically saved for the new location.
  */
 
 /* TODO Better test how it works with remote files, with various protocols.
  * For example with an ftp://... location, there can be the error "The specified
  * location is not mounted". In that case we can either propagate the error or
- * automatically call the GtefFile mount operation factory method.
+ * automatically call the TeplFile mount operation factory method.
  *
  * On Linux, is the metadata supported for all GVfs backends? (the custom
  * metadata that we set). Does it fallback to the metadata manager even on
  * Linux?
  */
 
-typedef struct _GtefFileMetadataPrivate GtefFileMetadataPrivate;
+typedef struct _TeplFileMetadataPrivate TeplFileMetadataPrivate;
 
-struct _GtefFileMetadataPrivate
+struct _TeplFileMetadataPrivate
 {
        /* Weak ref */
-       GtefFile *file;
+       TeplFile *file;
 
        /* Never NULL */
        GFileInfo *file_info;
@@ -77,7 +77,7 @@ enum
 
 static GParamSpec *properties[N_PROPERTIES];
 
-G_DEFINE_TYPE_WITH_PRIVATE (GtefFileMetadata, gtef_file_metadata, G_TYPE_OBJECT)
+G_DEFINE_TYPE_WITH_PRIVATE (TeplFileMetadata, tepl_file_metadata, G_TYPE_OBJECT)
 
 #define METADATA_PREFIX "metadata::"
 #define METADATA_QUERY_ATTRIBUTES "metadata::*"
@@ -98,21 +98,21 @@ print_fallback_to_metadata_manager_warning (void)
                return;
        }
 
-       g_warning ("GVfs metadata is not supported. Fallback to GtefMetadataManager. "
+       g_warning ("GVfs metadata is not supported. Fallback to TeplMetadataManager. "
                   "Either GVfs is not correctly installed or GVfs metadata are "
                   "not supported on this platform. In the latter case, you should "
-                  "configure Gtef with --disable-gvfs-metadata.");
+                  "configure Tepl with --disable-gvfs-metadata.");
 
        warning_printed = TRUE;
 }
 
 static void
-set_file (GtefFileMetadata *metadata,
-         GtefFile         *file)
+set_file (TeplFileMetadata *metadata,
+         TeplFile         *file)
 {
-       GtefFileMetadataPrivate *priv = gtef_file_metadata_get_instance_private (metadata);
+       TeplFileMetadataPrivate *priv = tepl_file_metadata_get_instance_private (metadata);
 
-       g_return_if_fail (GTEF_IS_FILE (file));
+       g_return_if_fail (TEPL_IS_FILE (file));
 
        g_assert (priv->file == NULL);
        priv->file = file;
@@ -124,17 +124,17 @@ set_file (GtefFileMetadata *metadata,
 }
 
 static void
-gtef_file_metadata_get_property (GObject    *object,
+tepl_file_metadata_get_property (GObject    *object,
                                 guint       prop_id,
                                 GValue     *value,
                                 GParamSpec *pspec)
 {
-       GtefFileMetadata *metadata = GTEF_FILE_METADATA (object);
+       TeplFileMetadata *metadata = TEPL_FILE_METADATA (object);
 
        switch (prop_id)
        {
                case PROP_FILE:
-                       g_value_set_object (value, gtef_file_metadata_get_file (metadata));
+                       g_value_set_object (value, tepl_file_metadata_get_file (metadata));
                        break;
 
                default:
@@ -144,12 +144,12 @@ gtef_file_metadata_get_property (GObject    *object,
 }
 
 static void
-gtef_file_metadata_set_property (GObject      *object,
+tepl_file_metadata_set_property (GObject      *object,
                                 guint         prop_id,
                                 const GValue *value,
                                 GParamSpec   *pspec)
 {
-       GtefFileMetadata *metadata = GTEF_FILE_METADATA (object);
+       TeplFileMetadata *metadata = TEPL_FILE_METADATA (object);
 
        switch (prop_id)
        {
@@ -164,11 +164,11 @@ gtef_file_metadata_set_property (GObject      *object,
 }
 
 static void
-gtef_file_metadata_dispose (GObject *object)
+tepl_file_metadata_dispose (GObject *object)
 {
-       GtefFileMetadataPrivate *priv;
+       TeplFileMetadataPrivate *priv;
 
-       priv = gtef_file_metadata_get_instance_private (GTEF_FILE_METADATA (object));
+       priv = tepl_file_metadata_get_instance_private (TEPL_FILE_METADATA (object));
 
        if (priv->file != NULL)
        {
@@ -178,35 +178,35 @@ gtef_file_metadata_dispose (GObject *object)
                priv->file = NULL;
        }
 
-       G_OBJECT_CLASS (gtef_file_metadata_parent_class)->dispose (object);
+       G_OBJECT_CLASS (tepl_file_metadata_parent_class)->dispose (object);
 }
 
 static void
-gtef_file_metadata_finalize (GObject *object)
+tepl_file_metadata_finalize (GObject *object)
 {
-       GtefFileMetadataPrivate *priv;
+       TeplFileMetadataPrivate *priv;
 
-       priv = gtef_file_metadata_get_instance_private (GTEF_FILE_METADATA (object));
+       priv = tepl_file_metadata_get_instance_private (TEPL_FILE_METADATA (object));
 
        g_object_unref (priv->file_info);
 
-       G_OBJECT_CLASS (gtef_file_metadata_parent_class)->finalize (object);
+       G_OBJECT_CLASS (tepl_file_metadata_parent_class)->finalize (object);
 }
 
 static void
-gtef_file_metadata_class_init (GtefFileMetadataClass *klass)
+tepl_file_metadata_class_init (TeplFileMetadataClass *klass)
 {
        GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-       object_class->get_property = gtef_file_metadata_get_property;
-       object_class->set_property = gtef_file_metadata_set_property;
-       object_class->dispose = gtef_file_metadata_dispose;
-       object_class->finalize = gtef_file_metadata_finalize;
+       object_class->get_property = tepl_file_metadata_get_property;
+       object_class->set_property = tepl_file_metadata_set_property;
+       object_class->dispose = tepl_file_metadata_dispose;
+       object_class->finalize = tepl_file_metadata_finalize;
 
        /**
-        * GtefFileMetadata:file:
+        * TeplFileMetadata:file:
         *
-        * The #GtefFile that the metadata belong to.
+        * The #TeplFile that the metadata belong to.
         *
         * Since: 1.0
         */
@@ -214,7 +214,7 @@ gtef_file_metadata_class_init (GtefFileMetadataClass *klass)
                g_param_spec_object ("file",
                                     "File",
                                     "",
-                                    GTEF_TYPE_FILE,
+                                    TEPL_TYPE_FILE,
                                     G_PARAM_READWRITE |
                                     G_PARAM_CONSTRUCT_ONLY |
                                     G_PARAM_STATIC_STRINGS);
@@ -223,9 +223,9 @@ gtef_file_metadata_class_init (GtefFileMetadataClass *klass)
 }
 
 static void
-gtef_file_metadata_init (GtefFileMetadata *metadata)
+tepl_file_metadata_init (TeplFileMetadata *metadata)
 {
-       GtefFileMetadataPrivate *priv = gtef_file_metadata_get_instance_private (metadata);
+       TeplFileMetadataPrivate *priv = tepl_file_metadata_get_instance_private (metadata);
 
        priv->file_info = g_file_info_new ();
 
@@ -237,43 +237,43 @@ gtef_file_metadata_init (GtefFileMetadata *metadata)
 }
 
 /**
- * gtef_file_metadata_new:
- * @file: the #GtefFile that the metadata will belong to.
+ * tepl_file_metadata_new:
+ * @file: the #TeplFile that the metadata will belong to.
  *
- * Returns: a new #GtefFileMetadata object.
+ * Returns: a new #TeplFileMetadata object.
  * Since: 1.0
  */
-GtefFileMetadata *
-gtef_file_metadata_new (GtefFile *file)
+TeplFileMetadata *
+tepl_file_metadata_new (TeplFile *file)
 {
-       g_return_val_if_fail (GTEF_IS_FILE (file), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE (file), NULL);
 
-       return g_object_new (GTEF_TYPE_FILE_METADATA,
+       return g_object_new (TEPL_TYPE_FILE_METADATA,
                             "file", file,
                             NULL);
 }
 
 /**
- * gtef_file_metadata_get_file:
- * @metadata: a #GtefFileMetadata object.
+ * tepl_file_metadata_get_file:
+ * @metadata: a #TeplFileMetadata object.
  *
- * Returns: (transfer none): the #GtefFile that the metadata belong to.
+ * Returns: (transfer none): the #TeplFile that the metadata belong to.
  * Since: 1.0
  */
-GtefFile *
-gtef_file_metadata_get_file (GtefFileMetadata *metadata)
+TeplFile *
+tepl_file_metadata_get_file (TeplFileMetadata *metadata)
 {
-       GtefFileMetadataPrivate *priv;
+       TeplFileMetadataPrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FILE_METADATA (metadata), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE_METADATA (metadata), NULL);
 
-       priv = gtef_file_metadata_get_instance_private (metadata);
+       priv = tepl_file_metadata_get_instance_private (metadata);
        return priv->file;
 }
 
 /**
- * gtef_file_metadata_get:
- * @metadata: a #GtefFileMetadata.
+ * tepl_file_metadata_get:
+ * @metadata: a #TeplFileMetadata.
  * @key: the name of the metadata.
  *
  * Gets the value of a metadata stored in the @metadata object memory.
@@ -283,17 +283,17 @@ gtef_file_metadata_get_file (GtefFileMetadata *metadata)
  * Since: 1.0
  */
 gchar *
-gtef_file_metadata_get (GtefFileMetadata *metadata,
+tepl_file_metadata_get (TeplFileMetadata *metadata,
                        const gchar      *key)
 {
-       GtefFileMetadataPrivate *priv;
+       TeplFileMetadataPrivate *priv;
        gchar *attribute_key;
        gchar *value = NULL;
 
-       g_return_val_if_fail (GTEF_IS_FILE_METADATA (metadata), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE_METADATA (metadata), NULL);
        g_return_val_if_fail (key != NULL && key[0] != '\0', NULL);
 
-       priv = gtef_file_metadata_get_instance_private (metadata);
+       priv = tepl_file_metadata_get_instance_private (metadata);
 
        attribute_key = get_metadata_attribute_key (key);
 
@@ -308,8 +308,8 @@ gtef_file_metadata_get (GtefFileMetadata *metadata,
 }
 
 /**
- * gtef_file_metadata_set:
- * @metadata: a #GtefFileMetadata.
+ * tepl_file_metadata_set:
+ * @metadata: a #TeplFileMetadata.
  * @key: the name of the metadata.
  * @value: (nullable): the value of the metadata, or %NULL to unset.
  *
@@ -322,17 +322,17 @@ gtef_file_metadata_get (GtefFileMetadata *metadata,
  * Since: 1.0
  */
 void
-gtef_file_metadata_set (GtefFileMetadata *metadata,
+tepl_file_metadata_set (TeplFileMetadata *metadata,
                        const gchar      *key,
                        const gchar      *value)
 {
-       GtefFileMetadataPrivate *priv;
+       TeplFileMetadataPrivate *priv;
        gchar *attribute_key;
 
-       g_return_if_fail (GTEF_IS_FILE_METADATA (metadata));
+       g_return_if_fail (TEPL_IS_FILE_METADATA (metadata));
        g_return_if_fail (key != NULL && key[0] != '\0');
 
-       priv = gtef_file_metadata_get_instance_private (metadata);
+       priv = tepl_file_metadata_get_instance_private (metadata);
 
        attribute_key = get_metadata_attribute_key (key);
 
@@ -355,46 +355,46 @@ gtef_file_metadata_set (GtefFileMetadata *metadata,
 }
 
 /**
- * gtef_file_metadata_load:
- * @metadata: a #GtefFileMetadata.
+ * tepl_file_metadata_load:
+ * @metadata: a #TeplFileMetadata.
  * @cancellable: (nullable): optional #GCancellable object, %NULL to ignore.
  * @error: location to a %NULL #GError, or %NULL.
  *
- * Loads synchronously the metadata from #GtefFile:location. The loaded
- * metadata values can then be accessed with gtef_file_metadata_get().
+ * Loads synchronously the metadata from #TeplFile:location. The loaded
+ * metadata values can then be accessed with tepl_file_metadata_get().
  *
  * If the metadata are loaded successfully, this function deletes all previous
  * metadata stored in the @metadata object memory.
  *
- * The file at #GtefFile:location, if non-%NULL, must exist on the
+ * The file at #TeplFile:location, if non-%NULL, must exist on the
  * filesystem, otherwise an error is returned.
  *
- * If #GtefFile:location is %NULL, %FALSE is simply returned.
+ * If #TeplFile:location is %NULL, %FALSE is simply returned.
  *
  * Returns: whether the metadata was loaded successfully.
  * Since: 1.0
  */
 gboolean
-gtef_file_metadata_load (GtefFileMetadata  *metadata,
+tepl_file_metadata_load (TeplFileMetadata  *metadata,
                         GCancellable      *cancellable,
                         GError           **error)
 {
-       GtefFileMetadataPrivate *priv;
+       TeplFileMetadataPrivate *priv;
        GFile *location;
        GFileInfo *file_info;
 
-       g_return_val_if_fail (GTEF_IS_FILE_METADATA (metadata), FALSE);
+       g_return_val_if_fail (TEPL_IS_FILE_METADATA (metadata), FALSE);
        g_return_val_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable), FALSE);
        g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
 
-       priv = gtef_file_metadata_get_instance_private (metadata);
+       priv = tepl_file_metadata_get_instance_private (metadata);
 
        if (priv->file == NULL)
        {
                return FALSE;
        }
 
-       location = gtef_file_get_location (priv->file);
+       location = tepl_file_get_location (priv->file);
        if (location == NULL)
        {
                return FALSE;
@@ -427,7 +427,7 @@ gtef_file_metadata_load (GtefFileMetadata  *metadata,
 
        if (!priv->use_gvfs_metadata)
        {
-               file_info = _gtef_metadata_manager_get_all_metadata_for_location (location);
+               file_info = _tepl_metadata_manager_get_all_metadata_for_location (location);
        }
 
        if (file_info == NULL)
@@ -448,13 +448,13 @@ load_metadata_async_cb (GObject      *source_object,
 {
        GFile *location = G_FILE (source_object);
        GTask *task = G_TASK (user_data);
-       GtefFileMetadata *metadata;
-       GtefFileMetadataPrivate *priv;
+       TeplFileMetadata *metadata;
+       TeplFileMetadataPrivate *priv;
        GFileInfo *file_info;
        GError *error = NULL;
 
        metadata = g_task_get_source_object (task);
-       priv = gtef_file_metadata_get_instance_private (metadata);
+       priv = tepl_file_metadata_get_instance_private (metadata);
 
        file_info = g_file_query_info_finish (location, result, &error);
 
@@ -466,7 +466,7 @@ load_metadata_async_cb (GObject      *source_object,
                g_clear_error (&error);
                g_clear_object (&metadata);
 
-               file_info = _gtef_metadata_manager_get_all_metadata_for_location (location);
+               file_info = _tepl_metadata_manager_get_all_metadata_for_location (location);
        }
 
        if (error != NULL)
@@ -492,8 +492,8 @@ load_metadata_async_cb (GObject      *source_object,
 }
 
 /**
- * gtef_file_metadata_load_async:
- * @metadata: a #GtefFileMetadata.
+ * tepl_file_metadata_load_async:
+ * @metadata: a #TeplFileMetadata.
  * @io_priority: the I/O priority of the request. E.g. %G_PRIORITY_LOW,
  *   %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
  * @cancellable: (nullable): optional #GCancellable object, %NULL to ignore.
@@ -501,7 +501,7 @@ load_metadata_async_cb (GObject      *source_object,
  *   satisfied.
  * @user_data: user data to pass to @callback.
  *
- * The asynchronous version of gtef_file_metadata_load().
+ * The asynchronous version of tepl_file_metadata_load().
  *
  * If the metadata is loaded from the metadata manager (i.e. not with GVfs),
  * this function loads the metadata synchronously. A future version might fix
@@ -512,20 +512,20 @@ load_metadata_async_cb (GObject      *source_object,
  * Since: 1.0
  */
 void
-gtef_file_metadata_load_async (GtefFileMetadata    *metadata,
+tepl_file_metadata_load_async (TeplFileMetadata    *metadata,
                               gint                 io_priority,
                               GCancellable        *cancellable,
                               GAsyncReadyCallback  callback,
                               gpointer             user_data)
 {
-       GtefFileMetadataPrivate *priv;
+       TeplFileMetadataPrivate *priv;
        GTask *task;
        GFile *location;
 
-       g_return_if_fail (GTEF_IS_FILE_METADATA (metadata));
+       g_return_if_fail (TEPL_IS_FILE_METADATA (metadata));
        g_return_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable));
 
-       priv = gtef_file_metadata_get_instance_private (metadata);
+       priv = tepl_file_metadata_get_instance_private (metadata);
 
        task = g_task_new (metadata, cancellable, callback, user_data);
 
@@ -536,7 +536,7 @@ gtef_file_metadata_load_async (GtefFileMetadata    *metadata,
                return;
        }
 
-       location = gtef_file_get_location (priv->file);
+       location = tepl_file_get_location (priv->file);
        if (location == NULL)
        {
                g_task_return_boolean (task, FALSE);
@@ -558,29 +558,29 @@ gtef_file_metadata_load_async (GtefFileMetadata    *metadata,
        {
                gboolean ok;
 
-               ok = gtef_file_metadata_load (metadata, cancellable, NULL);
+               ok = tepl_file_metadata_load (metadata, cancellable, NULL);
                g_task_return_boolean (task, ok);
                g_object_unref (task);
        }
 }
 
 /**
- * gtef_file_metadata_load_finish:
- * @metadata: a #GtefFileMetadata.
+ * tepl_file_metadata_load_finish:
+ * @metadata: a #TeplFileMetadata.
  * @result: a #GAsyncResult.
  * @error: location to a %NULL #GError, or %NULL.
  *
- * Finishes the metadata loading started with gtef_file_metadata_load_async().
+ * Finishes the metadata loading started with tepl_file_metadata_load_async().
  *
  * Returns: whether the metadata was loaded successfully.
  * Since: 1.0
  */
 gboolean
-gtef_file_metadata_load_finish (GtefFileMetadata  *metadata,
+tepl_file_metadata_load_finish (TeplFileMetadata  *metadata,
                                GAsyncResult      *result,
                                GError           **error)
 {
-       g_return_val_if_fail (GTEF_IS_FILE_METADATA (metadata), FALSE);
+       g_return_val_if_fail (TEPL_IS_FILE_METADATA (metadata), FALSE);
        g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
        g_return_val_if_fail (g_task_is_valid (result, metadata), FALSE);
 
@@ -588,41 +588,41 @@ gtef_file_metadata_load_finish (GtefFileMetadata  *metadata,
 }
 
 /**
- * gtef_file_metadata_save:
- * @metadata: a #GtefFileMetadata.
+ * tepl_file_metadata_save:
+ * @metadata: a #TeplFileMetadata.
  * @cancellable: (nullable): optional #GCancellable object, %NULL to ignore.
  * @error: location to a %NULL #GError, or %NULL.
  *
- * Saves synchronously the metadata for #GtefFile:location.
+ * Saves synchronously the metadata for #TeplFile:location.
  *
- * The file at #GtefFile:location, if non-%NULL, must exist on the
+ * The file at #TeplFile:location, if non-%NULL, must exist on the
  * filesystem, otherwise an error is returned.
  *
- * If #GtefFile:location is %NULL, %FALSE is simply returned.
+ * If #TeplFile:location is %NULL, %FALSE is simply returned.
  *
  * Returns: whether the metadata was saved successfully.
  * Since: 1.0
  */
 gboolean
-gtef_file_metadata_save (GtefFileMetadata  *metadata,
+tepl_file_metadata_save (TeplFileMetadata  *metadata,
                         GCancellable      *cancellable,
                         GError           **error)
 {
-       GtefFileMetadataPrivate *priv;
+       TeplFileMetadataPrivate *priv;
        GFile *location;
 
-       g_return_val_if_fail (GTEF_IS_FILE_METADATA (metadata), FALSE);
+       g_return_val_if_fail (TEPL_IS_FILE_METADATA (metadata), FALSE);
        g_return_val_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable), FALSE);
        g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
 
-       priv = gtef_file_metadata_get_instance_private (metadata);
+       priv = tepl_file_metadata_get_instance_private (metadata);
 
        if (priv->file == NULL)
        {
                return FALSE;
        }
 
-       location = gtef_file_get_location (priv->file);
+       location = tepl_file_get_location (priv->file);
        if (location == NULL)
        {
                return FALSE;
@@ -659,7 +659,7 @@ gtef_file_metadata_save (GtefFileMetadata  *metadata,
 
        g_assert (!priv->use_gvfs_metadata);
 
-       _gtef_metadata_manager_set_metadata_for_location (location, priv->file_info);
+       _tepl_metadata_manager_set_metadata_for_location (location, priv->file_info);
 
        return TRUE;
 }
@@ -671,12 +671,12 @@ save_metadata_async_cb (GObject      *source_object,
 {
        GFile *location = G_FILE (source_object);
        GTask *task = G_TASK (user_data);
-       GtefFileMetadata *metadata;
-       GtefFileMetadataPrivate *priv;
+       TeplFileMetadata *metadata;
+       TeplFileMetadataPrivate *priv;
        GError *error = NULL;
 
        metadata = g_task_get_source_object (task);
-       priv = gtef_file_metadata_get_instance_private (metadata);
+       priv = tepl_file_metadata_get_instance_private (metadata);
 
        g_file_set_attributes_finish (location, result, NULL, &error);
 
@@ -687,7 +687,7 @@ save_metadata_async_cb (GObject      *source_object,
 
                g_clear_error (&error);
 
-               _gtef_metadata_manager_set_metadata_for_location (location, priv->file_info);
+               _tepl_metadata_manager_set_metadata_for_location (location, priv->file_info);
        }
 
        if (error != NULL)
@@ -702,8 +702,8 @@ save_metadata_async_cb (GObject      *source_object,
 }
 
 /**
- * gtef_file_metadata_save_async:
- * @metadata: a #GtefFileMetadata.
+ * tepl_file_metadata_save_async:
+ * @metadata: a #TeplFileMetadata.
  * @io_priority: the I/O priority of the request. E.g. %G_PRIORITY_LOW,
  *   %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
  * @cancellable: (nullable): optional #GCancellable object, %NULL to ignore.
@@ -711,7 +711,7 @@ save_metadata_async_cb (GObject      *source_object,
  *   satisfied.
  * @user_data: user data to pass to @callback.
  *
- * The asynchronous version of gtef_file_metadata_save().
+ * The asynchronous version of tepl_file_metadata_save().
  *
  * If the metadata is saved with the metadata manager (i.e. not with GVfs), this
  * function saves the metadata synchronously. A future version might fix this.
@@ -721,20 +721,20 @@ save_metadata_async_cb (GObject      *source_object,
  * Since: 1.0
  */
 void
-gtef_file_metadata_save_async (GtefFileMetadata    *metadata,
+tepl_file_metadata_save_async (TeplFileMetadata    *metadata,
                               gint                 io_priority,
                               GCancellable        *cancellable,
                               GAsyncReadyCallback  callback,
                               gpointer             user_data)
 {
-       GtefFileMetadataPrivate *priv;
+       TeplFileMetadataPrivate *priv;
        GTask *task;
        GFile *location;
 
-       g_return_if_fail (GTEF_IS_FILE_METADATA (metadata));
+       g_return_if_fail (TEPL_IS_FILE_METADATA (metadata));
        g_return_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable));
 
-       priv = gtef_file_metadata_get_instance_private (metadata);
+       priv = tepl_file_metadata_get_instance_private (metadata);
 
        task = g_task_new (metadata, cancellable, callback, user_data);
 
@@ -745,7 +745,7 @@ gtef_file_metadata_save_async (GtefFileMetadata    *metadata,
                return;
        }
 
-       location = gtef_file_get_location (priv->file);
+       location = tepl_file_get_location (priv->file);
        if (location == NULL)
        {
                g_task_return_boolean (task, FALSE);
@@ -765,29 +765,29 @@ gtef_file_metadata_save_async (GtefFileMetadata    *metadata,
        }
        else
        {
-               _gtef_metadata_manager_set_metadata_for_location (location, priv->file_info);
+               _tepl_metadata_manager_set_metadata_for_location (location, priv->file_info);
                g_task_return_boolean (task, TRUE);
                g_object_unref (task);
        }
 }
 
 /**
- * gtef_file_metadata_save_finish:
- * @metadata: a #GtefFileMetadata.
+ * tepl_file_metadata_save_finish:
+ * @metadata: a #TeplFileMetadata.
  * @result: a #GAsyncResult.
  * @error: location to a %NULL #GError, or %NULL.
  *
- * Finishes the metadata saving started with gtef_file_metadata_save_async().
+ * Finishes the metadata saving started with tepl_file_metadata_save_async().
  *
  * Returns: whether the metadata was saved successfully.
  * Since: 1.0
  */
 gboolean
-gtef_file_metadata_save_finish (GtefFileMetadata  *metadata,
+tepl_file_metadata_save_finish (TeplFileMetadata  *metadata,
                                GAsyncResult      *result,
                                GError           **error)
 {
-       g_return_val_if_fail (GTEF_IS_FILE_METADATA (metadata), FALSE);
+       g_return_val_if_fail (TEPL_IS_FILE_METADATA (metadata), FALSE);
        g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
        g_return_val_if_fail (g_task_is_valid (result, metadata), FALSE);
 
@@ -796,14 +796,14 @@ gtef_file_metadata_save_finish (GtefFileMetadata  *metadata,
 
 /* For unit tests. */
 void
-_gtef_file_metadata_set_use_gvfs_metadata (GtefFileMetadata *metadata,
+_tepl_file_metadata_set_use_gvfs_metadata (TeplFileMetadata *metadata,
                                           gboolean          use_gvfs_metadata)
 {
-       GtefFileMetadataPrivate *priv;
+       TeplFileMetadataPrivate *priv;
 
-       g_return_if_fail (GTEF_IS_FILE_METADATA (metadata));
+       g_return_if_fail (TEPL_IS_FILE_METADATA (metadata));
 
-       priv = gtef_file_metadata_get_instance_private (metadata);
+       priv = tepl_file_metadata_get_instance_private (metadata);
 
        priv->use_gvfs_metadata = use_gvfs_metadata != FALSE;
 }
diff --git a/gtef/gtef-file-metadata.h b/gtef/gtef-file-metadata.h
index f26d26f..cdf4c4c 100644
--- a/gtef/gtef-file-metadata.h
+++ b/gtef/gtef-file-metadata.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,73 +17,73 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_FILE_METADATA_H
-#define GTEF_FILE_METADATA_H
+#ifndef TEPL_FILE_METADATA_H
+#define TEPL_FILE_METADATA_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <gio/gio.h>
-#include <gtef/gtef-types.h>
+#include <tepl/tepl-types.h>
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_FILE_METADATA (gtef_file_metadata_get_type ())
-G_DECLARE_DERIVABLE_TYPE (GtefFileMetadata, gtef_file_metadata,
-                         GTEF, FILE_METADATA,
+#define TEPL_TYPE_FILE_METADATA (tepl_file_metadata_get_type ())
+G_DECLARE_DERIVABLE_TYPE (TeplFileMetadata, tepl_file_metadata,
+                         TEPL, FILE_METADATA,
                          GObject)
 
-struct _GtefFileMetadataClass
+struct _TeplFileMetadataClass
 {
        GObjectClass parent_class;
 
        gpointer padding[12];
 };
 
-GtefFileMetadata *     gtef_file_metadata_new                          (GtefFile *file);
+TeplFileMetadata *     tepl_file_metadata_new                          (TeplFile *file);
 
-GtefFile *             gtef_file_metadata_get_file                     (GtefFileMetadata *metadata);
+TeplFile *             tepl_file_metadata_get_file                     (TeplFileMetadata *metadata);
 
-gchar *                        gtef_file_metadata_get                          (GtefFileMetadata *metadata,
+gchar *                        tepl_file_metadata_get                          (TeplFileMetadata *metadata,
                                                                         const gchar      *key);
 
-void                   gtef_file_metadata_set                          (GtefFileMetadata *metadata,
+void                   tepl_file_metadata_set                          (TeplFileMetadata *metadata,
                                                                         const gchar      *key,
                                                                         const gchar      *value);
 
-gboolean               gtef_file_metadata_load                         (GtefFileMetadata  *metadata,
+gboolean               tepl_file_metadata_load                         (TeplFileMetadata  *metadata,
                                                                         GCancellable      *cancellable,
                                                                         GError           **error);
 
-void                   gtef_file_metadata_load_async                   (GtefFileMetadata    *metadata,
+void                   tepl_file_metadata_load_async                   (TeplFileMetadata    *metadata,
                                                                         gint                 io_priority,
                                                                         GCancellable        *cancellable,
                                                                         GAsyncReadyCallback  callback,
                                                                         gpointer             user_data);
 
-gboolean               gtef_file_metadata_load_finish                  (GtefFileMetadata  *metadata,
+gboolean               tepl_file_metadata_load_finish                  (TeplFileMetadata  *metadata,
                                                                         GAsyncResult      *result,
                                                                         GError           **error);
 
-gboolean               gtef_file_metadata_save                         (GtefFileMetadata  *metadata,
+gboolean               tepl_file_metadata_save                         (TeplFileMetadata  *metadata,
                                                                         GCancellable      *cancellable,
                                                                         GError           **error);
 
-void                   gtef_file_metadata_save_async                   (GtefFileMetadata    *metadata,
+void                   tepl_file_metadata_save_async                   (TeplFileMetadata    *metadata,
                                                                         gint                 io_priority,
                                                                         GCancellable        *cancellable,
                                                                         GAsyncReadyCallback  callback,
                                                                         gpointer             user_data);
 
-gboolean               gtef_file_metadata_save_finish                  (GtefFileMetadata  *metadata,
+gboolean               tepl_file_metadata_save_finish                  (TeplFileMetadata  *metadata,
                                                                         GAsyncResult      *result,
                                                                         GError           **error);
 
 G_GNUC_INTERNAL
-void                   _gtef_file_metadata_set_use_gvfs_metadata       (GtefFileMetadata *metadata,
+void                   _tepl_file_metadata_set_use_gvfs_metadata       (TeplFileMetadata *metadata,
                                                                         gboolean          use_gvfs_metadata);
 
 G_END_DECLS
 
-#endif /* GTEF_FILE_METADATA_H */
+#endif /* TEPL_FILE_METADATA_H */
diff --git a/gtef/gtef-file-saver.c b/gtef/gtef-file-saver.c
index df6717d..16463af 100644
--- a/gtef/gtef-file-saver.c
+++ b/gtef/gtef-file-saver.c
@@ -1,17 +1,17 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2005-2007 - Paolo Borelli and Paolo Maggi
  * Copyright 2007 - Steve Frécinaux
  * Copyright 2008 - Jesse van den Kieboom
  * Copyright 2014, 2016, 2017 - Sébastien Wilmet
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -21,33 +21,33 @@
  */
 
 #include "config.h"
-#include "gtef-file-saver.h"
+#include "tepl-file-saver.h"
 #include <glib/gi18n-lib.h>
-#include "gtef-file.h"
-#include "gtef-buffer-input-stream.h"
-#include "gtef-buffer.h"
-#include "gtef-encoding.h"
-#include "gtef-enum-types.h"
+#include "tepl-file.h"
+#include "tepl-buffer-input-stream.h"
+#include "tepl-buffer.h"
+#include "tepl-encoding.h"
+#include "tepl-enum-types.h"
 
 /**
  * SECTION:file-saver
- * @Short_description: Save a GtefBuffer into a file
- * @Title: GtefFileSaver
- * @See_also: #GtefFile, #GtefFileLoader
+ * @Short_description: Save a TeplBuffer into a file
+ * @Title: TeplFileSaver
+ * @See_also: #TeplFile, #TeplFileLoader
  *
- * A #GtefFileSaver object permits to save a #GtefBuffer into a #GFile.
+ * A #TeplFileSaver object permits to save a #TeplBuffer into a #GFile.
  *
  * A file saver should be used only for one save operation, including errors
  * handling. If an error occurs, you can reconfigure the saver and relaunch the
- * operation with gtef_file_saver_save_async().
+ * operation with tepl_file_saver_save_async().
  *
- * #GtefFileSaver is a fork of #GtkSourceFileSaver, the code has been a little
- * improved (but no major changes). See the description of #GtefFile for more
+ * #TeplFileSaver is a fork of #GtkSourceFileSaver, the code has been a little
+ * improved (but no major changes). See the description of #TeplFile for more
  * background on why a fork was needed.
  */
 
 /* The code has been written initially in gedit (GeditDocumentSaver).
- * It uses a GtefBufferInputStream as input, create converter(s) if needed
+ * It uses a TeplBufferInputStream as input, create converter(s) if needed
  * for the encoding and the compression, and write the contents to a
  * GOutputStream (the file).
  */
@@ -72,7 +72,7 @@ enum
        PROP_FLAGS
 };
 
-struct _GtefFileSaverPrivate
+struct _TeplFileSaverPrivate
 {
        /* Weak ref to the GtkSourceBuffer. A strong ref could create a
         * reference cycle in an application. For example a subclass of
@@ -80,18 +80,18 @@ struct _GtefFileSaverPrivate
         */
        GtkSourceBuffer *source_buffer;
 
-       /* Weak ref to the GtefFile. A strong ref could create a reference
-        * cycle in an application. For example a subclass of GtefFile can
+       /* Weak ref to the TeplFile. A strong ref could create a reference
+        * cycle in an application. For example a subclass of TeplFile can
         * have a strong ref to the FileSaver.
         */
-       GtefFile *file;
+       TeplFile *file;
 
        GFile *location;
 
-       GtefEncoding *encoding;
-       GtefNewlineType newline_type;
-       GtefCompressionType compression_type;
-       GtefFileSaverFlags flags;
+       TeplEncoding *encoding;
+       TeplNewlineType newline_type;
+       TeplCompressionType compression_type;
+       TeplFileSaverFlags flags;
 
        GTask *task;
 };
@@ -108,7 +108,7 @@ struct _TaskData
         * (2) Sync methods must be used for the input stream, and async
         *     methods for the output stream.
         */
-       GtefBufferInputStream *input_stream;
+       TeplBufferInputStream *input_stream;
        GOutputStream *output_stream;
 
        goffset total_size;
@@ -129,7 +129,7 @@ struct _TaskData
        guint tried_mount : 1;
 };
 
-G_DEFINE_TYPE_WITH_PRIVATE (GtefFileSaver, gtef_file_saver, G_TYPE_OBJECT)
+G_DEFINE_TYPE_WITH_PRIVATE (TeplFileSaver, tepl_file_saver, G_TYPE_OBJECT)
 
 static void read_file_chunk (GTask *task);
 static void write_file_chunk (GTask *task);
@@ -165,12 +165,12 @@ task_data_free (gpointer data)
 }
 
 static void
-gtef_file_saver_set_property (GObject      *object,
+tepl_file_saver_set_property (GObject      *object,
                              guint         prop_id,
                              const GValue *value,
                              GParamSpec   *pspec)
 {
-       GtefFileSaver *saver = GTEF_FILE_SAVER (object);
+       TeplFileSaver *saver = TEPL_FILE_SAVER (object);
 
        switch (prop_id)
        {
@@ -194,19 +194,19 @@ gtef_file_saver_set_property (GObject      *object,
                        break;
 
                case PROP_ENCODING:
-                       gtef_file_saver_set_encoding (saver, g_value_get_boxed (value));
+                       tepl_file_saver_set_encoding (saver, g_value_get_boxed (value));
                        break;
 
                case PROP_NEWLINE_TYPE:
-                       gtef_file_saver_set_newline_type (saver, g_value_get_enum (value));
+                       tepl_file_saver_set_newline_type (saver, g_value_get_enum (value));
                        break;
 
                case PROP_COMPRESSION_TYPE:
-                       gtef_file_saver_set_compression_type (saver, g_value_get_enum (value));
+                       tepl_file_saver_set_compression_type (saver, g_value_get_enum (value));
                        break;
 
                case PROP_FLAGS:
-                       gtef_file_saver_set_flags (saver, g_value_get_flags (value));
+                       tepl_file_saver_set_flags (saver, g_value_get_flags (value));
                        break;
 
                default:
@@ -216,12 +216,12 @@ gtef_file_saver_set_property (GObject      *object,
 }
 
 static void
-gtef_file_saver_get_property (GObject    *object,
+tepl_file_saver_get_property (GObject    *object,
                              guint       prop_id,
                              GValue     *value,
                              GParamSpec *pspec)
 {
-       GtefFileSaver *saver = GTEF_FILE_SAVER (object);
+       TeplFileSaver *saver = TEPL_FILE_SAVER (object);
 
        switch (prop_id)
        {
@@ -260,9 +260,9 @@ gtef_file_saver_get_property (GObject    *object,
 }
 
 static void
-gtef_file_saver_dispose (GObject *object)
+tepl_file_saver_dispose (GObject *object)
 {
-       GtefFileSaver *saver = GTEF_FILE_SAVER (object);
+       TeplFileSaver *saver = TEPL_FILE_SAVER (object);
 
        if (saver->priv->source_buffer != NULL)
        {
@@ -283,42 +283,42 @@ gtef_file_saver_dispose (GObject *object)
        g_clear_object (&saver->priv->location);
        g_clear_object (&saver->priv->task);
 
-       G_OBJECT_CLASS (gtef_file_saver_parent_class)->dispose (object);
+       G_OBJECT_CLASS (tepl_file_saver_parent_class)->dispose (object);
 }
 
 static void
-gtef_file_saver_finalize (GObject *object)
+tepl_file_saver_finalize (GObject *object)
 {
-       GtefFileSaver *saver = GTEF_FILE_SAVER (object);
+       TeplFileSaver *saver = TEPL_FILE_SAVER (object);
 
-       gtef_encoding_free (saver->priv->encoding);
+       tepl_encoding_free (saver->priv->encoding);
 
-       G_OBJECT_CLASS (gtef_file_saver_parent_class)->finalize (object);
+       G_OBJECT_CLASS (tepl_file_saver_parent_class)->finalize (object);
 }
 
 static void
-gtef_file_saver_constructed (GObject *object)
+tepl_file_saver_constructed (GObject *object)
 {
-       GtefFileSaver *saver = GTEF_FILE_SAVER (object);
+       TeplFileSaver *saver = TEPL_FILE_SAVER (object);
 
        if (saver->priv->file != NULL)
        {
-               const GtefEncoding *encoding;
-               GtefNewlineType newline_type;
-               GtefCompressionType compression_type;
+               const TeplEncoding *encoding;
+               TeplNewlineType newline_type;
+               TeplCompressionType compression_type;
 
-               encoding = gtef_file_get_encoding (saver->priv->file);
-               gtef_file_saver_set_encoding (saver, encoding);
+               encoding = tepl_file_get_encoding (saver->priv->file);
+               tepl_file_saver_set_encoding (saver, encoding);
 
-               newline_type = gtef_file_get_newline_type (saver->priv->file);
-               gtef_file_saver_set_newline_type (saver, newline_type);
+               newline_type = tepl_file_get_newline_type (saver->priv->file);
+               tepl_file_saver_set_newline_type (saver, newline_type);
 
-               compression_type = gtef_file_get_compression_type (saver->priv->file);
-               gtef_file_saver_set_compression_type (saver, compression_type);
+               compression_type = tepl_file_get_compression_type (saver->priv->file);
+               tepl_file_saver_set_compression_type (saver, compression_type);
 
                if (saver->priv->location == NULL)
                {
-                       saver->priv->location = gtef_file_get_location (saver->priv->file);
+                       saver->priv->location = tepl_file_get_location (saver->priv->file);
 
                        if (saver->priv->location != NULL)
                        {
@@ -326,30 +326,30 @@ gtef_file_saver_constructed (GObject *object)
                        }
                        else
                        {
-                               g_warning ("GtefFileSaver: the GtefFile's location is NULL. "
-                                          "Use gtef_file_saver_new_with_target().");
+                               g_warning ("TeplFileSaver: the TeplFile's location is NULL. "
+                                          "Use tepl_file_saver_new_with_target().");
                        }
                }
        }
 
-       G_OBJECT_CLASS (gtef_file_saver_parent_class)->constructed (object);
+       G_OBJECT_CLASS (tepl_file_saver_parent_class)->constructed (object);
 }
 
 static void
-gtef_file_saver_class_init (GtefFileSaverClass *klass)
+tepl_file_saver_class_init (TeplFileSaverClass *klass)
 {
        GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-       object_class->dispose = gtef_file_saver_dispose;
-       object_class->finalize = gtef_file_saver_finalize;
-       object_class->set_property = gtef_file_saver_set_property;
-       object_class->get_property = gtef_file_saver_get_property;
-       object_class->constructed = gtef_file_saver_constructed;
+       object_class->dispose = tepl_file_saver_dispose;
+       object_class->finalize = tepl_file_saver_finalize;
+       object_class->set_property = tepl_file_saver_set_property;
+       object_class->get_property = tepl_file_saver_get_property;
+       object_class->constructed = tepl_file_saver_constructed;
 
        /**
-        * GtefFileSaver:buffer:
+        * TeplFileSaver:buffer:
         *
-        * The #GtefBuffer to save. The #GtefFileSaver object has a weak
+        * The #TeplBuffer to save. The #TeplFileSaver object has a weak
         * reference to the buffer.
         *
         * Since: 1.0
@@ -357,7 +357,7 @@ gtef_file_saver_class_init (GtefFileSaverClass *klass)
        g_object_class_install_property (object_class,
                                         PROP_BUFFER,
                                         g_param_spec_object ("buffer",
-                                                             "GtefBuffer",
+                                                             "TeplBuffer",
                                                              "",
                                                              GTK_SOURCE_TYPE_BUFFER,
                                                              G_PARAM_READWRITE |
@@ -365,9 +365,9 @@ gtef_file_saver_class_init (GtefFileSaverClass *klass)
                                                              G_PARAM_STATIC_STRINGS));
 
        /**
-        * GtefFileSaver:file:
+        * TeplFileSaver:file:
         *
-        * The #GtefFile. The #GtefFileSaver object has a weak
+        * The #TeplFile. The #TeplFileSaver object has a weak
         * reference to the file.
         *
         * Since: 1.0
@@ -375,18 +375,18 @@ gtef_file_saver_class_init (GtefFileSaverClass *klass)
        g_object_class_install_property (object_class,
                                         PROP_FILE,
                                         g_param_spec_object ("file",
-                                                             "GtefFile",
+                                                             "TeplFile",
                                                              "",
-                                                             GTEF_TYPE_FILE,
+                                                             TEPL_TYPE_FILE,
                                                              G_PARAM_READWRITE |
                                                              G_PARAM_CONSTRUCT_ONLY |
                                                              G_PARAM_STATIC_STRINGS));
 
        /**
-        * GtefFileSaver:location:
+        * TeplFileSaver:location:
         *
         * The #GFile where to save the buffer. By default the location is taken
-        * from the #GtefFile at construction time.
+        * from the #TeplFile at construction time.
         *
         * Since: 1.0
         */
@@ -401,7 +401,7 @@ gtef_file_saver_class_init (GtefFileSaverClass *klass)
                                                              G_PARAM_STATIC_STRINGS));
 
        /**
-        * GtefFileSaver:encoding:
+        * TeplFileSaver:encoding:
         *
         * The file's encoding.
         *
@@ -412,13 +412,13 @@ gtef_file_saver_class_init (GtefFileSaverClass *klass)
                                         g_param_spec_boxed ("encoding",
                                                             "Encoding",
                                                             "",
-                                                            GTEF_TYPE_ENCODING,
+                                                            TEPL_TYPE_ENCODING,
                                                             G_PARAM_READWRITE |
                                                             G_PARAM_CONSTRUCT |
                                                             G_PARAM_STATIC_STRINGS));
 
        /**
-        * GtefFileSaver:newline-type:
+        * TeplFileSaver:newline-type:
         *
         * The newline type.
         *
@@ -430,13 +430,13 @@ gtef_file_saver_class_init (GtefFileSaverClass *klass)
                                                            "Newline type",
                                                            "",
                                                            GTK_SOURCE_TYPE_NEWLINE_TYPE,
-                                                           GTEF_NEWLINE_TYPE_LF,
+                                                           TEPL_NEWLINE_TYPE_LF,
                                                            G_PARAM_READWRITE |
                                                            G_PARAM_CONSTRUCT |
                                                            G_PARAM_STATIC_STRINGS));
 
        /**
-        * GtefFileSaver:compression-type:
+        * TeplFileSaver:compression-type:
         *
         * The compression type.
         *
@@ -448,13 +448,13 @@ gtef_file_saver_class_init (GtefFileSaverClass *klass)
                                                            "Compression type",
                                                            "",
                                                            GTK_SOURCE_TYPE_COMPRESSION_TYPE,
-                                                           GTEF_COMPRESSION_TYPE_NONE,
+                                                           TEPL_COMPRESSION_TYPE_NONE,
                                                            G_PARAM_READWRITE |
                                                            G_PARAM_CONSTRUCT |
                                                            G_PARAM_STATIC_STRINGS));
 
        /**
-        * GtefFileSaver:flags:
+        * TeplFileSaver:flags:
         *
         * File saving flags.
         *
@@ -465,25 +465,25 @@ gtef_file_saver_class_init (GtefFileSaverClass *klass)
                                         g_param_spec_flags ("flags",
                                                             "Flags",
                                                             "",
-                                                            GTEF_TYPE_FILE_SAVER_FLAGS,
-                                                            GTEF_FILE_SAVER_FLAGS_NONE,
+                                                            TEPL_TYPE_FILE_SAVER_FLAGS,
+                                                            TEPL_FILE_SAVER_FLAGS_NONE,
                                                             G_PARAM_READWRITE |
                                                             G_PARAM_CONSTRUCT |
                                                             G_PARAM_STATIC_STRINGS));
 
        /* Due to potential deadlocks when registering types, we need to ensure
-        * the dependent private class GtefBufferInputStream has been registered
+        * the dependent private class TeplBufferInputStream has been registered
         * up front.
         *
         * See https://bugzilla.gnome.org/show_bug.cgi?id=780216
         */
-       g_type_ensure (GTEF_TYPE_BUFFER_INPUT_STREAM);
+       g_type_ensure (TEPL_TYPE_BUFFER_INPUT_STREAM);
 }
 
 static void
-gtef_file_saver_init (GtefFileSaver *saver)
+tepl_file_saver_init (TeplFileSaver *saver)
 {
-       saver->priv = gtef_file_saver_get_instance_private (saver);
+       saver->priv = tepl_file_saver_get_instance_private (saver);
 }
 
 /* BEGIN NOTE:
@@ -676,7 +676,7 @@ write_file_chunk_cb (GObject      *source_object,
        {
                gsize total_chars_written;
 
-               total_chars_written = _gtef_buffer_input_stream_tell (task_data->input_stream);
+               total_chars_written = _tepl_buffer_input_stream_tell (task_data->input_stream);
 
                task_data->progress_cb (total_chars_written,
                                        task_data->total_size,
@@ -754,7 +754,7 @@ replace_file_cb (GObject      *source_object,
 {
        GFile *location = G_FILE (source_object);
        GTask *task = G_TASK (user_data);
-       GtefFileSaver *saver;
+       TeplFileSaver *saver;
        TaskData *task_data;
        GOutputStream *output_stream;
        GError *error = NULL;
@@ -779,8 +779,8 @@ replace_file_cb (GObject      *source_object,
        else if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_WRONG_ETAG))
        {
                g_task_return_new_error (task,
-                                        GTEF_FILE_SAVER_ERROR,
-                                        GTEF_FILE_SAVER_ERROR_EXTERNALLY_MODIFIED,
+                                        TEPL_FILE_SAVER_ERROR,
+                                        TEPL_FILE_SAVER_ERROR_EXTERNALLY_MODIFIED,
                                         _("The file is externally modified."));
                g_error_free (error);
                return;
@@ -795,7 +795,7 @@ replace_file_cb (GObject      *source_object,
                return;
        }
 
-       if (saver->priv->compression_type == GTEF_COMPRESSION_TYPE_GZIP)
+       if (saver->priv->compression_type == TEPL_COMPRESSION_TYPE_GZIP)
        {
                GZlibCompressor *compressor;
 
@@ -820,14 +820,14 @@ replace_file_cb (GObject      *source_object,
 
        DEBUG ({
               g_print ("Encoding charset: %s\n",
-                       gtef_encoding_get_charset (saver->priv->encoding));
+                       tepl_encoding_get_charset (saver->priv->encoding));
        });
 
-       if (!gtef_encoding_is_utf8 (saver->priv->encoding))
+       if (!tepl_encoding_is_utf8 (saver->priv->encoding))
        {
                GCharsetConverter *converter;
 
-               converter = g_charset_converter_new (gtef_encoding_get_charset (saver->priv->encoding),
+               converter = g_charset_converter_new (tepl_encoding_get_charset (saver->priv->encoding),
                                                     "UTF-8",
                                                     &error);
 
@@ -851,7 +851,7 @@ replace_file_cb (GObject      *source_object,
                task_data->output_stream = G_OUTPUT_STREAM (output_stream);
        }
 
-       task_data->total_size = _gtef_buffer_input_stream_get_total_size (task_data->input_stream);
+       task_data->total_size = _tepl_buffer_input_stream_get_total_size (task_data->input_stream);
 
        DEBUG ({
               g_print ("Total number of characters: %" G_GINT64_FORMAT "\n", task_data->total_size);
@@ -863,26 +863,26 @@ replace_file_cb (GObject      *source_object,
 static void
 begin_write (GTask *task)
 {
-       GtefFileSaver *saver;
+       TeplFileSaver *saver;
        gboolean create_backup;
        const gchar *etag;
 
        saver = g_task_get_source_object (task);
 
-       create_backup = (saver->priv->flags & GTEF_FILE_SAVER_FLAGS_CREATE_BACKUP) != 0;
+       create_backup = (saver->priv->flags & TEPL_FILE_SAVER_FLAGS_CREATE_BACKUP) != 0;
 
        DEBUG ({
               g_print ("Start replacing file contents\n");
               g_print ("Make backup: %s\n", create_backup ? "yes" : "no");
        });
 
-       if (saver->priv->flags & GTEF_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME)
+       if (saver->priv->flags & TEPL_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME)
        {
                etag = NULL;
        }
        else
        {
-               etag = _gtef_file_get_etag (saver->priv->file);
+               etag = _tepl_file_get_etag (saver->priv->file);
        }
 
        g_file_replace_async (saver->priv->location,
@@ -902,7 +902,7 @@ mount_cb (GObject      *source_object,
 {
        GFile *location = G_FILE (source_object);
        GTask *task = G_TASK (user_data);
-       GtefFileSaver *saver;
+       TeplFileSaver *saver;
        GError *error = NULL;
 
        DEBUG ({
@@ -921,7 +921,7 @@ mount_cb (GObject      *source_object,
 
        if (saver->priv->file != NULL)
        {
-               _gtef_file_set_mounted (saver->priv->file);
+               _tepl_file_set_mounted (saver->priv->file);
        }
 
        begin_write (task);
@@ -930,14 +930,14 @@ mount_cb (GObject      *source_object,
 static void
 recover_not_mounted (GTask *task)
 {
-       GtefFileSaver *saver;
+       TeplFileSaver *saver;
        TaskData *task_data;
        GMountOperation *mount_operation;
 
        saver = g_task_get_source_object (task);
        task_data = g_task_get_task_data (task);
 
-       mount_operation = _gtef_file_create_mount_operation (saver->priv->file);
+       mount_operation = _tepl_file_create_mount_operation (saver->priv->file);
 
        DEBUG ({
               g_print ("%s\n", G_STRFUNC);
@@ -956,7 +956,7 @@ recover_not_mounted (GTask *task)
 }
 
 GQuark
-gtef_file_saver_error_quark (void)
+tepl_file_saver_error_quark (void)
 {
        static GQuark quark = 0;
 
@@ -969,185 +969,185 @@ gtef_file_saver_error_quark (void)
 }
 
 /**
- * gtef_file_saver_new:
- * @buffer: the #GtefBuffer to save.
- * @file: the #GtefFile.
+ * tepl_file_saver_new:
+ * @buffer: the #TeplBuffer to save.
+ * @file: the #TeplFile.
  *
- * Creates a new #GtefFileSaver object. The @buffer will be saved to the
- * #GtefFile's location.
+ * Creates a new #TeplFileSaver object. The @buffer will be saved to the
+ * #TeplFile's location.
  *
  * This constructor is suitable for a simple "save" operation, when the @file
- * already contains a non-%NULL #GtefFile:location.
+ * already contains a non-%NULL #TeplFile:location.
  *
- * Returns: a new #GtefFileSaver object.
+ * Returns: a new #TeplFileSaver object.
  * Since: 1.0
  */
-GtefFileSaver *
-gtef_file_saver_new (GtefBuffer *buffer,
-                    GtefFile   *file)
+TeplFileSaver *
+tepl_file_saver_new (TeplBuffer *buffer,
+                    TeplFile   *file)
 {
-       g_return_val_if_fail (GTEF_IS_BUFFER (buffer), NULL);
-       g_return_val_if_fail (GTEF_IS_FILE (file), NULL);
+       g_return_val_if_fail (TEPL_IS_BUFFER (buffer), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE (file), NULL);
 
-       return g_object_new (GTEF_TYPE_FILE_SAVER,
+       return g_object_new (TEPL_TYPE_FILE_SAVER,
                             "buffer", buffer,
                             "file", file,
                             NULL);
 }
 
 /**
- * gtef_file_saver_new_with_target:
- * @buffer: the #GtefBuffer to save.
- * @file: the #GtefFile.
+ * tepl_file_saver_new_with_target:
+ * @buffer: the #TeplBuffer to save.
+ * @file: the #TeplFile.
  * @target_location: the #GFile where to save the buffer to.
  *
- * Creates a new #GtefFileSaver object with a target location. When the
+ * Creates a new #TeplFileSaver object with a target location. When the
  * file saving is finished successfully, @target_location is set to the @file's
- * #GtefFile:location property. If an error occurs, the previous valid
- * location is still available in #GtefFile.
+ * #TeplFile:location property. If an error occurs, the previous valid
+ * location is still available in #TeplFile.
  *
- * This constructor adds %GTEF_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME to the
- * #GtefFileSaver:flags property.
+ * This constructor adds %TEPL_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME to the
+ * #TeplFileSaver:flags property.
  *
  * This constructor is suitable for a "save as" operation, or for saving a new
  * buffer for the first time.
  *
- * Returns: a new #GtefFileSaver object.
+ * Returns: a new #TeplFileSaver object.
  * Since: 1.0
  */
-GtefFileSaver *
-gtef_file_saver_new_with_target (GtefBuffer *buffer,
-                                GtefFile   *file,
+TeplFileSaver *
+tepl_file_saver_new_with_target (TeplBuffer *buffer,
+                                TeplFile   *file,
                                 GFile      *target_location)
 {
-       g_return_val_if_fail (GTEF_IS_BUFFER (buffer), NULL);
-       g_return_val_if_fail (GTEF_IS_FILE (file), NULL);
+       g_return_val_if_fail (TEPL_IS_BUFFER (buffer), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE (file), NULL);
        g_return_val_if_fail (G_IS_FILE (target_location), NULL);
 
-       return g_object_new (GTEF_TYPE_FILE_SAVER,
+       return g_object_new (TEPL_TYPE_FILE_SAVER,
                             "buffer", buffer,
                             "file", file,
                             "location", target_location,
-                            "flags", GTEF_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME,
+                            "flags", TEPL_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME,
                             NULL);
 }
 
 /**
- * gtef_file_saver_get_buffer:
- * @saver: a #GtefFileSaver.
+ * tepl_file_saver_get_buffer:
+ * @saver: a #TeplFileSaver.
  *
- * Returns: (transfer none): the #GtefBuffer to save.
+ * Returns: (transfer none): the #TeplBuffer to save.
  * Since: 1.0
  */
-GtefBuffer *
-gtef_file_saver_get_buffer (GtefFileSaver *saver)
+TeplBuffer *
+tepl_file_saver_get_buffer (TeplFileSaver *saver)
 {
-       g_return_val_if_fail (GTEF_IS_FILE_SAVER (saver), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE_SAVER (saver), NULL);
 
-       return GTEF_BUFFER (saver->priv->source_buffer);
+       return TEPL_BUFFER (saver->priv->source_buffer);
 }
 
 /**
- * gtef_file_saver_get_file:
- * @saver: a #GtefFileSaver.
+ * tepl_file_saver_get_file:
+ * @saver: a #TeplFileSaver.
  *
- * Returns: (transfer none): the #GtefFile.
+ * Returns: (transfer none): the #TeplFile.
  * Since: 1.0
  */
-GtefFile *
-gtef_file_saver_get_file (GtefFileSaver *saver)
+TeplFile *
+tepl_file_saver_get_file (TeplFileSaver *saver)
 {
-       g_return_val_if_fail (GTEF_IS_FILE_SAVER (saver), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE_SAVER (saver), NULL);
 
        return saver->priv->file;
 }
 
 /**
- * gtef_file_saver_get_location:
- * @saver: a #GtefFileSaver.
+ * tepl_file_saver_get_location:
+ * @saver: a #TeplFileSaver.
  *
  * Returns: (transfer none): the #GFile where to save the buffer to.
  * Since: 1.0
  */
 GFile *
-gtef_file_saver_get_location (GtefFileSaver *saver)
+tepl_file_saver_get_location (TeplFileSaver *saver)
 {
-       g_return_val_if_fail (GTEF_IS_FILE_SAVER (saver), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE_SAVER (saver), NULL);
 
        return saver->priv->location;
 }
 
 /**
- * gtef_file_saver_set_encoding:
- * @saver: a #GtefFileSaver.
+ * tepl_file_saver_set_encoding:
+ * @saver: a #TeplFileSaver.
  * @encoding: (allow-none): the new encoding, or %NULL for UTF-8.
  *
  * Sets the encoding. If @encoding is %NULL, the UTF-8 encoding will be set.
- * By default the encoding is taken from the #GtefFile.
+ * By default the encoding is taken from the #TeplFile.
  *
  * Since: 1.0
  */
 void
-gtef_file_saver_set_encoding (GtefFileSaver      *saver,
-                             const GtefEncoding *encoding)
+tepl_file_saver_set_encoding (TeplFileSaver      *saver,
+                             const TeplEncoding *encoding)
 {
-       GtefEncoding *my_encoding;
+       TeplEncoding *my_encoding;
 
-       g_return_if_fail (GTEF_IS_FILE_SAVER (saver));
+       g_return_if_fail (TEPL_IS_FILE_SAVER (saver));
        g_return_if_fail (saver->priv->task == NULL);
 
        if (encoding == NULL)
        {
-               my_encoding = gtef_encoding_new_utf8 ();
+               my_encoding = tepl_encoding_new_utf8 ();
        }
        else
        {
-               my_encoding = gtef_encoding_copy (encoding);
+               my_encoding = tepl_encoding_copy (encoding);
        }
 
-       if (!gtef_encoding_equals (saver->priv->encoding, my_encoding))
+       if (!tepl_encoding_equals (saver->priv->encoding, my_encoding))
        {
-               gtef_encoding_free (saver->priv->encoding);
+               tepl_encoding_free (saver->priv->encoding);
                saver->priv->encoding = my_encoding;
 
                g_object_notify (G_OBJECT (saver), "encoding");
        }
        else
        {
-               gtef_encoding_free (my_encoding);
+               tepl_encoding_free (my_encoding);
        }
 }
 
 /**
- * gtef_file_saver_get_encoding:
- * @saver: a #GtefFileSaver.
+ * tepl_file_saver_get_encoding:
+ * @saver: a #TeplFileSaver.
  *
  * Returns: the encoding.
  * Since: 1.0
  */
-const GtefEncoding *
-gtef_file_saver_get_encoding (GtefFileSaver *saver)
+const TeplEncoding *
+tepl_file_saver_get_encoding (TeplFileSaver *saver)
 {
-       g_return_val_if_fail (GTEF_IS_FILE_SAVER (saver), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE_SAVER (saver), NULL);
 
        return saver->priv->encoding;
 }
 
 /**
- * gtef_file_saver_set_newline_type:
- * @saver: a #GtefFileSaver.
+ * tepl_file_saver_set_newline_type:
+ * @saver: a #TeplFileSaver.
  * @newline_type: the new newline type.
  *
  * Sets the newline type. By default the newline type is taken from the
- * #GtefFile.
+ * #TeplFile.
  *
  * Since: 1.0
  */
 void
-gtef_file_saver_set_newline_type (GtefFileSaver   *saver,
-                                 GtefNewlineType  newline_type)
+tepl_file_saver_set_newline_type (TeplFileSaver   *saver,
+                                 TeplNewlineType  newline_type)
 {
-       g_return_if_fail (GTEF_IS_FILE_SAVER (saver));
+       g_return_if_fail (TEPL_IS_FILE_SAVER (saver));
        g_return_if_fail (saver->priv->task == NULL);
 
        if (saver->priv->newline_type != newline_type)
@@ -1158,35 +1158,35 @@ gtef_file_saver_set_newline_type (GtefFileSaver   *saver,
 }
 
 /**
- * gtef_file_saver_get_newline_type:
- * @saver: a #GtefFileSaver.
+ * tepl_file_saver_get_newline_type:
+ * @saver: a #TeplFileSaver.
  *
  * Returns: the newline type.
  * Since: 1.0
  */
-GtefNewlineType
-gtef_file_saver_get_newline_type (GtefFileSaver *saver)
+TeplNewlineType
+tepl_file_saver_get_newline_type (TeplFileSaver *saver)
 {
-       g_return_val_if_fail (GTEF_IS_FILE_SAVER (saver), GTEF_NEWLINE_TYPE_DEFAULT);
+       g_return_val_if_fail (TEPL_IS_FILE_SAVER (saver), TEPL_NEWLINE_TYPE_DEFAULT);
 
        return saver->priv->newline_type;
 }
 
 /**
- * gtef_file_saver_set_compression_type:
- * @saver: a #GtefFileSaver.
+ * tepl_file_saver_set_compression_type:
+ * @saver: a #TeplFileSaver.
  * @compression_type: the new compression type.
  *
  * Sets the compression type. By default the compression type is taken from the
- * #GtefFile.
+ * #TeplFile.
  *
  * Since: 1.0
  */
 void
-gtef_file_saver_set_compression_type (GtefFileSaver       *saver,
-                                     GtefCompressionType  compression_type)
+tepl_file_saver_set_compression_type (TeplFileSaver       *saver,
+                                     TeplCompressionType  compression_type)
 {
-       g_return_if_fail (GTEF_IS_FILE_SAVER (saver));
+       g_return_if_fail (TEPL_IS_FILE_SAVER (saver));
        g_return_if_fail (saver->priv->task == NULL);
 
        if (saver->priv->compression_type != compression_type)
@@ -1197,32 +1197,32 @@ gtef_file_saver_set_compression_type (GtefFileSaver       *saver,
 }
 
 /**
- * gtef_file_saver_get_compression_type:
- * @saver: a #GtefFileSaver.
+ * tepl_file_saver_get_compression_type:
+ * @saver: a #TeplFileSaver.
  *
  * Returns: the compression type.
  * Since: 1.0
  */
-GtefCompressionType
-gtef_file_saver_get_compression_type (GtefFileSaver *saver)
+TeplCompressionType
+tepl_file_saver_get_compression_type (TeplFileSaver *saver)
 {
-       g_return_val_if_fail (GTEF_IS_FILE_SAVER (saver), GTEF_COMPRESSION_TYPE_NONE);
+       g_return_val_if_fail (TEPL_IS_FILE_SAVER (saver), TEPL_COMPRESSION_TYPE_NONE);
 
        return saver->priv->compression_type;
 }
 
 /**
- * gtef_file_saver_set_flags:
- * @saver: a #GtefFileSaver.
+ * tepl_file_saver_set_flags:
+ * @saver: a #TeplFileSaver.
  * @flags: the new flags.
  *
  * Since: 1.0
  */
 void
-gtef_file_saver_set_flags (GtefFileSaver      *saver,
-                          GtefFileSaverFlags  flags)
+tepl_file_saver_set_flags (TeplFileSaver      *saver,
+                          TeplFileSaverFlags  flags)
 {
-       g_return_if_fail (GTEF_IS_FILE_SAVER (saver));
+       g_return_if_fail (TEPL_IS_FILE_SAVER (saver));
        g_return_if_fail (saver->priv->task == NULL);
 
        if (saver->priv->flags != flags)
@@ -1233,23 +1233,23 @@ gtef_file_saver_set_flags (GtefFileSaver      *saver,
 }
 
 /**
- * gtef_file_saver_get_flags:
- * @saver: a #GtefFileSaver.
+ * tepl_file_saver_get_flags:
+ * @saver: a #TeplFileSaver.
  *
  * Returns: the flags.
  * Since: 1.0
  */
-GtefFileSaverFlags
-gtef_file_saver_get_flags (GtefFileSaver *saver)
+TeplFileSaverFlags
+tepl_file_saver_get_flags (TeplFileSaver *saver)
 {
-       g_return_val_if_fail (GTEF_IS_FILE_SAVER (saver), GTEF_FILE_SAVER_FLAGS_NONE);
+       g_return_val_if_fail (TEPL_IS_FILE_SAVER (saver), TEPL_FILE_SAVER_FLAGS_NONE);
 
        return saver->priv->flags;
 }
 
 /**
- * gtef_file_saver_save_async:
- * @saver: a #GtefFileSaver.
+ * tepl_file_saver_save_async:
+ * @saver: a #TeplFileSaver.
  * @io_priority: the I/O priority of the request. E.g. %G_PRIORITY_LOW,
  *   %G_PRIORITY_DEFAULT or %G_PRIORITY_HIGH.
  * @cancellable: (nullable): optional #GCancellable object, %NULL to ignore.
@@ -1273,7 +1273,7 @@ gtef_file_saver_get_flags (GtefFileSaver *saver)
  * https://bugzilla.gnome.org/show_bug.cgi?id=616044
  */
 void
-gtef_file_saver_save_async (GtefFileSaver         *saver,
+tepl_file_saver_save_async (TeplFileSaver         *saver,
                            gint                   io_priority,
                            GCancellable          *cancellable,
                            GFileProgressCallback  progress_callback,
@@ -1286,7 +1286,7 @@ gtef_file_saver_save_async (GtefFileSaver         *saver,
        gboolean check_invalid_chars;
        gboolean implicit_trailing_newline;
 
-       g_return_if_fail (GTEF_IS_FILE_SAVER (saver));
+       g_return_if_fail (TEPL_IS_FILE_SAVER (saver));
        g_return_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable));
        g_return_if_fail (saver->priv->task == NULL);
 
@@ -1308,13 +1308,13 @@ gtef_file_saver_save_async (GtefFileSaver         *saver,
                return;
        }
 
-       check_invalid_chars = (saver->priv->flags & GTEF_FILE_SAVER_FLAGS_IGNORE_INVALID_CHARS) == 0;
+       check_invalid_chars = (saver->priv->flags & TEPL_FILE_SAVER_FLAGS_IGNORE_INVALID_CHARS) == 0;
 
-       if (check_invalid_chars && _gtef_buffer_has_invalid_chars (GTEF_BUFFER (saver->priv->source_buffer)))
+       if (check_invalid_chars && _tepl_buffer_has_invalid_chars (TEPL_BUFFER (saver->priv->source_buffer)))
        {
                g_task_return_new_error (saver->priv->task,
-                                        GTEF_FILE_SAVER_ERROR,
-                                        GTEF_FILE_SAVER_ERROR_INVALID_CHARS,
+                                        TEPL_FILE_SAVER_ERROR,
+                                        TEPL_FILE_SAVER_ERROR_INVALID_CHARS,
                                         _("The buffer contains invalid characters."));
                return;
        }
@@ -1329,7 +1329,7 @@ gtef_file_saver_save_async (GtefFileSaver         *saver,
         * We create the BufferInputStream here so we are sure that the
         * buffer will not be destroyed during the file saving.
         */
-       task_data->input_stream = _gtef_buffer_input_stream_new (GTK_TEXT_BUFFER (saver->priv->source_buffer),
+       task_data->input_stream = _tepl_buffer_input_stream_new (GTK_TEXT_BUFFER (saver->priv->source_buffer),
                                                                 saver->priv->newline_type,
                                                                 implicit_trailing_newline);
 
@@ -1337,14 +1337,14 @@ gtef_file_saver_save_async (GtefFileSaver         *saver,
 }
 
 /**
- * gtef_file_saver_save_finish:
- * @saver: a #GtefFileSaver.
+ * tepl_file_saver_save_finish:
+ * @saver: a #TeplFileSaver.
  * @result: a #GAsyncResult.
  * @error: a #GError, or %NULL.
  *
- * Finishes a file saving started with gtef_file_saver_save_async().
+ * Finishes a file saving started with tepl_file_saver_save_async().
  *
- * If the file has been saved successfully, the following #GtefFile
+ * If the file has been saved successfully, the following #TeplFile
  * properties will be updated: the location, the encoding, the newline type and
  * the compression type.
  *
@@ -1355,13 +1355,13 @@ gtef_file_saver_save_async (GtefFileSaver         *saver,
  * Since: 1.0
  */
 gboolean
-gtef_file_saver_save_finish (GtefFileSaver  *saver,
+tepl_file_saver_save_finish (TeplFileSaver  *saver,
                             GAsyncResult   *result,
                             GError        **error)
 {
        gboolean ok;
 
-       g_return_val_if_fail (GTEF_IS_FILE_SAVER (saver), FALSE);
+       g_return_val_if_fail (TEPL_IS_FILE_SAVER (saver), FALSE);
        g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
        g_return_val_if_fail (g_task_is_valid (result, saver), FALSE);
 
@@ -1372,25 +1372,25 @@ gtef_file_saver_save_finish (GtefFileSaver  *saver,
                TaskData *task_data;
                gchar *new_etag;
 
-               gtef_file_set_location (saver->priv->file,
+               tepl_file_set_location (saver->priv->file,
                                        saver->priv->location);
 
-               _gtef_file_set_encoding (saver->priv->file,
+               _tepl_file_set_encoding (saver->priv->file,
                                         saver->priv->encoding);
 
-               _gtef_file_set_newline_type (saver->priv->file,
+               _tepl_file_set_newline_type (saver->priv->file,
                                             saver->priv->newline_type);
 
-               _gtef_file_set_compression_type (saver->priv->file,
+               _tepl_file_set_compression_type (saver->priv->file,
                                                 saver->priv->compression_type);
 
-               _gtef_file_set_externally_modified (saver->priv->file, FALSE);
-               _gtef_file_set_deleted (saver->priv->file, FALSE);
-               _gtef_file_set_readonly (saver->priv->file, FALSE);
+               _tepl_file_set_externally_modified (saver->priv->file, FALSE);
+               _tepl_file_set_deleted (saver->priv->file, FALSE);
+               _tepl_file_set_readonly (saver->priv->file, FALSE);
 
                task_data = g_task_get_task_data (G_TASK (result));
                new_etag = g_file_output_stream_get_etag (task_data->file_output_stream);
-               _gtef_file_set_etag (saver->priv->file, new_etag);
+               _tepl_file_set_etag (saver->priv->file, new_etag);
                g_free (new_etag);
        }
 
diff --git a/gtef/gtef-file-saver.h b/gtef/gtef-file-saver.h
index 5f67377..3065bcf 100644
--- a/gtef/gtef-file-saver.h
+++ b/gtef/gtef-file-saver.h
@@ -1,17 +1,17 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2005, 2007 - Paolo Maggi
  * Copyrhing 2007 - Steve Frécinaux
  * Copyright 2008 - Jesse van den Kieboom
  * Copyright 2014, 2016, 2017 - Sébastien Wilmet
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -20,117 +20,117 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_FILE_SAVER_H
-#define GTEF_FILE_SAVER_H
+#ifndef TEPL_FILE_SAVER_H
+#define TEPL_FILE_SAVER_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <gtksourceview/gtksource.h>
-#include <gtef/gtef-types.h>
-#include <gtef/gtef-file.h>
+#include <tepl/tepl-types.h>
+#include <tepl/tepl-file.h>
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_FILE_SAVER              (gtef_file_saver_get_type())
-#define GTEF_FILE_SAVER(obj)              (G_TYPE_CHECK_INSTANCE_CAST((obj), GTEF_TYPE_FILE_SAVER, 
GtefFileSaver))
-#define GTEF_FILE_SAVER_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST((klass), GTEF_TYPE_FILE_SAVER, 
GtefFileSaverClass))
-#define GTEF_IS_FILE_SAVER(obj)           (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTEF_TYPE_FILE_SAVER))
-#define GTEF_IS_FILE_SAVER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GTEF_TYPE_FILE_SAVER))
-#define GTEF_FILE_SAVER_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS((obj), GTEF_TYPE_FILE_SAVER, 
GtefFileSaverClass))
+#define TEPL_TYPE_FILE_SAVER              (tepl_file_saver_get_type())
+#define TEPL_FILE_SAVER(obj)              (G_TYPE_CHECK_INSTANCE_CAST((obj), TEPL_TYPE_FILE_SAVER, 
TeplFileSaver))
+#define TEPL_FILE_SAVER_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST((klass), TEPL_TYPE_FILE_SAVER, 
TeplFileSaverClass))
+#define TEPL_IS_FILE_SAVER(obj)           (G_TYPE_CHECK_INSTANCE_TYPE((obj), TEPL_TYPE_FILE_SAVER))
+#define TEPL_IS_FILE_SAVER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), TEPL_TYPE_FILE_SAVER))
+#define TEPL_FILE_SAVER_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS((obj), TEPL_TYPE_FILE_SAVER, 
TeplFileSaverClass))
 
-typedef struct _GtefFileSaverClass   GtefFileSaverClass;
-typedef struct _GtefFileSaverPrivate GtefFileSaverPrivate;
+typedef struct _TeplFileSaverClass   TeplFileSaverClass;
+typedef struct _TeplFileSaverPrivate TeplFileSaverPrivate;
 
-#define GTEF_FILE_SAVER_ERROR gtef_file_saver_error_quark ()
+#define TEPL_FILE_SAVER_ERROR tepl_file_saver_error_quark ()
 
 /**
- * GtefFileSaverError:
- * @GTEF_FILE_SAVER_ERROR_INVALID_CHARS: The buffer contains invalid
+ * TeplFileSaverError:
+ * @TEPL_FILE_SAVER_ERROR_INVALID_CHARS: The buffer contains invalid
  *   characters.
- * @GTEF_FILE_SAVER_ERROR_EXTERNALLY_MODIFIED: The file is externally
+ * @TEPL_FILE_SAVER_ERROR_EXTERNALLY_MODIFIED: The file is externally
  *   modified.
  *
- * An error code used with the %GTEF_FILE_SAVER_ERROR domain.
+ * An error code used with the %TEPL_FILE_SAVER_ERROR domain.
  * Since: 1.0
  */
 typedef enum
 {
-       GTEF_FILE_SAVER_ERROR_INVALID_CHARS,
-       GTEF_FILE_SAVER_ERROR_EXTERNALLY_MODIFIED
-} GtefFileSaverError;
+       TEPL_FILE_SAVER_ERROR_INVALID_CHARS,
+       TEPL_FILE_SAVER_ERROR_EXTERNALLY_MODIFIED
+} TeplFileSaverError;
 
 /**
- * GtefFileSaverFlags:
- * @GTEF_FILE_SAVER_FLAGS_NONE: No flags.
- * @GTEF_FILE_SAVER_FLAGS_IGNORE_INVALID_CHARS: Ignore invalid characters.
- * @GTEF_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME: Save file despite external modifications.
- * @GTEF_FILE_SAVER_FLAGS_CREATE_BACKUP: Create a backup before saving the file.
+ * TeplFileSaverFlags:
+ * @TEPL_FILE_SAVER_FLAGS_NONE: No flags.
+ * @TEPL_FILE_SAVER_FLAGS_IGNORE_INVALID_CHARS: Ignore invalid characters.
+ * @TEPL_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME: Save file despite external modifications.
+ * @TEPL_FILE_SAVER_FLAGS_CREATE_BACKUP: Create a backup before saving the file.
  *
- * Flags to define the behavior of a #GtefFileSaver.
+ * Flags to define the behavior of a #TeplFileSaver.
  * Since: 1.0
  */
 typedef enum
 {
-       GTEF_FILE_SAVER_FLAGS_NONE                      = 0,
-       GTEF_FILE_SAVER_FLAGS_IGNORE_INVALID_CHARS      = 1 << 0,
-       GTEF_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME  = 1 << 1,
-       GTEF_FILE_SAVER_FLAGS_CREATE_BACKUP             = 1 << 2
-} GtefFileSaverFlags;
+       TEPL_FILE_SAVER_FLAGS_NONE                      = 0,
+       TEPL_FILE_SAVER_FLAGS_IGNORE_INVALID_CHARS      = 1 << 0,
+       TEPL_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME  = 1 << 1,
+       TEPL_FILE_SAVER_FLAGS_CREATE_BACKUP             = 1 << 2
+} TeplFileSaverFlags;
 
-struct _GtefFileSaver
+struct _TeplFileSaver
 {
        GObject object;
 
-       GtefFileSaverPrivate *priv;
+       TeplFileSaverPrivate *priv;
 };
 
-struct _GtefFileSaverClass
+struct _TeplFileSaverClass
 {
        GObjectClass parent_class;
 
        gpointer padding[10];
 };
 
-GType                   gtef_file_saver_get_type               (void);
+GType                   tepl_file_saver_get_type               (void);
 
-GQuark                  gtef_file_saver_error_quark            (void);
+GQuark                  tepl_file_saver_error_quark            (void);
 
-GtefFileSaver *                 gtef_file_saver_new                    (GtefBuffer *buffer,
-                                                                GtefFile   *file);
+TeplFileSaver *                 tepl_file_saver_new                    (TeplBuffer *buffer,
+                                                                TeplFile   *file);
 
-GtefFileSaver *                 gtef_file_saver_new_with_target        (GtefBuffer *buffer,
-                                                                GtefFile   *file,
+TeplFileSaver *                 tepl_file_saver_new_with_target        (TeplBuffer *buffer,
+                                                                TeplFile   *file,
                                                                 GFile      *target_location);
 
-GtefBuffer *            gtef_file_saver_get_buffer             (GtefFileSaver *saver);
+TeplBuffer *            tepl_file_saver_get_buffer             (TeplFileSaver *saver);
 
-GtefFile *              gtef_file_saver_get_file               (GtefFileSaver *saver);
+TeplFile *              tepl_file_saver_get_file               (TeplFileSaver *saver);
 
-GFile *                         gtef_file_saver_get_location           (GtefFileSaver *saver);
+GFile *                         tepl_file_saver_get_location           (TeplFileSaver *saver);
 
-void                    gtef_file_saver_set_encoding           (GtefFileSaver      *saver,
-                                                                const GtefEncoding *encoding);
+void                    tepl_file_saver_set_encoding           (TeplFileSaver      *saver,
+                                                                const TeplEncoding *encoding);
 
-const GtefEncoding *    gtef_file_saver_get_encoding           (GtefFileSaver *saver);
+const TeplEncoding *    tepl_file_saver_get_encoding           (TeplFileSaver *saver);
 
-void                    gtef_file_saver_set_newline_type       (GtefFileSaver   *saver,
-                                                                GtefNewlineType  newline_type);
+void                    tepl_file_saver_set_newline_type       (TeplFileSaver   *saver,
+                                                                TeplNewlineType  newline_type);
 
-GtefNewlineType                 gtef_file_saver_get_newline_type       (GtefFileSaver *saver);
+TeplNewlineType                 tepl_file_saver_get_newline_type       (TeplFileSaver *saver);
 
-void                    gtef_file_saver_set_compression_type   (GtefFileSaver       *saver,
-                                                                GtefCompressionType  compression_type);
+void                    tepl_file_saver_set_compression_type   (TeplFileSaver       *saver,
+                                                                TeplCompressionType  compression_type);
 
-GtefCompressionType     gtef_file_saver_get_compression_type   (GtefFileSaver *saver);
+TeplCompressionType     tepl_file_saver_get_compression_type   (TeplFileSaver *saver);
 
-void                    gtef_file_saver_set_flags              (GtefFileSaver      *saver,
-                                                                GtefFileSaverFlags  flags);
+void                    tepl_file_saver_set_flags              (TeplFileSaver      *saver,
+                                                                TeplFileSaverFlags  flags);
 
-GtefFileSaverFlags      gtef_file_saver_get_flags              (GtefFileSaver *saver);
+TeplFileSaverFlags      tepl_file_saver_get_flags              (TeplFileSaver *saver);
 
-void                    gtef_file_saver_save_async             (GtefFileSaver         *saver,
+void                    tepl_file_saver_save_async             (TeplFileSaver         *saver,
                                                                 gint                   io_priority,
                                                                 GCancellable          *cancellable,
                                                                 GFileProgressCallback  progress_callback,
@@ -139,10 +139,10 @@ void                       gtef_file_saver_save_async             (GtefFileSaver        
 *saver,
                                                                 GAsyncReadyCallback    callback,
                                                                 gpointer               user_data);
 
-gboolean                gtef_file_saver_save_finish            (GtefFileSaver  *saver,
+gboolean                tepl_file_saver_save_finish            (TeplFileSaver  *saver,
                                                                 GAsyncResult   *result,
                                                                 GError        **error);
 
 G_END_DECLS
 
-#endif  /* GTEF_FILE_SAVER_H  */
+#endif  /* TEPL_FILE_SAVER_H  */
diff --git a/gtef/gtef-file.c b/gtef/gtef-file.c
index ccef00d..bc954d7 100644
--- a/gtef/gtef-file.c
+++ b/gtef/gtef-file.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016, 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -18,51 +18,51 @@
  */
 
 #include "config.h"
-#include "gtef-file.h"
+#include "tepl-file.h"
 #include <glib/gi18n-lib.h>
-#include "gtef-encoding.h"
-#include "gtef-file-metadata.h"
-#include "gtef-utils.h"
-#include "gtef-enum-types.h"
+#include "tepl-encoding.h"
+#include "tepl-file-metadata.h"
+#include "tepl-utils.h"
+#include "tepl-enum-types.h"
 
 /**
  * SECTION:file
- * @Short_description: On-disk representation of a GtefBuffer
- * @Title: GtefFile
- * @See_also: #GtefFileLoader, #GtefFileSaver, #GtefFileMetadata
+ * @Short_description: On-disk representation of a TeplBuffer
+ * @Title: TeplFile
+ * @See_also: #TeplFileLoader, #TeplFileSaver, #TeplFileMetadata
  *
- * A #GtefFile object is the on-disk representation of a #GtefBuffer.
+ * A #TeplFile object is the on-disk representation of a #TeplBuffer.
  *
- * With a #GtefFile, you can create and configure a #GtefFileLoader
- * and #GtefFileSaver which take by default the values of the
- * #GtefFile properties (except for the file loader which auto-detect some
- * properties). On a successful load or save operation, the #GtefFile
- * properties are updated. If an operation fails, the #GtefFile properties
+ * With a #TeplFile, you can create and configure a #TeplFileLoader
+ * and #TeplFileSaver which take by default the values of the
+ * #TeplFile properties (except for the file loader which auto-detect some
+ * properties). On a successful load or save operation, the #TeplFile
+ * properties are updated. If an operation fails, the #TeplFile properties
  * have still the previous valid values.
  *
- * #GtefFile is a fork of #GtkSourceFile. #GtefFileLoader is a new
+ * #TeplFile is a fork of #GtkSourceFile. #TeplFileLoader is a new
  * implementation for file loading, but it needs to call private functions of
- * #GtefFile in order to update its properties. So it was not possible for
- * #GtefFileLoader to use #GtkSourceFile. So the whole file loading and saving
+ * #TeplFile in order to update its properties. So it was not possible for
+ * #TeplFileLoader to use #GtkSourceFile. So the whole file loading and saving
  * API of GtkSourceView has been forked; hopefully the new implementation will
  * be folded back to GtkSourceView in a later version.
  */
 
-typedef struct _GtefFilePrivate GtefFilePrivate;
+typedef struct _TeplFilePrivate TeplFilePrivate;
 
-struct _GtefFilePrivate
+struct _TeplFilePrivate
 {
-       GtefFileMetadata *metadata;
+       TeplFileMetadata *metadata;
 
        GFile *location;
-       GtefEncoding *encoding;
-       GtefNewlineType newline_type;
-       GtefCompressionType compression_type;
+       TeplEncoding *encoding;
+       TeplNewlineType newline_type;
+       TeplCompressionType compression_type;
 
        gchar *short_name;
        gint untitled_number;
 
-       GtefMountOperationFactory mount_operation_factory;
+       TeplMountOperationFactory mount_operation_factory;
        gpointer mount_operation_userdata;
        GDestroyNotify mount_operation_notify;
 
@@ -93,7 +93,7 @@ static GParamSpec *properties[N_PROPERTIES];
 /* The list is sorted. */
 static GSList *allocated_untitled_numbers;
 
-G_DEFINE_TYPE_WITH_PRIVATE (GtefFile, gtef_file, G_TYPE_OBJECT)
+G_DEFINE_TYPE_WITH_PRIVATE (TeplFile, tepl_file, G_TYPE_OBJECT)
 
 static gint
 compare_untitled_numbers (gconstpointer a,
@@ -146,37 +146,37 @@ release_untitled_number (gint num)
 }
 
 static void
-gtef_file_get_property (GObject    *object,
+tepl_file_get_property (GObject    *object,
                        guint       prop_id,
                        GValue     *value,
                        GParamSpec *pspec)
 {
-       GtefFile *file = GTEF_FILE (object);
+       TeplFile *file = TEPL_FILE (object);
 
        switch (prop_id)
        {
                case PROP_LOCATION:
-                       g_value_set_object (value, gtef_file_get_location (file));
+                       g_value_set_object (value, tepl_file_get_location (file));
                        break;
 
                case PROP_ENCODING:
-                       g_value_set_boxed (value, gtef_file_get_encoding (file));
+                       g_value_set_boxed (value, tepl_file_get_encoding (file));
                        break;
 
                case PROP_NEWLINE_TYPE:
-                       g_value_set_enum (value, gtef_file_get_newline_type (file));
+                       g_value_set_enum (value, tepl_file_get_newline_type (file));
                        break;
 
                case PROP_COMPRESSION_TYPE:
-                       g_value_set_enum (value, gtef_file_get_compression_type (file));
+                       g_value_set_enum (value, tepl_file_get_compression_type (file));
                        break;
 
                case PROP_READ_ONLY:
-                       g_value_set_boolean (value, gtef_file_is_readonly (file));
+                       g_value_set_boolean (value, tepl_file_is_readonly (file));
                        break;
 
                case PROP_SHORT_NAME:
-                       g_value_set_string (value, gtef_file_get_short_name (file));
+                       g_value_set_string (value, tepl_file_get_short_name (file));
                        break;
 
                default:
@@ -186,17 +186,17 @@ gtef_file_get_property (GObject    *object,
 }
 
 static void
-gtef_file_set_property (GObject      *object,
+tepl_file_set_property (GObject      *object,
                        guint         prop_id,
                        const GValue *value,
                        GParamSpec   *pspec)
 {
-       GtefFile *file = GTEF_FILE (object);
+       TeplFile *file = TEPL_FILE (object);
 
        switch (prop_id)
        {
                case PROP_LOCATION:
-                       gtef_file_set_location (file, g_value_get_object (value));
+                       tepl_file_set_location (file, g_value_get_object (value));
                        break;
 
                default:
@@ -206,9 +206,9 @@ gtef_file_set_property (GObject      *object,
 }
 
 static void
-gtef_file_dispose (GObject *object)
+tepl_file_dispose (GObject *object)
 {
-       GtefFilePrivate *priv = gtef_file_get_instance_private (GTEF_FILE (object));
+       TeplFilePrivate *priv = tepl_file_get_instance_private (TEPL_FILE (object));
 
        g_clear_object (&priv->metadata);
        g_clear_object (&priv->location);
@@ -219,15 +219,15 @@ gtef_file_dispose (GObject *object)
                priv->mount_operation_notify = NULL;
        }
 
-       G_OBJECT_CLASS (gtef_file_parent_class)->dispose (object);
+       G_OBJECT_CLASS (tepl_file_parent_class)->dispose (object);
 }
 
 static void
-gtef_file_finalize (GObject *object)
+tepl_file_finalize (GObject *object)
 {
-       GtefFilePrivate *priv = gtef_file_get_instance_private (GTEF_FILE (object));
+       TeplFilePrivate *priv = tepl_file_get_instance_private (TEPL_FILE (object));
 
-       gtef_encoding_free (priv->encoding);
+       tepl_encoding_free (priv->encoding);
        g_free (priv->short_name);
        g_free (priv->etag);
 
@@ -236,21 +236,21 @@ gtef_file_finalize (GObject *object)
                release_untitled_number (priv->untitled_number);
        }
 
-       G_OBJECT_CLASS (gtef_file_parent_class)->finalize (object);
+       G_OBJECT_CLASS (tepl_file_parent_class)->finalize (object);
 }
 
 static void
-gtef_file_class_init (GtefFileClass *klass)
+tepl_file_class_init (TeplFileClass *klass)
 {
        GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-       object_class->get_property = gtef_file_get_property;
-       object_class->set_property = gtef_file_set_property;
-       object_class->dispose = gtef_file_dispose;
-       object_class->finalize = gtef_file_finalize;
+       object_class->get_property = tepl_file_get_property;
+       object_class->set_property = tepl_file_set_property;
+       object_class->dispose = tepl_file_dispose;
+       object_class->finalize = tepl_file_finalize;
 
        /**
-        * GtefFile:location:
+        * TeplFile:location:
         *
         * The location.
         *
@@ -266,7 +266,7 @@ gtef_file_class_init (GtefFileClass *klass)
                                     G_PARAM_STATIC_STRINGS);
 
        /**
-        * GtefFile:encoding:
+        * TeplFile:encoding:
         *
         * The character encoding, initially %NULL. After a successful file
         * loading or saving operation, the encoding is non-%NULL.
@@ -277,12 +277,12 @@ gtef_file_class_init (GtefFileClass *klass)
                g_param_spec_boxed ("encoding",
                                    "Encoding",
                                    "",
-                                   GTEF_TYPE_ENCODING,
+                                   TEPL_TYPE_ENCODING,
                                    G_PARAM_READABLE |
                                    G_PARAM_STATIC_STRINGS);
 
        /**
-        * GtefFile:newline-type:
+        * TeplFile:newline-type:
         *
         * The line ending type.
         *
@@ -292,13 +292,13 @@ gtef_file_class_init (GtefFileClass *klass)
                g_param_spec_enum ("newline-type",
                                   "Newline type",
                                   "",
-                                  GTEF_TYPE_NEWLINE_TYPE,
-                                  GTEF_NEWLINE_TYPE_LF,
+                                  TEPL_TYPE_NEWLINE_TYPE,
+                                  TEPL_NEWLINE_TYPE_LF,
                                   G_PARAM_READABLE |
                                   G_PARAM_STATIC_STRINGS);
 
        /**
-        * GtefFile:compression-type:
+        * TeplFile:compression-type:
         *
         * The compression type.
         *
@@ -308,13 +308,13 @@ gtef_file_class_init (GtefFileClass *klass)
                g_param_spec_enum ("compression-type",
                                   "Compression type",
                                   "",
-                                  GTEF_TYPE_COMPRESSION_TYPE,
-                                  GTEF_COMPRESSION_TYPE_NONE,
+                                  TEPL_TYPE_COMPRESSION_TYPE,
+                                  TEPL_COMPRESSION_TYPE_NONE,
                                   G_PARAM_READABLE |
                                   G_PARAM_STATIC_STRINGS);
 
        /**
-        * GtefFile:read-only:
+        * TeplFile:read-only:
         *
         * Whether the file is read-only or not. The value of this property is
         * not updated automatically (there is no file monitors).
@@ -330,9 +330,9 @@ gtef_file_class_init (GtefFileClass *klass)
                                      G_PARAM_STATIC_STRINGS);
 
        /**
-        * GtefFile:short-name:
+        * TeplFile:short-name:
         *
-        * The file short name. See gtef_file_get_short_name().
+        * The file short name. See tepl_file_get_short_name().
         *
         * Since: 1.0
         */
@@ -353,12 +353,12 @@ query_display_name_cb (GObject      *source_object,
                       gpointer      user_data)
 {
        GFile *location = G_FILE (source_object);
-       GtefFile *file = GTEF_FILE (user_data);
-       GtefFilePrivate *priv;
+       TeplFile *file = TEPL_FILE (user_data);
+       TeplFilePrivate *priv;
        GFileInfo *info;
        GError *error = NULL;
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
 
        info = g_file_query_info_finish (location, result, &error);
 
@@ -375,7 +375,7 @@ query_display_name_cb (GObject      *source_object,
                g_clear_error (&error);
 
                g_free (priv->short_name);
-               priv->short_name = _gtef_utils_get_fallback_basename_for_display (location);
+               priv->short_name = _tepl_utils_get_fallback_basename_for_display (location);
        }
        else
        {
@@ -398,9 +398,9 @@ query_display_name_cb (GObject      *source_object,
 }
 
 static void
-update_short_name (GtefFile *file)
+update_short_name (TeplFile *file)
 {
-       GtefFilePrivate *priv = gtef_file_get_instance_private (file);
+       TeplFilePrivate *priv = tepl_file_get_instance_private (file);
 
        if (priv->location == NULL)
        {
@@ -425,7 +425,7 @@ update_short_name (GtefFile *file)
            !g_file_has_parent (priv->location, NULL))
        {
                g_free (priv->short_name);
-               priv->short_name = _gtef_utils_get_fallback_basename_for_display (priv->location);
+               priv->short_name = _tepl_utils_get_fallback_basename_for_display (priv->location);
 
                if (priv->untitled_number > 0)
                {
@@ -447,52 +447,52 @@ update_short_name (GtefFile *file)
 }
 
 static void
-gtef_file_init (GtefFile *file)
+tepl_file_init (TeplFile *file)
 {
-       GtefFilePrivate *priv = gtef_file_get_instance_private (file);
+       TeplFilePrivate *priv = tepl_file_get_instance_private (file);
 
-       priv->metadata = gtef_file_metadata_new (file);
+       priv->metadata = tepl_file_metadata_new (file);
 
        priv->encoding = NULL;
-       priv->newline_type = GTEF_NEWLINE_TYPE_LF;
-       priv->compression_type = GTEF_COMPRESSION_TYPE_NONE;
+       priv->newline_type = TEPL_NEWLINE_TYPE_LF;
+       priv->compression_type = TEPL_COMPRESSION_TYPE_NONE;
 
        update_short_name (file);
 }
 
 /**
- * gtef_file_new:
+ * tepl_file_new:
  *
- * Returns: a new #GtefFile object.
+ * Returns: a new #TeplFile object.
  * Since: 1.0
  */
-GtefFile *
-gtef_file_new (void)
+TeplFile *
+tepl_file_new (void)
 {
-       return g_object_new (GTEF_TYPE_FILE, NULL);
+       return g_object_new (TEPL_TYPE_FILE, NULL);
 }
 
 /**
- * gtef_file_get_file_metadata:
- * @file: a #GtefFile.
+ * tepl_file_get_file_metadata:
+ * @file: a #TeplFile.
  *
- * Returns: (transfer none): the associated #GtefFileMetadata.
+ * Returns: (transfer none): the associated #TeplFileMetadata.
  * Since: 1.0
  */
-GtefFileMetadata *
-gtef_file_get_file_metadata (GtefFile *file)
+TeplFileMetadata *
+tepl_file_get_file_metadata (TeplFile *file)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FILE (file), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE (file), NULL);
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
        return priv->metadata;
 }
 
 /**
- * gtef_file_set_location:
- * @file: a #GtefFile.
+ * tepl_file_set_location:
+ * @file: a #TeplFile.
  * @location: (nullable): the new #GFile, or %NULL.
  *
  * Sets the location.
@@ -500,15 +500,15 @@ gtef_file_get_file_metadata (GtefFile *file)
  * Since: 1.0
  */
 void
-gtef_file_set_location (GtefFile *file,
+tepl_file_set_location (TeplFile *file,
                        GFile    *location)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
-       g_return_if_fail (GTEF_IS_FILE (file));
+       g_return_if_fail (TEPL_IS_FILE (file));
        g_return_if_fail (location == NULL || G_IS_FILE (location));
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
 
        if (g_set_object (&priv->location, location))
        {
@@ -526,28 +526,28 @@ gtef_file_set_location (GtefFile *file,
 }
 
 /**
- * gtef_file_get_location:
- * @file: a #GtefFile.
+ * tepl_file_get_location:
+ * @file: a #TeplFile.
  *
  * Returns: (transfer none): the #GFile.
  * Since: 1.0
  */
 GFile *
-gtef_file_get_location (GtefFile *file)
+tepl_file_get_location (TeplFile *file)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FILE (file), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE (file), NULL);
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
        return priv->location;
 }
 
 /**
- * gtef_file_get_short_name:
- * @file: a #GtefFile.
+ * tepl_file_get_short_name:
+ * @file: a #TeplFile.
  *
- * Gets the @file short name. If the #GtefFile:location isn't %NULL,
+ * Gets the @file short name. If the #TeplFile:location isn't %NULL,
  * returns its display-name (see #G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME).
  * Otherwise returns "Untitled File N", with N the Nth untitled file of the
  * application, starting at 1. When an untitled file is closed, its number is
@@ -557,38 +557,38 @@ gtef_file_get_location (GtefFile *file)
  * Since: 1.0
  */
 const gchar *
-gtef_file_get_short_name (GtefFile *file)
+tepl_file_get_short_name (TeplFile *file)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FILE (file), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE (file), NULL);
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
        return priv->short_name;
 }
 
 void
-_gtef_file_set_encoding (GtefFile           *file,
-                        const GtefEncoding *encoding)
+_tepl_file_set_encoding (TeplFile           *file,
+                        const TeplEncoding *encoding)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
-       g_return_if_fail (GTEF_IS_FILE (file));
+       g_return_if_fail (TEPL_IS_FILE (file));
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
 
-       if (!gtef_encoding_equals (priv->encoding, encoding))
+       if (!tepl_encoding_equals (priv->encoding, encoding))
        {
-               gtef_encoding_free (priv->encoding);
-               priv->encoding = gtef_encoding_copy (encoding);
+               tepl_encoding_free (priv->encoding);
+               priv->encoding = tepl_encoding_copy (encoding);
 
                g_object_notify_by_pspec (G_OBJECT (file), properties[PROP_ENCODING]);
        }
 }
 
 /**
- * gtef_file_get_encoding:
- * @file: a #GtefFile.
+ * tepl_file_get_encoding:
+ * @file: a #TeplFile.
  *
  * The encoding is initially %NULL. After a successful file loading or saving
  * operation, the encoding is non-%NULL.
@@ -596,26 +596,26 @@ _gtef_file_set_encoding (GtefFile           *file,
  * Returns: the character encoding.
  * Since: 1.0
  */
-const GtefEncoding *
-gtef_file_get_encoding (GtefFile *file)
+const TeplEncoding *
+tepl_file_get_encoding (TeplFile *file)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FILE (file), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE (file), NULL);
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
        return priv->encoding;
 }
 
 void
-_gtef_file_set_newline_type (GtefFile        *file,
-                            GtefNewlineType  newline_type)
+_tepl_file_set_newline_type (TeplFile        *file,
+                            TeplNewlineType  newline_type)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
-       g_return_if_fail (GTEF_IS_FILE (file));
+       g_return_if_fail (TEPL_IS_FILE (file));
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
 
        if (priv->newline_type != newline_type)
        {
@@ -625,32 +625,32 @@ _gtef_file_set_newline_type (GtefFile        *file,
 }
 
 /**
- * gtef_file_get_newline_type:
- * @file: a #GtefFile.
+ * tepl_file_get_newline_type:
+ * @file: a #TeplFile.
  *
  * Returns: the newline type.
  * Since: 1.0
  */
-GtefNewlineType
-gtef_file_get_newline_type (GtefFile *file)
+TeplNewlineType
+tepl_file_get_newline_type (TeplFile *file)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FILE (file), GTEF_NEWLINE_TYPE_DEFAULT);
+       g_return_val_if_fail (TEPL_IS_FILE (file), TEPL_NEWLINE_TYPE_DEFAULT);
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
        return priv->newline_type;
 }
 
 void
-_gtef_file_set_compression_type (GtefFile            *file,
-                                GtefCompressionType  compression_type)
+_tepl_file_set_compression_type (TeplFile            *file,
+                                TeplCompressionType  compression_type)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
-       g_return_if_fail (GTEF_IS_FILE (file));
+       g_return_if_fail (TEPL_IS_FILE (file));
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
 
        if (priv->compression_type != compression_type)
        {
@@ -660,33 +660,33 @@ _gtef_file_set_compression_type (GtefFile            *file,
 }
 
 /**
- * gtef_file_get_compression_type:
- * @file: a #GtefFile.
+ * tepl_file_get_compression_type:
+ * @file: a #TeplFile.
  *
  * Returns: the compression type.
  * Since: 1.0
  */
-GtefCompressionType
-gtef_file_get_compression_type (GtefFile *file)
+TeplCompressionType
+tepl_file_get_compression_type (TeplFile *file)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FILE (file), GTEF_COMPRESSION_TYPE_NONE);
+       g_return_val_if_fail (TEPL_IS_FILE (file), TEPL_COMPRESSION_TYPE_NONE);
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
        return priv->compression_type;
 }
 
 /**
- * gtef_file_set_mount_operation_factory:
- * @file: a #GtefFile.
- * @callback: (scope notified): a #GtefMountOperationFactory to call when a
+ * tepl_file_set_mount_operation_factory:
+ * @file: a #TeplFile.
+ * @callback: (scope notified): a #TeplMountOperationFactory to call when a
  *   #GMountOperation is needed.
  * @user_data: (closure): the data to pass to the @callback function.
  * @notify: (nullable): function to call on @user_data when the @callback is no
  *   longer needed, or %NULL.
  *
- * Sets a #GtefMountOperationFactory function that will be called when a
+ * Sets a #TeplMountOperationFactory function that will be called when a
  * #GMountOperation must be created. This is useful for creating a
  * #GtkMountOperation with the parent #GtkWindow.
  *
@@ -696,16 +696,16 @@ gtef_file_get_compression_type (GtefFile *file)
  * Since: 1.0
  */
 void
-gtef_file_set_mount_operation_factory (GtefFile                  *file,
-                                      GtefMountOperationFactory  callback,
+tepl_file_set_mount_operation_factory (TeplFile                  *file,
+                                      TeplMountOperationFactory  callback,
                                       gpointer                   user_data,
                                       GDestroyNotify             notify)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
-       g_return_if_fail (GTEF_IS_FILE (file));
+       g_return_if_fail (TEPL_IS_FILE (file));
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
 
        if (priv->mount_operation_notify != NULL)
        {
@@ -718,18 +718,18 @@ gtef_file_set_mount_operation_factory (GtefFile                  *file,
 }
 
 GMountOperation *
-_gtef_file_create_mount_operation (GtefFile *file)
+_tepl_file_create_mount_operation (TeplFile *file)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
        if (file == NULL)
        {
                goto fallback;
        }
 
-       g_return_val_if_fail (GTEF_IS_FILE (file), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE (file), NULL);
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
 
        if (priv->mount_operation_factory != NULL)
        {
@@ -742,67 +742,67 @@ fallback:
 
 /* Notify @file that its location has been mounted. */
 void
-_gtef_file_set_mounted (GtefFile *file)
+_tepl_file_set_mounted (TeplFile *file)
 {
-       g_return_if_fail (GTEF_IS_FILE (file));
+       g_return_if_fail (TEPL_IS_FILE (file));
 
        /* Querying the display-name should work now. */
        update_short_name (file);
 }
 
 const gchar *
-_gtef_file_get_etag (GtefFile *file)
+_tepl_file_get_etag (TeplFile *file)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
        if (file == NULL)
        {
                return NULL;
        }
 
-       g_return_val_if_fail (GTEF_IS_FILE (file), NULL);
+       g_return_val_if_fail (TEPL_IS_FILE (file), NULL);
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
        return priv->etag;
 }
 
 void
-_gtef_file_set_etag (GtefFile    *file,
+_tepl_file_set_etag (TeplFile    *file,
                     const gchar *etag)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
        if (file == NULL)
        {
                return;
        }
 
-       g_return_if_fail (GTEF_IS_FILE (file));
+       g_return_if_fail (TEPL_IS_FILE (file));
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
 
        g_free (priv->etag);
        priv->etag = g_strdup (etag);
 }
 
 /**
- * gtef_file_is_local:
- * @file: a #GtefFile.
+ * tepl_file_is_local:
+ * @file: a #TeplFile.
  *
- * Returns whether the file is local. If the #GtefFile:location is %NULL,
+ * Returns whether the file is local. If the #TeplFile:location is %NULL,
  * returns %FALSE.
  *
  * Returns: whether the file is local.
  * Since: 1.0
  */
 gboolean
-gtef_file_is_local (GtefFile *file)
+tepl_file_is_local (TeplFile *file)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FILE (file), FALSE);
+       g_return_val_if_fail (TEPL_IS_FILE (file), FALSE);
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
 
        if (priv->location == NULL)
        {
@@ -813,30 +813,30 @@ gtef_file_is_local (GtefFile *file)
 }
 
 /**
- * gtef_file_check_file_on_disk:
- * @file: a #GtefFile.
+ * tepl_file_check_file_on_disk:
+ * @file: a #TeplFile.
  *
  * Checks synchronously the file on disk, to know whether the file is externally
  * modified, or has been deleted, and whether the file is read-only.
  *
- * #GtefFile doesn't create a #GFileMonitor to track those properties, so
+ * #TeplFile doesn't create a #GFileMonitor to track those properties, so
  * this function needs to be called instead. Creating lots of #GFileMonitor's
  * would take lots of resources.
  *
  * Since this function is synchronous, it is advised to call it only on local
- * files. See gtef_file_is_local().
+ * files. See tepl_file_is_local().
  *
  * Since: 1.0
  */
 void
-gtef_file_check_file_on_disk (GtefFile *file)
+tepl_file_check_file_on_disk (TeplFile *file)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
        GFileInfo *info;
 
-       g_return_if_fail (GTEF_IS_FILE (file));
+       g_return_if_fail (TEPL_IS_FILE (file));
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
 
        if (priv->location == NULL)
        {
@@ -877,95 +877,95 @@ gtef_file_check_file_on_disk (GtefFile *file)
 
                readonly = !g_file_info_get_attribute_boolean (info, G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE);
 
-               _gtef_file_set_readonly (file, readonly);
+               _tepl_file_set_readonly (file, readonly);
        }
 
        g_object_unref (info);
 }
 
 void
-_gtef_file_set_externally_modified (GtefFile *file,
+_tepl_file_set_externally_modified (TeplFile *file,
                                    gboolean  externally_modified)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
-       g_return_if_fail (GTEF_IS_FILE (file));
+       g_return_if_fail (TEPL_IS_FILE (file));
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
 
        priv->externally_modified = externally_modified != FALSE;
 }
 
 /**
- * gtef_file_is_externally_modified:
- * @file: a #GtefFile.
+ * tepl_file_is_externally_modified:
+ * @file: a #TeplFile.
  *
  * Returns whether the file is externally modified. If the
- * #GtefFile:location is %NULL, returns %FALSE.
+ * #TeplFile:location is %NULL, returns %FALSE.
  *
  * To have an up-to-date value, you must first call
- * gtef_file_check_file_on_disk().
+ * tepl_file_check_file_on_disk().
  *
  * Returns: whether the file is externally modified.
  * Since: 1.0
  */
 gboolean
-gtef_file_is_externally_modified (GtefFile *file)
+tepl_file_is_externally_modified (TeplFile *file)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FILE (file), FALSE);
+       g_return_val_if_fail (TEPL_IS_FILE (file), FALSE);
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
        return priv->externally_modified;
 }
 
 void
-_gtef_file_set_deleted (GtefFile *file,
+_tepl_file_set_deleted (TeplFile *file,
                        gboolean  deleted)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
-       g_return_if_fail (GTEF_IS_FILE (file));
+       g_return_if_fail (TEPL_IS_FILE (file));
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
 
        priv->deleted = deleted != FALSE;
 }
 
 /**
- * gtef_file_is_deleted:
- * @file: a #GtefFile.
+ * tepl_file_is_deleted:
+ * @file: a #TeplFile.
  *
  * Returns whether the file has been deleted. If the
- * #GtefFile:location is %NULL, returns %FALSE.
+ * #TeplFile:location is %NULL, returns %FALSE.
  *
  * To have an up-to-date value, you must first call
- * gtef_file_check_file_on_disk().
+ * tepl_file_check_file_on_disk().
  *
  * Returns: whether the file has been deleted.
  * Since: 1.0
  */
 gboolean
-gtef_file_is_deleted (GtefFile *file)
+tepl_file_is_deleted (TeplFile *file)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FILE (file), FALSE);
+       g_return_val_if_fail (TEPL_IS_FILE (file), FALSE);
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
        return priv->deleted;
 }
 
 void
-_gtef_file_set_readonly (GtefFile *file,
+_tepl_file_set_readonly (TeplFile *file,
                         gboolean  readonly)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
-       g_return_if_fail (GTEF_IS_FILE (file));
+       g_return_if_fail (TEPL_IS_FILE (file));
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
 
        readonly = readonly != FALSE;
 
@@ -977,25 +977,25 @@ _gtef_file_set_readonly (GtefFile *file,
 }
 
 /**
- * gtef_file_is_readonly:
- * @file: a #GtefFile.
+ * tepl_file_is_readonly:
+ * @file: a #TeplFile.
  *
  * Returns whether the file is read-only. If the
- * #GtefFile:location is %NULL, returns %FALSE.
+ * #TeplFile:location is %NULL, returns %FALSE.
  *
  * To have an up-to-date value, you must first call
- * gtef_file_check_file_on_disk().
+ * tepl_file_check_file_on_disk().
  *
  * Returns: whether the file is read-only.
  * Since: 1.0
  */
 gboolean
-gtef_file_is_readonly (GtefFile *file)
+tepl_file_is_readonly (TeplFile *file)
 {
-       GtefFilePrivate *priv;
+       TeplFilePrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FILE (file), FALSE);
+       g_return_val_if_fail (TEPL_IS_FILE (file), FALSE);
 
-       priv = gtef_file_get_instance_private (file);
+       priv = tepl_file_get_instance_private (file);
        return priv->readonly;
 }
diff --git a/gtef/gtef-file.h b/gtef/gtef-file.h
index 7b6f7e4..4ab5271 100644
--- a/gtef/gtef-file.h
+++ b/gtef/gtef-file.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2014, 2015, 2016, 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,24 +17,24 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_FILE_H
-#define GTEF_FILE_H
+#ifndef TEPL_FILE_H
+#define TEPL_FILE_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <gtksourceview/gtksource.h>
-#include <gtef/gtef-types.h>
+#include <tepl/tepl-types.h>
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_FILE (gtef_file_get_type ())
-G_DECLARE_DERIVABLE_TYPE (GtefFile, gtef_file,
-                         GTEF, FILE,
+#define TEPL_TYPE_FILE (tepl_file_get_type ())
+G_DECLARE_DERIVABLE_TYPE (TeplFile, tepl_file,
+                         TEPL, FILE,
                          GObject)
 
-struct _GtefFileClass
+struct _TeplFileClass
 {
        GObjectClass parent_class;
 
@@ -42,8 +42,8 @@ struct _GtefFileClass
 };
 
 /**
- * GtefMountOperationFactory:
- * @file: a #GtefFile.
+ * TeplMountOperationFactory:
+ * @file: a #TeplFile.
  * @userdata: user data
  *
  * Type definition for a function that will be called to create a
@@ -51,120 +51,120 @@ struct _GtefFileClass
  *
  * Since: 1.0
  */
-typedef GMountOperation *(*GtefMountOperationFactory) (GtefFile *file,
+typedef GMountOperation *(*TeplMountOperationFactory) (TeplFile *file,
                                                       gpointer  userdata);
 
 /**
- * GtefNewlineType:
- * @GTEF_NEWLINE_TYPE_LF: line feed, used on UNIX.
- * @GTEF_NEWLINE_TYPE_CR: carriage return, used on Mac.
- * @GTEF_NEWLINE_TYPE_CR_LF: carriage return followed by a line feed, used
+ * TeplNewlineType:
+ * @TEPL_NEWLINE_TYPE_LF: line feed, used on UNIX.
+ * @TEPL_NEWLINE_TYPE_CR: carriage return, used on Mac.
+ * @TEPL_NEWLINE_TYPE_CR_LF: carriage return followed by a line feed, used
  *   on Windows.
  *
  * Since: 1.0
  */
 typedef enum
 {
-       GTEF_NEWLINE_TYPE_LF,
-       GTEF_NEWLINE_TYPE_CR,
-       GTEF_NEWLINE_TYPE_CR_LF
-} GtefNewlineType;
+       TEPL_NEWLINE_TYPE_LF,
+       TEPL_NEWLINE_TYPE_CR,
+       TEPL_NEWLINE_TYPE_CR_LF
+} TeplNewlineType;
 
 /**
- * GTEF_NEWLINE_TYPE_DEFAULT:
+ * TEPL_NEWLINE_TYPE_DEFAULT:
  *
  * The default newline type on the current OS.
  *
  * Since: 1.0
  */
 #ifdef G_OS_WIN32
-#define GTEF_NEWLINE_TYPE_DEFAULT GTEF_NEWLINE_TYPE_CR_LF
+#define TEPL_NEWLINE_TYPE_DEFAULT TEPL_NEWLINE_TYPE_CR_LF
 #else
-#define GTEF_NEWLINE_TYPE_DEFAULT GTEF_NEWLINE_TYPE_LF
+#define TEPL_NEWLINE_TYPE_DEFAULT TEPL_NEWLINE_TYPE_LF
 #endif
 
 /**
- * GtefCompressionType:
- * @GTEF_COMPRESSION_TYPE_NONE: plain text.
- * @GTEF_COMPRESSION_TYPE_GZIP: gzip compression.
+ * TeplCompressionType:
+ * @TEPL_COMPRESSION_TYPE_NONE: plain text.
+ * @TEPL_COMPRESSION_TYPE_GZIP: gzip compression.
  *
  * Since: 1.0
  */
 typedef enum
 {
-       GTEF_COMPRESSION_TYPE_NONE,
-       GTEF_COMPRESSION_TYPE_GZIP
-} GtefCompressionType;
+       TEPL_COMPRESSION_TYPE_NONE,
+       TEPL_COMPRESSION_TYPE_GZIP
+} TeplCompressionType;
 
-GtefFile *             gtef_file_new                           (void);
+TeplFile *             tepl_file_new                           (void);
 
-GtefFileMetadata *     gtef_file_get_file_metadata             (GtefFile *file);
+TeplFileMetadata *     tepl_file_get_file_metadata             (TeplFile *file);
 
-GFile *                        gtef_file_get_location                  (GtefFile *file);
+GFile *                        tepl_file_get_location                  (TeplFile *file);
 
-void                   gtef_file_set_location                  (GtefFile *file,
+void                   tepl_file_set_location                  (TeplFile *file,
                                                                 GFile    *location);
 
-const gchar *          gtef_file_get_short_name                (GtefFile *file);
+const gchar *          tepl_file_get_short_name                (TeplFile *file);
 
-const GtefEncoding *   gtef_file_get_encoding                  (GtefFile *file);
+const TeplEncoding *   tepl_file_get_encoding                  (TeplFile *file);
 
-GtefNewlineType                gtef_file_get_newline_type              (GtefFile *file);
+TeplNewlineType                tepl_file_get_newline_type              (TeplFile *file);
 
-GtefCompressionType    gtef_file_get_compression_type          (GtefFile *file);
+TeplCompressionType    tepl_file_get_compression_type          (TeplFile *file);
 
-void                   gtef_file_set_mount_operation_factory   (GtefFile                  *file,
-                                                                GtefMountOperationFactory  callback,
+void                   tepl_file_set_mount_operation_factory   (TeplFile                  *file,
+                                                                TeplMountOperationFactory  callback,
                                                                 gpointer                   user_data,
                                                                 GDestroyNotify             notify);
 
-void                   gtef_file_check_file_on_disk            (GtefFile *file);
+void                   tepl_file_check_file_on_disk            (TeplFile *file);
 
-gboolean               gtef_file_is_local                      (GtefFile *file);
+gboolean               tepl_file_is_local                      (TeplFile *file);
 
-gboolean               gtef_file_is_externally_modified        (GtefFile *file);
+gboolean               tepl_file_is_externally_modified        (TeplFile *file);
 
-gboolean               gtef_file_is_deleted                    (GtefFile *file);
+gboolean               tepl_file_is_deleted                    (TeplFile *file);
 
-gboolean               gtef_file_is_readonly                   (GtefFile *file);
+gboolean               tepl_file_is_readonly                   (TeplFile *file);
 
 G_GNUC_INTERNAL
-void                   _gtef_file_set_encoding                 (GtefFile           *file,
-                                                                const GtefEncoding *encoding);
+void                   _tepl_file_set_encoding                 (TeplFile           *file,
+                                                                const TeplEncoding *encoding);
 
 G_GNUC_INTERNAL
-void                   _gtef_file_set_newline_type             (GtefFile        *file,
-                                                                GtefNewlineType  newline_type);
+void                   _tepl_file_set_newline_type             (TeplFile        *file,
+                                                                TeplNewlineType  newline_type);
 
 G_GNUC_INTERNAL
-void                   _gtef_file_set_compression_type         (GtefFile            *file,
-                                                                GtefCompressionType  compression_type);
+void                   _tepl_file_set_compression_type         (TeplFile            *file,
+                                                                TeplCompressionType  compression_type);
 
 G_GNUC_INTERNAL
-GMountOperation *      _gtef_file_create_mount_operation       (GtefFile *file);
+GMountOperation *      _tepl_file_create_mount_operation       (TeplFile *file);
 
 G_GNUC_INTERNAL
-void                   _gtef_file_set_mounted                  (GtefFile *file);
+void                   _tepl_file_set_mounted                  (TeplFile *file);
 
 G_GNUC_INTERNAL
-const gchar *          _gtef_file_get_etag                     (GtefFile *file);
+const gchar *          _tepl_file_get_etag                     (TeplFile *file);
 
 G_GNUC_INTERNAL
-void                   _gtef_file_set_etag                     (GtefFile    *file,
+void                   _tepl_file_set_etag                     (TeplFile    *file,
                                                                 const gchar *etag);
 
 G_GNUC_INTERNAL
-void                   _gtef_file_set_externally_modified      (GtefFile *file,
+void                   _tepl_file_set_externally_modified      (TeplFile *file,
                                                                 gboolean  externally_modified);
 
 G_GNUC_INTERNAL
-void                   _gtef_file_set_deleted                  (GtefFile *file,
+void                   _tepl_file_set_deleted                  (TeplFile *file,
                                                                 gboolean  deleted);
 
 G_GNUC_INTERNAL
-void                   _gtef_file_set_readonly                 (GtefFile *file,
+void                   _tepl_file_set_readonly                 (TeplFile *file,
                                                                 gboolean  readonly);
 
 G_END_DECLS
 
-#endif /* GTEF_FILE_H */
+#endif /* TEPL_FILE_H */
diff --git a/gtef/gtef-fold-region.c b/gtef/gtef-fold-region.c
index b9a4d0c..1e35de9 100644
--- a/gtef/gtef-fold-region.c
+++ b/gtef/gtef-fold-region.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - David Rabel <david rabel noresoft com>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,19 +17,19 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "gtef-fold-region.h"
+#include "tepl-fold-region.h"
 
 /**
  * SECTION:fold-region
  * @Short_description: Foldable region in a #GtkTextBuffer
- * @Title: GtefFoldRegion
+ * @Title: TeplFoldRegion
  *
- * #GtefFoldRegion represents a region in a #GtkTextBuffer that can be folded.
+ * #TeplFoldRegion represents a region in a #GtkTextBuffer that can be folded.
  *
  * When a region is being folded, a #GtkTextTag with the #GtkTextTag:invisible
  * property is applied to the folded region. The actual start and end position
  * of this #GtkTextTag is respectively at the next new line after the start and
- * end position of the bounds handed over to gtef_fold_region_set_bounds().
+ * end position of the bounds handed over to tepl_fold_region_set_bounds().
  */
 
 enum
@@ -40,9 +40,9 @@ enum
        N_PROPERTIES
 };
 
-typedef struct _GtefFoldRegionPrivate GtefFoldRegionPrivate;
+typedef struct _TeplFoldRegionPrivate TeplFoldRegionPrivate;
 
-struct _GtefFoldRegionPrivate
+struct _TeplFoldRegionPrivate
 {
        GtkTextBuffer *buffer;
 
@@ -59,12 +59,12 @@ struct _GtefFoldRegionPrivate
 
 static GParamSpec *properties[N_PROPERTIES];
 
-G_DEFINE_TYPE_WITH_PRIVATE (GtefFoldRegion, gtef_fold_region, G_TYPE_OBJECT)
+G_DEFINE_TYPE_WITH_PRIVATE (TeplFoldRegion, tepl_fold_region, G_TYPE_OBJECT)
 
 static void
-apply_tag (GtefFoldRegion *fold_region)
+apply_tag (TeplFoldRegion *fold_region)
 {
-       GtefFoldRegionPrivate *priv = gtef_fold_region_get_instance_private (fold_region);
+       TeplFoldRegionPrivate *priv = tepl_fold_region_get_instance_private (fold_region);
        GtkTextIter start_iter;
        GtkTextIter end_iter;
 
@@ -102,9 +102,9 @@ apply_tag (GtefFoldRegion *fold_region)
 }
 
 static void
-destroy_tag (GtefFoldRegion *fold_region)
+destroy_tag (TeplFoldRegion *fold_region)
 {
-       GtefFoldRegionPrivate *priv = gtef_fold_region_get_instance_private (fold_region);
+       TeplFoldRegionPrivate *priv = tepl_fold_region_get_instance_private (fold_region);
 
        gtk_text_tag_table_remove (priv->tag_table, priv->tag);
 
@@ -113,21 +113,21 @@ destroy_tag (GtefFoldRegion *fold_region)
 }
 
 static void
-gtef_fold_region_get_property (GObject    *object,
+tepl_fold_region_get_property (GObject    *object,
                                guint       prop_id,
                                GValue     *value,
                                GParamSpec *pspec)
 {
-       GtefFoldRegion *fold_region = GTEF_FOLD_REGION (object);
+       TeplFoldRegion *fold_region = TEPL_FOLD_REGION (object);
 
        switch (prop_id)
        {
                case PROP_BUFFER:
-                       g_value_set_object (value, gtef_fold_region_get_buffer (fold_region));
+                       g_value_set_object (value, tepl_fold_region_get_buffer (fold_region));
                        break;
 
                case PROP_FOLDED:
-                       g_value_set_boolean (value, gtef_fold_region_get_folded (fold_region));
+                       g_value_set_boolean (value, tepl_fold_region_get_folded (fold_region));
                        break;
 
                default:
@@ -137,13 +137,13 @@ gtef_fold_region_get_property (GObject    *object,
 }
 
 static void
-gtef_fold_region_set_property (GObject       *object,
+tepl_fold_region_set_property (GObject       *object,
                                guint          prop_id,
                                const GValue  *value,
                                GParamSpec    *pspec)
 {
-       GtefFoldRegion *fold_region = GTEF_FOLD_REGION (object);
-       GtefFoldRegionPrivate *priv = gtef_fold_region_get_instance_private (fold_region);
+       TeplFoldRegion *fold_region = TEPL_FOLD_REGION (object);
+       TeplFoldRegionPrivate *priv = tepl_fold_region_get_instance_private (fold_region);
 
        switch (prop_id)
        {
@@ -155,7 +155,7 @@ gtef_fold_region_set_property (GObject       *object,
                        break;
 
                case PROP_FOLDED:
-                       gtef_fold_region_set_folded (fold_region, g_value_get_boolean (value));
+                       tepl_fold_region_set_folded (fold_region, g_value_get_boolean (value));
                        break;
 
                default:
@@ -165,10 +165,10 @@ gtef_fold_region_set_property (GObject       *object,
 }
 
 static void
-gtef_fold_region_dispose (GObject *object)
+tepl_fold_region_dispose (GObject *object)
 {
-       GtefFoldRegion *fold_region = GTEF_FOLD_REGION (object);
-       GtefFoldRegionPrivate *priv = gtef_fold_region_get_instance_private (fold_region);
+       TeplFoldRegion *fold_region = TEPL_FOLD_REGION (object);
+       TeplFoldRegionPrivate *priv = tepl_fold_region_get_instance_private (fold_region);
 
        if (priv->tag != NULL &&
            priv->tag_table != NULL)
@@ -200,23 +200,23 @@ gtef_fold_region_dispose (GObject *object)
        priv->start_mark = NULL;
        priv->end_mark = NULL;
 
-       G_OBJECT_CLASS (gtef_fold_region_parent_class)->dispose (object);
+       G_OBJECT_CLASS (tepl_fold_region_parent_class)->dispose (object);
 }
 
 static void
-gtef_fold_region_class_init (GtefFoldRegionClass *klass)
+tepl_fold_region_class_init (TeplFoldRegionClass *klass)
 {
        GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-       object_class->get_property = gtef_fold_region_get_property;
-       object_class->set_property = gtef_fold_region_set_property;
-       object_class->dispose = gtef_fold_region_dispose;
+       object_class->get_property = tepl_fold_region_get_property;
+       object_class->set_property = tepl_fold_region_set_property;
+       object_class->dispose = tepl_fold_region_dispose;
 
        /**
-        * GtefFoldRegion:buffer:
+        * TeplFoldRegion:buffer:
         *
         * The #GtkTextBuffer where the fold region is applied. The
-        * #GtefFoldRegion object has a weak reference to the buffer.
+        * #TeplFoldRegion object has a weak reference to the buffer.
         *
         * Since: 1.0
         */
@@ -230,9 +230,9 @@ gtef_fold_region_class_init (GtefFoldRegionClass *klass)
                                     G_PARAM_STATIC_STRINGS);
 
        /**
-        * GtefFoldRegion:folded:
+        * TeplFoldRegion:folded:
         *
-        * Whether the #GtefFoldRegion is folded or not.
+        * Whether the #TeplFoldRegion is folded or not.
         *
         * Since: 1.0
         */
@@ -248,81 +248,81 @@ gtef_fold_region_class_init (GtefFoldRegionClass *klass)
 }
 
 static void
-gtef_fold_region_init (GtefFoldRegion *fold_region)
+tepl_fold_region_init (TeplFoldRegion *fold_region)
 {
 }
 
 /**
- * gtef_fold_region_new:
+ * tepl_fold_region_new:
  * @buffer: a #GtkTextBuffer.
  * @start: a #GtkTextIter.
  * @end: a #GtkTextIter.
  *
- * Returns: a new #GtefFoldRegion.
+ * Returns: a new #TeplFoldRegion.
  * Since: 1.0
  */
-GtefFoldRegion *
-gtef_fold_region_new (GtkTextBuffer     *buffer,
+TeplFoldRegion *
+tepl_fold_region_new (GtkTextBuffer     *buffer,
                       const GtkTextIter *start,
                       const GtkTextIter *end)
 {
-       GtefFoldRegion *fold_region;
+       TeplFoldRegion *fold_region;
 
        g_return_val_if_fail (GTK_IS_TEXT_BUFFER (buffer), NULL);
        g_return_val_if_fail (start != NULL, NULL);
        g_return_val_if_fail (end != NULL, NULL);
 
-       fold_region = g_object_new (GTEF_TYPE_FOLD_REGION,
+       fold_region = g_object_new (TEPL_TYPE_FOLD_REGION,
                                    "buffer", buffer,
                                    NULL);
 
-       gtef_fold_region_set_bounds (fold_region, start, end);
+       tepl_fold_region_set_bounds (fold_region, start, end);
 
        return fold_region;
 }
 
 /**
- * gtef_fold_region_get_buffer:
- * @fold_region: a #GtefFoldRegion.
+ * tepl_fold_region_get_buffer:
+ * @fold_region: a #TeplFoldRegion.
  *
  * Returns: (transfer none) (nullable): the #GtkTextBuffer where the fold region
  *   is applied.
  * Since: 1.0
  */
 GtkTextBuffer *
-gtef_fold_region_get_buffer (GtefFoldRegion *fold_region)
+tepl_fold_region_get_buffer (TeplFoldRegion *fold_region)
 {
-       GtefFoldRegionPrivate *priv;
+       TeplFoldRegionPrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FOLD_REGION (fold_region), NULL);
+       g_return_val_if_fail (TEPL_IS_FOLD_REGION (fold_region), NULL);
 
-       priv = gtef_fold_region_get_instance_private (fold_region);
+       priv = tepl_fold_region_get_instance_private (fold_region);
 
        return priv->buffer;
 }
 
 /**
- * gtef_fold_region_get_folded:
- * @fold_region: a #GtefFoldRegion.
+ * tepl_fold_region_get_folded:
+ * @fold_region: a #TeplFoldRegion.
  *
- * Returns: whether the #GtefFoldRegion is folded.
+ * Returns: whether the #TeplFoldRegion is folded.
  * Since: 1.0
  */
 gboolean
-gtef_fold_region_get_folded (GtefFoldRegion *fold_region)
+tepl_fold_region_get_folded (TeplFoldRegion *fold_region)
 {
-       GtefFoldRegionPrivate *priv;
+       TeplFoldRegionPrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FOLD_REGION (fold_region), FALSE);
+       g_return_val_if_fail (TEPL_IS_FOLD_REGION (fold_region), FALSE);
 
-       priv = gtef_fold_region_get_instance_private (fold_region);
+       priv = tepl_fold_region_get_instance_private (fold_region);
 
        return priv->tag != NULL;
 }
 
 /**
- * gtef_fold_region_set_folded:
- * @fold_region: a #GtefFoldRegion.
+ * tepl_fold_region_set_folded:
+ * @fold_region: a #TeplFoldRegion.
  * @folded: the new value.
  *
  * Folds or unfolds the region.
@@ -330,14 +330,14 @@ gtef_fold_region_get_folded (GtefFoldRegion *fold_region)
  * Since: 1.0
  */
 void
-gtef_fold_region_set_folded (GtefFoldRegion *fold_region,
+tepl_fold_region_set_folded (TeplFoldRegion *fold_region,
                             gboolean        folded)
 {
-       GtefFoldRegionPrivate *priv;
+       TeplFoldRegionPrivate *priv;
 
-       g_return_if_fail (GTEF_IS_FOLD_REGION (fold_region));
+       g_return_if_fail (TEPL_IS_FOLD_REGION (fold_region));
 
-       priv = gtef_fold_region_get_instance_private (fold_region);
+       priv = tepl_fold_region_get_instance_private (fold_region);
 
        if (priv->buffer == NULL)
        {
@@ -351,7 +351,7 @@ gtef_fold_region_set_folded (GtefFoldRegion *fold_region,
 
        folded = folded != FALSE;
 
-       if (folded == gtef_fold_region_get_folded (fold_region))
+       if (folded == tepl_fold_region_get_folded (fold_region))
        {
                return;
        }
@@ -369,28 +369,28 @@ gtef_fold_region_set_folded (GtefFoldRegion *fold_region,
 }
 
 /**
- * gtef_fold_region_get_bounds:
- * @fold_region: a #GtefFoldRegion.
+ * tepl_fold_region_get_bounds:
+ * @fold_region: a #TeplFoldRegion.
  * @start: (out): iterator to initialize.
  * @end: (out): iterator to initialize.
  *
- * Obtains iterators pointing to the start and end of the #GtefFoldRegion.
+ * Obtains iterators pointing to the start and end of the #TeplFoldRegion.
  *
  * Returns: %TRUE on success, %FALSE otherwise.
  * Since: 1.0
  */
 gboolean
-gtef_fold_region_get_bounds (GtefFoldRegion *fold_region,
+tepl_fold_region_get_bounds (TeplFoldRegion *fold_region,
                             GtkTextIter    *start,
                             GtkTextIter    *end)
 {
-       GtefFoldRegionPrivate *priv;
+       TeplFoldRegionPrivate *priv;
 
-       g_return_val_if_fail (GTEF_IS_FOLD_REGION (fold_region), FALSE);
+       g_return_val_if_fail (TEPL_IS_FOLD_REGION (fold_region), FALSE);
        g_return_val_if_fail (start != NULL, FALSE);
        g_return_val_if_fail (end != NULL, FALSE);
 
-       priv = gtef_fold_region_get_instance_private (fold_region);
+       priv = tepl_fold_region_get_instance_private (fold_region);
 
        if (priv->buffer == NULL)
        {
@@ -413,28 +413,28 @@ gtef_fold_region_get_bounds (GtefFoldRegion *fold_region,
 }
 
 /**
- * gtef_fold_region_set_bounds:
- * @fold_region: a #GtefFoldRegion.
+ * tepl_fold_region_set_bounds:
+ * @fold_region: a #TeplFoldRegion.
  * @start: a #GtkTextIter.
  * @end: a #GtkTextIter.
  *
- * Sets the start and end of the #GtefFoldRegion.
+ * Sets the start and end of the #TeplFoldRegion.
  *
  * Since: 1.0
  */
 void
-gtef_fold_region_set_bounds (GtefFoldRegion    *fold_region,
+tepl_fold_region_set_bounds (TeplFoldRegion    *fold_region,
                             const GtkTextIter *start,
                             const GtkTextIter *end)
 {
-       GtefFoldRegionPrivate *priv;
+       TeplFoldRegionPrivate *priv;
 
-       g_return_if_fail (GTEF_IS_FOLD_REGION (fold_region));
+       g_return_if_fail (TEPL_IS_FOLD_REGION (fold_region));
        g_return_if_fail (start != NULL);
        g_return_if_fail (end != NULL);
        g_return_if_fail (gtk_text_iter_get_line (start) < gtk_text_iter_get_line (end));
 
-       priv = gtef_fold_region_get_instance_private (fold_region);
+       priv = tepl_fold_region_get_instance_private (fold_region);
 
        if (priv->buffer == NULL)
        {
diff --git a/gtef/gtef-fold-region.h b/gtef/gtef-fold-region.h
index 0c26cbb..c6907a4 100644
--- a/gtef/gtef-fold-region.h
+++ b/gtef/gtef-fold-region.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - David Rabel <david rabel noresoft com>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,50 +17,50 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_FOLD_REGION_H
-#define GTEF_FOLD_REGION_H
+#ifndef TEPL_FOLD_REGION_H
+#define TEPL_FOLD_REGION_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <gtk/gtk.h>
-#include <gtef/gtef-types.h>
+#include <tepl/tepl-types.h>
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_FOLD_REGION (gtef_fold_region_get_type ())
-G_DECLARE_DERIVABLE_TYPE (GtefFoldRegion, gtef_fold_region,
-                         GTEF, FOLD_REGION,
+#define TEPL_TYPE_FOLD_REGION (tepl_fold_region_get_type ())
+G_DECLARE_DERIVABLE_TYPE (TeplFoldRegion, tepl_fold_region,
+                         TEPL, FOLD_REGION,
                          GObject)
 
-struct _GtefFoldRegionClass
+struct _TeplFoldRegionClass
 {
        GObjectClass parent_class;
 
        gpointer padding[12];
 };
 
-GtefFoldRegion *
-               gtef_fold_region_new            (GtkTextBuffer     *buffer,
+TeplFoldRegion *
+               tepl_fold_region_new            (GtkTextBuffer     *buffer,
                                                 const GtkTextIter *start,
                                                 const GtkTextIter *end);
 
-GtkTextBuffer * gtef_fold_region_get_buffer    (GtefFoldRegion    *fold_region);
+GtkTextBuffer * tepl_fold_region_get_buffer    (TeplFoldRegion    *fold_region);
 
-gboolean       gtef_fold_region_get_folded     (GtefFoldRegion    *fold_region);
+gboolean       tepl_fold_region_get_folded     (TeplFoldRegion    *fold_region);
 
-void           gtef_fold_region_set_folded     (GtefFoldRegion    *fold_region,
+void           tepl_fold_region_set_folded     (TeplFoldRegion    *fold_region,
                                                 gboolean           folded);
 
-gboolean       gtef_fold_region_get_bounds     (GtefFoldRegion    *fold_region,
+gboolean       tepl_fold_region_get_bounds     (TeplFoldRegion    *fold_region,
                                                 GtkTextIter       *start,
                                                 GtkTextIter       *end);
 
-void           gtef_fold_region_set_bounds     (GtefFoldRegion    *fold_region,
+void           tepl_fold_region_set_bounds     (TeplFoldRegion    *fold_region,
                                                 const GtkTextIter *start,
                                                 const GtkTextIter *end);
 
 G_END_DECLS
 
-#endif /* GTEF_FOLD_REGION_H */
+#endif /* TEPL_FOLD_REGION_H */
diff --git a/gtef/gtef-gutter-renderer-folds.c b/gtef/gtef-gutter-renderer-folds.c
index a1a8790..2034d79 100644
--- a/gtef/gtef-gutter-renderer-folds.c
+++ b/gtef/gtef-gutter-renderer-folds.c
@@ -1,15 +1,15 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2013, 2016 - Sébastien Wilmet <swilmet gnome org>
  * Copyright 2016 - David Rabel <david rabel noresoft com>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -18,14 +18,14 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "gtef-gutter-renderer-folds.h"
+#include "tepl-gutter-renderer-folds.h"
 
 /**
  * SECTION:gutter-renderer-folds
  * @Short_description: Basic gutter renderer for code folding
- * @Title: GtefGutterRendererFolds
+ * @Title: TeplGutterRendererFolds
  *
- * #GtefGutterRendererFolds is a basic gutter renderer for code folding. It
+ * #TeplGutterRendererFolds is a basic gutter renderer for code folding. It
  * handles only the drawing, and has a flat view of the folding tree.
  */
 
@@ -35,15 +35,15 @@
  */
 #define SQUARE_SIZE 9
 
-typedef struct _GtefGutterRendererFoldsPrivate GtefGutterRendererFoldsPrivate;
+typedef struct _TeplGutterRendererFoldsPrivate TeplGutterRendererFoldsPrivate;
 
-struct _GtefGutterRendererFoldsPrivate
+struct _TeplGutterRendererFoldsPrivate
 {
-       GtefGutterRendererFoldsState folding_state;
+       TeplGutterRendererFoldsState folding_state;
 };
 
-G_DEFINE_TYPE_WITH_PRIVATE (GtefGutterRendererFolds,
-                           gtef_gutter_renderer_folds,
+G_DEFINE_TYPE_WITH_PRIVATE (TeplGutterRendererFolds,
+                           tepl_gutter_renderer_folds,
                            GTK_SOURCE_TYPE_GUTTER_RENDERER)
 
 /* Draw a minus or a plus surrounded by a square. */
@@ -163,7 +163,7 @@ split_cell_area (const GdkRectangle *cell_area,
 }
 
 static void
-gtef_gutter_renderer_folds_draw (GtkSourceGutterRenderer      *renderer,
+tepl_gutter_renderer_folds_draw (GtkSourceGutterRenderer      *renderer,
                                 cairo_t                      *cr,
                                 GdkRectangle                 *background_area,
                                 GdkRectangle                 *cell_area,
@@ -171,20 +171,20 @@ gtef_gutter_renderer_folds_draw (GtkSourceGutterRenderer      *renderer,
                                 GtkTextIter                  *end,
                                 GtkSourceGutterRendererState  state)
 {
-       GtefGutterRendererFolds *self;
-       GtefGutterRendererFoldsPrivate *priv;
-       GtefGutterRendererFoldsState folding_state;
+       TeplGutterRendererFolds *self;
+       TeplGutterRendererFoldsPrivate *priv;
+       TeplGutterRendererFoldsState folding_state;
        GdkRectangle top_area;
        GdkRectangle middle_area;
        GdkRectangle bottom_area;
 
-       self = GTEF_GUTTER_RENDERER_FOLDS (renderer);
-       priv = gtef_gutter_renderer_folds_get_instance_private (self);
+       self = TEPL_GUTTER_RENDERER_FOLDS (renderer);
+       priv = tepl_gutter_renderer_folds_get_instance_private (self);
 
        /* Chain up to draw background */
-       if (GTK_SOURCE_GUTTER_RENDERER_CLASS (gtef_gutter_renderer_folds_parent_class)->draw != NULL)
+       if (GTK_SOURCE_GUTTER_RENDERER_CLASS (tepl_gutter_renderer_folds_parent_class)->draw != NULL)
        {
-               GTK_SOURCE_GUTTER_RENDERER_CLASS (gtef_gutter_renderer_folds_parent_class)->draw (renderer,
+               GTK_SOURCE_GUTTER_RENDERER_CLASS (tepl_gutter_renderer_folds_parent_class)->draw (renderer,
                                                                                                  cr,
                                                                                                  
background_area,
                                                                                                  cell_area,
@@ -209,30 +209,30 @@ gtef_gutter_renderer_folds_draw (GtkSourceGutterRenderer      *renderer,
 
        /* Top area */
 
-       if (folding_state & GTEF_GUTTER_RENDERER_FOLDS_STATE_CONTINUE ||
-           folding_state & GTEF_GUTTER_RENDERER_FOLDS_STATE_END)
+       if (folding_state & TEPL_GUTTER_RENDERER_FOLDS_STATE_CONTINUE ||
+           folding_state & TEPL_GUTTER_RENDERER_FOLDS_STATE_END)
        {
                draw_vertical_line (cr, &top_area);
        }
 
        /* Middle area */
 
-       if (folding_state & GTEF_GUTTER_RENDERER_FOLDS_STATE_START_FOLDED)
+       if (folding_state & TEPL_GUTTER_RENDERER_FOLDS_STATE_START_FOLDED)
        {
                draw_sign (cr, &middle_area, TRUE);
        }
-       else if (folding_state & GTEF_GUTTER_RENDERER_FOLDS_STATE_START_OPENED)
+       else if (folding_state & TEPL_GUTTER_RENDERER_FOLDS_STATE_START_OPENED)
        {
                draw_sign (cr, &middle_area, FALSE);
        }
        else
        {
-               if (folding_state & GTEF_GUTTER_RENDERER_FOLDS_STATE_CONTINUE)
+               if (folding_state & TEPL_GUTTER_RENDERER_FOLDS_STATE_CONTINUE)
                {
                        draw_vertical_line (cr, &middle_area);
                }
 
-               if (folding_state & GTEF_GUTTER_RENDERER_FOLDS_STATE_END)
+               if (folding_state & TEPL_GUTTER_RENDERER_FOLDS_STATE_END)
                {
                        draw_end (cr, &middle_area);
                }
@@ -240,8 +240,8 @@ gtef_gutter_renderer_folds_draw (GtkSourceGutterRenderer      *renderer,
 
        /* Bottom area */
 
-       if (folding_state & GTEF_GUTTER_RENDERER_FOLDS_STATE_START_OPENED ||
-           folding_state & GTEF_GUTTER_RENDERER_FOLDS_STATE_CONTINUE)
+       if (folding_state & TEPL_GUTTER_RENDERER_FOLDS_STATE_START_OPENED ||
+           folding_state & TEPL_GUTTER_RENDERER_FOLDS_STATE_CONTINUE)
        {
                draw_vertical_line (cr, &bottom_area);
        }
@@ -251,48 +251,48 @@ gtef_gutter_renderer_folds_draw (GtkSourceGutterRenderer      *renderer,
 }
 
 static void
-gtef_gutter_renderer_folds_constructed (GObject *object)
+tepl_gutter_renderer_folds_constructed (GObject *object)
 {
        GtkSourceGutterRenderer *renderer = GTK_SOURCE_GUTTER_RENDERER (object);
 
-       G_OBJECT_CLASS (gtef_gutter_renderer_folds_parent_class)->constructed (object);
+       G_OBJECT_CLASS (tepl_gutter_renderer_folds_parent_class)->constructed (object);
 
        gtk_source_gutter_renderer_set_size (renderer, SQUARE_SIZE);
        gtk_source_gutter_renderer_set_padding (renderer, 2, -1);
 }
 
 static void
-gtef_gutter_renderer_folds_class_init (GtefGutterRendererFoldsClass *klass)
+tepl_gutter_renderer_folds_class_init (TeplGutterRendererFoldsClass *klass)
 {
        GObjectClass *object_class = G_OBJECT_CLASS (klass);
        GtkSourceGutterRendererClass *renderer_class = GTK_SOURCE_GUTTER_RENDERER_CLASS (klass);
 
-       object_class->constructed = gtef_gutter_renderer_folds_constructed;
+       object_class->constructed = tepl_gutter_renderer_folds_constructed;
 
-       renderer_class->draw = gtef_gutter_renderer_folds_draw;
+       renderer_class->draw = tepl_gutter_renderer_folds_draw;
 }
 
 static void
-gtef_gutter_renderer_folds_init (GtefGutterRendererFolds *self)
+tepl_gutter_renderer_folds_init (TeplGutterRendererFolds *self)
 {
 }
 
 /**
- * gtef_gutter_renderer_folds_new:
+ * tepl_gutter_renderer_folds_new:
  *
- * Returns: a new #GtefGutterRendererFolds.
+ * Returns: a new #TeplGutterRendererFolds.
  * Since: 1.0
  */
 GtkSourceGutterRenderer *
-gtef_gutter_renderer_folds_new (void)
+tepl_gutter_renderer_folds_new (void)
 {
-       return g_object_new (GTEF_TYPE_GUTTER_RENDERER_FOLDS, NULL);
+       return g_object_new (TEPL_TYPE_GUTTER_RENDERER_FOLDS, NULL);
 }
 
 /**
- * gtef_gutter_renderer_folds_set_state:
- * @self: a #GtefGutterRendererFolds.
- * @state: a #GtefGutterRendererFoldsState.
+ * tepl_gutter_renderer_folds_set_state:
+ * @self: a #TeplGutterRendererFolds.
+ * @state: a #TeplGutterRendererFoldsState.
  *
  * Sets the folding state of the next cell to be drawn.
  *
@@ -302,13 +302,13 @@ gtef_gutter_renderer_folds_new (void)
  * Since: 1.0
  */
 void
-gtef_gutter_renderer_folds_set_state (GtefGutterRendererFolds     *self,
-                                      GtefGutterRendererFoldsState  state)
+tepl_gutter_renderer_folds_set_state (TeplGutterRendererFolds     *self,
+                                      TeplGutterRendererFoldsState  state)
 {
-       GtefGutterRendererFoldsPrivate *priv;
+       TeplGutterRendererFoldsPrivate *priv;
 
-       g_return_if_fail (GTEF_IS_GUTTER_RENDERER_FOLDS (self));
+       g_return_if_fail (TEPL_IS_GUTTER_RENDERER_FOLDS (self));
 
-       priv = gtef_gutter_renderer_folds_get_instance_private (self);
+       priv = tepl_gutter_renderer_folds_get_instance_private (self);
        priv->folding_state = state;
 }
diff --git a/gtef/gtef-gutter-renderer-folds.h b/gtef/gtef-gutter-renderer-folds.h
index c09174c..d0895ab 100644
--- a/gtef/gtef-gutter-renderer-folds.h
+++ b/gtef/gtef-gutter-renderer-folds.h
@@ -1,15 +1,15 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2013, 2016 - Sébastien Wilmet <swilmet gnome org>
  * Copyright 2016 - David Rabel <david rabel noresoft com>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -18,24 +18,24 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_GUTTER_RENDERER_FOLDS_H
-#define GTEF_GUTTER_RENDERER_FOLDS_H
+#ifndef TEPL_GUTTER_RENDERER_FOLDS_H
+#define TEPL_GUTTER_RENDERER_FOLDS_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <gtksourceview/gtksource.h>
-#include <gtef/gtef-types.h>
+#include <tepl/tepl-types.h>
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_GUTTER_RENDERER_FOLDS (gtef_gutter_renderer_folds_get_type ())
-G_DECLARE_DERIVABLE_TYPE (GtefGutterRendererFolds, gtef_gutter_renderer_folds,
-                         GTEF, GUTTER_RENDERER_FOLDS,
+#define TEPL_TYPE_GUTTER_RENDERER_FOLDS (tepl_gutter_renderer_folds_get_type ())
+G_DECLARE_DERIVABLE_TYPE (TeplGutterRendererFolds, tepl_gutter_renderer_folds,
+                         TEPL, GUTTER_RENDERER_FOLDS,
                          GtkSourceGutterRenderer)
 
-struct _GtefGutterRendererFoldsClass
+struct _TeplGutterRendererFoldsClass
 {
        GtkSourceGutterRendererClass parent_class;
 
@@ -43,38 +43,38 @@ struct _GtefGutterRendererFoldsClass
 };
 
 /**
- * GtefGutterRendererFoldsState:
- * @GTEF_GUTTER_RENDERER_FOLDS_STATE_NONE: No code folding here.
- * @GTEF_GUTTER_RENDERER_FOLDS_STATE_START_FOLDED: Start of currently folded
+ * TeplGutterRendererFoldsState:
+ * @TEPL_GUTTER_RENDERER_FOLDS_STATE_NONE: No code folding here.
+ * @TEPL_GUTTER_RENDERER_FOLDS_STATE_START_FOLDED: Start of currently folded
  *   fold region.
- * @GTEF_GUTTER_RENDERER_FOLDS_STATE_START_OPENED: Start of currently opened
+ * @TEPL_GUTTER_RENDERER_FOLDS_STATE_START_OPENED: Start of currently opened
  *   fold region.
- * @GTEF_GUTTER_RENDERER_FOLDS_STATE_CONTINUE: Fold region continues.
- * @GTEF_GUTTER_RENDERER_FOLDS_STATE_END: End of fold region.
+ * @TEPL_GUTTER_RENDERER_FOLDS_STATE_CONTINUE: Fold region continues.
+ * @TEPL_GUTTER_RENDERER_FOLDS_STATE_END: End of fold region.
  *
  * The folding state at a certain line in the #GtkTextBuffer.
  *
- * Since #GtefGutterRendererFolds has a flat view of the folding tree, some
- * states can be combined; for example, %GTEF_GUTTER_RENDERER_FOLDS_STATE_END
- * and %GTEF_GUTTER_RENDERER_FOLDS_STATE_CONTINUE.
+ * Since #TeplGutterRendererFolds has a flat view of the folding tree, some
+ * states can be combined; for example, %TEPL_GUTTER_RENDERER_FOLDS_STATE_END
+ * and %TEPL_GUTTER_RENDERER_FOLDS_STATE_CONTINUE.
  *
  * Since: 1.0
  */
 typedef enum
 {
-       GTEF_GUTTER_RENDERER_FOLDS_STATE_NONE           = 0,
-       GTEF_GUTTER_RENDERER_FOLDS_STATE_START_FOLDED   = 1 << 0,
-       GTEF_GUTTER_RENDERER_FOLDS_STATE_START_OPENED   = 1 << 1,
-       GTEF_GUTTER_RENDERER_FOLDS_STATE_CONTINUE       = 1 << 2,
-       GTEF_GUTTER_RENDERER_FOLDS_STATE_END            = 1 << 3
-} GtefGutterRendererFoldsState;
+       TEPL_GUTTER_RENDERER_FOLDS_STATE_NONE           = 0,
+       TEPL_GUTTER_RENDERER_FOLDS_STATE_START_FOLDED   = 1 << 0,
+       TEPL_GUTTER_RENDERER_FOLDS_STATE_START_OPENED   = 1 << 1,
+       TEPL_GUTTER_RENDERER_FOLDS_STATE_CONTINUE       = 1 << 2,
+       TEPL_GUTTER_RENDERER_FOLDS_STATE_END            = 1 << 3
+} TeplGutterRendererFoldsState;
 
 GtkSourceGutterRenderer *
-               gtef_gutter_renderer_folds_new                  (void);
+               tepl_gutter_renderer_folds_new                  (void);
 
-void           gtef_gutter_renderer_folds_set_state            (GtefGutterRendererFolds      *self,
-                                                                GtefGutterRendererFoldsState  state);
+void           tepl_gutter_renderer_folds_set_state            (TeplGutterRendererFolds      *self,
+                                                                TeplGutterRendererFoldsState  state);
 
 G_END_DECLS
 
-#endif /* GTEF_GUTTER_RENDERER_FOLDS_H */
+#endif /* TEPL_GUTTER_RENDERER_FOLDS_H */
diff --git a/gtef/gtef-info-bar.c b/gtef/gtef-info-bar.c
index fde3b58..32484a1 100644
--- a/gtef/gtef-info-bar.c
+++ b/gtef/gtef-info-bar.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,20 +17,20 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "gtef-info-bar.h"
+#include "tepl-info-bar.h"
 
 /**
  * SECTION:info-bar
  * @Short_description: Subclass of GtkInfoBar
- * @Title: GtefInfoBar
+ * @Title: TeplInfoBar
  *
- * #GtefInfoBar is a subclass of #GtkInfoBar with a vertical action area and
+ * #TeplInfoBar is a subclass of #GtkInfoBar with a vertical action area and
  * functions to ease the creation of info bars.
  */
 
-typedef struct _GtefInfoBarPrivate GtefInfoBarPrivate;
+typedef struct _TeplInfoBarPrivate TeplInfoBarPrivate;
 
-struct _GtefInfoBarPrivate
+struct _TeplInfoBarPrivate
 {
        /* Left: icon. Right: content_vgrid. */
        GtkGrid *content_hgrid;
@@ -41,14 +41,14 @@ struct _GtefInfoBarPrivate
        guint close_button_added : 1;
 };
 
-G_DEFINE_TYPE_WITH_PRIVATE (GtefInfoBar, gtef_info_bar, GTK_TYPE_INFO_BAR)
+G_DEFINE_TYPE_WITH_PRIVATE (TeplInfoBar, tepl_info_bar, GTK_TYPE_INFO_BAR)
 
 static void
-gtef_info_bar_response (GtkInfoBar *gtk_info_bar,
+tepl_info_bar_response (GtkInfoBar *gtk_info_bar,
                        gint        response_id)
 {
-       GtefInfoBar *info_bar = GTEF_INFO_BAR (gtk_info_bar);
-       GtefInfoBarPrivate *priv = gtef_info_bar_get_instance_private (info_bar);
+       TeplInfoBar *info_bar = TEPL_INFO_BAR (gtk_info_bar);
+       TeplInfoBarPrivate *priv = tepl_info_bar_get_instance_private (info_bar);
 
        if (response_id == GTK_RESPONSE_CLOSE &&
            priv->close_button_added)
@@ -59,29 +59,29 @@ gtef_info_bar_response (GtkInfoBar *gtk_info_bar,
                return;
        }
 
-       if (GTK_INFO_BAR_CLASS (gtef_info_bar_parent_class)->response != NULL)
+       if (GTK_INFO_BAR_CLASS (tepl_info_bar_parent_class)->response != NULL)
        {
-               GTK_INFO_BAR_CLASS (gtef_info_bar_parent_class)->response (gtk_info_bar,
+               GTK_INFO_BAR_CLASS (tepl_info_bar_parent_class)->response (gtk_info_bar,
                                                                           response_id);
        }
 }
 
 static void
-gtef_info_bar_class_init (GtefInfoBarClass *klass)
+tepl_info_bar_class_init (TeplInfoBarClass *klass)
 {
        GtkInfoBarClass *info_bar_class = GTK_INFO_BAR_CLASS (klass);
 
-       info_bar_class->response = gtef_info_bar_response;
+       info_bar_class->response = tepl_info_bar_response;
 }
 
 static void
-gtef_info_bar_init (GtefInfoBar *info_bar)
+tepl_info_bar_init (TeplInfoBar *info_bar)
 {
-       GtefInfoBarPrivate *priv;
+       TeplInfoBarPrivate *priv;
        GtkWidget *action_area;
        GtkWidget *content_area;
 
-       priv = gtef_info_bar_get_instance_private (info_bar);
+       priv = tepl_info_bar_get_instance_private (info_bar);
 
        /* Change the buttons orientation to be vertical.
         * With a small window, if 3 or more buttons are shown horizontally,
@@ -124,54 +124,54 @@ gtef_info_bar_init (GtefInfoBar *info_bar)
 }
 
 /**
- * gtef_info_bar_new:
+ * tepl_info_bar_new:
  *
- * Returns: a new #GtefInfoBar.
+ * Returns: a new #TeplInfoBar.
  * Since: 1.0
  */
-GtefInfoBar *
-gtef_info_bar_new (void)
+TeplInfoBar *
+tepl_info_bar_new (void)
 {
-       return g_object_new (GTEF_TYPE_INFO_BAR, NULL);
+       return g_object_new (TEPL_TYPE_INFO_BAR, NULL);
 }
 
 /**
- * gtef_info_bar_new_simple:
+ * tepl_info_bar_new_simple:
  * @msg_type: the message type.
  * @primary_msg: the primary message.
  * @secondary_msg: (nullable): the secondary message, or %NULL.
  *
- * Creates a new #GtefInfoBar with an icon (depending on @msg_type), a primary
+ * Creates a new #TeplInfoBar with an icon (depending on @msg_type), a primary
  * message and a secondary message.
  *
- * Returns: a new #GtefInfoBar.
+ * Returns: a new #TeplInfoBar.
  * Since: 2.0
  */
-GtefInfoBar *
-gtef_info_bar_new_simple (GtkMessageType  msg_type,
+TeplInfoBar *
+tepl_info_bar_new_simple (GtkMessageType  msg_type,
                          const gchar    *primary_msg,
                          const gchar    *secondary_msg)
 {
-       GtefInfoBar *info_bar;
+       TeplInfoBar *info_bar;
 
        g_return_val_if_fail (primary_msg != NULL, NULL);
 
-       info_bar = gtef_info_bar_new ();
+       info_bar = tepl_info_bar_new ();
 
        gtk_info_bar_set_message_type (GTK_INFO_BAR (info_bar), msg_type);
-       gtef_info_bar_add_icon (info_bar);
-       gtef_info_bar_add_primary_message (info_bar, primary_msg);
+       tepl_info_bar_add_icon (info_bar);
+       tepl_info_bar_add_primary_message (info_bar, primary_msg);
 
        if (secondary_msg != NULL)
        {
-               gtef_info_bar_add_secondary_message (info_bar, secondary_msg);
+               tepl_info_bar_add_secondary_message (info_bar, secondary_msg);
        }
 
        return info_bar;
 }
 
 static const gchar *
-get_icon_name (GtefInfoBar *info_bar)
+get_icon_name (TeplInfoBar *info_bar)
 {
        GtkMessageType msg_type;
 
@@ -201,27 +201,27 @@ get_icon_name (GtefInfoBar *info_bar)
 }
 
 /**
- * gtef_info_bar_add_icon:
- * @info_bar: a #GtefInfoBar.
+ * tepl_info_bar_add_icon:
+ * @info_bar: a #TeplInfoBar.
  *
  * Adds an icon on the left, determined by the message type. So before calling
  * this function, gtk_info_bar_set_message_type() must have been called.
  *
- * The icon is not updated when the message type changes. Another #GtefInfoBar
+ * The icon is not updated when the message type changes. Another #TeplInfoBar
  * must be created in that case.
  *
  * Since: 2.0
  */
 void
-gtef_info_bar_add_icon (GtefInfoBar *info_bar)
+tepl_info_bar_add_icon (TeplInfoBar *info_bar)
 {
-       GtefInfoBarPrivate *priv;
+       TeplInfoBarPrivate *priv;
        const gchar *icon_name;
        GtkWidget *image;
 
-       g_return_if_fail (GTEF_IS_INFO_BAR (info_bar));
+       g_return_if_fail (TEPL_IS_INFO_BAR (info_bar));
 
-       priv = gtef_info_bar_get_instance_private (info_bar);
+       priv = tepl_info_bar_get_instance_private (info_bar);
 
        icon_name = get_icon_name (info_bar);
        if (icon_name == NULL)
@@ -242,30 +242,30 @@ gtef_info_bar_add_icon (GtefInfoBar *info_bar)
 }
 
 /**
- * gtef_info_bar_add_primary_message:
- * @info_bar: a #GtefInfoBar.
+ * tepl_info_bar_add_primary_message:
+ * @info_bar: a #TeplInfoBar.
  * @primary_msg: a primary message.
  *
  * Adds a primary message.
  * Since: 2.0
  */
 void
-gtef_info_bar_add_primary_message (GtefInfoBar *info_bar,
+tepl_info_bar_add_primary_message (TeplInfoBar *info_bar,
                                   const gchar *primary_msg)
 {
-       GtefInfoBarPrivate *priv;
+       TeplInfoBarPrivate *priv;
        gchar *primary_msg_escaped;
        gchar *primary_markup;
        GtkLabel *primary_label;
 
-       g_return_if_fail (GTEF_IS_INFO_BAR (info_bar));
+       g_return_if_fail (TEPL_IS_INFO_BAR (info_bar));
        g_return_if_fail (primary_msg != NULL);
 
-       priv = gtef_info_bar_get_instance_private (info_bar);
+       priv = tepl_info_bar_get_instance_private (info_bar);
 
        primary_msg_escaped = g_markup_escape_text (primary_msg, -1);
        primary_markup = g_strdup_printf ("<b>%s</b>", primary_msg_escaped);
-       primary_label = gtef_info_bar_create_label ();
+       primary_label = tepl_info_bar_create_label ();
        gtk_label_set_markup (primary_label, primary_markup);
        g_free (primary_markup);
        g_free (primary_msg_escaped);
@@ -276,30 +276,30 @@ gtef_info_bar_add_primary_message (GtefInfoBar *info_bar,
 }
 
 /**
- * gtef_info_bar_add_secondary_message:
- * @info_bar: a #GtefInfoBar.
+ * tepl_info_bar_add_secondary_message:
+ * @info_bar: a #TeplInfoBar.
  * @secondary_msg: a secondary message.
  *
  * Adds a secondary message.
  * Since: 2.0
  */
 void
-gtef_info_bar_add_secondary_message (GtefInfoBar *info_bar,
+tepl_info_bar_add_secondary_message (TeplInfoBar *info_bar,
                                     const gchar *secondary_msg)
 {
-       GtefInfoBarPrivate *priv;
+       TeplInfoBarPrivate *priv;
        gchar *secondary_msg_escaped;
        gchar *secondary_markup;
        GtkLabel *secondary_label;
 
-       g_return_if_fail (GTEF_IS_INFO_BAR (info_bar));
+       g_return_if_fail (TEPL_IS_INFO_BAR (info_bar));
        g_return_if_fail (secondary_msg != NULL);
 
-       priv = gtef_info_bar_get_instance_private (info_bar);
+       priv = tepl_info_bar_get_instance_private (info_bar);
 
        secondary_msg_escaped = g_markup_escape_text (secondary_msg, -1);
        secondary_markup = g_strdup_printf ("<small>%s</small>", secondary_msg_escaped);
-       secondary_label = gtef_info_bar_create_label ();
+       secondary_label = tepl_info_bar_create_label ();
        gtk_label_set_markup (secondary_label, secondary_markup);
        g_free (secondary_markup);
        g_free (secondary_msg_escaped);
@@ -310,37 +310,37 @@ gtef_info_bar_add_secondary_message (GtefInfoBar *info_bar,
 }
 
 /**
- * gtef_info_bar_add_content_widget:
- * @info_bar: a #GtefInfoBar.
+ * tepl_info_bar_add_content_widget:
+ * @info_bar: a #TeplInfoBar.
  * @content: a #GtkWidget.
  *
  * Adds @content to @info_bar.
  *
- * #GtefInfoBar has an internal container, to be able to add the icon and add
+ * #TeplInfoBar has an internal container, to be able to add the icon and add
  * primary or secondary messages. The internal container is added to the content
  * area, as returned by gtk_info_bar_get_content_area(). So if you use a
- * #GtefInfoBar and you need to add a custom #GtkWidget, it is better to use
+ * #TeplInfoBar and you need to add a custom #GtkWidget, it is better to use
  * this function instead of adding the #GtkWidget directly to the content area.
  *
  * Since: 2.0
  */
 void
-gtef_info_bar_add_content_widget (GtefInfoBar *info_bar,
+tepl_info_bar_add_content_widget (TeplInfoBar *info_bar,
                                  GtkWidget   *content)
 {
-       GtefInfoBarPrivate *priv;
+       TeplInfoBarPrivate *priv;
 
-       g_return_if_fail (GTEF_IS_INFO_BAR (info_bar));
+       g_return_if_fail (TEPL_IS_INFO_BAR (info_bar));
        g_return_if_fail (GTK_IS_WIDGET (content));
 
-       priv = gtef_info_bar_get_instance_private (info_bar);
+       priv = tepl_info_bar_get_instance_private (info_bar);
 
        gtk_container_add (GTK_CONTAINER (priv->content_vgrid), content);
 }
 
 /**
- * gtef_info_bar_add_close_button:
- * @info_bar: a #GtefInfoBar.
+ * tepl_info_bar_add_close_button:
+ * @info_bar: a #TeplInfoBar.
  *
  * Calls gtk_info_bar_set_show_close_button(), and additionnally closes the
  * @info_bar when the #GtkInfoBar::response signal is received with the
@@ -349,13 +349,13 @@ gtef_info_bar_add_content_widget (GtefInfoBar *info_bar,
  * Since: 2.0
  */
 void
-gtef_info_bar_add_close_button (GtefInfoBar *info_bar)
+tepl_info_bar_add_close_button (TeplInfoBar *info_bar)
 {
-       GtefInfoBarPrivate *priv;
+       TeplInfoBarPrivate *priv;
 
-       g_return_if_fail (GTEF_IS_INFO_BAR (info_bar));
+       g_return_if_fail (TEPL_IS_INFO_BAR (info_bar));
 
-       priv = gtef_info_bar_get_instance_private (info_bar);
+       priv = tepl_info_bar_get_instance_private (info_bar);
 
        gtk_info_bar_set_show_close_button (GTK_INFO_BAR (info_bar), TRUE);
 
@@ -363,7 +363,7 @@ gtef_info_bar_add_close_button (GtefInfoBar *info_bar)
 }
 
 /**
- * gtef_info_bar_create_label:
+ * tepl_info_bar_create_label:
  *
  * Utility function to create a #GtkLabel suitable for a #GtkInfoBar. The
  * wrapping and alignment is configured. The label is also set as selectable,
@@ -373,7 +373,7 @@ gtef_info_bar_add_close_button (GtefInfoBar *info_bar)
  * Since: 1.0
  */
 GtkLabel *
-gtef_info_bar_create_label (void)
+tepl_info_bar_create_label (void)
 {
        GtkLabel *label;
 
diff --git a/gtef/gtef-info-bar.h b/gtef/gtef-info-bar.h
index 0d59479..c11e886 100644
--- a/gtef/gtef-info-bar.h
+++ b/gtef/gtef-info-bar.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,50 +17,50 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_INFO_BAR_H
-#define GTEF_INFO_BAR_H
+#ifndef TEPL_INFO_BAR_H
+#define TEPL_INFO_BAR_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <gtk/gtk.h>
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_INFO_BAR (gtef_info_bar_get_type ())
-G_DECLARE_DERIVABLE_TYPE (GtefInfoBar, gtef_info_bar,
-                         GTEF, INFO_BAR,
+#define TEPL_TYPE_INFO_BAR (tepl_info_bar_get_type ())
+G_DECLARE_DERIVABLE_TYPE (TeplInfoBar, tepl_info_bar,
+                         TEPL, INFO_BAR,
                          GtkInfoBar)
 
-struct _GtefInfoBarClass
+struct _TeplInfoBarClass
 {
        GtkInfoBarClass parent_class;
 
        gpointer padding[12];
 };
 
-GtefInfoBar *          gtef_info_bar_new                               (void);
+TeplInfoBar *          tepl_info_bar_new                               (void);
 
-GtefInfoBar *          gtef_info_bar_new_simple                        (GtkMessageType  msg_type,
+TeplInfoBar *          tepl_info_bar_new_simple                        (GtkMessageType  msg_type,
                                                                         const gchar    *primary_msg,
                                                                         const gchar    *secondary_msg);
 
-void                   gtef_info_bar_add_icon                          (GtefInfoBar *info_bar);
+void                   tepl_info_bar_add_icon                          (TeplInfoBar *info_bar);
 
-void                   gtef_info_bar_add_primary_message               (GtefInfoBar *info_bar,
+void                   tepl_info_bar_add_primary_message               (TeplInfoBar *info_bar,
                                                                         const gchar *primary_msg);
 
-void                   gtef_info_bar_add_secondary_message             (GtefInfoBar *info_bar,
+void                   tepl_info_bar_add_secondary_message             (TeplInfoBar *info_bar,
                                                                         const gchar *secondary_msg);
 
-void                   gtef_info_bar_add_content_widget                (GtefInfoBar *info_bar,
+void                   tepl_info_bar_add_content_widget                (TeplInfoBar *info_bar,
                                                                         GtkWidget   *content);
 
-void                   gtef_info_bar_add_close_button                  (GtefInfoBar *info_bar);
+void                   tepl_info_bar_add_close_button                  (TeplInfoBar *info_bar);
 
-GtkLabel *             gtef_info_bar_create_label                      (void);
+GtkLabel *             tepl_info_bar_create_label                      (void);
 
 G_END_DECLS
 
-#endif /* GTEF_INFO_BAR_H */
+#endif /* TEPL_INFO_BAR_H */
diff --git a/gtef/gtef-init.c b/gtef/gtef-init.c
index 919f983..fe6242a 100644
--- a/gtef/gtef-init.c
+++ b/gtef/gtef-init.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -31,7 +31,7 @@
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 
-static HMODULE gtef_dll;
+static HMODULE tepl_dll;
 #endif
 
 #ifdef OS_OSX
@@ -95,7 +95,7 @@ get_locale_dir (void)
 #if defined (G_OS_WIN32)
        gchar *win32_dir;
 
-       win32_dir = g_win32_get_package_installation_directory_of_module (gtef_dll);
+       win32_dir = g_win32_get_package_installation_directory_of_module (tepl_dll);
 
        locale_dir = g_build_filename (win32_dir, "share", "locale", NULL);
 
@@ -110,7 +110,7 @@ get_locale_dir (void)
 }
 
 static void
-gtef_init (void)
+tepl_init (void)
 {
        gchar *locale_dir;
 
@@ -135,8 +135,8 @@ DllMain (HINSTANCE hinstDLL,
        switch (fdwReason)
        {
                case DLL_PROCESS_ATTACH:
-                       gtef_dll = hinstDLL;
-                       gtef_init ();
+                       tepl_dll = hinstDLL;
+                       tepl_init ();
                        break;
 
                case DLL_THREAD_DETACH:
@@ -151,14 +151,14 @@ DllMain (HINSTANCE hinstDLL,
 #elif defined (G_HAS_CONSTRUCTORS)
 
 #  ifdef G_DEFINE_CONSTRUCTOR_NEEDS_PRAGMA
-#    pragma G_DEFINE_CONSTRUCTOR_PRAGMA_ARGS(gtef_constructor)
+#    pragma G_DEFINE_CONSTRUCTOR_PRAGMA_ARGS(tepl_constructor)
 #  endif
-G_DEFINE_CONSTRUCTOR (gtef_constructor)
+G_DEFINE_CONSTRUCTOR (tepl_constructor)
 
 static void
-gtef_constructor (void)
+tepl_constructor (void)
 {
-       gtef_init ();
+       tepl_init ();
 }
 
 #else
diff --git a/gtef/gtef-io-error-info-bar.c b/gtef/gtef-io-error-info-bar.c
index f85341c..bda3a80 100644
--- a/gtef/gtef-io-error-info-bar.c
+++ b/gtef/gtef-io-error-info-bar.c
@@ -1,15 +1,15 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2005 - Paolo Maggi
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -19,13 +19,13 @@
  */
 
 #include "config.h"
-#include "gtef-io-error-info-bar.h"
+#include "tepl-io-error-info-bar.h"
 #include <glib/gi18n-lib.h>
-#include "gtef-utils.h"
+#include "tepl-utils.h"
 
 /* Verbose error reporting for file I/O operations (load, save, etc.). */
 
-G_DEFINE_TYPE (GtefIoErrorInfoBar, _gtef_io_error_info_bar, GTEF_TYPE_INFO_BAR)
+G_DEFINE_TYPE (TeplIoErrorInfoBar, _tepl_io_error_info_bar, TEPL_TYPE_INFO_BAR)
 
 static gboolean
 is_recoverable_error (const GError *error)
@@ -128,7 +128,7 @@ parse_error (const GError  *error,
 
                if (uri != NULL)
                {
-                       _gtef_utils_decode_uri (uri, NULL, NULL, &host, NULL, NULL);
+                       _tepl_utils_decode_uri (uri, NULL, NULL, &host, NULL, NULL);
                }
 
                if (host != NULL)
@@ -170,7 +170,7 @@ parse_error (const GError  *error,
 }
 
 static void
-set_io_loading_error (GtefIoErrorInfoBar *info_bar,
+set_io_loading_error (TeplIoErrorInfoBar *info_bar,
                      gboolean            recoverable_error)
 {
        gtk_info_bar_set_message_type (GTK_INFO_BAR (info_bar), GTK_MESSAGE_ERROR);
@@ -188,7 +188,7 @@ set_io_loading_error (GtefIoErrorInfoBar *info_bar,
 }
 
 static void
-set_conversion_error (GtefIoErrorInfoBar *info_bar,
+set_conversion_error (TeplIoErrorInfoBar *info_bar,
                      gboolean            edit_anyway)
 {
        gtk_info_bar_add_button (GTK_INFO_BAR (info_bar),
@@ -214,23 +214,23 @@ set_conversion_error (GtefIoErrorInfoBar *info_bar,
 }
 
 static void
-_gtef_io_error_info_bar_class_init (GtefIoErrorInfoBarClass *klass)
+_tepl_io_error_info_bar_class_init (TeplIoErrorInfoBarClass *klass)
 {
 }
 
 static void
-_gtef_io_error_info_bar_init (GtefIoErrorInfoBar *info_bar)
+_tepl_io_error_info_bar_init (TeplIoErrorInfoBar *info_bar)
 {
 }
 
-GtefIoErrorInfoBar *
-_gtef_io_error_info_bar_new (void)
+TeplIoErrorInfoBar *
+_tepl_io_error_info_bar_new (void)
 {
-       return g_object_new (GTEF_TYPE_IO_ERROR_INFO_BAR, NULL);
+       return g_object_new (TEPL_TYPE_IO_ERROR_INFO_BAR, NULL);
 }
 
 void
-_gtef_io_error_info_bar_set_loading_error (GtefIoErrorInfoBar  *info_bar,
+_tepl_io_error_info_bar_set_loading_error (TeplIoErrorInfoBar  *info_bar,
                                           GtkSourceFileLoader *loader,
                                           const GError        *error)
 {
@@ -242,7 +242,7 @@ _gtef_io_error_info_bar_set_loading_error (GtefIoErrorInfoBar  *info_bar,
        gboolean edit_anyway = FALSE;
        gboolean convert_error = FALSE;
 
-       g_return_if_fail (GTEF_IS_IO_ERROR_INFO_BAR (info_bar));
+       g_return_if_fail (TEPL_IS_IO_ERROR_INFO_BAR (info_bar));
        g_return_if_fail (GTK_SOURCE_IS_FILE_LOADER (loader));
        g_return_if_fail (error != NULL);
        g_return_if_fail (error->domain == GTK_SOURCE_FILE_LOADER_ERROR ||
@@ -338,12 +338,12 @@ _gtef_io_error_info_bar_set_loading_error (GtefIoErrorInfoBar  *info_bar,
                set_io_loading_error (info_bar, is_recoverable_error (error));
        }
 
-       gtef_info_bar_add_primary_message (GTEF_INFO_BAR (info_bar),
+       tepl_info_bar_add_primary_message (TEPL_INFO_BAR (info_bar),
                                           primary_text);
 
        if (secondary_text != NULL)
        {
-               gtef_info_bar_add_secondary_message (GTEF_INFO_BAR (info_bar),
+               tepl_info_bar_add_secondary_message (TEPL_INFO_BAR (info_bar),
                                                     secondary_text);
        }
 
diff --git a/gtef/gtef-io-error-info-bar.h b/gtef/gtef-io-error-info-bar.h
index 4f648a8..7e9724d 100644
--- a/gtef/gtef-io-error-info-bar.h
+++ b/gtef/gtef-io-error-info-bar.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,32 +17,32 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_IO_ERROR_INFO_BAR_H
-#define GTEF_IO_ERROR_INFO_BAR_H
+#ifndef TEPL_IO_ERROR_INFO_BAR_H
+#define TEPL_IO_ERROR_INFO_BAR_H
 
 #include <gtksourceview/gtksource.h>
-#include "gtef-info-bar.h"
+#include "tepl-info-bar.h"
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_IO_ERROR_INFO_BAR (_gtef_io_error_info_bar_get_type ())
-G_DECLARE_DERIVABLE_TYPE (GtefIoErrorInfoBar, _gtef_io_error_info_bar,
-                         GTEF, IO_ERROR_INFO_BAR,
-                         GtefInfoBar)
+#define TEPL_TYPE_IO_ERROR_INFO_BAR (_tepl_io_error_info_bar_get_type ())
+G_DECLARE_DERIVABLE_TYPE (TeplIoErrorInfoBar, _tepl_io_error_info_bar,
+                         TEPL, IO_ERROR_INFO_BAR,
+                         TeplInfoBar)
 
-struct _GtefIoErrorInfoBarClass
+struct _TeplIoErrorInfoBarClass
 {
-       GtefInfoBarClass parent_class;
+       TeplInfoBarClass parent_class;
 };
 
 G_GNUC_INTERNAL
-GtefIoErrorInfoBar *   _gtef_io_error_info_bar_new                             (void);
+TeplIoErrorInfoBar *   _tepl_io_error_info_bar_new                             (void);
 
 G_GNUC_INTERNAL
-void                   _gtef_io_error_info_bar_set_loading_error               (GtefIoErrorInfoBar  
*info_bar,
+void                   _tepl_io_error_info_bar_set_loading_error               (TeplIoErrorInfoBar  
*info_bar,
                                                                                 GtkSourceFileLoader *loader,
                                                                                 const GError        *error);
 
 G_END_DECLS
 
-#endif /* GTEF_IO_ERROR_INFO_BAR_H */
+#endif /* TEPL_IO_ERROR_INFO_BAR_H */
diff --git a/gtef/gtef-iter.c b/gtef/gtef-iter.c
index 0c408bb..1491fd8 100644
--- a/gtef/gtef-iter.c
+++ b/gtef/gtef-iter.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016, 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,12 +17,12 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "gtef-iter.h"
+#include "tepl-iter.h"
 
 /**
  * SECTION:iter
  * @Short_description: GtkTextIter utility functions
- * @Title: GtefIter
+ * @Title: TeplIter
  *
  * #GtkTextIter utility functions.
  */
@@ -57,7 +57,7 @@ get_leading_spaces_end_boundary (const GtkTextIter *iter,
 }
 
 /**
- * gtef_iter_get_line_indentation:
+ * tepl_iter_get_line_indentation:
  * @iter: a #GtkTextIter.
  *
  * Gets the indentation, as a string, of the line at @iter. @iter can be
@@ -71,7 +71,7 @@ get_leading_spaces_end_boundary (const GtkTextIter *iter,
  * Since: 2.0
  */
 gchar *
-gtef_iter_get_line_indentation (const GtkTextIter *iter)
+tepl_iter_get_line_indentation (const GtkTextIter *iter)
 {
        GtkTextIter line_start;
        GtkTextIter leading_end;
diff --git a/gtef/gtef-iter.h b/gtef/gtef-iter.h
index c954d72..c0f148f 100644
--- a/gtef/gtef-iter.h
+++ b/gtef/gtef-iter.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,19 +17,19 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_ITER_H
-#define GTEF_ITER_H
+#ifndef TEPL_ITER_H
+#define TEPL_ITER_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <gtk/gtk.h>
 
 G_BEGIN_DECLS
 
-gchar *                gtef_iter_get_line_indentation          (const GtkTextIter *iter);
+gchar *                tepl_iter_get_line_indentation          (const GtkTextIter *iter);
 
 G_END_DECLS
 
-#endif /* GTEF_ITER_H */
+#endif /* TEPL_ITER_H */
diff --git a/gtef/gtef-menu-item.c b/gtef/gtef-menu-item.c
index 4221320..d095ceb 100644
--- a/gtef/gtef-menu-item.c
+++ b/gtef/gtef-menu-item.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,28 +17,28 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "gtef-menu-item.h"
+#include "tepl-menu-item.h"
 
 /**
  * SECTION:menu-item
  * @Short_description: GtkMenuItem functions
- * @Title: GtefMenuItem
+ * @Title: TeplMenuItem
  *
  * #GtkMenuItem functions.
  */
 
-#define LONG_DESCRIPTION_KEY "gtef-menu-item-long-description-key"
+#define LONG_DESCRIPTION_KEY "tepl-menu-item-long-description-key"
 
 /**
- * gtef_menu_item_get_long_description:
+ * tepl_menu_item_get_long_description:
  * @menu_item: a #GtkMenuItem.
  *
  * Returns: (nullable): the long description of @menu_item, previously set with
- *   gtef_menu_item_set_long_description().
+ *   tepl_menu_item_set_long_description().
  * Since: 2.0
  */
 const gchar *
-gtef_menu_item_get_long_description (GtkMenuItem *menu_item)
+tepl_menu_item_get_long_description (GtkMenuItem *menu_item)
 {
        g_return_val_if_fail (GTK_IS_MENU_ITEM (menu_item), NULL);
 
@@ -46,7 +46,7 @@ gtef_menu_item_get_long_description (GtkMenuItem *menu_item)
 }
 
 /**
- * gtef_menu_item_set_long_description:
+ * tepl_menu_item_set_long_description:
  * @menu_item: a #GtkMenuItem.
  * @long_description: (nullable): the long description, or %NULL to unset it.
  *
@@ -56,7 +56,7 @@ gtef_menu_item_get_long_description (GtkMenuItem *menu_item)
  * Since: 2.0
  */
 void
-gtef_menu_item_set_long_description (GtkMenuItem *menu_item,
+tepl_menu_item_set_long_description (GtkMenuItem *menu_item,
                                     const gchar *long_description)
 {
        g_return_if_fail (GTK_IS_MENU_ITEM (menu_item));
@@ -68,7 +68,7 @@ gtef_menu_item_set_long_description (GtkMenuItem *menu_item,
 }
 
 /**
- * gtef_menu_item_set_icon_name:
+ * tepl_menu_item_set_icon_name:
  * @item: a #GtkMenuItem.
  * @icon_name: an icon name.
  *
@@ -92,7 +92,7 @@ gtef_menu_item_set_long_description (GtkMenuItem *menu_item,
  * Copyright 2011, 2013 Canonical Limited
  */
 void
-gtef_menu_item_set_icon_name (GtkMenuItem *item,
+tepl_menu_item_set_icon_name (GtkMenuItem *item,
                              const gchar *icon_name)
 {
        GtkWidget *child;
diff --git a/gtef/gtef-menu-item.h b/gtef/gtef-menu-item.h
index b065271..ebb371a 100644
--- a/gtef/gtef-menu-item.h
+++ b/gtef/gtef-menu-item.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,25 +17,25 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_MENU_ITEM_H
-#define GTEF_MENU_ITEM_H
+#ifndef TEPL_MENU_ITEM_H
+#define TEPL_MENU_ITEM_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <gtk/gtk.h>
 
 G_BEGIN_DECLS
 
-const gchar *  gtef_menu_item_get_long_description     (GtkMenuItem *menu_item);
+const gchar *  tepl_menu_item_get_long_description     (GtkMenuItem *menu_item);
 
-void           gtef_menu_item_set_long_description     (GtkMenuItem *menu_item,
+void           tepl_menu_item_set_long_description     (GtkMenuItem *menu_item,
                                                         const gchar *long_description);
 
-void           gtef_menu_item_set_icon_name            (GtkMenuItem *item,
+void           tepl_menu_item_set_icon_name            (GtkMenuItem *item,
                                                         const gchar *icon_name);
 
 G_END_DECLS
 
-#endif  /* GTEF_MENU_ITEM_H */
+#endif  /* TEPL_MENU_ITEM_H */
diff --git a/gtef/gtef-menu-shell.c b/gtef/gtef-menu-shell.c
index 8754fb3..ddf641f 100644
--- a/gtef/gtef-menu-shell.c
+++ b/gtef/gtef-menu-shell.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016, 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,23 +17,23 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "gtef-menu-shell.h"
+#include "tepl-menu-shell.h"
 
 /**
  * SECTION:menu-shell
  * @Short_description: An extension of GtkMenuShell
- * @Title: GtefMenuShell
+ * @Title: TeplMenuShell
  *
- * #GtefMenuShell extends the #GtkMenuShell abstract class with the
- * #GtefMenuShell::menu-item-selected and #GtefMenuShell::menu-item-deselected
+ * #TeplMenuShell extends the #GtkMenuShell abstract class with the
+ * #TeplMenuShell::menu-item-selected and #TeplMenuShell::menu-item-deselected
  * convenience signals.
  *
  * One possible use-case is to push/pop longer descriptions of menu items to a
  * #GtkStatusbar, exactly like
- * gtef_application_window_connect_menu_to_statusbar() does.
+ * tepl_application_window_connect_menu_to_statusbar() does.
  */
 
-struct _GtefMenuShellPrivate
+struct _TeplMenuShellPrivate
 {
        GtkMenuShell *gtk_menu_shell;
 };
@@ -52,35 +52,35 @@ enum
        N_SIGNALS
 };
 
-#define GTEF_MENU_SHELL_KEY "gtef-menu-shell-key"
+#define TEPL_MENU_SHELL_KEY "tepl-menu-shell-key"
 
 static GParamSpec *properties[N_PROPERTIES];
 static guint signals[N_SIGNALS];
 
-G_DEFINE_TYPE_WITH_PRIVATE (GtefMenuShell, gtef_menu_shell, G_TYPE_OBJECT)
+G_DEFINE_TYPE_WITH_PRIVATE (TeplMenuShell, tepl_menu_shell, G_TYPE_OBJECT)
 
 /* Prototypes */
-static void connect_menu_shell         (GtefMenuShell *gtef_menu_shell,
+static void connect_menu_shell         (TeplMenuShell *tepl_menu_shell,
                                         GtkMenuShell  *gtk_menu_shell);
 
-static void disconnect_menu_shell      (GtefMenuShell *gtef_menu_shell,
+static void disconnect_menu_shell      (TeplMenuShell *tepl_menu_shell,
                                         GtkMenuShell  *gtk_menu_shell);
 
 static void
 menu_item_select_cb (GtkMenuItem *menu_item,
                     gpointer     user_data)
 {
-       GtefMenuShell *gtef_menu_shell = GTEF_MENU_SHELL (user_data);
+       TeplMenuShell *tepl_menu_shell = TEPL_MENU_SHELL (user_data);
        GtkWidget *submenu;
 
        submenu = gtk_menu_item_get_submenu (menu_item);
 
        if (GTK_IS_MENU_SHELL (submenu))
        {
-               connect_menu_shell (gtef_menu_shell, GTK_MENU_SHELL (submenu));
+               connect_menu_shell (tepl_menu_shell, GTK_MENU_SHELL (submenu));
        }
 
-       g_signal_emit (gtef_menu_shell,
+       g_signal_emit (tepl_menu_shell,
                       signals[SIGNAL_MENU_ITEM_SELECTED], 0,
                       menu_item);
 }
@@ -89,49 +89,49 @@ static void
 menu_item_deselect_cb (GtkMenuItem *menu_item,
                       gpointer     user_data)
 {
-       GtefMenuShell *gtef_menu_shell = GTEF_MENU_SHELL (user_data);
+       TeplMenuShell *tepl_menu_shell = TEPL_MENU_SHELL (user_data);
        GtkWidget *submenu;
 
        submenu = gtk_menu_item_get_submenu (menu_item);
 
        if (GTK_IS_MENU_SHELL (submenu))
        {
-               disconnect_menu_shell (gtef_menu_shell, GTK_MENU_SHELL (submenu));
+               disconnect_menu_shell (tepl_menu_shell, GTK_MENU_SHELL (submenu));
        }
 
-       g_signal_emit (gtef_menu_shell,
+       g_signal_emit (tepl_menu_shell,
                       signals[SIGNAL_MENU_ITEM_DESELECTED], 0,
                       menu_item);
 }
 
 static void
-connect_menu_item (GtefMenuShell *gtef_menu_shell,
+connect_menu_item (TeplMenuShell *tepl_menu_shell,
                   GtkMenuItem   *menu_item)
 {
        g_signal_connect_object (menu_item,
                                 "select",
                                 G_CALLBACK (menu_item_select_cb),
-                                gtef_menu_shell,
+                                tepl_menu_shell,
                                 0);
 
        g_signal_connect_object (menu_item,
                                 "deselect",
                                 G_CALLBACK (menu_item_deselect_cb),
-                                gtef_menu_shell,
+                                tepl_menu_shell,
                                 0);
 }
 
 static void
-disconnect_menu_item (GtefMenuShell *gtef_menu_shell,
+disconnect_menu_item (TeplMenuShell *tepl_menu_shell,
                      GtkMenuItem   *menu_item)
 {
        g_signal_handlers_disconnect_by_func (menu_item,
                                              menu_item_select_cb,
-                                             gtef_menu_shell);
+                                             tepl_menu_shell);
 
        g_signal_handlers_disconnect_by_func (menu_item,
                                              menu_item_deselect_cb,
-                                             gtef_menu_shell);
+                                             tepl_menu_shell);
 }
 
 static void
@@ -140,11 +140,11 @@ insert_cb (GtkMenuShell *gtk_menu_shell,
           gint          position,
           gpointer      user_data)
 {
-       GtefMenuShell *gtef_menu_shell = GTEF_MENU_SHELL (user_data);
+       TeplMenuShell *tepl_menu_shell = TEPL_MENU_SHELL (user_data);
 
        if (GTK_IS_MENU_ITEM (child))
        {
-               connect_menu_item (gtef_menu_shell, GTK_MENU_ITEM (child));
+               connect_menu_item (tepl_menu_shell, GTK_MENU_ITEM (child));
        }
 }
 
@@ -153,16 +153,16 @@ remove_cb (GtkContainer *container,
           GtkWidget    *child,
           gpointer      user_data)
 {
-       GtefMenuShell *gtef_menu_shell = GTEF_MENU_SHELL (user_data);
+       TeplMenuShell *tepl_menu_shell = TEPL_MENU_SHELL (user_data);
 
        if (GTK_IS_MENU_ITEM (child))
        {
-               disconnect_menu_item (gtef_menu_shell, GTK_MENU_ITEM (child));
+               disconnect_menu_item (tepl_menu_shell, GTK_MENU_ITEM (child));
        }
 }
 
 static void
-connect_menu_shell (GtefMenuShell *gtef_menu_shell,
+connect_menu_shell (TeplMenuShell *tepl_menu_shell,
                    GtkMenuShell  *gtk_menu_shell)
 {
        GList *children;
@@ -176,7 +176,7 @@ connect_menu_shell (GtefMenuShell *gtef_menu_shell,
 
                if (GTK_IS_MENU_ITEM (menu_item))
                {
-                       connect_menu_item (gtef_menu_shell, menu_item);
+                       connect_menu_item (tepl_menu_shell, menu_item);
                }
        }
 
@@ -185,18 +185,18 @@ connect_menu_shell (GtefMenuShell *gtef_menu_shell,
        g_signal_connect_object (gtk_menu_shell,
                                 "insert",
                                 G_CALLBACK (insert_cb),
-                                gtef_menu_shell,
+                                tepl_menu_shell,
                                 0);
 
        g_signal_connect_object (gtk_menu_shell,
                                 "remove",
                                 G_CALLBACK (remove_cb),
-                                gtef_menu_shell,
+                                tepl_menu_shell,
                                 0);
 }
 
 static void
-disconnect_menu_shell (GtefMenuShell *gtef_menu_shell,
+disconnect_menu_shell (TeplMenuShell *tepl_menu_shell,
                       GtkMenuShell  *gtk_menu_shell)
 {
        GList *children;
@@ -210,7 +210,7 @@ disconnect_menu_shell (GtefMenuShell *gtef_menu_shell,
 
                if (GTK_IS_MENU_ITEM (menu_item))
                {
-                       disconnect_menu_item (gtef_menu_shell, menu_item);
+                       disconnect_menu_item (tepl_menu_shell, menu_item);
                }
        }
 
@@ -218,36 +218,36 @@ disconnect_menu_shell (GtefMenuShell *gtef_menu_shell,
 
        g_signal_handlers_disconnect_by_func (gtk_menu_shell,
                                              insert_cb,
-                                             gtef_menu_shell);
+                                             tepl_menu_shell);
 
        g_signal_handlers_disconnect_by_func (gtk_menu_shell,
                                              remove_cb,
-                                             gtef_menu_shell);
+                                             tepl_menu_shell);
 }
 
 static void
-set_menu_shell (GtefMenuShell *gtef_menu_shell,
+set_menu_shell (TeplMenuShell *tepl_menu_shell,
                GtkMenuShell  *gtk_menu_shell)
 {
-       g_assert (gtef_menu_shell->priv->gtk_menu_shell == NULL);
+       g_assert (tepl_menu_shell->priv->gtk_menu_shell == NULL);
        g_return_if_fail (GTK_IS_MENU_SHELL (gtk_menu_shell));
 
-       gtef_menu_shell->priv->gtk_menu_shell = gtk_menu_shell;
-       connect_menu_shell (gtef_menu_shell, gtk_menu_shell);
+       tepl_menu_shell->priv->gtk_menu_shell = gtk_menu_shell;
+       connect_menu_shell (tepl_menu_shell, gtk_menu_shell);
 }
 
 static void
-gtef_menu_shell_get_property (GObject    *object,
+tepl_menu_shell_get_property (GObject    *object,
                              guint       prop_id,
                              GValue     *value,
                              GParamSpec *pspec)
 {
-       GtefMenuShell *gtef_menu_shell = GTEF_MENU_SHELL (object);
+       TeplMenuShell *tepl_menu_shell = TEPL_MENU_SHELL (object);
 
        switch (prop_id)
        {
                case PROP_MENU_SHELL:
-                       g_value_set_object (value, gtef_menu_shell_get_menu_shell (gtef_menu_shell));
+                       g_value_set_object (value, tepl_menu_shell_get_menu_shell (tepl_menu_shell));
                        break;
 
                default:
@@ -257,17 +257,17 @@ gtef_menu_shell_get_property (GObject    *object,
 }
 
 static void
-gtef_menu_shell_set_property (GObject      *object,
+tepl_menu_shell_set_property (GObject      *object,
                              guint         prop_id,
                              const GValue *value,
                              GParamSpec   *pspec)
 {
-       GtefMenuShell *gtef_menu_shell = GTEF_MENU_SHELL (object);
+       TeplMenuShell *tepl_menu_shell = TEPL_MENU_SHELL (object);
 
        switch (prop_id)
        {
                case PROP_MENU_SHELL:
-                       set_menu_shell (gtef_menu_shell, g_value_get_object (value));
+                       set_menu_shell (tepl_menu_shell, g_value_get_object (value));
                        break;
 
                default:
@@ -277,26 +277,26 @@ gtef_menu_shell_set_property (GObject      *object,
 }
 
 static void
-gtef_menu_shell_dispose (GObject *object)
+tepl_menu_shell_dispose (GObject *object)
 {
-       GtefMenuShell *gtef_menu_shell = GTEF_MENU_SHELL (object);
+       TeplMenuShell *tepl_menu_shell = TEPL_MENU_SHELL (object);
 
-       gtef_menu_shell->priv->gtk_menu_shell = NULL;
+       tepl_menu_shell->priv->gtk_menu_shell = NULL;
 
-       G_OBJECT_CLASS (gtef_menu_shell_parent_class)->dispose (object);
+       G_OBJECT_CLASS (tepl_menu_shell_parent_class)->dispose (object);
 }
 
 static void
-gtef_menu_shell_class_init (GtefMenuShellClass *klass)
+tepl_menu_shell_class_init (TeplMenuShellClass *klass)
 {
        GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-       object_class->get_property = gtef_menu_shell_get_property;
-       object_class->set_property = gtef_menu_shell_set_property;
-       object_class->dispose = gtef_menu_shell_dispose;
+       object_class->get_property = tepl_menu_shell_get_property;
+       object_class->set_property = tepl_menu_shell_set_property;
+       object_class->dispose = tepl_menu_shell_dispose;
 
        /**
-        * GtefMenuShell:menu-shell:
+        * TeplMenuShell:menu-shell:
         *
         * The #GtkMenuShell.
         *
@@ -314,13 +314,13 @@ gtef_menu_shell_class_init (GtefMenuShellClass *klass)
        g_object_class_install_properties (object_class, N_PROPERTIES, properties);
 
        /**
-        * GtefMenuShell::menu-item-selected:
-        * @gtef_menu_shell: the #GtefMenuShell emitting the signal.
+        * TeplMenuShell::menu-item-selected:
+        * @tepl_menu_shell: the #TeplMenuShell emitting the signal.
         * @menu_item: the #GtkMenuItem that has been selected.
         *
         * The ::menu-item-selected signal is emitted when the
         * #GtkMenuItem::select signal is emitted on a #GtkMenuItem belonging
-        * (directly or indirectly through submenus) to @gtef_menu_shell.
+        * (directly or indirectly through submenus) to @tepl_menu_shell.
         *
         * Since: 2.0
         */
@@ -328,19 +328,19 @@ gtef_menu_shell_class_init (GtefMenuShellClass *klass)
                g_signal_new ("menu-item-selected",
                              G_TYPE_FROM_CLASS (klass),
                              G_SIGNAL_RUN_FIRST,
-                             G_STRUCT_OFFSET (GtefMenuShellClass, menu_item_selected),
+                             G_STRUCT_OFFSET (TeplMenuShellClass, menu_item_selected),
                              NULL, NULL, NULL,
                              G_TYPE_NONE,
                              1, GTK_TYPE_MENU_ITEM);
 
        /**
-        * GtefMenuShell::menu-item-deselected:
-        * @gtef_menu_shell: the #GtefMenuShell emitting the signal.
+        * TeplMenuShell::menu-item-deselected:
+        * @tepl_menu_shell: the #TeplMenuShell emitting the signal.
         * @menu_item: the #GtkMenuItem that has been deselected.
         *
         * The ::menu-item-deselected signal is emitted when the
         * #GtkMenuItem::deselect signal is emitted on a #GtkMenuItem belonging
-        * (directly or indirectly through submenus) to @gtef_menu_shell.
+        * (directly or indirectly through submenus) to @tepl_menu_shell.
         *
         * Since: 2.0
         */
@@ -348,66 +348,66 @@ gtef_menu_shell_class_init (GtefMenuShellClass *klass)
                g_signal_new ("menu-item-deselected",
                              G_TYPE_FROM_CLASS (klass),
                              G_SIGNAL_RUN_FIRST,
-                             G_STRUCT_OFFSET (GtefMenuShellClass, menu_item_deselected),
+                             G_STRUCT_OFFSET (TeplMenuShellClass, menu_item_deselected),
                              NULL, NULL, NULL,
                              G_TYPE_NONE,
                              1, GTK_TYPE_MENU_ITEM);
 }
 
 static void
-gtef_menu_shell_init (GtefMenuShell *gtef_menu_shell)
+tepl_menu_shell_init (TeplMenuShell *tepl_menu_shell)
 {
-       gtef_menu_shell->priv = gtef_menu_shell_get_instance_private (gtef_menu_shell);
+       tepl_menu_shell->priv = tepl_menu_shell_get_instance_private (tepl_menu_shell);
 }
 
 /**
- * gtef_menu_shell_get_from_gtk_menu_shell:
+ * tepl_menu_shell_get_from_gtk_menu_shell:
  * @gtk_menu_shell: a #GtkMenuShell.
  *
- * Returns the #GtefMenuShell of @gtk_menu_shell. The returned object is
+ * Returns the #TeplMenuShell of @gtk_menu_shell. The returned object is
  * guaranteed to be the same for the lifetime of @gtk_menu_shell.
  *
- * Returns: (transfer none): the #GtefMenuShell of @gtk_menu_shell.
+ * Returns: (transfer none): the #TeplMenuShell of @gtk_menu_shell.
  * Since: 2.0
  */
-GtefMenuShell *
-gtef_menu_shell_get_from_gtk_menu_shell (GtkMenuShell *gtk_menu_shell)
+TeplMenuShell *
+tepl_menu_shell_get_from_gtk_menu_shell (GtkMenuShell *gtk_menu_shell)
 {
-       GtefMenuShell *gtef_menu_shell;
+       TeplMenuShell *tepl_menu_shell;
 
        g_return_val_if_fail (GTK_IS_MENU_SHELL (gtk_menu_shell), NULL);
 
-       gtef_menu_shell = g_object_get_data (G_OBJECT (gtk_menu_shell), GTEF_MENU_SHELL_KEY);
+       tepl_menu_shell = g_object_get_data (G_OBJECT (gtk_menu_shell), TEPL_MENU_SHELL_KEY);
 
-       if (gtef_menu_shell == NULL)
+       if (tepl_menu_shell == NULL)
        {
-               gtef_menu_shell = g_object_new (GTEF_TYPE_MENU_SHELL,
+               tepl_menu_shell = g_object_new (TEPL_TYPE_MENU_SHELL,
                                                "menu-shell", gtk_menu_shell,
                                                NULL);
 
                g_object_set_data_full (G_OBJECT (gtk_menu_shell),
-                                       GTEF_MENU_SHELL_KEY,
-                                       gtef_menu_shell,
+                                       TEPL_MENU_SHELL_KEY,
+                                       tepl_menu_shell,
                                        g_object_unref);
        }
 
-       g_return_val_if_fail (GTEF_IS_MENU_SHELL (gtef_menu_shell), NULL);
-       return gtef_menu_shell;
+       g_return_val_if_fail (TEPL_IS_MENU_SHELL (tepl_menu_shell), NULL);
+       return tepl_menu_shell;
 }
 
 /**
- * gtef_menu_shell_get_menu_shell:
- * @gtef_menu_shell: a #GtefMenuShell.
+ * tepl_menu_shell_get_menu_shell:
+ * @tepl_menu_shell: a #TeplMenuShell.
  *
- * Returns: (transfer none): the #GtkMenuShell of @gtef_menu_shell.
+ * Returns: (transfer none): the #GtkMenuShell of @tepl_menu_shell.
  * Since: 2.0
  */
 GtkMenuShell *
-gtef_menu_shell_get_menu_shell (GtefMenuShell *gtef_menu_shell)
+tepl_menu_shell_get_menu_shell (TeplMenuShell *tepl_menu_shell)
 {
-       g_return_val_if_fail (GTEF_IS_MENU_SHELL (gtef_menu_shell), NULL);
+       g_return_val_if_fail (TEPL_IS_MENU_SHELL (tepl_menu_shell), NULL);
 
-       return gtef_menu_shell->priv->gtk_menu_shell;
+       return tepl_menu_shell->priv->gtk_menu_shell;
 }
 
 /* ex:set ts=8 noet: */
diff --git a/gtef/gtef-menu-shell.h b/gtef/gtef-menu-shell.h
index d06875f..6059c9e 100644
--- a/gtef/gtef-menu-shell.h
+++ b/gtef/gtef-menu-shell.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,58 +17,58 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_MENU_SHELL_H
-#define GTEF_MENU_SHELL_H
+#ifndef TEPL_MENU_SHELL_H
+#define TEPL_MENU_SHELL_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <gtk/gtk.h>
-#include <gtef/gtef-types.h>
+#include <tepl/tepl-types.h>
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_MENU_SHELL             (gtef_menu_shell_get_type ())
-#define GTEF_MENU_SHELL(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTEF_TYPE_MENU_SHELL, 
GtefMenuShell))
-#define GTEF_MENU_SHELL_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), GTEF_TYPE_MENU_SHELL, 
GtefMenuShellClass))
-#define GTEF_IS_MENU_SHELL(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTEF_TYPE_MENU_SHELL))
-#define GTEF_IS_MENU_SHELL_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), GTEF_TYPE_MENU_SHELL))
-#define GTEF_MENU_SHELL_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GTEF_TYPE_MENU_SHELL, 
GtefMenuShellClass))
+#define TEPL_TYPE_MENU_SHELL             (tepl_menu_shell_get_type ())
+#define TEPL_MENU_SHELL(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), TEPL_TYPE_MENU_SHELL, 
TeplMenuShell))
+#define TEPL_MENU_SHELL_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), TEPL_TYPE_MENU_SHELL, 
TeplMenuShellClass))
+#define TEPL_IS_MENU_SHELL(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TEPL_TYPE_MENU_SHELL))
+#define TEPL_IS_MENU_SHELL_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), TEPL_TYPE_MENU_SHELL))
+#define TEPL_MENU_SHELL_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), TEPL_TYPE_MENU_SHELL, 
TeplMenuShellClass))
 
-typedef struct _GtefMenuShellClass    GtefMenuShellClass;
-typedef struct _GtefMenuShellPrivate  GtefMenuShellPrivate;
+typedef struct _TeplMenuShellClass    TeplMenuShellClass;
+typedef struct _TeplMenuShellPrivate  TeplMenuShellPrivate;
 
-struct _GtefMenuShell
+struct _TeplMenuShell
 {
        GObject parent;
 
-       GtefMenuShellPrivate *priv;
+       TeplMenuShellPrivate *priv;
 };
 
-struct _GtefMenuShellClass
+struct _TeplMenuShellClass
 {
        GObjectClass parent_class;
 
        /* Signals */
 
-       void (* menu_item_selected)     (GtefMenuShell *gtef_menu_shell,
+       void (* menu_item_selected)     (TeplMenuShell *tepl_menu_shell,
                                         GtkMenuItem   *menu_item);
 
-       void (* menu_item_deselected)   (GtefMenuShell *gtef_menu_shell,
+       void (* menu_item_deselected)   (TeplMenuShell *tepl_menu_shell,
                                         GtkMenuItem   *menu_item);
 
        gpointer padding[12];
 };
 
-GType          gtef_menu_shell_get_type                (void) G_GNUC_CONST;
+GType          tepl_menu_shell_get_type                (void) G_GNUC_CONST;
 
-GtefMenuShell *        gtef_menu_shell_get_from_gtk_menu_shell (GtkMenuShell *gtk_menu_shell);
+TeplMenuShell *        tepl_menu_shell_get_from_gtk_menu_shell (GtkMenuShell *gtk_menu_shell);
 
-GtkMenuShell * gtef_menu_shell_get_menu_shell          (GtefMenuShell *gtef_menu_shell);
+GtkMenuShell * tepl_menu_shell_get_menu_shell          (TeplMenuShell *tepl_menu_shell);
 
 G_END_DECLS
 
-#endif /* GTEF_MENU_SHELL_H */
+#endif /* TEPL_MENU_SHELL_H */
 
 /* ex:set ts=8 noet: */
diff --git a/gtef/gtef-metadata-manager.c b/gtef/gtef-metadata-manager.c
index 8666cc6..22bf57d 100644
--- a/gtef/gtef-metadata-manager.c
+++ b/gtef/gtef-metadata-manager.c
@@ -1,15 +1,15 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2003-2007 - Paolo Maggi
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -21,7 +21,7 @@
 /**
  * SECTION:metadata-manager
  * @Short_description: Metadata support on platforms that don't support GVfs metadata
- * @Title: GtefMetadataManager
+ * @Title: TeplMetadataManager
  *
  * The metadata manager permits to save/load metadata on platforms that don't
  * support GVfs metadata, like (at the time of writing) Windows.
@@ -31,13 +31,13 @@
  * A better implementation would be to use SQLite.
  */
 
-#include "gtef-metadata-manager.h"
+#include "tepl-metadata-manager.h"
 #include <libxml/xmlreader.h>
 #include <string.h>
 
 #define MAX_ITEMS 50
 
-typedef struct _GtefMetadataManager GtefMetadataManager;
+typedef struct _TeplMetadataManager TeplMetadataManager;
 
 typedef struct _Item Item;
 
@@ -49,7 +49,7 @@ struct _Item
        GHashTable *values;
 };
 
-struct _GtefMetadataManager
+struct _TeplMetadataManager
 {
        guint timeout_id;
 
@@ -63,9 +63,9 @@ struct _GtefMetadataManager
        guint unit_test_mode : 1;
 };
 
-static gboolean gtef_metadata_manager_save (gpointer data);
+static gboolean tepl_metadata_manager_save (gpointer data);
 
-static GtefMetadataManager *gtef_metadata_manager = NULL;
+static TeplMetadataManager *tepl_metadata_manager = NULL;
 
 #define METADATA_PREFIX "metadata::"
 
@@ -91,27 +91,27 @@ item_free (gpointer data)
 }
 
 static void
-gtef_metadata_manager_arm_timeout (void)
+tepl_metadata_manager_arm_timeout (void)
 {
-       if (gtef_metadata_manager->unit_test_mode)
+       if (tepl_metadata_manager->unit_test_mode)
        {
-               gtef_metadata_manager_save (NULL);
+               tepl_metadata_manager_save (NULL);
                return;
        }
 
-       if (gtef_metadata_manager->timeout_id == 0)
+       if (tepl_metadata_manager->timeout_id == 0)
        {
-               gtef_metadata_manager->timeout_id =
+               tepl_metadata_manager->timeout_id =
                        g_timeout_add_seconds_full (G_PRIORITY_DEFAULT_IDLE,
                                                    2,
-                                                   (GSourceFunc)gtef_metadata_manager_save,
+                                                   (GSourceFunc)tepl_metadata_manager_save,
                                                    NULL,
                                                    NULL);
        }
 }
 
 /**
- * gtef_metadata_manager_init:
+ * tepl_metadata_manager_init:
  * @metadata_path: the filename where the metadata is stored.
  *
  * This function initializes the metadata manager.
@@ -125,30 +125,30 @@ gtef_metadata_manager_arm_timeout (void)
  * Since: 1.0
  */
 void
-gtef_metadata_manager_init (const gchar *metadata_path)
+tepl_metadata_manager_init (const gchar *metadata_path)
 {
-       if (gtef_metadata_manager != NULL)
+       if (tepl_metadata_manager != NULL)
        {
                return;
        }
 
-       gtef_metadata_manager = g_new0 (GtefMetadataManager, 1);
+       tepl_metadata_manager = g_new0 (TeplMetadataManager, 1);
 
-       gtef_metadata_manager->values_loaded = FALSE;
+       tepl_metadata_manager->values_loaded = FALSE;
 
-       gtef_metadata_manager->items =
+       tepl_metadata_manager->items =
                g_hash_table_new_full (g_str_hash,
                                       g_str_equal,
                                       g_free,
                                       item_free);
 
-       gtef_metadata_manager->metadata_path = g_strdup (metadata_path);
+       tepl_metadata_manager->metadata_path = g_strdup (metadata_path);
 
-       gtef_metadata_manager->unit_test_mode = FALSE;
+       tepl_metadata_manager->unit_test_mode = FALSE;
 }
 
 /**
- * gtef_metadata_manager_shutdown:
+ * tepl_metadata_manager_shutdown:
  *
  * This function saves synchronously metadata if they need to be saved, and
  * frees the internal data of the metadata manager.
@@ -156,25 +156,25 @@ gtef_metadata_manager_init (const gchar *metadata_path)
  * Since: 1.0
  */
 void
-gtef_metadata_manager_shutdown (void)
+tepl_metadata_manager_shutdown (void)
 {
-       if (gtef_metadata_manager == NULL)
+       if (tepl_metadata_manager == NULL)
                return;
 
-       if (gtef_metadata_manager->timeout_id != 0)
+       if (tepl_metadata_manager->timeout_id != 0)
        {
-               g_source_remove (gtef_metadata_manager->timeout_id);
-               gtef_metadata_manager->timeout_id = 0;
-               gtef_metadata_manager_save (NULL);
+               g_source_remove (tepl_metadata_manager->timeout_id);
+               tepl_metadata_manager->timeout_id = 0;
+               tepl_metadata_manager_save (NULL);
        }
 
-       if (gtef_metadata_manager->items != NULL)
-               g_hash_table_destroy (gtef_metadata_manager->items);
+       if (tepl_metadata_manager->items != NULL)
+               g_hash_table_destroy (tepl_metadata_manager->items);
 
-       g_free (gtef_metadata_manager->metadata_path);
+       g_free (tepl_metadata_manager->metadata_path);
 
-       g_free (gtef_metadata_manager);
-       gtef_metadata_manager = NULL;
+       g_free (tepl_metadata_manager);
+       tepl_metadata_manager = NULL;
 }
 
 static void
@@ -236,7 +236,7 @@ parseItem (xmlDocPtr doc, xmlNodePtr cur)
                cur = cur->next;
        }
 
-       g_hash_table_insert (gtef_metadata_manager->items,
+       g_hash_table_insert (tepl_metadata_manager->items,
                             g_strdup ((gchar *)uri),
                             item);
 
@@ -251,25 +251,25 @@ load_values (void)
        xmlDocPtr doc;
        xmlNodePtr cur;
 
-       g_return_val_if_fail (gtef_metadata_manager != NULL, FALSE);
-       g_return_val_if_fail (gtef_metadata_manager->values_loaded == FALSE, FALSE);
+       g_return_val_if_fail (tepl_metadata_manager != NULL, FALSE);
+       g_return_val_if_fail (tepl_metadata_manager->values_loaded == FALSE, FALSE);
 
-       gtef_metadata_manager->values_loaded = TRUE;
+       tepl_metadata_manager->values_loaded = TRUE;
 
        xmlKeepBlanksDefault (0);
 
-       if (gtef_metadata_manager->metadata_path == NULL)
+       if (tepl_metadata_manager->metadata_path == NULL)
        {
                return FALSE;
        }
 
        /* TODO: avoid races */
-       if (!g_file_test (gtef_metadata_manager->metadata_path, G_FILE_TEST_EXISTS))
+       if (!g_file_test (tepl_metadata_manager->metadata_path, G_FILE_TEST_EXISTS))
        {
                return TRUE;
        }
 
-       doc = xmlParseFile (gtef_metadata_manager->metadata_path);
+       doc = xmlParseFile (tepl_metadata_manager->metadata_path);
 
        if (doc == NULL)
        {
@@ -280,7 +280,7 @@ load_values (void)
        if (cur == NULL)
        {
                g_message ("The metadata file '%s' is empty",
-                          g_path_get_basename (gtef_metadata_manager->metadata_path));
+                          g_path_get_basename (tepl_metadata_manager->metadata_path));
                xmlFreeDoc (doc);
 
                return TRUE;
@@ -289,7 +289,7 @@ load_values (void)
        if (xmlStrcmp (cur->name, (const xmlChar *) "metadata"))
        {
                g_message ("File '%s' is of the wrong type",
-                          g_path_get_basename (gtef_metadata_manager->metadata_path));
+                          g_path_get_basename (tepl_metadata_manager->metadata_path));
                xmlFreeDoc (doc);
 
                return FALSE;
@@ -371,7 +371,7 @@ get_oldest (const gchar *key, const gpointer value, const gchar ** key_to_remove
        else
        {
                const Item *item_to_remove =
-                       g_hash_table_lookup (gtef_metadata_manager->items,
+                       g_hash_table_lookup (tepl_metadata_manager->items,
                                             *key_to_remove);
 
                g_return_if_fail (item_to_remove != NULL);
@@ -386,28 +386,28 @@ get_oldest (const gchar *key, const gpointer value, const gchar ** key_to_remove
 static void
 resize_items (void)
 {
-       while (g_hash_table_size (gtef_metadata_manager->items) > MAX_ITEMS)
+       while (g_hash_table_size (tepl_metadata_manager->items) > MAX_ITEMS)
        {
                gpointer key_to_remove = NULL;
 
-               g_hash_table_foreach (gtef_metadata_manager->items,
+               g_hash_table_foreach (tepl_metadata_manager->items,
                                      (GHFunc)get_oldest,
                                      &key_to_remove);
 
                g_return_if_fail (key_to_remove != NULL);
 
-               g_hash_table_remove (gtef_metadata_manager->items,
+               g_hash_table_remove (tepl_metadata_manager->items,
                                     key_to_remove);
        }
 }
 
 static gboolean
-gtef_metadata_manager_save (gpointer data)
+tepl_metadata_manager_save (gpointer data)
 {
        xmlDocPtr  doc;
        xmlNodePtr root;
 
-       gtef_metadata_manager->timeout_id = 0;
+       tepl_metadata_manager->timeout_id = 0;
 
        resize_items ();
 
@@ -421,22 +421,22 @@ gtef_metadata_manager_save (gpointer data)
        root = xmlNewDocNode (doc, NULL, (const xmlChar *)"metadata", NULL);
        xmlDocSetRootElement (doc, root);
 
-       g_hash_table_foreach (gtef_metadata_manager->items,
+       g_hash_table_foreach (tepl_metadata_manager->items,
                              (GHFunc)save_item,
                              root);
 
        /* FIXME: lock file - Paolo */
-       if (gtef_metadata_manager->metadata_path != NULL)
+       if (tepl_metadata_manager->metadata_path != NULL)
        {
                gchar *cache_dir;
                int res;
 
                /* make sure the cache dir exists */
-               cache_dir = g_path_get_dirname (gtef_metadata_manager->metadata_path);
+               cache_dir = g_path_get_dirname (tepl_metadata_manager->metadata_path);
                res = g_mkdir_with_parents (cache_dir, 0755);
                if (res != -1)
                {
-                       xmlSaveFormatFile (gtef_metadata_manager->metadata_path,
+                       xmlSaveFormatFile (tepl_metadata_manager->metadata_path,
                                           doc,
                                           1);
                }
@@ -471,7 +471,7 @@ foreach_key_cb (gpointer _key,
 
 /* Returns: (transfer full) (nullable) */
 GFileInfo *
-_gtef_metadata_manager_get_all_metadata_for_location (GFile *location)
+_tepl_metadata_manager_get_all_metadata_for_location (GFile *location)
 {
        gchar *uri;
        Item *item;
@@ -479,7 +479,7 @@ _gtef_metadata_manager_get_all_metadata_for_location (GFile *location)
 
        g_return_val_if_fail (G_IS_FILE (location), NULL);
 
-       if (!gtef_metadata_manager->values_loaded)
+       if (!tepl_metadata_manager->values_loaded)
        {
                gboolean ok;
 
@@ -492,7 +492,7 @@ _gtef_metadata_manager_get_all_metadata_for_location (GFile *location)
        }
 
        uri = g_file_get_uri (location);
-       item = g_hash_table_lookup (gtef_metadata_manager->items, uri);
+       item = g_hash_table_lookup (tepl_metadata_manager->items, uri);
        g_free (uri);
 
        if (item == NULL)
@@ -515,7 +515,7 @@ _gtef_metadata_manager_get_all_metadata_for_location (GFile *location)
 }
 
 void
-_gtef_metadata_manager_set_metadata_for_location (GFile     *location,
+_tepl_metadata_manager_set_metadata_for_location (GFile     *location,
                                                  GFileInfo *metadata)
 {
        gchar **attributes_list;
@@ -526,7 +526,7 @@ _gtef_metadata_manager_set_metadata_for_location (GFile     *location,
        g_return_if_fail (G_IS_FILE (location));
        g_return_if_fail (G_IS_FILE_INFO (metadata));
 
-       if (!gtef_metadata_manager->values_loaded)
+       if (!tepl_metadata_manager->values_loaded)
        {
                gboolean ok;
 
@@ -547,13 +547,13 @@ _gtef_metadata_manager_set_metadata_for_location (GFile     *location,
 
        uri = g_file_get_uri (location);
 
-       item = g_hash_table_lookup (gtef_metadata_manager->items, uri);
+       item = g_hash_table_lookup (tepl_metadata_manager->items, uri);
 
        if (item == NULL)
        {
                item = g_new0 (Item, 1);
 
-               g_hash_table_insert (gtef_metadata_manager->items,
+               g_hash_table_insert (tepl_metadata_manager->items,
                                     g_strdup (uri),
                                     item);
        }
@@ -604,18 +604,18 @@ _gtef_metadata_manager_set_metadata_for_location (GFile     *location,
        g_strfreev (attributes_list);
        g_free (uri);
 
-       gtef_metadata_manager_arm_timeout ();
+       tepl_metadata_manager_arm_timeout ();
 }
 
 void
-_gtef_metadata_manager_set_unit_test_mode (void)
+_tepl_metadata_manager_set_unit_test_mode (void)
 {
-       gtef_metadata_manager->unit_test_mode = TRUE;
+       tepl_metadata_manager->unit_test_mode = TRUE;
 
-       if (gtef_metadata_manager->timeout_id != 0)
+       if (tepl_metadata_manager->timeout_id != 0)
        {
-               g_source_remove (gtef_metadata_manager->timeout_id);
-               gtef_metadata_manager->timeout_id = 0;
-               gtef_metadata_manager_save (NULL);
+               g_source_remove (tepl_metadata_manager->timeout_id);
+               tepl_metadata_manager->timeout_id = 0;
+               tepl_metadata_manager_save (NULL);
        }
 }
diff --git a/gtef/gtef-metadata-manager.h b/gtef/gtef-metadata-manager.h
index 3780ed6..f532ec4 100644
--- a/gtef/gtef-metadata-manager.h
+++ b/gtef/gtef-metadata-manager.h
@@ -1,15 +1,15 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2003 - Paolo Maggi
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -18,31 +18,31 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_METADATA_MANAGER_H
-#define GTEF_METADATA_MANAGER_H
+#ifndef TEPL_METADATA_MANAGER_H
+#define TEPL_METADATA_MANAGER_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <gio/gio.h>
 
 G_BEGIN_DECLS
 
-void           gtef_metadata_manager_init                              (const gchar *metadata_path);
+void           tepl_metadata_manager_init                              (const gchar *metadata_path);
 
-void           gtef_metadata_manager_shutdown                          (void);
+void           tepl_metadata_manager_shutdown                          (void);
 
 G_GNUC_INTERNAL
-GFileInfo *    _gtef_metadata_manager_get_all_metadata_for_location    (GFile *location);
+GFileInfo *    _tepl_metadata_manager_get_all_metadata_for_location    (GFile *location);
 
 G_GNUC_INTERNAL
-void           _gtef_metadata_manager_set_metadata_for_location        (GFile     *location,
+void           _tepl_metadata_manager_set_metadata_for_location        (GFile     *location,
                                                                         GFileInfo *metadata);
 
 G_GNUC_INTERNAL
-void           _gtef_metadata_manager_set_unit_test_mode               (void);
+void           _tepl_metadata_manager_set_unit_test_mode               (void);
 
 G_END_DECLS
 
-#endif /* GTEF_METADATA_MANAGER_H */
+#endif /* TEPL_METADATA_MANAGER_H */
diff --git a/gtef/gtef-progress-info-bar.c b/gtef/gtef-progress-info-bar.c
index ee434f6..217ae97 100644
--- a/gtef/gtef-progress-info-bar.c
+++ b/gtef/gtef-progress-info-bar.c
@@ -1,15 +1,15 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2005 - Paolo Maggi
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -21,7 +21,7 @@
 /* Modified version of GeditProgressInfoBar. */
 
 #include "config.h"
-#include "gtef-progress-info-bar.h"
+#include "tepl-progress-info-bar.h"
 #include <glib/gi18n-lib.h>
 
 enum
@@ -33,18 +33,18 @@ enum
 
 static GParamSpec *properties[N_PROPERTIES];
 
-struct _GtefProgressInfoBar
+struct _TeplProgressInfoBar
 {
-       GtefInfoBar parent_instance;
+       TeplInfoBar parent_instance;
 
        GtkLabel *label;
        GtkProgressBar *progress_bar;
 };
 
-G_DEFINE_TYPE (GtefProgressInfoBar, _gtef_progress_info_bar, GTEF_TYPE_INFO_BAR)
+G_DEFINE_TYPE (TeplProgressInfoBar, _tepl_progress_info_bar, TEPL_TYPE_INFO_BAR)
 
 static void
-set_has_cancel_button (GtefProgressInfoBar *info_bar,
+set_has_cancel_button (TeplProgressInfoBar *info_bar,
                       gboolean             has_cancel_button)
 {
        if (has_cancel_button)
@@ -56,12 +56,12 @@ set_has_cancel_button (GtefProgressInfoBar *info_bar,
 }
 
 static void
-_gtef_progress_info_bar_set_property (GObject      *object,
+_tepl_progress_info_bar_set_property (GObject      *object,
                                      guint         prop_id,
                                      const GValue *value,
                                      GParamSpec   *pspec)
 {
-       GtefProgressInfoBar *bar = GTEF_PROGRESS_INFO_BAR (object);
+       TeplProgressInfoBar *bar = TEPL_PROGRESS_INFO_BAR (object);
 
        switch (prop_id)
        {
@@ -76,11 +76,11 @@ _gtef_progress_info_bar_set_property (GObject      *object,
 }
 
 static void
-_gtef_progress_info_bar_class_init (GtefProgressInfoBarClass *klass)
+_tepl_progress_info_bar_class_init (TeplProgressInfoBarClass *klass)
 {
        GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-       object_class->set_property = _gtef_progress_info_bar_set_property;
+       object_class->set_property = _tepl_progress_info_bar_set_property;
 
        properties[PROP_HAS_CANCEL_BUTTON] =
                g_param_spec_boolean ("has-cancel-button",
@@ -95,7 +95,7 @@ _gtef_progress_info_bar_class_init (GtefProgressInfoBarClass *klass)
 }
 
 static void
-_gtef_progress_info_bar_init (GtefProgressInfoBar *info_bar)
+_tepl_progress_info_bar_init (TeplProgressInfoBar *info_bar)
 {
        GtkGrid *vgrid;
        GtkWidget *content_area;
@@ -104,7 +104,7 @@ _gtef_progress_info_bar_init (GtefProgressInfoBar *info_bar)
        gtk_orientable_set_orientation (GTK_ORIENTABLE (vgrid), GTK_ORIENTATION_VERTICAL);
        gtk_grid_set_row_spacing (vgrid, 6);
 
-       info_bar->label = gtef_info_bar_create_label ();
+       info_bar->label = tepl_info_bar_create_label ();
        gtk_container_add (GTK_CONTAINER (vgrid),
                           GTK_WIDGET (info_bar->label));
 
@@ -120,56 +120,56 @@ _gtef_progress_info_bar_init (GtefProgressInfoBar *info_bar)
        gtk_widget_show_all (GTK_WIDGET (vgrid));
 }
 
-GtefProgressInfoBar *
-_gtef_progress_info_bar_new (const gchar *markup,
+TeplProgressInfoBar *
+_tepl_progress_info_bar_new (const gchar *markup,
                             gboolean     has_cancel_button)
 {
-       GtefProgressInfoBar *info_bar;
+       TeplProgressInfoBar *info_bar;
 
        g_return_val_if_fail (markup != NULL, NULL);
 
-       info_bar = g_object_new (GTEF_TYPE_PROGRESS_INFO_BAR,
+       info_bar = g_object_new (TEPL_TYPE_PROGRESS_INFO_BAR,
                                 "has-cancel-button", has_cancel_button,
                                 NULL);
 
-       _gtef_progress_info_bar_set_markup (info_bar, markup);
+       _tepl_progress_info_bar_set_markup (info_bar, markup);
 
        return info_bar;
 }
 
 void
-_gtef_progress_info_bar_set_markup (GtefProgressInfoBar *info_bar,
+_tepl_progress_info_bar_set_markup (TeplProgressInfoBar *info_bar,
                                    const gchar         *markup)
 {
-       g_return_if_fail (GTEF_IS_PROGRESS_INFO_BAR (info_bar));
+       g_return_if_fail (TEPL_IS_PROGRESS_INFO_BAR (info_bar));
        g_return_if_fail (markup != NULL);
 
        gtk_label_set_markup (info_bar->label, markup);
 }
 
 void
-_gtef_progress_info_bar_set_text (GtefProgressInfoBar *info_bar,
+_tepl_progress_info_bar_set_text (TeplProgressInfoBar *info_bar,
                                  const gchar         *text)
 {
-       g_return_if_fail (GTEF_IS_PROGRESS_INFO_BAR (info_bar));
+       g_return_if_fail (TEPL_IS_PROGRESS_INFO_BAR (info_bar));
        g_return_if_fail (text != NULL);
 
        gtk_label_set_text (info_bar->label, text);
 }
 
 void
-_gtef_progress_info_bar_set_fraction (GtefProgressInfoBar *info_bar,
+_tepl_progress_info_bar_set_fraction (TeplProgressInfoBar *info_bar,
                                      gdouble              fraction)
 {
-       g_return_if_fail (GTEF_IS_PROGRESS_INFO_BAR (info_bar));
+       g_return_if_fail (TEPL_IS_PROGRESS_INFO_BAR (info_bar));
 
        gtk_progress_bar_set_fraction (info_bar->progress_bar, fraction);
 }
 
 void
-_gtef_progress_info_bar_pulse (GtefProgressInfoBar *info_bar)
+_tepl_progress_info_bar_pulse (TeplProgressInfoBar *info_bar)
 {
-       g_return_if_fail (GTEF_IS_PROGRESS_INFO_BAR (info_bar));
+       g_return_if_fail (TEPL_IS_PROGRESS_INFO_BAR (info_bar));
 
        gtk_progress_bar_pulse (info_bar->progress_bar);
 }
diff --git a/gtef/gtef-progress-info-bar.h b/gtef/gtef-progress-info-bar.h
index 920108c..b17b7fd 100644
--- a/gtef/gtef-progress-info-bar.h
+++ b/gtef/gtef-progress-info-bar.h
@@ -1,15 +1,15 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2005 - Paolo Maggi
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -18,38 +18,38 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_PROGRESS_INFO_BAR_H
-#define GTEF_PROGRESS_INFO_BAR_H
+#ifndef TEPL_PROGRESS_INFO_BAR_H
+#define TEPL_PROGRESS_INFO_BAR_H
 
 #include <gtk/gtk.h>
-#include "gtef-info-bar.h"
+#include "tepl-info-bar.h"
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_PROGRESS_INFO_BAR (_gtef_progress_info_bar_get_type ())
-G_DECLARE_FINAL_TYPE (GtefProgressInfoBar, _gtef_progress_info_bar,
-                     GTEF, PROGRESS_INFO_BAR,
-                     GtefInfoBar)
+#define TEPL_TYPE_PROGRESS_INFO_BAR (_tepl_progress_info_bar_get_type ())
+G_DECLARE_FINAL_TYPE (TeplProgressInfoBar, _tepl_progress_info_bar,
+                     TEPL, PROGRESS_INFO_BAR,
+                     TeplInfoBar)
 
 G_GNUC_INTERNAL
-GtefProgressInfoBar *  _gtef_progress_info_bar_new                     (const gchar *markup,
+TeplProgressInfoBar *  _tepl_progress_info_bar_new                     (const gchar *markup,
                                                                         gboolean     has_cancel_button);
 
 G_GNUC_INTERNAL
-void                   _gtef_progress_info_bar_set_markup              (GtefProgressInfoBar *info_bar,
+void                   _tepl_progress_info_bar_set_markup              (TeplProgressInfoBar *info_bar,
                                                                         const gchar         *markup);
 
 G_GNUC_INTERNAL
-void                   _gtef_progress_info_bar_set_text                (GtefProgressInfoBar *info_bar,
+void                   _tepl_progress_info_bar_set_text                (TeplProgressInfoBar *info_bar,
                                                                         const gchar         *text);
 
 G_GNUC_INTERNAL
-void                   _gtef_progress_info_bar_set_fraction            (GtefProgressInfoBar *info_bar,
+void                   _tepl_progress_info_bar_set_fraction            (TeplProgressInfoBar *info_bar,
                                                                         gdouble              fraction);
 
 G_GNUC_INTERNAL
-void                   _gtef_progress_info_bar_pulse                   (GtefProgressInfoBar *info_bar);
+void                   _tepl_progress_info_bar_pulse                   (TeplProgressInfoBar *info_bar);
 
 G_END_DECLS
 
-#endif /* GTEF_PROGRESS_INFO_BAR_H */
+#endif /* TEPL_PROGRESS_INFO_BAR_H */
diff --git a/gtef/gtef-tab.c b/gtef/gtef-tab.c
index bb350f9..44d3a3b 100644
--- a/gtef/gtef-tab.c
+++ b/gtef/gtef-tab.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,64 +17,64 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "gtef-tab.h"
+#include "tepl-tab.h"
 
 /**
  * SECTION:tab
- * @Short_description: Contains a GtefView with GtkInfoBars on top
- * @Title: GtefTab
+ * @Short_description: Contains a TeplView with GtkInfoBars on top
+ * @Title: TeplTab
  */
 
-typedef struct _GtefTabPrivate GtefTabPrivate;
+typedef struct _TeplTabPrivate TeplTabPrivate;
 
-struct _GtefTabPrivate
+struct _TeplTabPrivate
 {
        GtkWidget *main_widget;
 };
 
-G_DEFINE_TYPE_WITH_PRIVATE (GtefTab, gtef_tab, GTK_TYPE_GRID)
+G_DEFINE_TYPE_WITH_PRIVATE (TeplTab, tepl_tab, GTK_TYPE_GRID)
 
 static void
-gtef_tab_dispose (GObject *object)
+tepl_tab_dispose (GObject *object)
 {
-       GtefTabPrivate *priv = gtef_tab_get_instance_private (GTEF_TAB (object));
+       TeplTabPrivate *priv = tepl_tab_get_instance_private (TEPL_TAB (object));
 
        g_clear_object (&priv->main_widget);
 
-       G_OBJECT_CLASS (gtef_tab_parent_class)->dispose (object);
+       G_OBJECT_CLASS (tepl_tab_parent_class)->dispose (object);
 }
 
 static void
-gtef_tab_class_init (GtefTabClass *klass)
+tepl_tab_class_init (TeplTabClass *klass)
 {
        GObjectClass *object_class = G_OBJECT_CLASS (klass);
 
-       object_class->dispose = gtef_tab_dispose;
+       object_class->dispose = tepl_tab_dispose;
 }
 
 static void
-gtef_tab_init (GtefTab *tab)
+tepl_tab_init (TeplTab *tab)
 {
        gtk_orientable_set_orientation (GTK_ORIENTABLE (tab), GTK_ORIENTATION_VERTICAL);
 }
 
 /**
- * gtef_tab_new:
- * @main_widget: the main #GtkWidget that will be contained in the #GtefTab.
+ * tepl_tab_new:
+ * @main_widget: the main #GtkWidget that will be contained in the #TeplTab.
  *
- * Returns: a new #GtefTab.
+ * Returns: a new #TeplTab.
  * Since: 1.0
  */
-GtefTab *
-gtef_tab_new (GtkWidget *main_widget)
+TeplTab *
+tepl_tab_new (GtkWidget *main_widget)
 {
-       GtefTab *tab;
-       GtefTabPrivate *priv;
+       TeplTab *tab;
+       TeplTabPrivate *priv;
 
        g_return_val_if_fail (GTK_IS_WIDGET (main_widget), NULL);
 
-       tab = g_object_new (GTEF_TYPE_TAB, NULL);
-       priv = gtef_tab_get_instance_private (tab);
+       tab = g_object_new (TEPL_TYPE_TAB, NULL);
+       priv = tepl_tab_get_instance_private (tab);
 
        gtk_container_add (GTK_CONTAINER (tab), main_widget);
        priv->main_widget = g_object_ref_sink (main_widget);
@@ -83,8 +83,8 @@ gtef_tab_new (GtkWidget *main_widget)
 }
 
 /**
- * gtef_tab_add_info_bar:
- * @tab: a #GtefTab.
+ * tepl_tab_add_info_bar:
+ * @tab: a #TeplTab.
  * @info_bar: a #GtkInfoBar.
  *
  * Attaches @info_bar to @tab, above the main widget.
@@ -96,15 +96,15 @@ gtef_tab_new (GtkWidget *main_widget)
  * Since: 1.0
  */
 void
-gtef_tab_add_info_bar (GtefTab    *tab,
+tepl_tab_add_info_bar (TeplTab    *tab,
                       GtkInfoBar *info_bar)
 {
-       GtefTabPrivate *priv;
+       TeplTabPrivate *priv;
 
-       g_return_if_fail (GTEF_IS_TAB (tab));
+       g_return_if_fail (TEPL_IS_TAB (tab));
        g_return_if_fail (GTK_IS_INFO_BAR (info_bar));
 
-       priv = gtef_tab_get_instance_private (tab);
+       priv = tepl_tab_get_instance_private (tab);
 
        gtk_grid_insert_next_to (GTK_GRID (tab),
                                 priv->main_widget,
diff --git a/gtef/gtef-tab.h b/gtef/gtef-tab.h
index 2c212c9..9ddb02c 100644
--- a/gtef/gtef-tab.h
+++ b/gtef/gtef-tab.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,34 +17,34 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_TAB_H
-#define GTEF_TAB_H
+#ifndef TEPL_TAB_H
+#define TEPL_TAB_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <gtk/gtk.h>
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_TAB (gtef_tab_get_type ())
-G_DECLARE_DERIVABLE_TYPE (GtefTab, gtef_tab,
-                         GTEF, TAB,
+#define TEPL_TYPE_TAB (tepl_tab_get_type ())
+G_DECLARE_DERIVABLE_TYPE (TeplTab, tepl_tab,
+                         TEPL, TAB,
                          GtkGrid)
 
-struct _GtefTabClass
+struct _TeplTabClass
 {
        GtkGridClass parent_class;
 
        gpointer padding[12];
 };
 
-GtefTab *              gtef_tab_new                                    (GtkWidget *main_widget);
+TeplTab *              tepl_tab_new                                    (GtkWidget *main_widget);
 
-void                   gtef_tab_add_info_bar                           (GtefTab    *tab,
+void                   tepl_tab_add_info_bar                           (TeplTab    *tab,
                                                                         GtkInfoBar *info_bar);
 
 G_END_DECLS
 
-#endif /* GTEF_TAB_H */
+#endif /* TEPL_TAB_H */
diff --git a/gtef/gtef-types.h b/gtef/gtef-types.h
index 81c2505..0d4d3db 100644
--- a/gtef/gtef-types.h
+++ b/gtef/gtef-types.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016, 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,36 +17,36 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_TYPES_H
-#define GTEF_TYPES_H
+#ifndef TEPL_TYPES_H
+#define TEPL_TYPES_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <glib.h>
 
 G_BEGIN_DECLS
 
-typedef struct _GtefActionInfo                 GtefActionInfo;
-typedef struct _GtefActionInfoEntry            GtefActionInfoEntry;
-typedef struct _GtefActionInfoStore            GtefActionInfoStore;
-typedef struct _GtefActionInfoCentralStore     GtefActionInfoCentralStore;
-typedef struct _GtefApplication                        GtefApplication;
-typedef struct _GtefApplicationWindow          GtefApplicationWindow;
-typedef struct _GtefBuffer                     GtefBuffer;
-typedef struct _GtefEncoding                   GtefEncoding;
-typedef struct _GtefFile                       GtefFile;
-typedef struct _GtefFileLoader                 GtefFileLoader;
-typedef struct _GtefFileMetadata               GtefFileMetadata;
-typedef struct _GtefFileSaver                  GtefFileSaver;
-typedef struct _GtefFoldRegion                 GtefFoldRegion;
-typedef struct _GtefGutterRendererFolds                GtefGutterRendererFolds;
-typedef struct _GtefInfoBar                    GtefInfoBar;
-typedef struct _GtefMenuShell                  GtefMenuShell;
-typedef struct _GtefTab                                GtefTab;
-typedef struct _GtefView                       GtefView;
+typedef struct _TeplActionInfo                 TeplActionInfo;
+typedef struct _TeplActionInfoEntry            TeplActionInfoEntry;
+typedef struct _TeplActionInfoStore            TeplActionInfoStore;
+typedef struct _TeplActionInfoCentralStore     TeplActionInfoCentralStore;
+typedef struct _TeplApplication                        TeplApplication;
+typedef struct _TeplApplicationWindow          TeplApplicationWindow;
+typedef struct _TeplBuffer                     TeplBuffer;
+typedef struct _TeplEncoding                   TeplEncoding;
+typedef struct _TeplFile                       TeplFile;
+typedef struct _TeplFileLoader                 TeplFileLoader;
+typedef struct _TeplFileMetadata               TeplFileMetadata;
+typedef struct _TeplFileSaver                  TeplFileSaver;
+typedef struct _TeplFoldRegion                 TeplFoldRegion;
+typedef struct _TeplGutterRendererFolds                TeplGutterRendererFolds;
+typedef struct _TeplInfoBar                    TeplInfoBar;
+typedef struct _TeplMenuShell                  TeplMenuShell;
+typedef struct _TeplTab                                TeplTab;
+typedef struct _TeplView                       TeplView;
 
 G_END_DECLS
 
-#endif /* GTEF_TYPES_H */
+#endif /* TEPL_TYPES_H */
diff --git a/gtef/gtef-utils.c b/gtef/gtef-utils.c
index 4d3b545..3d7178c 100644
--- a/gtef/gtef-utils.c
+++ b/gtef/gtef-utils.c
@@ -1,5 +1,5 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * From gedit-utils.c:
  * Copyright 1998, 1999 - Alex Roberts, Evan Lawrence
@@ -8,12 +8,12 @@
  *
  * Copyright 2016, 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -22,19 +22,19 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "gtef-utils.h"
+#include "tepl-utils.h"
 #include <string.h>
 
 /**
  * SECTION:utils
- * @title: GtefUtils
+ * @title: TeplUtils
  * @short_description: Utility functions
  *
  * Utility functions.
  */
 
 /*
- * _gtef_utils_replace_home_dir_with_tilde:
+ * _tepl_utils_replace_home_dir_with_tilde:
  * @filename: the filename.
  *
  * Replaces the home directory with a tilde, if the home directory is present in
@@ -44,7 +44,7 @@
  */
 /* This function comes from gedit. */
 gchar *
-_gtef_utils_replace_home_dir_with_tilde (const gchar *filename)
+_tepl_utils_replace_home_dir_with_tilde (const gchar *filename)
 {
        gchar *tmp;
        gchar *home;
@@ -96,7 +96,7 @@ null_ptr (gchar **ptr)
 }
 
 /*
- * _gtef_utils_decode_uri:
+ * _tepl_utils_decode_uri:
  * @uri: the uri to decode
  * @scheme: (out) (optional): return value pointer for the uri's
  *     scheme (e.g. http, sftp, ...), or %NULL
@@ -113,7 +113,7 @@ null_ptr (gchar **ptr)
  * Returns: %TRUE if the uri could be properly decoded, %FALSE otherwise.
  */
 gboolean
-_gtef_utils_decode_uri (const gchar  *uri,
+_tepl_utils_decode_uri (const gchar  *uri,
                        gchar       **scheme,
                        gchar       **user,
                        gchar       **host,
@@ -250,7 +250,7 @@ _gtef_utils_decode_uri (const gchar  *uri,
 }
 
 /**
- * _gtef_utils_get_fallback_basename_for_display:
+ * _tepl_utils_get_fallback_basename_for_display:
  * @location: a #GFile.
  *
  * If querying the %G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME fails, this function
@@ -259,7 +259,7 @@ _gtef_utils_decode_uri (const gchar  *uri,
  * Returns: (transfer full): the @location's basename suitable for display.
  */
 gchar *
-_gtef_utils_get_fallback_basename_for_display (GFile *location)
+_tepl_utils_get_fallback_basename_for_display (GFile *location)
 {
        gchar *basename;
        gchar *parse_name;
@@ -295,7 +295,7 @@ _gtef_utils_get_fallback_basename_for_display (GFile *location)
 
 /* Deep copy of @strv. */
 gchar **
-_gtef_utils_strv_copy (const gchar * const *strv)
+_tepl_utils_strv_copy (const gchar * const *strv)
 {
        guint length;
        gchar **new_strv;
@@ -348,7 +348,7 @@ get_menu_item_position (GtkMenuShell *menu_shell,
 }
 
 /**
- * gtef_utils_recent_chooser_menu_get_item_uri:
+ * tepl_utils_recent_chooser_menu_get_item_uri:
  * @menu: a #GtkRecentChooserMenu.
  * @item: a #GtkMenuItem.
  *
@@ -363,7 +363,7 @@ get_menu_item_position (GtkMenuShell *menu_shell,
  * Since: 2.0
  */
 gchar *
-gtef_utils_recent_chooser_menu_get_item_uri (GtkRecentChooserMenu *menu,
+tepl_utils_recent_chooser_menu_get_item_uri (GtkRecentChooserMenu *menu,
                                             GtkMenuItem          *item)
 {
        gint pos;
diff --git a/gtef/gtef-utils.h b/gtef/gtef-utils.h
index 5f168a7..b50854f 100644
--- a/gtef/gtef-utils.h
+++ b/gtef/gtef-utils.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016, 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,11 +17,11 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_UTILS_H
-#define GTEF_UTILS_H
+#ifndef TEPL_UTILS_H
+#define TEPL_UTILS_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <gtk/gtk.h>
@@ -31,10 +31,10 @@ G_BEGIN_DECLS
 /* File utilities */
 
 G_GNUC_INTERNAL
-gchar *                _gtef_utils_replace_home_dir_with_tilde         (const gchar *filename);
+gchar *                _tepl_utils_replace_home_dir_with_tilde         (const gchar *filename);
 
 G_GNUC_INTERNAL
-gboolean       _gtef_utils_decode_uri                          (const gchar  *uri,
+gboolean       _tepl_utils_decode_uri                          (const gchar  *uri,
                                                                 gchar       **scheme,
                                                                 gchar       **user,
                                                                 gchar       **host,
@@ -42,18 +42,18 @@ gboolean    _gtef_utils_decode_uri                          (const gchar  *uri,
                                                                 gchar       **path);
 
 G_GNUC_INTERNAL
-gchar *                _gtef_utils_get_fallback_basename_for_display   (GFile *location);
+gchar *                _tepl_utils_get_fallback_basename_for_display   (GFile *location);
 
 /* String utilities */
 
 G_GNUC_INTERNAL
-gchar **       _gtef_utils_strv_copy                           (const gchar * const *strv);
+gchar **       _tepl_utils_strv_copy                           (const gchar * const *strv);
 
 /* Widget utilities */
 
-gchar *                gtef_utils_recent_chooser_menu_get_item_uri     (GtkRecentChooserMenu *menu,
+gchar *                tepl_utils_recent_chooser_menu_get_item_uri     (GtkRecentChooserMenu *menu,
                                                                 GtkMenuItem          *item);
 
 G_END_DECLS
 
-#endif /* GTEF_UTILS_H */
+#endif /* TEPL_UTILS_H */
diff --git a/gtef/gtef-view.c b/gtef/gtef-view.c
index f4e21f1..bccd1a3 100644
--- a/gtef/gtef-view.c
+++ b/gtef/gtef-view.c
@@ -1,5 +1,5 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * From gedit-view.c:
  * Copyright 1998, 1999 - Alex Roberts, Evan Lawrence
@@ -8,12 +8,12 @@
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -22,68 +22,68 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "gtef-view.h"
-#include "gtef-buffer.h"
+#include "tepl-view.h"
+#include "tepl-buffer.h"
 
 /**
  * SECTION:view
- * @Short_description: Widget that displays a GtefBuffer
- * @Title: GtefView
+ * @Short_description: Widget that displays a TeplBuffer
+ * @Title: TeplView
  *
- * #GtefView is a subclass of #GtkSourceView, to add more features useful for a
+ * #TeplView is a subclass of #GtkSourceView, to add more features useful for a
  * text editor.
  */
 
 #define SCROLL_MARGIN 0.02
 
-G_DEFINE_TYPE (GtefView, gtef_view, GTK_SOURCE_TYPE_VIEW)
+G_DEFINE_TYPE (TeplView, tepl_view, GTK_SOURCE_TYPE_VIEW)
 
 static GtkTextBuffer *
-gtef_view_create_buffer (GtkTextView *view)
+tepl_view_create_buffer (GtkTextView *view)
 {
-       return GTK_TEXT_BUFFER (gtef_buffer_new ());
+       return GTK_TEXT_BUFFER (tepl_buffer_new ());
 }
 
 static void
-gtef_view_class_init (GtefViewClass *klass)
+tepl_view_class_init (TeplViewClass *klass)
 {
        GtkTextViewClass *text_view_class = GTK_TEXT_VIEW_CLASS (klass);
 
-       text_view_class->create_buffer = gtef_view_create_buffer;
+       text_view_class->create_buffer = tepl_view_create_buffer;
 }
 
 static void
-gtef_view_init (GtefView *view)
+tepl_view_init (TeplView *view)
 {
 }
 
 /**
- * gtef_view_new:
+ * tepl_view_new:
  *
- * Returns: a new #GtefView.
+ * Returns: a new #TeplView.
  * Since: 1.0
  */
 GtkWidget *
-gtef_view_new (void)
+tepl_view_new (void)
 {
-       return g_object_new (GTEF_TYPE_VIEW, NULL);
+       return g_object_new (TEPL_TYPE_VIEW, NULL);
 }
 
 /**
- * gtef_view_cut_clipboard:
- * @view: a #GtefView.
+ * tepl_view_cut_clipboard:
+ * @view: a #TeplView.
  *
  * Cuts the clipboard and then scrolls to the cursor position.
  *
  * Since: 1.0
  */
 void
-gtef_view_cut_clipboard (GtefView *view)
+tepl_view_cut_clipboard (TeplView *view)
 {
        GtkTextBuffer *buffer;
        GtkClipboard *clipboard;
 
-       g_return_if_fail (GTEF_IS_VIEW (view));
+       g_return_if_fail (TEPL_IS_VIEW (view));
 
        buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
 
@@ -103,20 +103,20 @@ gtef_view_cut_clipboard (GtefView *view)
 }
 
 /**
- * gtef_view_copy_clipboard:
- * @view: a #GtefView.
+ * tepl_view_copy_clipboard:
+ * @view: a #TeplView.
  *
  * Copies the clipboard.
  *
  * Since: 1.0
  */
 void
-gtef_view_copy_clipboard (GtefView *view)
+tepl_view_copy_clipboard (TeplView *view)
 {
        GtkTextBuffer *buffer;
        GtkClipboard *clipboard;
 
-       g_return_if_fail (GTEF_IS_VIEW (view));
+       g_return_if_fail (TEPL_IS_VIEW (view));
 
        buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
 
@@ -129,20 +129,20 @@ gtef_view_copy_clipboard (GtefView *view)
 }
 
 /**
- * gtef_view_paste_clipboard:
- * @view: a #GtefView.
+ * tepl_view_paste_clipboard:
+ * @view: a #TeplView.
  *
  * Pastes the clipboard and then scrolls to the cursor position.
  *
  * Since: 1.0
  */
 void
-gtef_view_paste_clipboard (GtefView *view)
+tepl_view_paste_clipboard (TeplView *view)
 {
        GtkTextBuffer *buffer;
        GtkClipboard *clipboard;
 
-       g_return_if_fail (GTEF_IS_VIEW (view));
+       g_return_if_fail (TEPL_IS_VIEW (view));
 
        buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
 
@@ -163,8 +163,8 @@ gtef_view_paste_clipboard (GtefView *view)
 }
 
 /**
- * gtef_view_delete_selection:
- * @view: a #GtefView.
+ * tepl_view_delete_selection:
+ * @view: a #TeplView.
  *
  * Deletes the text currently selected in the #GtkTextBuffer associated
  * to the view and then scrolls to the cursor position.
@@ -172,11 +172,11 @@ gtef_view_paste_clipboard (GtefView *view)
  * Since: 1.0
  */
 void
-gtef_view_delete_selection (GtefView *view)
+tepl_view_delete_selection (TeplView *view)
 {
        GtkTextBuffer *buffer;
 
-       g_return_if_fail (GTEF_IS_VIEW (view));
+       g_return_if_fail (TEPL_IS_VIEW (view));
 
        buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
 
@@ -193,21 +193,21 @@ gtef_view_delete_selection (GtefView *view)
 }
 
 /**
- * gtef_view_select_all:
- * @view: a #GtefView.
+ * tepl_view_select_all:
+ * @view: a #TeplView.
  *
  * Selects all the text.
  *
  * Since: 1.0
  */
 void
-gtef_view_select_all (GtefView *view)
+tepl_view_select_all (TeplView *view)
 {
        GtkTextBuffer *buffer;
        GtkTextIter start;
        GtkTextIter end;
 
-       g_return_if_fail (GTEF_IS_VIEW (view));
+       g_return_if_fail (TEPL_IS_VIEW (view));
 
        buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
 
@@ -216,19 +216,19 @@ gtef_view_select_all (GtefView *view)
 }
 
 /**
- * gtef_view_scroll_to_cursor:
- * @view: a #GtefView.
+ * tepl_view_scroll_to_cursor:
+ * @view: a #TeplView.
  *
  * Scrolls the @view to the cursor position.
  *
  * Since: 1.0
  */
 void
-gtef_view_scroll_to_cursor (GtefView *view)
+tepl_view_scroll_to_cursor (TeplView *view)
 {
        GtkTextBuffer *buffer;
 
-       g_return_if_fail (GTEF_IS_VIEW (view));
+       g_return_if_fail (TEPL_IS_VIEW (view));
 
        buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
 
@@ -241,8 +241,8 @@ gtef_view_scroll_to_cursor (GtefView *view)
 }
 
 /**
- * gtef_view_goto_line:
- * @view: a #GtefView.
+ * tepl_view_goto_line:
+ * @view: a #TeplView.
  * @line: a line number, counting from 0.
  *
  * Places the cursor at the position returned by
@@ -253,14 +253,14 @@ gtef_view_scroll_to_cursor (GtefView *view)
  * Since: 2.0
  */
 gboolean
-gtef_view_goto_line (GtefView *view,
+tepl_view_goto_line (TeplView *view,
                     gint      line)
 {
        GtkTextBuffer *buffer;
        GtkTextIter iter;
        gboolean line_exists;
 
-       g_return_val_if_fail (GTEF_IS_VIEW (view), FALSE);
+       g_return_val_if_fail (TEPL_IS_VIEW (view), FALSE);
 
        buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
 
@@ -268,14 +268,14 @@ gtef_view_goto_line (GtefView *view,
        line_exists = gtk_text_iter_get_line (&iter) == line;
 
        gtk_text_buffer_place_cursor (buffer, &iter);
-       gtef_view_scroll_to_cursor (view);
+       tepl_view_scroll_to_cursor (view);
 
        return line_exists;
 }
 
 /**
- * gtef_view_goto_line_offset:
- * @view: a #GtefView.
+ * tepl_view_goto_line_offset:
+ * @view: a #TeplView.
  * @line: a line number, counting from 0.
  * @line_offset: the line offset, in characters (not bytes).
  *
@@ -287,7 +287,7 @@ gtef_view_goto_line (GtefView *view,
  * Since: 2.0
  */
 gboolean
-gtef_view_goto_line_offset (GtefView *view,
+tepl_view_goto_line_offset (TeplView *view,
                            gint      line,
                            gint      line_offset)
 {
@@ -295,7 +295,7 @@ gtef_view_goto_line_offset (GtefView *view,
        GtkTextIter iter;
        gboolean pos_exists;
 
-       g_return_val_if_fail (GTEF_IS_VIEW (view), FALSE);
+       g_return_val_if_fail (TEPL_IS_VIEW (view), FALSE);
 
        buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
 
@@ -308,14 +308,14 @@ gtef_view_goto_line_offset (GtefView *view,
                      gtk_text_iter_get_line_offset (&iter) == line_offset);
 
        gtk_text_buffer_place_cursor (buffer, &iter);
-       gtef_view_scroll_to_cursor (view);
+       tepl_view_scroll_to_cursor (view);
 
        return pos_exists;
 }
 
 /**
- * gtef_view_select_lines:
- * @view: a #GtefView.
+ * tepl_view_select_lines:
+ * @view: a #TeplView.
  * @start_line: start of the region to select.
  * @end_line: end of the region to select.
  *
@@ -328,7 +328,7 @@ gtef_view_goto_line_offset (GtefView *view,
  * Since: 2.0
  */
 void
-gtef_view_select_lines (GtefView *view,
+tepl_view_select_lines (TeplView *view,
                        gint      start_line,
                        gint      end_line)
 {
@@ -336,7 +336,7 @@ gtef_view_select_lines (GtefView *view,
        GtkTextIter start_iter;
        GtkTextIter end_iter;
 
-       g_return_if_fail (GTEF_IS_VIEW (view));
+       g_return_if_fail (TEPL_IS_VIEW (view));
 
        if (end_line < start_line)
        {
@@ -360,5 +360,5 @@ gtef_view_select_lines (GtefView *view,
 
        gtk_text_buffer_select_range (buffer, &start_iter, &end_iter);
 
-       gtef_view_scroll_to_cursor (view);
+       tepl_view_scroll_to_cursor (view);
 }
diff --git a/gtef/gtef-view.h b/gtef/gtef-view.h
index fb12e92..a67c845 100644
--- a/gtef/gtef-view.h
+++ b/gtef/gtef-view.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,54 +17,54 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_VIEW_H
-#define GTEF_VIEW_H
+#ifndef TEPL_VIEW_H
+#define TEPL_VIEW_H
 
-#if !defined (GTEF_H_INSIDE) && !defined (GTEF_COMPILATION)
-#error "Only <gtef/gtef.h> can be included directly."
+#if !defined (TEPL_H_INSIDE) && !defined (TEPL_COMPILATION)
+#error "Only <tepl/tepl.h> can be included directly."
 #endif
 
 #include <gtksourceview/gtksource.h>
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_VIEW (gtef_view_get_type ())
-G_DECLARE_DERIVABLE_TYPE (GtefView, gtef_view,
-                         GTEF, VIEW,
+#define TEPL_TYPE_VIEW (tepl_view_get_type ())
+G_DECLARE_DERIVABLE_TYPE (TeplView, tepl_view,
+                         TEPL, VIEW,
                          GtkSourceView)
 
-struct _GtefViewClass
+struct _TeplViewClass
 {
        GtkSourceViewClass parent_class;
 
        gpointer padding[12];
 };
 
-GtkWidget *            gtef_view_new                                   (void);
+GtkWidget *            tepl_view_new                                   (void);
 
-void                   gtef_view_cut_clipboard                         (GtefView *view);
+void                   tepl_view_cut_clipboard                         (TeplView *view);
 
-void                   gtef_view_copy_clipboard                        (GtefView *view);
+void                   tepl_view_copy_clipboard                        (TeplView *view);
 
-void                   gtef_view_paste_clipboard                       (GtefView *view);
+void                   tepl_view_paste_clipboard                       (TeplView *view);
 
-void                   gtef_view_delete_selection                      (GtefView *view);
+void                   tepl_view_delete_selection                      (TeplView *view);
 
-void                   gtef_view_select_all                            (GtefView *view);
+void                   tepl_view_select_all                            (TeplView *view);
 
-void                   gtef_view_scroll_to_cursor                      (GtefView *view);
+void                   tepl_view_scroll_to_cursor                      (TeplView *view);
 
-gboolean               gtef_view_goto_line                             (GtefView *view,
+gboolean               tepl_view_goto_line                             (TeplView *view,
                                                                         gint      line);
 
-gboolean               gtef_view_goto_line_offset                      (GtefView *view,
+gboolean               tepl_view_goto_line_offset                      (TeplView *view,
                                                                         gint      line,
                                                                         gint      line_offset);
 
-void                   gtef_view_select_lines                          (GtefView *view,
+void                   tepl_view_select_lines                          (TeplView *view,
                                                                         gint      start_line,
                                                                         gint      end_line);
 
 G_END_DECLS
 
-#endif /* GTEF_VIEW_H */
+#endif /* TEPL_VIEW_H */
diff --git a/gtef/gtef.h b/gtef/gtef.h
index 0c86fd7..5729971 100644
--- a/gtef/gtef.h
+++ b/gtef/gtef.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016, 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,37 +17,37 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_H
-#define GTEF_H
+#ifndef TEPL_H
+#define TEPL_H
 
-#define GTEF_H_INSIDE
+#define TEPL_H_INSIDE
 
-#include <gtef/gtef-types.h>
-#include <gtef/gtef-enum-types.h>
+#include <tepl/tepl-types.h>
+#include <tepl/tepl-enum-types.h>
 
-#include <gtef/gtef-action-info.h>
-#include <gtef/gtef-action-info-store.h>
-#include <gtef/gtef-action-info-central-store.h>
-#include <gtef/gtef-action-map.h>
-#include <gtef/gtef-application.h>
-#include <gtef/gtef-application-window.h>
-#include <gtef/gtef-buffer.h>
-#include <gtef/gtef-encoding.h>
-#include <gtef/gtef-file.h>
-#include <gtef/gtef-file-loader.h>
-#include <gtef/gtef-file-metadata.h>
-#include <gtef/gtef-file-saver.h>
-#include <gtef/gtef-fold-region.h>
-#include <gtef/gtef-gutter-renderer-folds.h>
-#include <gtef/gtef-info-bar.h>
-#include <gtef/gtef-iter.h>
-#include <gtef/gtef-menu-item.h>
-#include <gtef/gtef-menu-shell.h>
-#include <gtef/gtef-metadata-manager.h>
-#include <gtef/gtef-tab.h>
-#include <gtef/gtef-utils.h>
-#include <gtef/gtef-view.h>
+#include <tepl/tepl-action-info.h>
+#include <tepl/tepl-action-info-store.h>
+#include <tepl/tepl-action-info-central-store.h>
+#include <tepl/tepl-action-map.h>
+#include <tepl/tepl-application.h>
+#include <tepl/tepl-application-window.h>
+#include <tepl/tepl-buffer.h>
+#include <tepl/tepl-encoding.h>
+#include <tepl/tepl-file.h>
+#include <tepl/tepl-file-loader.h>
+#include <tepl/tepl-file-metadata.h>
+#include <tepl/tepl-file-saver.h>
+#include <tepl/tepl-fold-region.h>
+#include <tepl/tepl-gutter-renderer-folds.h>
+#include <tepl/tepl-info-bar.h>
+#include <tepl/tepl-iter.h>
+#include <tepl/tepl-menu-item.h>
+#include <tepl/tepl-menu-shell.h>
+#include <tepl/tepl-metadata-manager.h>
+#include <tepl/tepl-tab.h>
+#include <tepl/tepl-utils.h>
+#include <tepl/tepl-view.h>
 
-#undef GTEF_H_INSIDE
+#undef TEPL_H_INSIDE
 
-#endif /* GTEF_H */
+#endif /* TEPL_H */
diff --git a/po/Makevars b/po/Makevars
index f2a52dc..ad4d59d 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -1,7 +1,7 @@
 # Makefile variables for PO directory in any package using GNU gettext.
 
 # Usually the message domain is the same as the package name.
-DOMAIN = gtef-2
+DOMAIN = tepl-2
 
 # These two variables depend on the location of this directory.
 subdir = po
@@ -18,7 +18,7 @@ XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ --keyword=C_:1c,2
 # or entity, or to disclaim their copyright.  The empty string stands for
 # the public domain; in this case the translators are expected to disclaim
 # their copyright.
-COPYRIGHT_HOLDER = The Gtef team
+COPYRIGHT_HOLDER = The Tepl team
 
 # This tells whether or not to prepend "GNU " prefix to the package
 # name that gets inserted into the header of the $(DOMAIN).pot file.
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 7e43d8b..88ab969 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,25 +1,25 @@
 # List of source files containing translatable strings.
-gtef/gtef-action-info.c
-gtef/gtef-action-info-central-store.c
-gtef/gtef-action-info-store.c
-gtef/gtef-action-map.c
-gtef/gtef-application.c
-gtef/gtef-application-window.c
-gtef/gtef-buffer.c
-gtef/gtef-buffer-input-stream.c
-gtef/gtef-encoding.c
-gtef/gtef-encoding-converter.c
-gtef/gtef-file.c
-gtef/gtef-file-content-loader.c
-gtef/gtef-file-loader.c
-gtef/gtef-file-metadata.c
-gtef/gtef-file-saver.c
-gtef/gtef-info-bar.c
-gtef/gtef-init.c
-gtef/gtef-iter.c
-gtef/gtef-menu-item.c
-gtef/gtef-menu-shell.c
-gtef/gtef-metadata-manager.c
-gtef/gtef-tab.c
-gtef/gtef-utils.c
-gtef/gtef-view.c
+tepl/tepl-action-info.c
+tepl/tepl-action-info-central-store.c
+tepl/tepl-action-info-store.c
+tepl/tepl-action-map.c
+tepl/tepl-application.c
+tepl/tepl-application-window.c
+tepl/tepl-buffer.c
+tepl/tepl-buffer-input-stream.c
+tepl/tepl-encoding.c
+tepl/tepl-encoding-converter.c
+tepl/tepl-file.c
+tepl/tepl-file-content-loader.c
+tepl/tepl-file-loader.c
+tepl/tepl-file-metadata.c
+tepl/tepl-file-saver.c
+tepl/tepl-info-bar.c
+tepl/tepl-init.c
+tepl/tepl-iter.c
+tepl/tepl-menu-item.c
+tepl/tepl-menu-shell.c
+tepl/tepl-metadata-manager.c
+tepl/tepl-tab.c
+tepl/tepl-utils.c
+tepl/tepl-view.c
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 8e67c11..690d5eb 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -1,2 +1,2 @@
-gtef/gtef-io-error-info-bar.c
-gtef/gtef-progress-info-bar.c
+tepl/tepl-io-error-info-bar.c
+tepl/tepl-progress-info-bar.c
diff --git a/po/de.po b/po/de.po
index 6aea74e..90f1ddd 100644
--- a/po/de.po
+++ b/po/de.po
@@ -19,203 +19,203 @@ msgstr ""
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
 #. Translators: %s is a filename.
-#: gtef/gtef-application-window.c:356
+#: tepl/tepl-application-window.c:356
 #, c-format
 msgid "Open “%s”"
 msgstr "»%s« öffnen"
 
-#: gtef/gtef-application-window.c:575
+#: tepl/tepl-application-window.c:575
 msgid "Open _Recent"
 msgstr "Zu_letzt geöffnet"
 
 #. Translators: %s is the application name.
-#: gtef/gtef-application-window.c:578
+#: tepl/tepl-application-window.c:578
 #, c-format
 msgid "Open a file recently used with %s"
 msgstr "Eine kürzlich von »%s« verwendete Datei öffnen"
 
 #. UTF-8 first, so that it's the first encoding returned by
-#. * gtef_encoding_get_all().
+#. * tepl_encoding_get_all().
 #.
-#: gtef/gtef-encoding.c:115 gtef/gtef-encoding.c:132 gtef/gtef-encoding.c:133
-#: gtef/gtef-encoding.c:134 gtef/gtef-encoding.c:135 gtef/gtef-encoding.c:136
-#: gtef/gtef-encoding.c:137 gtef/gtef-encoding.c:138
+#: tepl/tepl-encoding.c:115 tepl/tepl-encoding.c:132 tepl/tepl-encoding.c:133
+#: tepl/tepl-encoding.c:134 tepl/tepl-encoding.c:135 tepl/tepl-encoding.c:136
+#: tepl/tepl-encoding.c:137 tepl/tepl-encoding.c:138
 msgid "Unicode"
 msgstr "Unicode"
 
 #. FIXME GEOSTD8 ?
-#: gtef/gtef-encoding.c:117 gtef/gtef-encoding.c:129 gtef/gtef-encoding.c:157
-#: gtef/gtef-encoding.c:180
+#: tepl/tepl-encoding.c:117 tepl/tepl-encoding.c:129 tepl/tepl-encoding.c:157
+#: tepl/tepl-encoding.c:180
 msgid "Western"
 msgstr "Westeuropäisch"
 
-#: gtef/gtef-encoding.c:118 gtef/gtef-encoding.c:158 gtef/gtef-encoding.c:178
+#: tepl/tepl-encoding.c:118 tepl/tepl-encoding.c:158 tepl/tepl-encoding.c:178
 msgid "Central European"
 msgstr "Mitteleuropäisch"
 
-#: gtef/gtef-encoding.c:119
+#: tepl/tepl-encoding.c:119
 msgid "South European"
 msgstr "Südeuropäisch"
 
-#: gtef/gtef-encoding.c:120 gtef/gtef-encoding.c:127 gtef/gtef-encoding.c:185
+#: tepl/tepl-encoding.c:120 tepl/tepl-encoding.c:127 tepl/tepl-encoding.c:185
 msgid "Baltic"
 msgstr "Baltisch"
 
-#: gtef/gtef-encoding.c:121 gtef/gtef-encoding.c:159 gtef/gtef-encoding.c:166
-#: gtef/gtef-encoding.c:168 gtef/gtef-encoding.c:169 gtef/gtef-encoding.c:179
+#: tepl/tepl-encoding.c:121 tepl/tepl-encoding.c:159 tepl/tepl-encoding.c:166
+#: tepl/tepl-encoding.c:168 tepl/tepl-encoding.c:169 tepl/tepl-encoding.c:179
 msgid "Cyrillic"
 msgstr "Kyrillisch"
 
-#: gtef/gtef-encoding.c:122 gtef/gtef-encoding.c:162 gtef/gtef-encoding.c:184
+#: tepl/tepl-encoding.c:122 tepl/tepl-encoding.c:162 tepl/tepl-encoding.c:184
 msgid "Arabic"
 msgstr "Arabisch"
 
-#: gtef/gtef-encoding.c:123 gtef/gtef-encoding.c:181
+#: tepl/tepl-encoding.c:123 tepl/tepl-encoding.c:181
 msgid "Greek"
 msgstr "Griechisch"
 
-#: gtef/gtef-encoding.c:124
+#: tepl/tepl-encoding.c:124
 msgid "Hebrew Visual"
 msgstr "Hebräisch (visuell)"
 
-#: gtef/gtef-encoding.c:125 gtef/gtef-encoding.c:160 gtef/gtef-encoding.c:182
+#: tepl/tepl-encoding.c:125 tepl/tepl-encoding.c:160 tepl/tepl-encoding.c:182
 msgid "Turkish"
 msgstr "Türkisch"
 
-#: gtef/gtef-encoding.c:126
+#: tepl/tepl-encoding.c:126
 msgid "Nordic"
 msgstr "Skandinavisch"
 
-#: gtef/gtef-encoding.c:128
+#: tepl/tepl-encoding.c:128
 msgid "Celtic"
 msgstr "Keltisch"
 
-#: gtef/gtef-encoding.c:130
+#: tepl/tepl-encoding.c:130
 msgid "Romanian"
 msgstr "Rumänisch"
 
-#: gtef/gtef-encoding.c:140
+#: tepl/tepl-encoding.c:140
 msgid "Armenian"
 msgstr "Armenisch"
 
-#: gtef/gtef-encoding.c:141 gtef/gtef-encoding.c:142 gtef/gtef-encoding.c:150
+#: tepl/tepl-encoding.c:141 tepl/tepl-encoding.c:142 tepl/tepl-encoding.c:150
 msgid "Chinese Traditional"
 msgstr "Chinesisch (traditionell)"
 
-#: gtef/gtef-encoding.c:143
+#: tepl/tepl-encoding.c:143
 msgid "Cyrillic/Russian"
 msgstr "Kyrillisch/Russisch"
 
-#: gtef/gtef-encoding.c:145 gtef/gtef-encoding.c:146 gtef/gtef-encoding.c:147
-#: gtef/gtef-encoding.c:164 gtef/gtef-encoding.c:172
+#: tepl/tepl-encoding.c:145 tepl/tepl-encoding.c:146 tepl/tepl-encoding.c:147
+#: tepl/tepl-encoding.c:164 tepl/tepl-encoding.c:172
 msgid "Japanese"
 msgstr "Japanisch"
 
-#: gtef/gtef-encoding.c:149 gtef/gtef-encoding.c:165 gtef/gtef-encoding.c:167
-#: gtef/gtef-encoding.c:175
+#: tepl/tepl-encoding.c:149 tepl/tepl-encoding.c:165 tepl/tepl-encoding.c:167
+#: tepl/tepl-encoding.c:175
 msgid "Korean"
 msgstr "Koreanisch"
 
-#: gtef/gtef-encoding.c:152 gtef/gtef-encoding.c:153 gtef/gtef-encoding.c:154
+#: tepl/tepl-encoding.c:152 tepl/tepl-encoding.c:153 tepl/tepl-encoding.c:154
 msgid "Chinese Simplified"
 msgstr "Chinesisch (vereinfacht)"
 
-#: gtef/gtef-encoding.c:155
+#: tepl/tepl-encoding.c:155
 msgid "Georgian"
 msgstr "Georgisch"
 
-#: gtef/gtef-encoding.c:161 gtef/gtef-encoding.c:183
+#: tepl/tepl-encoding.c:161 tepl/tepl-encoding.c:183
 msgid "Hebrew"
 msgstr "Hebräisch"
 
-#: gtef/gtef-encoding.c:170
+#: tepl/tepl-encoding.c:170
 msgid "Cyrillic/Ukrainian"
 msgstr "Kyrillisch/Ukrainisch"
 
-#: gtef/gtef-encoding.c:173 gtef/gtef-encoding.c:176 gtef/gtef-encoding.c:186
+#: tepl/tepl-encoding.c:173 tepl/tepl-encoding.c:176 tepl/tepl-encoding.c:186
 msgid "Vietnamese"
 msgstr "Vietnamesisch"
 
-#: gtef/gtef-encoding.c:174
+#: tepl/tepl-encoding.c:174
 msgid "Thai"
 msgstr "Thailändisch"
 
-#: gtef/gtef-encoding.c:365
+#: tepl/tepl-encoding.c:365
 msgid "Unknown"
 msgstr "Unbekannt"
 
 # translator-comments beachten.
-#. Translators: This is the sorted list of encodings used by Gtef for
+#. Translators: This is the sorted list of encodings used by Tepl 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 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 in your country will rarely
-#. * use it. 'CURRENT' is a magic value used by Gtef and it represents
+#. * use it. 'CURRENT' is a magic value used by Tepl and it represents
 #. * the encoding for the current locale, so please don't translate the
 #. * 'CURRENT' term. Keep the same format: square brackets, single quotes,
 #. * commas.
 #.
-#: gtef/gtef-encoding.c:640
+#: tepl/tepl-encoding.c:640
 msgid "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
 msgstr "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
 
-#: gtef/gtef-encoding-converter.c:302
+#: tepl/tepl-encoding-converter.c:302
 #, c-format
 msgid "Conversion from character set “%s” to “%s” is not supported."
 msgstr "Umwandlung von Zeichensatz »%s« in »%s« wird nicht unterstützt"
 
-#: gtef/gtef-encoding-converter.c:311
+#: tepl/tepl-encoding-converter.c:311
 #, c-format
 msgid "Could not open converter from “%s” to “%s”: %s"
 msgstr "Konverter von »%s« in »%s« konnte nicht geöffnet werden: %s"
 
-#: gtef/gtef-encoding-converter.c:368
+#: tepl/tepl-encoding-converter.c:368
 msgid "The input data contains an invalid sequence."
 msgstr "Die EIngabedaten enthalten eine ungültige Folge."
 
-#: gtef/gtef-encoding-converter.c:377
+#: tepl/tepl-encoding-converter.c:377
 #, c-format
 msgid "Error when converting data: %s"
 msgstr "Fehler beim Konvertieren der Daten: %s"
 
-#: gtef/gtef-encoding-converter.c:556
+#: tepl/tepl-encoding-converter.c:556
 msgid "The input data ends with an incomplete multi-byte sequence."
 msgstr "Die Eingabedaten endenn mit einer unvollständigen Folge mehrerer Byte."
 
-#: gtef/gtef-encoding-converter.c:579
+#: tepl/tepl-encoding-converter.c:579
 msgid "The input content ends with incomplete data."
 msgstr "Die Eingabe endet mit unvollständigen Daten."
 
-#: gtef/gtef-file.c:413
+#: tepl/tepl-file.c:413
 #, c-format
 msgid "Untitled File %d"
 msgstr "Unbenannte Datei %d"
 
-#: gtef/gtef-file-content-loader.c:334
+#: tepl/tepl-file-content-loader.c:334
 #, c-format
 msgid "The file is too big. Maximum %s can be loaded."
 msgstr "Die Datei ist zu groß. Es können höchstens %s geladen werden."
 
-#: gtef/gtef-file-loader.c:925
+#: tepl/tepl-file-loader.c:925
 msgid "It is not possible to detect the character encoding automatically."
 msgstr "Die Zeichenkodierung kann nicht automatisch erkannt werden."
 
-#: gtef/gtef-file-saver.c:776
+#: tepl/tepl-file-saver.c:776
 msgid "The file is externally modified."
 msgstr "Die Datei wurde extern verändert"
 
-#: gtef/gtef-file-saver.c:1310
+#: tepl/tepl-file-saver.c:1310
 msgid "The buffer contains invalid characters."
 msgstr "Zwischenspeicher enthält ungültige Zeichen."
 
-#: gtef/gtef-io-error-info-bar.c:74
+#: tepl/tepl-io-error-info-bar.c:74
 #, c-format
 msgid "Could not find the file “%s”."
 msgstr "Die Datei »%s« konnte nicht gefunden werden."
 
-#: gtef/gtef-io-error-info-bar.c:77 gtef/gtef-io-error-info-bar.c:104
-#: gtef/gtef-io-error-info-bar.c:111
+#: tepl/tepl-io-error-info-bar.c:77 tepl/tepl-io-error-info-bar.c:104
+#: tepl/tepl-io-error-info-bar.c:111
 msgid "Please check that you typed the location correctly and try again."
 msgstr ""
 "Bitte überprüfen Sie, ob Sie den Ort richtig eingegeben haben, und versuchen "
@@ -224,27 +224,27 @@ msgstr ""
 #. Translators: %s is a URI scheme (like for example
 #. * http:, ftp:, etc.).
 #.
-#: gtef/gtef-io-error-info-bar.c:90
+#: tepl/tepl-io-error-info-bar.c:90
 #, c-format
 msgid "Unable to handle “%s:” locations."
 msgstr "Es kann nicht mit »%s«-Orten umgegangen werden."
 
-#: gtef/gtef-io-error-info-bar.c:98
+#: tepl/tepl-io-error-info-bar.c:98
 msgid "The location of the file cannot be accessed."
 msgstr "Auf den Speicherort der Datei kann nicht zugegriffen werden."
 
-#: gtef/gtef-io-error-info-bar.c:102
+#: tepl/tepl-io-error-info-bar.c:102
 #, c-format
 msgid "“%s” is a directory."
 msgstr "»%s« ist ein Ordner."
 
-#: gtef/gtef-io-error-info-bar.c:109
+#: tepl/tepl-io-error-info-bar.c:109
 #, c-format
 msgid "“%s” is not a valid location."
 msgstr "»%s« ist kein gültiger Ort."
 
 #. Translators: %s is a hostname.
-#: gtef/gtef-io-error-info-bar.c:141
+#: tepl/tepl-io-error-info-bar.c:141
 #, c-format
 msgid ""
 "Host “%s” could not be found. Please check that your proxy settings are "
@@ -254,7 +254,7 @@ msgstr ""
 "Einstellungen richtig sind und versuchen Sie es erneut."
 
 #. Use the same string as INVALID_HOST.
-#: gtef/gtef-io-error-info-bar.c:150
+#: tepl/tepl-io-error-info-bar.c:150
 msgid ""
 "Hostname was invalid. Please check that you typed the location correctly and "
 "try again."
@@ -262,35 +262,35 @@ msgstr ""
 "Der Rechnername ist ungültig. Bitte überprüfen Sie, ob Sie den Ort richtig "
 "eingegeben haben, und versuchen Sie es erneut."
 
-#: gtef/gtef-io-error-info-bar.c:159
+#: tepl/tepl-io-error-info-bar.c:159
 #, c-format
 msgid "“%s” is not a regular file."
 msgstr "»%s« ist keine reguläre Datei."
 
-#: gtef/gtef-io-error-info-bar.c:164
+#: tepl/tepl-io-error-info-bar.c:164
 msgid "Connection timed out. Please try again."
 msgstr ""
 "Verbindungsabbruch wegen Zeitüberschreitung. Bitte versuchen Sie es erneut."
 
-#: gtef/gtef-io-error-info-bar.c:168
+#: tepl/tepl-io-error-info-bar.c:168
 #, c-format
 msgid "Unexpected error: %s"
 msgstr "Unerwarteter Fehler: %s"
 
-#: gtef/gtef-io-error-info-bar.c:179 gtef/gtef-io-error-info-bar.c:212
-#: gtef/gtef-progress-info-bar.c:53
+#: tepl/tepl-io-error-info-bar.c:179 tepl/tepl-io-error-info-bar.c:212
+#: tepl/tepl-progress-info-bar.c:53
 msgid "_Cancel"
 msgstr "_Abbrechen"
 
-#: gtef/gtef-io-error-info-bar.c:185 gtef/gtef-io-error-info-bar.c:195
+#: tepl/tepl-io-error-info-bar.c:185 tepl/tepl-io-error-info-bar.c:195
 msgid "_Retry"
 msgstr "E_rneut versuchen"
 
-#: gtef/gtef-io-error-info-bar.c:201
+#: tepl/tepl-io-error-info-bar.c:201
 msgid "Edit Any_way"
 msgstr "Trotzdem _bearbeiten"
 
-#: gtef/gtef-io-error-info-bar.c:270
+#: tepl/tepl-io-error-info-bar.c:270
 msgid ""
 "The number of followed links is limited and the actual file could not be "
 "found within this limit."
@@ -298,11 +298,11 @@ msgstr ""
 "Die Anzahl der nachverfolgten Verweise ist begrenzt und die eigentliche "
 "Datei kann innerhalb dieser Grenzen nicht gefunden werden."
 
-#: gtef/gtef-io-error-info-bar.c:275
+#: tepl/tepl-io-error-info-bar.c:275
 msgid "You do not have the permissions necessary to open the file."
 msgstr "Sie haben nicht die erforderlichen Rechte, um diese Datei zu öffnen."
 
-#: gtef/gtef-io-error-info-bar.c:285
+#: tepl/tepl-io-error-info-bar.c:285
 msgid ""
 "Unable to detect the character encoding.\n"
 "Please check that you are not trying to open a binary file.\n"
@@ -312,12 +312,12 @@ msgstr ""
 "Bitte stellen Sie sicher, dass Sie keine Binärdatei öffnen.\n"
 "Wählen Sie einen anderen Zeichensatz im Menü und versuchen Sie es erneut."
 
-#: gtef/gtef-io-error-info-bar.c:294
+#: tepl/tepl-io-error-info-bar.c:294
 #, c-format
 msgid "There was a problem opening the file “%s”."
 msgstr "Beim Öffnen der Datei »%s« ist ein Fehler aufgetreten."
 
-#: gtef/gtef-io-error-info-bar.c:296
+#: tepl/tepl-io-error-info-bar.c:296
 msgid ""
 "The file you opened has some invalid characters. If you continue editing "
 "this file you could corrupt it.\n"
@@ -327,13 +327,13 @@ msgstr ""
 "Bearbeitung fortsetzen könnte die Datei beschädigt werden.\n"
 "Sie können einen anderen Zeichensatz wählen und es erneut versuchen."
 
-#: gtef/gtef-io-error-info-bar.c:312
+#: tepl/tepl-io-error-info-bar.c:312
 #, c-format
 msgid "Could not open the file “%s” using the “%s” character encoding."
 msgstr ""
 "Die Datei »%s« konnte mit der Zeichenkodierung »%s« nicht geöffnet werden."
 
-#: gtef/gtef-io-error-info-bar.c:316
+#: tepl/tepl-io-error-info-bar.c:316
 msgid ""
 "Please check that you are not trying to open a binary file.\n"
 "Select a different character encoding from the menu and try again."
@@ -341,7 +341,7 @@ msgstr ""
 "Bitte stellen Sie sicher, dass Sie keine Binärdatei öffnen.\n"
 "Wählen Sie eine andere Zeichenkodierung im Menü und versuchen Sie es erneut."
 
-#: gtef/gtef-io-error-info-bar.c:329
+#: tepl/tepl-io-error-info-bar.c:329
 #, c-format
 msgid "Could not open the file “%s”."
 msgstr "Die Datei »%s« konnte nicht geöffnet werden."
diff --git a/po/fur.po b/po/fur.po
index bac61fe..ca70764 100644
--- a/po/fur.po
+++ b/po/fur.po
@@ -1,11 +1,11 @@
-# Friulian translation for gtef.
-# Copyright (C) 2017 gtef's COPYRIGHT HOLDER
-# This file is distributed under the same license as the gtef package.
+# Friulian translation for tepl.
+# Copyright (C) 2017 tepl's COPYRIGHT HOLDER
+# This file is distributed under the same license as the tepl package.
 # Fabio Tomat <f t public gmail com>, 2017.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: gtef master\n"
+"Project-Id-Version: tepl master\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2017-04-03 05:53+0000\n"
 "PO-Revision-Date: 2017-04-08 20:42+0200\n"
@@ -18,191 +18,191 @@ msgstr ""
 "X-Generator: Poedit 1.8.12\n"
 
 #. Translators: %s is a filename.
-#: gtef/gtef-application-window.c:356
+#: tepl/tepl-application-window.c:356
 #, c-format
 msgid "Open “%s”"
 msgstr "Vierç “%s”"
 
-#: gtef/gtef-application-window.c:575
+#: tepl/tepl-application-window.c:575
 msgid "Open _Recent"
 msgstr "Vierç _resint"
 
 #. Translators: %s is the application name.
-#: gtef/gtef-application-window.c:578
+#: tepl/tepl-application-window.c:578
 #, c-format
 msgid "Open a file recently used with %s"
 msgstr "Vierç un file doprât di resint cun %s"
 
 #. UTF-8 first, so that it's the first encoding returned by
-#. * gtef_encoding_get_all().
+#. * tepl_encoding_get_all().
 #.
-#: gtef/gtef-encoding.c:115 gtef/gtef-encoding.c:132 gtef/gtef-encoding.c:133
-#: gtef/gtef-encoding.c:134 gtef/gtef-encoding.c:135 gtef/gtef-encoding.c:136
-#: gtef/gtef-encoding.c:137 gtef/gtef-encoding.c:138
+#: tepl/tepl-encoding.c:115 tepl/tepl-encoding.c:132 tepl/tepl-encoding.c:133
+#: tepl/tepl-encoding.c:134 tepl/tepl-encoding.c:135 tepl/tepl-encoding.c:136
+#: tepl/tepl-encoding.c:137 tepl/tepl-encoding.c:138
 msgid "Unicode"
 msgstr "Unicode"
 
 #. FIXME GEOSTD8 ?
-#: gtef/gtef-encoding.c:117 gtef/gtef-encoding.c:129 gtef/gtef-encoding.c:157
-#: gtef/gtef-encoding.c:180
+#: tepl/tepl-encoding.c:117 tepl/tepl-encoding.c:129 tepl/tepl-encoding.c:157
+#: tepl/tepl-encoding.c:180
 msgid "Western"
 msgstr "Ocidentâl"
 
-#: gtef/gtef-encoding.c:118 gtef/gtef-encoding.c:158 gtef/gtef-encoding.c:178
+#: tepl/tepl-encoding.c:118 tepl/tepl-encoding.c:158 tepl/tepl-encoding.c:178
 msgid "Central European"
 msgstr "European centrâl"
 
-#: gtef/gtef-encoding.c:119
+#: tepl/tepl-encoding.c:119
 msgid "South European"
 msgstr "European dal sud"
 
-#: gtef/gtef-encoding.c:120 gtef/gtef-encoding.c:127 gtef/gtef-encoding.c:185
+#: tepl/tepl-encoding.c:120 tepl/tepl-encoding.c:127 tepl/tepl-encoding.c:185
 msgid "Baltic"
 msgstr "Baltic"
 
-#: gtef/gtef-encoding.c:121 gtef/gtef-encoding.c:159 gtef/gtef-encoding.c:166
-#: gtef/gtef-encoding.c:168 gtef/gtef-encoding.c:169 gtef/gtef-encoding.c:179
+#: tepl/tepl-encoding.c:121 tepl/tepl-encoding.c:159 tepl/tepl-encoding.c:166
+#: tepl/tepl-encoding.c:168 tepl/tepl-encoding.c:169 tepl/tepl-encoding.c:179
 msgid "Cyrillic"
 msgstr "Cirilic"
 
-#: gtef/gtef-encoding.c:122 gtef/gtef-encoding.c:162 gtef/gtef-encoding.c:184
+#: tepl/tepl-encoding.c:122 tepl/tepl-encoding.c:162 tepl/tepl-encoding.c:184
 msgid "Arabic"
 msgstr "Arap"
 
-#: gtef/gtef-encoding.c:123 gtef/gtef-encoding.c:181
+#: tepl/tepl-encoding.c:123 tepl/tepl-encoding.c:181
 msgid "Greek"
 msgstr "Grêc"
 
-#: gtef/gtef-encoding.c:124
+#: tepl/tepl-encoding.c:124
 msgid "Hebrew Visual"
 msgstr "Ebraic Visuâl"
 
-#: gtef/gtef-encoding.c:125 gtef/gtef-encoding.c:160 gtef/gtef-encoding.c:182
+#: tepl/tepl-encoding.c:125 tepl/tepl-encoding.c:160 tepl/tepl-encoding.c:182
 msgid "Turkish"
 msgstr "Turc"
 
-#: gtef/gtef-encoding.c:126
+#: tepl/tepl-encoding.c:126
 msgid "Nordic"
 msgstr "Nordic"
 
-#: gtef/gtef-encoding.c:128
+#: tepl/tepl-encoding.c:128
 msgid "Celtic"
 msgstr "Celtic"
 
-#: gtef/gtef-encoding.c:130
+#: tepl/tepl-encoding.c:130
 msgid "Romanian"
 msgstr "Rumen"
 
-#: gtef/gtef-encoding.c:140
+#: tepl/tepl-encoding.c:140
 msgid "Armenian"
 msgstr "Armen"
 
-#: gtef/gtef-encoding.c:141 gtef/gtef-encoding.c:142 gtef/gtef-encoding.c:150
+#: tepl/tepl-encoding.c:141 tepl/tepl-encoding.c:142 tepl/tepl-encoding.c:150
 msgid "Chinese Traditional"
 msgstr "Cinês tradizionâl"
 
-#: gtef/gtef-encoding.c:143
+#: tepl/tepl-encoding.c:143
 msgid "Cyrillic/Russian"
 msgstr "Cirilic/Rus"
 
-#: gtef/gtef-encoding.c:145 gtef/gtef-encoding.c:146 gtef/gtef-encoding.c:147
-#: gtef/gtef-encoding.c:164 gtef/gtef-encoding.c:172
+#: tepl/tepl-encoding.c:145 tepl/tepl-encoding.c:146 tepl/tepl-encoding.c:147
+#: tepl/tepl-encoding.c:164 tepl/tepl-encoding.c:172
 msgid "Japanese"
 msgstr "Gjaponês"
 
-#: gtef/gtef-encoding.c:149 gtef/gtef-encoding.c:165 gtef/gtef-encoding.c:167
-#: gtef/gtef-encoding.c:175
+#: tepl/tepl-encoding.c:149 tepl/tepl-encoding.c:165 tepl/tepl-encoding.c:167
+#: tepl/tepl-encoding.c:175
 msgid "Korean"
 msgstr "Corean"
 
-#: gtef/gtef-encoding.c:152 gtef/gtef-encoding.c:153 gtef/gtef-encoding.c:154
+#: tepl/tepl-encoding.c:152 tepl/tepl-encoding.c:153 tepl/tepl-encoding.c:154
 msgid "Chinese Simplified"
 msgstr "Cinês semplificât"
 
-#: gtef/gtef-encoding.c:155
+#: tepl/tepl-encoding.c:155
 msgid "Georgian"
 msgstr "Gjeorgjan"
 
-#: gtef/gtef-encoding.c:161 gtef/gtef-encoding.c:183
+#: tepl/tepl-encoding.c:161 tepl/tepl-encoding.c:183
 msgid "Hebrew"
 msgstr "Ebraic"
 
-#: gtef/gtef-encoding.c:170
+#: tepl/tepl-encoding.c:170
 msgid "Cyrillic/Ukrainian"
 msgstr "Cirilic/Ucrain"
 
-#: gtef/gtef-encoding.c:173 gtef/gtef-encoding.c:176 gtef/gtef-encoding.c:186
+#: tepl/tepl-encoding.c:173 tepl/tepl-encoding.c:176 tepl/tepl-encoding.c:186
 msgid "Vietnamese"
 msgstr "Vietnamît"
 
-#: gtef/gtef-encoding.c:174
+#: tepl/tepl-encoding.c:174
 msgid "Thai"
 msgstr "Tailandês"
 
-#: gtef/gtef-encoding.c:365
+#: tepl/tepl-encoding.c:365
 msgid "Unknown"
 msgstr "No cognossût"
 
-#. Translators: This is the sorted list of encodings used by Gtef for
+#. Translators: This is the sorted list of encodings used by Tepl 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 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 in your country will rarely
-#. * use it. 'CURRENT' is a magic value used by Gtef and it represents
+#. * use it. 'CURRENT' is a magic value used by Tepl and it represents
 #. * the encoding for the current locale, so please don't translate the
 #. * 'CURRENT' term. Keep the same format: square brackets, single quotes,
 #. * commas.
 #.
-#: gtef/gtef-encoding.c:640
+#: tepl/tepl-encoding.c:640
 msgid "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
 msgstr "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
 
-#: gtef/gtef-encoding-converter.c:302
+#: tepl/tepl-encoding-converter.c:302
 #, c-format
 msgid "Conversion from character set “%s” to “%s” is not supported."
 msgstr "La conversion de cumbinazion di caratars “%s” a “%s” no je supuartade."
 
-#: gtef/gtef-encoding-converter.c:311
+#: tepl/tepl-encoding-converter.c:311
 #, c-format
 msgid "Could not open converter from “%s” to “%s”: %s"
 msgstr "Impussibil convertî di “%s” a “%s”: %s"
 
-#: gtef/gtef-encoding-converter.c:368
+#: tepl/tepl-encoding-converter.c:368
 msgid "The input data contains an invalid sequence."
 msgstr "I dâts in jentrade a contegnin une secuence no valide."
 
-#: gtef/gtef-encoding-converter.c:377
+#: tepl/tepl-encoding-converter.c:377
 #, c-format
 msgid "Error when converting data: %s"
 msgstr "Erôr tal convertî i dâts: %s"
 
-#: gtef/gtef-encoding-converter.c:556
+#: tepl/tepl-encoding-converter.c:556
 msgid "The input data ends with an incomplete multi-byte sequence."
 msgstr "I dâts in jentrade a finissin cuntune secuence di byte multiplis incomplete."
 
-#: gtef/gtef-encoding-converter.c:579
+#: tepl/tepl-encoding-converter.c:579
 msgid "The input content ends with incomplete data."
 msgstr "Il contignût de jentrade al finìs cun dâts incomplets."
 
-#: gtef/gtef-file.c:413
+#: tepl/tepl-file.c:413
 #, c-format
 msgid "Untitled File %d"
 msgstr "File cence titul %d"
 
-#: gtef/gtef-file-content-loader.c:334
+#: tepl/tepl-file-content-loader.c:334
 #, c-format
 msgid "The file is too big. Maximum %s can be loaded."
 msgstr "Il file al è masse grant. Si pues cjariâ al massim %s."
 
-#: gtef/gtef-file-loader.c:925
+#: tepl/tepl-file-loader.c:925
 msgid "It is not possible to detect the character encoding automatically."
 msgstr "Nol è pussibil individuâ la codifiche dal caratar in automatic."
 
-#: gtef/gtef-file-saver.c:784
+#: tepl/tepl-file-saver.c:784
 msgid "The file is externally modified."
 msgstr "Il file al è modificât di difûr di chi."
 
-#: gtef/gtef-file-saver.c:1318
+#: tepl/tepl-file-saver.c:1318
 msgid "The buffer contains invalid characters."
 msgstr "Il buffer al conten caratars no valits."
diff --git a/po/hu.po b/po/hu.po
index 85c3d27..ed05792 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -1,11 +1,11 @@
-# Hungarian translation for gtef.
+# Hungarian translation for tepl.
 # Copyright (C) 2017 Free Software Foundation, Inc.
-# This file is distributed under the same license as the gtef package.
+# This file is distributed under the same license as the tepl package.
 #
 # Balázs Úr <urbalazs gmail com>, 2017.
 msgid ""
 msgstr ""
-"Project-Id-Version: gtef master\n"
+"Project-Id-Version: tepl master\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2017-03-18 17:07+0000\n"
 "PO-Revision-Date: 2017-03-18 23:33+0100\n"
@@ -19,194 +19,194 @@ msgstr ""
 "X-Generator: Lokalize 1.2\n"
 
 #. Translators: %s is a filename.
-#: gtef/gtef-application-window.c:356
+#: tepl/tepl-application-window.c:356
 #, c-format
 msgid "Open “%s”"
 msgstr "„%s” megnyitása"
 
-#: gtef/gtef-application-window.c:575
+#: tepl/tepl-application-window.c:575
 msgid "Open _Recent"
 msgstr "_Legutóbbi megnyitása"
 
 #. Translators: %s is the application name.
-#: gtef/gtef-application-window.c:578
+#: tepl/tepl-application-window.c:578
 #, c-format
 msgid "Open a file recently used with %s"
 msgstr "A(z) %s alkalmazással legutóbb használt fájl megnyitása"
 
 #. UTF-8 first, so that it's the first encoding returned by
-#. * gtef_encoding_get_all().
+#. * tepl_encoding_get_all().
 #.
-#: gtef/gtef-encoding.c:115 gtef/gtef-encoding.c:132 gtef/gtef-encoding.c:133
-#: gtef/gtef-encoding.c:134 gtef/gtef-encoding.c:135 gtef/gtef-encoding.c:136
-#: gtef/gtef-encoding.c:137 gtef/gtef-encoding.c:138
+#: tepl/tepl-encoding.c:115 tepl/tepl-encoding.c:132 tepl/tepl-encoding.c:133
+#: tepl/tepl-encoding.c:134 tepl/tepl-encoding.c:135 tepl/tepl-encoding.c:136
+#: tepl/tepl-encoding.c:137 tepl/tepl-encoding.c:138
 msgid "Unicode"
 msgstr "Unicode"
 
 #. FIXME GEOSTD8 ?
-#: gtef/gtef-encoding.c:117 gtef/gtef-encoding.c:129 gtef/gtef-encoding.c:157
-#: gtef/gtef-encoding.c:180
+#: tepl/tepl-encoding.c:117 tepl/tepl-encoding.c:129 tepl/tepl-encoding.c:157
+#: tepl/tepl-encoding.c:180
 msgid "Western"
 msgstr "Nyugati"
 
-#: gtef/gtef-encoding.c:118 gtef/gtef-encoding.c:158 gtef/gtef-encoding.c:178
+#: tepl/tepl-encoding.c:118 tepl/tepl-encoding.c:158 tepl/tepl-encoding.c:178
 msgid "Central European"
 msgstr "Közép-európai"
 
-#: gtef/gtef-encoding.c:119
+#: tepl/tepl-encoding.c:119
 msgid "South European"
 msgstr "Dél-európai"
 
-#: gtef/gtef-encoding.c:120 gtef/gtef-encoding.c:127 gtef/gtef-encoding.c:185
+#: tepl/tepl-encoding.c:120 tepl/tepl-encoding.c:127 tepl/tepl-encoding.c:185
 msgid "Baltic"
 msgstr "Balti"
 
-#: gtef/gtef-encoding.c:121 gtef/gtef-encoding.c:159 gtef/gtef-encoding.c:166
-#: gtef/gtef-encoding.c:168 gtef/gtef-encoding.c:169 gtef/gtef-encoding.c:179
+#: tepl/tepl-encoding.c:121 tepl/tepl-encoding.c:159 tepl/tepl-encoding.c:166
+#: tepl/tepl-encoding.c:168 tepl/tepl-encoding.c:169 tepl/tepl-encoding.c:179
 msgid "Cyrillic"
 msgstr "Cirill"
 
-#: gtef/gtef-encoding.c:122 gtef/gtef-encoding.c:162 gtef/gtef-encoding.c:184
+#: tepl/tepl-encoding.c:122 tepl/tepl-encoding.c:162 tepl/tepl-encoding.c:184
 msgid "Arabic"
 msgstr "Arab"
 
-#: gtef/gtef-encoding.c:123 gtef/gtef-encoding.c:181
+#: tepl/tepl-encoding.c:123 tepl/tepl-encoding.c:181
 msgid "Greek"
 msgstr "Görög"
 
-#: gtef/gtef-encoding.c:124
+#: tepl/tepl-encoding.c:124
 msgid "Hebrew Visual"
 msgstr "Héber (képi)"
 
-#: gtef/gtef-encoding.c:125 gtef/gtef-encoding.c:160 gtef/gtef-encoding.c:182
+#: tepl/tepl-encoding.c:125 tepl/tepl-encoding.c:160 tepl/tepl-encoding.c:182
 msgid "Turkish"
 msgstr "Török"
 
-#: gtef/gtef-encoding.c:126
+#: tepl/tepl-encoding.c:126
 msgid "Nordic"
 msgstr "Északi"
 
-#: gtef/gtef-encoding.c:128
+#: tepl/tepl-encoding.c:128
 msgid "Celtic"
 msgstr "Kelta"
 
-#: gtef/gtef-encoding.c:130
+#: tepl/tepl-encoding.c:130
 msgid "Romanian"
 msgstr "Román"
 
-#: gtef/gtef-encoding.c:140
+#: tepl/tepl-encoding.c:140
 msgid "Armenian"
 msgstr "Örmény"
 
-#: gtef/gtef-encoding.c:141 gtef/gtef-encoding.c:142 gtef/gtef-encoding.c:150
+#: tepl/tepl-encoding.c:141 tepl/tepl-encoding.c:142 tepl/tepl-encoding.c:150
 msgid "Chinese Traditional"
 msgstr "Hagyományos kínai"
 
-#: gtef/gtef-encoding.c:143
+#: tepl/tepl-encoding.c:143
 msgid "Cyrillic/Russian"
 msgstr "Cirill/orosz"
 
-#: gtef/gtef-encoding.c:145 gtef/gtef-encoding.c:146 gtef/gtef-encoding.c:147
-#: gtef/gtef-encoding.c:164 gtef/gtef-encoding.c:172
+#: tepl/tepl-encoding.c:145 tepl/tepl-encoding.c:146 tepl/tepl-encoding.c:147
+#: tepl/tepl-encoding.c:164 tepl/tepl-encoding.c:172
 msgid "Japanese"
 msgstr "Japán"
 
-#: gtef/gtef-encoding.c:149 gtef/gtef-encoding.c:165 gtef/gtef-encoding.c:167
-#: gtef/gtef-encoding.c:175
+#: tepl/tepl-encoding.c:149 tepl/tepl-encoding.c:165 tepl/tepl-encoding.c:167
+#: tepl/tepl-encoding.c:175
 msgid "Korean"
 msgstr "Koreai"
 
-#: gtef/gtef-encoding.c:152 gtef/gtef-encoding.c:153 gtef/gtef-encoding.c:154
+#: tepl/tepl-encoding.c:152 tepl/tepl-encoding.c:153 tepl/tepl-encoding.c:154
 msgid "Chinese Simplified"
 msgstr "Egyszerűsített kínai"
 
-#: gtef/gtef-encoding.c:155
+#: tepl/tepl-encoding.c:155
 msgid "Georgian"
 msgstr "Grúz"
 
-#: gtef/gtef-encoding.c:161 gtef/gtef-encoding.c:183
+#: tepl/tepl-encoding.c:161 tepl/tepl-encoding.c:183
 msgid "Hebrew"
 msgstr "Héber"
 
-#: gtef/gtef-encoding.c:170
+#: tepl/tepl-encoding.c:170
 msgid "Cyrillic/Ukrainian"
 msgstr "Cirill/ukrán"
 
-#: gtef/gtef-encoding.c:173 gtef/gtef-encoding.c:176 gtef/gtef-encoding.c:186
+#: tepl/tepl-encoding.c:173 tepl/tepl-encoding.c:176 tepl/tepl-encoding.c:186
 msgid "Vietnamese"
 msgstr "Vietnami"
 
-#: gtef/gtef-encoding.c:174
+#: tepl/tepl-encoding.c:174
 msgid "Thai"
 msgstr "Thai"
 
-#: gtef/gtef-encoding.c:365
+#: tepl/tepl-encoding.c:365
 msgid "Unknown"
 msgstr "Ismeretlen"
 
-#. Translators: This is the sorted list of encodings used by Gtef for
+#. Translators: This is the sorted list of encodings used by Tepl 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 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 in your country will rarely
-#. * use it. 'CURRENT' is a magic value used by Gtef and it represents
+#. * use it. 'CURRENT' is a magic value used by Tepl and it represents
 #. * the encoding for the current locale, so please don't translate the
 #. * 'CURRENT' term. Keep the same format: square brackets, single quotes,
 #. * commas.
 #.
-#: gtef/gtef-encoding.c:640
+#: tepl/tepl-encoding.c:640
 msgid "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
 msgstr "['UTF-8', 'CURRENT', 'ISO-8859-2', 'WINDOWS-1250', 'IBM852', 'UTF-16']"
 
-#: gtef/gtef-encoding-converter.c:302
+#: tepl/tepl-encoding-converter.c:302
 #, c-format
 msgid "Conversion from character set “%s” to “%s” is not supported."
 msgstr "A(z) „%s” és „%s” karakterkészletek közötti átalakítás nem támogatott."
 
-#: gtef/gtef-encoding-converter.c:311
+#: tepl/tepl-encoding-converter.c:311
 #, c-format
 msgid "Could not open converter from “%s” to “%s”: %s"
 msgstr ""
 "A(z) „%s” karakterkészletről „%s” karakterkészletre átalakító nem nyitható "
 "meg: %s"
 
-#: gtef/gtef-encoding-converter.c:368
+#: tepl/tepl-encoding-converter.c:368
 msgid "The input data contains an invalid sequence."
 msgstr "A bemeneti adat érvénytelen sorozatot tartalmaz."
 
-#: gtef/gtef-encoding-converter.c:377
+#: tepl/tepl-encoding-converter.c:377
 #, c-format
 msgid "Error when converting data: %s"
 msgstr "Hiba az adatok átalakításakor: %s"
 
-#: gtef/gtef-encoding-converter.c:556
+#: tepl/tepl-encoding-converter.c:556
 msgid "The input data ends with an incomplete multi-byte sequence."
 msgstr "A bemeneti adat egy befejezetlen több-bájtos sorozattal végződik."
 
-#: gtef/gtef-encoding-converter.c:579
+#: tepl/tepl-encoding-converter.c:579
 msgid "The input content ends with incomplete data."
 msgstr "A bemeneti tartalom befejezetlen adattal végződik."
 
-#: gtef/gtef-file.c:413
+#: tepl/tepl-file.c:413
 #, c-format
 msgid "Untitled File %d"
 msgstr "%d. névtelen fájl"
 
-#: gtef/gtef-file-content-loader.c:334
+#: tepl/tepl-file-content-loader.c:334
 #, c-format
 msgid "The file is too big. Maximum %s can be loaded."
 msgstr "A fájl túl nagy. Legfeljebb %s lehet betöltve."
 
-#: gtef/gtef-file-loader.c:925
+#: tepl/tepl-file-loader.c:925
 msgid "It is not possible to detect the character encoding automatically."
 msgstr "Nem lehetséges a karakterkódolást automatikusan felismerni."
 
-#: gtef/gtef-file-saver.c:776
+#: tepl/tepl-file-saver.c:776
 msgid "The file is externally modified."
 msgstr "A fájlt külsőleg módosították."
 
-#: gtef/gtef-file-saver.c:1310
+#: tepl/tepl-file-saver.c:1310
 msgid "The buffer contains invalid characters."
 msgstr "A puffer érvénytelen karaktereket tartalmaz."
 
diff --git a/po/id.po b/po/id.po
index 3c8a4db..248d726 100644
--- a/po/id.po
+++ b/po/id.po
@@ -1,11 +1,11 @@
-# Indonesian translation for gtef.
-# Copyright (C) 2017 gtef's COPYRIGHT HOLDER
-# This file is distributed under the same license as the gtef package.
+# Indonesian translation for tepl.
+# Copyright (C) 2017 tepl's COPYRIGHT HOLDER
+# This file is distributed under the same license as the tepl package.
 # Andika Triwidada <atriwidada gnome org>, 2017.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: gtef master\n"
+"Project-Id-Version: tepl master\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2017-03-11 15:05+0000\n"
 "PO-Revision-Date: 2017-03-11 22:42+0700\n"
@@ -18,229 +18,229 @@ msgstr ""
 "X-Generator: Poedit 1.8.11\n"
 
 #. Translators: %s is a filename.
-#: gtef/gtef-application-window.c:356
+#: tepl/tepl-application-window.c:356
 #, c-format
 msgid "Open “%s”"
 msgstr "Membuka \"%s\""
 
-#: gtef/gtef-application-window.c:575
+#: tepl/tepl-application-window.c:575
 msgid "Open _Recent"
 msgstr "Buka Te_rkini"
 
 #. Translators: %s is the application name.
-#: gtef/gtef-application-window.c:578
+#: tepl/tepl-application-window.c:578
 #, c-format
 msgid "Open a file recently used with %s"
 msgstr "Membuka dokumen yang baru-baru ini dipakai dengan %s"
 
 #. UTF-8 first, so that it's the first encoding returned by
-#. * gtef_encoding_get_all().
+#. * tepl_encoding_get_all().
 #.
-#: gtef/gtef-encoding.c:115 gtef/gtef-encoding.c:132 gtef/gtef-encoding.c:133
-#: gtef/gtef-encoding.c:134 gtef/gtef-encoding.c:135 gtef/gtef-encoding.c:136
-#: gtef/gtef-encoding.c:137 gtef/gtef-encoding.c:138
+#: tepl/tepl-encoding.c:115 tepl/tepl-encoding.c:132 tepl/tepl-encoding.c:133
+#: tepl/tepl-encoding.c:134 tepl/tepl-encoding.c:135 tepl/tepl-encoding.c:136
+#: tepl/tepl-encoding.c:137 tepl/tepl-encoding.c:138
 msgid "Unicode"
 msgstr "Unikode"
 
 #. FIXME GEOSTD8 ?
-#: gtef/gtef-encoding.c:117 gtef/gtef-encoding.c:129 gtef/gtef-encoding.c:157
-#: gtef/gtef-encoding.c:180
+#: tepl/tepl-encoding.c:117 tepl/tepl-encoding.c:129 tepl/tepl-encoding.c:157
+#: tepl/tepl-encoding.c:180
 msgid "Western"
 msgstr "Barat"
 
-#: gtef/gtef-encoding.c:118 gtef/gtef-encoding.c:158 gtef/gtef-encoding.c:178
+#: tepl/tepl-encoding.c:118 tepl/tepl-encoding.c:158 tepl/tepl-encoding.c:178
 msgid "Central European"
 msgstr "Eropa Tengah"
 
-#: gtef/gtef-encoding.c:119
+#: tepl/tepl-encoding.c:119
 msgid "South European"
 msgstr "Eropa Selatan"
 
-#: gtef/gtef-encoding.c:120 gtef/gtef-encoding.c:127 gtef/gtef-encoding.c:185
+#: tepl/tepl-encoding.c:120 tepl/tepl-encoding.c:127 tepl/tepl-encoding.c:185
 msgid "Baltic"
 msgstr "Baltik"
 
-#: gtef/gtef-encoding.c:121 gtef/gtef-encoding.c:159 gtef/gtef-encoding.c:166
-#: gtef/gtef-encoding.c:168 gtef/gtef-encoding.c:169 gtef/gtef-encoding.c:179
+#: tepl/tepl-encoding.c:121 tepl/tepl-encoding.c:159 tepl/tepl-encoding.c:166
+#: tepl/tepl-encoding.c:168 tepl/tepl-encoding.c:169 tepl/tepl-encoding.c:179
 msgid "Cyrillic"
 msgstr "Sirilik"
 
-#: gtef/gtef-encoding.c:122 gtef/gtef-encoding.c:162 gtef/gtef-encoding.c:184
+#: tepl/tepl-encoding.c:122 tepl/tepl-encoding.c:162 tepl/tepl-encoding.c:184
 msgid "Arabic"
 msgstr "Arab"
 
-#: gtef/gtef-encoding.c:123 gtef/gtef-encoding.c:181
+#: tepl/tepl-encoding.c:123 tepl/tepl-encoding.c:181
 msgid "Greek"
 msgstr "Yunani"
 
-#: gtef/gtef-encoding.c:124
+#: tepl/tepl-encoding.c:124
 msgid "Hebrew Visual"
 msgstr "Ibrani Visual"
 
-#: gtef/gtef-encoding.c:125 gtef/gtef-encoding.c:160 gtef/gtef-encoding.c:182
+#: tepl/tepl-encoding.c:125 tepl/tepl-encoding.c:160 tepl/tepl-encoding.c:182
 msgid "Turkish"
 msgstr "Turki"
 
-#: gtef/gtef-encoding.c:126
+#: tepl/tepl-encoding.c:126
 msgid "Nordic"
 msgstr "Nordik"
 
-#: gtef/gtef-encoding.c:128
+#: tepl/tepl-encoding.c:128
 msgid "Celtic"
 msgstr "Seltik"
 
-#: gtef/gtef-encoding.c:130
+#: tepl/tepl-encoding.c:130
 msgid "Romanian"
 msgstr "Rumania"
 
-#: gtef/gtef-encoding.c:140
+#: tepl/tepl-encoding.c:140
 msgid "Armenian"
 msgstr "Armenia"
 
-#: gtef/gtef-encoding.c:141 gtef/gtef-encoding.c:142 gtef/gtef-encoding.c:150
+#: tepl/tepl-encoding.c:141 tepl/tepl-encoding.c:142 tepl/tepl-encoding.c:150
 msgid "Chinese Traditional"
 msgstr "Cina Tradisional"
 
-#: gtef/gtef-encoding.c:143
+#: tepl/tepl-encoding.c:143
 msgid "Cyrillic/Russian"
 msgstr "Sirilik/Rusia"
 
-#: gtef/gtef-encoding.c:145 gtef/gtef-encoding.c:146 gtef/gtef-encoding.c:147
-#: gtef/gtef-encoding.c:164 gtef/gtef-encoding.c:172
+#: tepl/tepl-encoding.c:145 tepl/tepl-encoding.c:146 tepl/tepl-encoding.c:147
+#: tepl/tepl-encoding.c:164 tepl/tepl-encoding.c:172
 msgid "Japanese"
 msgstr "Jepang"
 
-#: gtef/gtef-encoding.c:149 gtef/gtef-encoding.c:165 gtef/gtef-encoding.c:167
-#: gtef/gtef-encoding.c:175
+#: tepl/tepl-encoding.c:149 tepl/tepl-encoding.c:165 tepl/tepl-encoding.c:167
+#: tepl/tepl-encoding.c:175
 msgid "Korean"
 msgstr "Korea"
 
-#: gtef/gtef-encoding.c:152 gtef/gtef-encoding.c:153 gtef/gtef-encoding.c:154
+#: tepl/tepl-encoding.c:152 tepl/tepl-encoding.c:153 tepl/tepl-encoding.c:154
 msgid "Chinese Simplified"
 msgstr "Cina Sederhana"
 
-#: gtef/gtef-encoding.c:155
+#: tepl/tepl-encoding.c:155
 msgid "Georgian"
 msgstr "Georgia"
 
-#: gtef/gtef-encoding.c:161 gtef/gtef-encoding.c:183
+#: tepl/tepl-encoding.c:161 tepl/tepl-encoding.c:183
 msgid "Hebrew"
 msgstr "Ibrani"
 
-#: gtef/gtef-encoding.c:170
+#: tepl/tepl-encoding.c:170
 msgid "Cyrillic/Ukrainian"
 msgstr "Sirilik/Ukraina"
 
-#: gtef/gtef-encoding.c:173 gtef/gtef-encoding.c:176 gtef/gtef-encoding.c:186
+#: tepl/tepl-encoding.c:173 tepl/tepl-encoding.c:176 tepl/tepl-encoding.c:186
 msgid "Vietnamese"
 msgstr "Vietnam"
 
-#: gtef/gtef-encoding.c:174
+#: tepl/tepl-encoding.c:174
 msgid "Thai"
 msgstr "Thai"
 
-#: gtef/gtef-encoding.c:365
+#: tepl/tepl-encoding.c:365
 msgid "Unknown"
 msgstr "Tidak Dikenal"
 
-#. Translators: This is the sorted list of encodings used by Gtef for
+#. Translators: This is the sorted list of encodings used by Tepl 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 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 in your country will rarely
-#. * use it. 'CURRENT' is a magic value used by Gtef and it represents
+#. * use it. 'CURRENT' is a magic value used by Tepl and it represents
 #. * the encoding for the current locale, so please don't translate the
 #. * 'CURRENT' term. Keep the same format: square brackets, single quotes,
 #. * commas.
 #.
-#: gtef/gtef-encoding.c:640
+#: tepl/tepl-encoding.c:640
 msgid "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
 msgstr "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
 
-#: gtef/gtef-encoding-converter.c:302
+#: tepl/tepl-encoding-converter.c:302
 #, c-format
 msgid "Conversion from character set “%s” to “%s” is not supported."
 msgstr "Konversi dari gugus karakter \"%s\" ke \"%s\" tak didukung."
 
-#: gtef/gtef-encoding-converter.c:311
+#: tepl/tepl-encoding-converter.c:311
 #, c-format
 msgid "Could not open converter from “%s” to “%s”: %s"
 msgstr "Tidak dapat membuka pengubah dari \"%s\" menjadi \"%s\": %s"
 
-#: gtef/gtef-encoding-converter.c:368
+#: tepl/tepl-encoding-converter.c:368
 msgid "The input data contains an invalid sequence."
 msgstr "Data masukan memuat suatu urutan yang tidak valid."
 
-#: gtef/gtef-encoding-converter.c:377
+#: tepl/tepl-encoding-converter.c:377
 #, c-format
 msgid "Error when converting data: %s"
 msgstr "Galat saat mengonversi data: %s"
 
-#: gtef/gtef-encoding-converter.c:556
+#: tepl/tepl-encoding-converter.c:556
 msgid "The input data ends with an incomplete multi-byte sequence."
 msgstr "Data masukan diakhiri dengan urutan multi-byte yang tidak lengkap."
 
-#: gtef/gtef-encoding-converter.c:579
+#: tepl/tepl-encoding-converter.c:579
 msgid "The input content ends with incomplete data."
 msgstr "Isi masukan berakhir dengan data yang tidak lengkap."
 
-#: gtef/gtef-file.c:413
+#: tepl/tepl-file.c:413
 #, c-format
 msgid "Untitled File %d"
 msgstr "Berkas Tanpa Nama %d"
 
-#: gtef/gtef-file-content-loader.c:334
+#: tepl/tepl-file-content-loader.c:334
 #, c-format
 msgid "The file is too big. Maximum %s can be loaded."
 msgstr "Berkas telalu besar. Maksimum %s dapat dimuat."
 
-#: gtef/gtef-file-loader.c:925
+#: tepl/tepl-file-loader.c:925
 msgid "It is not possible to detect the character encoding automatically."
 msgstr "Tak mungkin mendeteksi pengkodean karakter secara otomatis."
 
-#: gtef/gtef-file-saver.c:776
+#: tepl/tepl-file-saver.c:776
 msgid "The file is externally modified."
 msgstr "Berkas telah diubah secara eksternal."
 
-#: gtef/gtef-file-saver.c:1310
+#: tepl/tepl-file-saver.c:1310
 msgid "The buffer contains invalid characters."
 msgstr "Penyangga mengandung karakter tak valid."
 
-#: gtef/gtef-io-error-info-bar.c:74
+#: tepl/tepl-io-error-info-bar.c:74
 #, c-format
 msgid "Could not find the file “%s”."
 msgstr "Tak bisa temukan berkas \"%s\"."
 
-#: gtef/gtef-io-error-info-bar.c:77 gtef/gtef-io-error-info-bar.c:104
-#: gtef/gtef-io-error-info-bar.c:111
+#: tepl/tepl-io-error-info-bar.c:77 tepl/tepl-io-error-info-bar.c:104
+#: tepl/tepl-io-error-info-bar.c:111
 msgid "Please check that you typed the location correctly and try again."
 msgstr "Silakan periksa apakah lokasi yang Anda ketikkan benar dan coba lagi."
 
 #. Translators: %s is a URI scheme (like for example
 #. * http:, ftp:, etc.).
 #.
-#: gtef/gtef-io-error-info-bar.c:90
+#: tepl/tepl-io-error-info-bar.c:90
 #, c-format
 msgid "Unable to handle “%s:” locations."
 msgstr "Tak bisa menangani lokasi \"%s:\"."
 
-#: gtef/gtef-io-error-info-bar.c:98
+#: tepl/tepl-io-error-info-bar.c:98
 msgid "The location of the file cannot be accessed."
 msgstr "Lokasi berkas tak dapat diakses."
 
-#: gtef/gtef-io-error-info-bar.c:102
+#: tepl/tepl-io-error-info-bar.c:102
 #, c-format
 msgid "“%s” is a directory."
 msgstr "\"%s\" adalah direktori."
 
-#: gtef/gtef-io-error-info-bar.c:109
+#: tepl/tepl-io-error-info-bar.c:109
 #, c-format
 msgid "“%s” is not a valid location."
 msgstr "\"%s\" bukan lokasi yang sah."
 
 #. Translators: %s is a hostname.
-#: gtef/gtef-io-error-info-bar.c:141
+#: tepl/tepl-io-error-info-bar.c:141
 #, c-format
 msgid ""
 "Host “%s” could not be found. Please check that your proxy settings are "
@@ -250,41 +250,41 @@ msgstr ""
 "Anda sudah benar dan coba lagi."
 
 #. Use the same string as INVALID_HOST.
-#: gtef/gtef-io-error-info-bar.c:150
+#: tepl/tepl-io-error-info-bar.c:150
 msgid ""
 "Hostname was invalid. Please check that you typed the location correctly and "
 "try again."
 msgstr ""
 "Nama host tidak valid. Silakan periksa lokasi yg Anda tik dan coba lagi."
 
-#: gtef/gtef-io-error-info-bar.c:159
+#: tepl/tepl-io-error-info-bar.c:159
 #, c-format
 msgid "“%s” is not a regular file."
 msgstr "\"%s\" bukan berkas reguler."
 
-#: gtef/gtef-io-error-info-bar.c:164
+#: tepl/tepl-io-error-info-bar.c:164
 msgid "Connection timed out. Please try again."
 msgstr "Koneksi melewati waktu tunggu. Silakan coba lagi."
 
-#: gtef/gtef-io-error-info-bar.c:168
+#: tepl/tepl-io-error-info-bar.c:168
 #, c-format
 msgid "Unexpected error: %s"
 msgstr "Kesalahan yang tidak diduga: %s"
 
-#: gtef/gtef-io-error-info-bar.c:179 gtef/gtef-io-error-info-bar.c:212
-#: gtef/gtef-progress-info-bar.c:53
+#: tepl/tepl-io-error-info-bar.c:179 tepl/tepl-io-error-info-bar.c:212
+#: tepl/tepl-progress-info-bar.c:53
 msgid "_Cancel"
 msgstr "Ba_tal"
 
-#: gtef/gtef-io-error-info-bar.c:185 gtef/gtef-io-error-info-bar.c:195
+#: tepl/tepl-io-error-info-bar.c:185 tepl/tepl-io-error-info-bar.c:195
 msgid "_Retry"
 msgstr "_Ulangi"
 
-#: gtef/gtef-io-error-info-bar.c:201
+#: tepl/tepl-io-error-info-bar.c:201
 msgid "Edit Any_way"
 msgstr "Sunt_ing Saja"
 
-#: gtef/gtef-io-error-info-bar.c:270
+#: tepl/tepl-io-error-info-bar.c:270
 msgid ""
 "The number of followed links is limited and the actual file could not be "
 "found within this limit."
@@ -292,11 +292,11 @@ msgstr ""
 "Cacah taut yang diikuti terbatas dan berkas sesungguhnya tak ditemukan dalam "
 "batas ini."
 
-#: gtef/gtef-io-error-info-bar.c:275
+#: tepl/tepl-io-error-info-bar.c:275
 msgid "You do not have the permissions necessary to open the file."
 msgstr "Anda tidak memiliki izin yang diperlukan untuk membuka berkas."
 
-#: gtef/gtef-io-error-info-bar.c:285
+#: tepl/tepl-io-error-info-bar.c:285
 msgid ""
 "Unable to detect the character encoding.\n"
 "Please check that you are not trying to open a binary file.\n"
@@ -306,12 +306,12 @@ msgstr ""
 "Harap periksa bahwa Anda tidak mencoba membuka suatu berkas biner.\n"
 "Pilih suatu pengkodean karakter dari menu dan cobalah lagi."
 
-#: gtef/gtef-io-error-info-bar.c:294
+#: tepl/tepl-io-error-info-bar.c:294
 #, c-format
 msgid "There was a problem opening the file “%s”."
 msgstr "Ada masalah ketika membuka berkas \"%s\"."
 
-#: gtef/gtef-io-error-info-bar.c:296
+#: tepl/tepl-io-error-info-bar.c:296
 msgid ""
 "The file you opened has some invalid characters. If you continue editing "
 "this file you could corrupt it.\n"
@@ -321,13 +321,13 @@ msgstr ""
 "melanjutkan menyunting berkas ini Anda bisa merusaknya.\n"
 "Anda juga dapat memilih pengkodean karakter yang lain dan mencoba lagi."
 
-#: gtef/gtef-io-error-info-bar.c:312
+#: tepl/tepl-io-error-info-bar.c:312
 #, c-format
 msgid "Could not open the file “%s” using the “%s” character encoding."
 msgstr ""
 "Tak dapat membuka berkas \"%s\" menggunakan pengkodean karakter \"%s\"."
 
-#: gtef/gtef-io-error-info-bar.c:316
+#: tepl/tepl-io-error-info-bar.c:316
 msgid ""
 "Please check that you are not trying to open a binary file.\n"
 "Select a different character encoding from the menu and try again."
@@ -335,7 +335,7 @@ msgstr ""
 "Harap periksa bahwa Anda tidak mencoba membuka suatu berkas biner.\n"
 "Pilih suatu pengkodean karakter lain dari menu dan cobalah lagi."
 
-#: gtef/gtef-io-error-info-bar.c:329
+#: tepl/tepl-io-error-info-bar.c:329
 #, c-format
 msgid "Could not open the file “%s”."
 msgstr "Tidak bisa membuka berkas \"%s\"."
diff --git a/po/pl.po b/po/pl.po
index c8c8aff..38a2259 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -1,12 +1,12 @@
-# Polish translation for gtef.
-# Copyright © 2017 the gtef authors.
-# This file is distributed under the same license as the gtef package.
+# Polish translation for tepl.
+# Copyright © 2017 the tepl authors.
+# This file is distributed under the same license as the tepl package.
 # Piotr Drąg <piotrdrag gmail com>, 2017.
 # Aviary.pl <community-poland mozilla org>, 2017.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: gtef\n"
+"Project-Id-Version: tepl\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2017-03-10 16:14+0000\n"
 "PO-Revision-Date: 2017-03-10 17:38+0100\n"
@@ -20,202 +20,202 @@ msgstr ""
 "|| n%100>=20) ? 1 : 2);\n"
 
 #. Translators: %s is a filename.
-#: gtef/gtef-application-window.c:356
+#: tepl/tepl-application-window.c:356
 #, c-format
 msgid "Open “%s”"
 msgstr "Otwórz „%s”"
 
-#: gtef/gtef-application-window.c:575
+#: tepl/tepl-application-window.c:575
 msgid "Open _Recent"
 msgstr "Ostatnio używane doku_menty"
 
 #. Translators: %s is the application name.
-#: gtef/gtef-application-window.c:578
+#: tepl/tepl-application-window.c:578
 #, c-format
 msgid "Open a file recently used with %s"
 msgstr "Otwarcie pliku ostatnio używanego w programie %s"
 
 #. UTF-8 first, so that it's the first encoding returned by
-#. * gtef_encoding_get_all().
+#. * tepl_encoding_get_all().
 #.
-#: gtef/gtef-encoding.c:115 gtef/gtef-encoding.c:132 gtef/gtef-encoding.c:133
-#: gtef/gtef-encoding.c:134 gtef/gtef-encoding.c:135 gtef/gtef-encoding.c:136
-#: gtef/gtef-encoding.c:137 gtef/gtef-encoding.c:138
+#: tepl/tepl-encoding.c:115 tepl/tepl-encoding.c:132 tepl/tepl-encoding.c:133
+#: tepl/tepl-encoding.c:134 tepl/tepl-encoding.c:135 tepl/tepl-encoding.c:136
+#: tepl/tepl-encoding.c:137 tepl/tepl-encoding.c:138
 msgid "Unicode"
 msgstr "unikod"
 
 #. FIXME GEOSTD8 ?
-#: gtef/gtef-encoding.c:117 gtef/gtef-encoding.c:129 gtef/gtef-encoding.c:157
-#: gtef/gtef-encoding.c:180
+#: tepl/tepl-encoding.c:117 tepl/tepl-encoding.c:129 tepl/tepl-encoding.c:157
+#: tepl/tepl-encoding.c:180
 msgid "Western"
 msgstr "zachodnie"
 
-#: gtef/gtef-encoding.c:118 gtef/gtef-encoding.c:158 gtef/gtef-encoding.c:178
+#: tepl/tepl-encoding.c:118 tepl/tepl-encoding.c:158 tepl/tepl-encoding.c:178
 msgid "Central European"
 msgstr "środkowoeuropejskie"
 
-#: gtef/gtef-encoding.c:119
+#: tepl/tepl-encoding.c:119
 msgid "South European"
 msgstr "południowoeuropejskie"
 
-#: gtef/gtef-encoding.c:120 gtef/gtef-encoding.c:127 gtef/gtef-encoding.c:185
+#: tepl/tepl-encoding.c:120 tepl/tepl-encoding.c:127 tepl/tepl-encoding.c:185
 msgid "Baltic"
 msgstr "bałtyckie"
 
-#: gtef/gtef-encoding.c:121 gtef/gtef-encoding.c:159 gtef/gtef-encoding.c:166
-#: gtef/gtef-encoding.c:168 gtef/gtef-encoding.c:169 gtef/gtef-encoding.c:179
+#: tepl/tepl-encoding.c:121 tepl/tepl-encoding.c:159 tepl/tepl-encoding.c:166
+#: tepl/tepl-encoding.c:168 tepl/tepl-encoding.c:169 tepl/tepl-encoding.c:179
 msgid "Cyrillic"
 msgstr "cyrylica"
 
-#: gtef/gtef-encoding.c:122 gtef/gtef-encoding.c:162 gtef/gtef-encoding.c:184
+#: tepl/tepl-encoding.c:122 tepl/tepl-encoding.c:162 tepl/tepl-encoding.c:184
 msgid "Arabic"
 msgstr "arabskie"
 
-#: gtef/gtef-encoding.c:123 gtef/gtef-encoding.c:181
+#: tepl/tepl-encoding.c:123 tepl/tepl-encoding.c:181
 msgid "Greek"
 msgstr "greckie"
 
-#: gtef/gtef-encoding.c:124
+#: tepl/tepl-encoding.c:124
 msgid "Hebrew Visual"
 msgstr "hebrajskie (wizualne)"
 
-#: gtef/gtef-encoding.c:125 gtef/gtef-encoding.c:160 gtef/gtef-encoding.c:182
+#: tepl/tepl-encoding.c:125 tepl/tepl-encoding.c:160 tepl/tepl-encoding.c:182
 msgid "Turkish"
 msgstr "tureckie"
 
-#: gtef/gtef-encoding.c:126
+#: tepl/tepl-encoding.c:126
 msgid "Nordic"
 msgstr "skandynawskie"
 
-#: gtef/gtef-encoding.c:128
+#: tepl/tepl-encoding.c:128
 msgid "Celtic"
 msgstr "celtyckie"
 
-#: gtef/gtef-encoding.c:130
+#: tepl/tepl-encoding.c:130
 msgid "Romanian"
 msgstr "rumuńskie"
 
-#: gtef/gtef-encoding.c:140
+#: tepl/tepl-encoding.c:140
 msgid "Armenian"
 msgstr "ormiańskie"
 
-#: gtef/gtef-encoding.c:141 gtef/gtef-encoding.c:142 gtef/gtef-encoding.c:150
+#: tepl/tepl-encoding.c:141 tepl/tepl-encoding.c:142 tepl/tepl-encoding.c:150
 msgid "Chinese Traditional"
 msgstr "chińskie (tradycyjne)"
 
-#: gtef/gtef-encoding.c:143
+#: tepl/tepl-encoding.c:143
 msgid "Cyrillic/Russian"
 msgstr "cyrylica/rosyjskie"
 
-#: gtef/gtef-encoding.c:145 gtef/gtef-encoding.c:146 gtef/gtef-encoding.c:147
-#: gtef/gtef-encoding.c:164 gtef/gtef-encoding.c:172
+#: tepl/tepl-encoding.c:145 tepl/tepl-encoding.c:146 tepl/tepl-encoding.c:147
+#: tepl/tepl-encoding.c:164 tepl/tepl-encoding.c:172
 msgid "Japanese"
 msgstr "japońskie"
 
-#: gtef/gtef-encoding.c:149 gtef/gtef-encoding.c:165 gtef/gtef-encoding.c:167
-#: gtef/gtef-encoding.c:175
+#: tepl/tepl-encoding.c:149 tepl/tepl-encoding.c:165 tepl/tepl-encoding.c:167
+#: tepl/tepl-encoding.c:175
 msgid "Korean"
 msgstr "koreańskie"
 
-#: gtef/gtef-encoding.c:152 gtef/gtef-encoding.c:153 gtef/gtef-encoding.c:154
+#: tepl/tepl-encoding.c:152 tepl/tepl-encoding.c:153 tepl/tepl-encoding.c:154
 msgid "Chinese Simplified"
 msgstr "chińskie (uproszczone)"
 
-#: gtef/gtef-encoding.c:155
+#: tepl/tepl-encoding.c:155
 msgid "Georgian"
 msgstr "gruzińskie"
 
-#: gtef/gtef-encoding.c:161 gtef/gtef-encoding.c:183
+#: tepl/tepl-encoding.c:161 tepl/tepl-encoding.c:183
 msgid "Hebrew"
 msgstr "hebrajskie"
 
-#: gtef/gtef-encoding.c:170
+#: tepl/tepl-encoding.c:170
 msgid "Cyrillic/Ukrainian"
 msgstr "cyrylica/ukraińskie"
 
-#: gtef/gtef-encoding.c:173 gtef/gtef-encoding.c:176 gtef/gtef-encoding.c:186
+#: tepl/tepl-encoding.c:173 tepl/tepl-encoding.c:176 tepl/tepl-encoding.c:186
 msgid "Vietnamese"
 msgstr "wietnamskie"
 
-#: gtef/gtef-encoding.c:174
+#: tepl/tepl-encoding.c:174
 msgid "Thai"
 msgstr "tajskie"
 
-#: gtef/gtef-encoding.c:365
+#: tepl/tepl-encoding.c:365
 msgid "Unknown"
 msgstr "nieznane"
 
-#. Translators: This is the sorted list of encodings used by Gtef for
+#. Translators: This is the sorted list of encodings used by Tepl 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 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 in your country will rarely
-#. * use it. 'CURRENT' is a magic value used by Gtef and it represents
+#. * use it. 'CURRENT' is a magic value used by Tepl and it represents
 #. * the encoding for the current locale, so please don't translate the
 #. * 'CURRENT' term. Keep the same format: square brackets, single quotes,
 #. * commas.
 #.
-#: gtef/gtef-encoding.c:640
+#: tepl/tepl-encoding.c:640
 msgid "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
 msgstr "['UTF-8', 'CURRENT', 'ISO-8859-2', 'WINDOWS-1250', 'UTF-16']"
 
-#: gtef/gtef-encoding-converter.c:302
+#: tepl/tepl-encoding-converter.c:302
 #, c-format
 msgid "Conversion from character set “%s” to “%s” is not supported."
 msgstr "Konwersja z zestawu znaków „%s” do „%s” jest nieobsługiwana."
 
-#: gtef/gtef-encoding-converter.c:311
+#: tepl/tepl-encoding-converter.c:311
 #, c-format
 msgid "Could not open converter from “%s” to “%s”: %s"
 msgstr "Nie można otworzyć konwertera z „%s” do „%s”: %s"
 
-#: gtef/gtef-encoding-converter.c:368
+#: tepl/tepl-encoding-converter.c:368
 msgid "The input data contains an invalid sequence."
 msgstr "Dane wejściowe zawierają nieprawidłową sekwencję."
 
-#: gtef/gtef-encoding-converter.c:377
+#: tepl/tepl-encoding-converter.c:377
 #, c-format
 msgid "Error when converting data: %s"
 msgstr "Błąd podczas konwersji danych: %s"
 
-#: gtef/gtef-encoding-converter.c:556
+#: tepl/tepl-encoding-converter.c:556
 msgid "The input data ends with an incomplete multi-byte sequence."
 msgstr "Dane wejściowe kończą się niepełną sekwencją wielobajtową."
 
-#: gtef/gtef-encoding-converter.c:579
+#: tepl/tepl-encoding-converter.c:579
 msgid "The input content ends with incomplete data."
 msgstr "Treść wejściowa kończą się niepełnymi danymi."
 
-#: gtef/gtef-file.c:413
+#: tepl/tepl-file.c:413
 #, c-format
 msgid "Untitled File %d"
 msgstr "Plik bez tytułu %d"
 
-#: gtef/gtef-file-content-loader.c:334
+#: tepl/tepl-file-content-loader.c:334
 #, c-format
 msgid "The file is too big. Maximum %s can be loaded."
 msgstr "Plik jest za duży. Maksymalnie można wczytać %s."
 
-#: gtef/gtef-file-loader.c:925
+#: tepl/tepl-file-loader.c:925
 msgid "It is not possible to detect the character encoding automatically."
 msgstr "Nie można automatycznie wykryć kodowania znaków."
 
-#: gtef/gtef-file-saver.c:776
+#: tepl/tepl-file-saver.c:776
 msgid "The file is externally modified."
 msgstr "Plik został zmodyfikowany poza programem."
 
-#: gtef/gtef-file-saver.c:1310
+#: tepl/tepl-file-saver.c:1310
 msgid "The buffer contains invalid characters."
 msgstr "Bufor zawiera nieprawidłowe znaki."
 
-#: gtef/gtef-io-error-info-bar.c:74
+#: tepl/tepl-io-error-info-bar.c:74
 #, c-format
 msgid "Could not find the file “%s”."
 msgstr "Nie można odnaleźć pliku „%s”."
 
-#: gtef/gtef-io-error-info-bar.c:77 gtef/gtef-io-error-info-bar.c:104
-#: gtef/gtef-io-error-info-bar.c:111
+#: tepl/tepl-io-error-info-bar.c:77 tepl/tepl-io-error-info-bar.c:104
+#: tepl/tepl-io-error-info-bar.c:111
 msgid "Please check that you typed the location correctly and try again."
 msgstr ""
 "Proszę sprawdzić, czy wprowadzone zostało poprawne położenie i spróbować "
@@ -224,27 +224,27 @@ msgstr ""
 #. Translators: %s is a URI scheme (like for example
 #. * http:, ftp:, etc.).
 #.
-#: gtef/gtef-io-error-info-bar.c:90
+#: tepl/tepl-io-error-info-bar.c:90
 #, c-format
 msgid "Unable to handle “%s:” locations."
 msgstr "Nie można obsłużyć położeń „%s:”."
 
-#: gtef/gtef-io-error-info-bar.c:98
+#: tepl/tepl-io-error-info-bar.c:98
 msgid "The location of the file cannot be accessed."
 msgstr "Nie można uzyskać dostępu do położenia pliku."
 
-#: gtef/gtef-io-error-info-bar.c:102
+#: tepl/tepl-io-error-info-bar.c:102
 #, c-format
 msgid "“%s” is a directory."
 msgstr "„%s” jest katalogiem."
 
-#: gtef/gtef-io-error-info-bar.c:109
+#: tepl/tepl-io-error-info-bar.c:109
 #, c-format
 msgid "“%s” is not a valid location."
 msgstr "„%s” nie jest prawidłowym położeniem."
 
 #. Translators: %s is a hostname.
-#: gtef/gtef-io-error-info-bar.c:141
+#: tepl/tepl-io-error-info-bar.c:141
 #, c-format
 msgid ""
 "Host “%s” could not be found. Please check that your proxy settings are "
@@ -254,7 +254,7 @@ msgstr ""
 "pośrednika i spróbować ponownie."
 
 #. Use the same string as INVALID_HOST.
-#: gtef/gtef-io-error-info-bar.c:150
+#: tepl/tepl-io-error-info-bar.c:150
 msgid ""
 "Hostname was invalid. Please check that you typed the location correctly and "
 "try again."
@@ -262,34 +262,34 @@ msgstr ""
 "Nazwa komputera jest nieprawidłowa. Proszę sprawdzić, czy wprowadzone "
 "położenie jest poprawne i spróbować ponownie."
 
-#: gtef/gtef-io-error-info-bar.c:159
+#: tepl/tepl-io-error-info-bar.c:159
 #, c-format
 msgid "“%s” is not a regular file."
 msgstr "„%s” nie jest zwykłym plikiem."
 
-#: gtef/gtef-io-error-info-bar.c:164
+#: tepl/tepl-io-error-info-bar.c:164
 msgid "Connection timed out. Please try again."
 msgstr "Przekroczono czas połączenia. Proszę spróbować ponownie."
 
-#: gtef/gtef-io-error-info-bar.c:168
+#: tepl/tepl-io-error-info-bar.c:168
 #, c-format
 msgid "Unexpected error: %s"
 msgstr "Nieoczekiwany błąd: %s"
 
-#: gtef/gtef-io-error-info-bar.c:179 gtef/gtef-io-error-info-bar.c:212
-#: gtef/gtef-progress-info-bar.c:53
+#: tepl/tepl-io-error-info-bar.c:179 tepl/tepl-io-error-info-bar.c:212
+#: tepl/tepl-progress-info-bar.c:53
 msgid "_Cancel"
 msgstr "_Anuluj"
 
-#: gtef/gtef-io-error-info-bar.c:185 gtef/gtef-io-error-info-bar.c:195
+#: tepl/tepl-io-error-info-bar.c:185 tepl/tepl-io-error-info-bar.c:195
 msgid "_Retry"
 msgstr "P_onów"
 
-#: gtef/gtef-io-error-info-bar.c:201
+#: tepl/tepl-io-error-info-bar.c:201
 msgid "Edit Any_way"
 msgstr "_Modyfikuj mimo to"
 
-#: gtef/gtef-io-error-info-bar.c:270
+#: tepl/tepl-io-error-info-bar.c:270
 msgid ""
 "The number of followed links is limited and the actual file could not be "
 "found within this limit."
@@ -297,11 +297,11 @@ msgstr ""
 "Liczba dowiązań do podążenia jest ograniczona. Plik nie został odnaleziony "
 "w zakresie tego ograniczenia."
 
-#: gtef/gtef-io-error-info-bar.c:275
+#: tepl/tepl-io-error-info-bar.c:275
 msgid "You do not have the permissions necessary to open the file."
 msgstr "Brak odpowiednich uprawnień do otwarcia tego pliku."
 
-#: gtef/gtef-io-error-info-bar.c:285
+#: tepl/tepl-io-error-info-bar.c:285
 msgid ""
 "Unable to detect the character encoding.\n"
 "Please check that you are not trying to open a binary file.\n"
@@ -311,12 +311,12 @@ msgstr ""
 "Proszę sprawdzić, czy otwierany plik nie jest binarny.\n"
 "Można także wybrać kodowanie znaków w menu i spróbować ponownie."
 
-#: gtef/gtef-io-error-info-bar.c:294
+#: tepl/tepl-io-error-info-bar.c:294
 #, c-format
 msgid "There was a problem opening the file “%s”."
 msgstr "Wystąpił problem podczas otwierania pliku „%s”."
 
-#: gtef/gtef-io-error-info-bar.c:296
+#: tepl/tepl-io-error-info-bar.c:296
 msgid ""
 "The file you opened has some invalid characters. If you continue editing "
 "this file you could corrupt it.\n"
@@ -326,12 +326,12 @@ msgstr ""
 "zostanie kontynuowane, może on zostać uszkodzony.\n"
 "Można także wybrać inne kodowanie znaków i spróbować ponownie."
 
-#: gtef/gtef-io-error-info-bar.c:312
+#: tepl/tepl-io-error-info-bar.c:312
 #, c-format
 msgid "Could not open the file “%s” using the “%s” character encoding."
 msgstr "Nie można otworzyć pliku „%s” za pomocą kodowania znaków „%s”."
 
-#: gtef/gtef-io-error-info-bar.c:316
+#: tepl/tepl-io-error-info-bar.c:316
 msgid ""
 "Please check that you are not trying to open a binary file.\n"
 "Select a different character encoding from the menu and try again."
@@ -339,7 +339,7 @@ msgstr ""
 "Proszę sprawdzić, czy otwierany plik nie jest binarny.\n"
 "Można także wybrać inne kodowanie znaków w menu i spróbować ponownie."
 
-#: gtef/gtef-io-error-info-bar.c:329
+#: tepl/tepl-io-error-info-bar.c:329
 #, c-format
 msgid "Could not open the file “%s”."
 msgstr "Nie można otworzyć pliku „%s”."
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 652c44b..c198972 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -1,10 +1,10 @@
-# Brazilian Portuguese translation for gtef.
-# Copyright (C) 2017 gtef's COPYRIGHT HOLDER
-# This file is distributed under the same license as the gtef package.
+# Brazilian Portuguese translation for tepl.
+# Copyright (C) 2017 tepl's COPYRIGHT HOLDER
+# This file is distributed under the same license as the tepl package.
 # Rafael Fontenelle <rafaelff gnome org>, 2017.
 msgid ""
 msgstr ""
-"Project-Id-Version: gtef master\n"
+"Project-Id-Version: tepl master\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2017-03-10 19:19+0000\n"
 "PO-Revision-Date: 2017-03-10 18:36-0200\n"
@@ -18,202 +18,202 @@ msgstr ""
 "X-Generator: Virtaal 1.0.0-beta1\n"
 
 #. Translators: %s is a filename.
-#: gtef/gtef-application-window.c:356
+#: tepl/tepl-application-window.c:356
 #, c-format
 msgid "Open “%s”"
 msgstr "Abrir “%s”"
 
-#: gtef/gtef-application-window.c:575
+#: tepl/tepl-application-window.c:575
 msgid "Open _Recent"
 msgstr "Abrir _recente"
 
 #. Translators: %s is the application name.
-#: gtef/gtef-application-window.c:578
+#: tepl/tepl-application-window.c:578
 #, c-format
 msgid "Open a file recently used with %s"
 msgstr "Abre um arquivo recentemente usado com %s"
 
 #. UTF-8 first, so that it's the first encoding returned by
-#. * gtef_encoding_get_all().
+#. * tepl_encoding_get_all().
 #.
-#: gtef/gtef-encoding.c:115 gtef/gtef-encoding.c:132 gtef/gtef-encoding.c:133
-#: gtef/gtef-encoding.c:134 gtef/gtef-encoding.c:135 gtef/gtef-encoding.c:136
-#: gtef/gtef-encoding.c:137 gtef/gtef-encoding.c:138
+#: tepl/tepl-encoding.c:115 tepl/tepl-encoding.c:132 tepl/tepl-encoding.c:133
+#: tepl/tepl-encoding.c:134 tepl/tepl-encoding.c:135 tepl/tepl-encoding.c:136
+#: tepl/tepl-encoding.c:137 tepl/tepl-encoding.c:138
 msgid "Unicode"
 msgstr "Unicode"
 
 #. FIXME GEOSTD8 ?
-#: gtef/gtef-encoding.c:117 gtef/gtef-encoding.c:129 gtef/gtef-encoding.c:157
-#: gtef/gtef-encoding.c:180
+#: tepl/tepl-encoding.c:117 tepl/tepl-encoding.c:129 tepl/tepl-encoding.c:157
+#: tepl/tepl-encoding.c:180
 msgid "Western"
 msgstr "Ocidental"
 
-#: gtef/gtef-encoding.c:118 gtef/gtef-encoding.c:158 gtef/gtef-encoding.c:178
+#: tepl/tepl-encoding.c:118 tepl/tepl-encoding.c:158 tepl/tepl-encoding.c:178
 msgid "Central European"
 msgstr "Europeu central"
 
-#: gtef/gtef-encoding.c:119
+#: tepl/tepl-encoding.c:119
 msgid "South European"
 msgstr "Europeu meridional"
 
-#: gtef/gtef-encoding.c:120 gtef/gtef-encoding.c:127 gtef/gtef-encoding.c:185
+#: tepl/tepl-encoding.c:120 tepl/tepl-encoding.c:127 tepl/tepl-encoding.c:185
 msgid "Baltic"
 msgstr "Báltico"
 
-#: gtef/gtef-encoding.c:121 gtef/gtef-encoding.c:159 gtef/gtef-encoding.c:166
-#: gtef/gtef-encoding.c:168 gtef/gtef-encoding.c:169 gtef/gtef-encoding.c:179
+#: tepl/tepl-encoding.c:121 tepl/tepl-encoding.c:159 tepl/tepl-encoding.c:166
+#: tepl/tepl-encoding.c:168 tepl/tepl-encoding.c:169 tepl/tepl-encoding.c:179
 msgid "Cyrillic"
 msgstr "Cirílico"
 
-#: gtef/gtef-encoding.c:122 gtef/gtef-encoding.c:162 gtef/gtef-encoding.c:184
+#: tepl/tepl-encoding.c:122 tepl/tepl-encoding.c:162 tepl/tepl-encoding.c:184
 msgid "Arabic"
 msgstr "Arábico"
 
-#: gtef/gtef-encoding.c:123 gtef/gtef-encoding.c:181
+#: tepl/tepl-encoding.c:123 tepl/tepl-encoding.c:181
 msgid "Greek"
 msgstr "Grego"
 
-#: gtef/gtef-encoding.c:124
+#: tepl/tepl-encoding.c:124
 msgid "Hebrew Visual"
 msgstr "Hebraico visual"
 
-#: gtef/gtef-encoding.c:125 gtef/gtef-encoding.c:160 gtef/gtef-encoding.c:182
+#: tepl/tepl-encoding.c:125 tepl/tepl-encoding.c:160 tepl/tepl-encoding.c:182
 msgid "Turkish"
 msgstr "Turco"
 
-#: gtef/gtef-encoding.c:126
+#: tepl/tepl-encoding.c:126
 msgid "Nordic"
 msgstr "Nórdico"
 
-#: gtef/gtef-encoding.c:128
+#: tepl/tepl-encoding.c:128
 msgid "Celtic"
 msgstr "Celta"
 
-#: gtef/gtef-encoding.c:130
+#: tepl/tepl-encoding.c:130
 msgid "Romanian"
 msgstr "Romeno"
 
-#: gtef/gtef-encoding.c:140
+#: tepl/tepl-encoding.c:140
 msgid "Armenian"
 msgstr "Armênio"
 
-#: gtef/gtef-encoding.c:141 gtef/gtef-encoding.c:142 gtef/gtef-encoding.c:150
+#: tepl/tepl-encoding.c:141 tepl/tepl-encoding.c:142 tepl/tepl-encoding.c:150
 msgid "Chinese Traditional"
 msgstr "Chinês Tradicional"
 
-#: gtef/gtef-encoding.c:143
+#: tepl/tepl-encoding.c:143
 msgid "Cyrillic/Russian"
 msgstr "Cirílico/Russo"
 
-#: gtef/gtef-encoding.c:145 gtef/gtef-encoding.c:146 gtef/gtef-encoding.c:147
-#: gtef/gtef-encoding.c:164 gtef/gtef-encoding.c:172
+#: tepl/tepl-encoding.c:145 tepl/tepl-encoding.c:146 tepl/tepl-encoding.c:147
+#: tepl/tepl-encoding.c:164 tepl/tepl-encoding.c:172
 msgid "Japanese"
 msgstr "Japonês"
 
-#: gtef/gtef-encoding.c:149 gtef/gtef-encoding.c:165 gtef/gtef-encoding.c:167
-#: gtef/gtef-encoding.c:175
+#: tepl/tepl-encoding.c:149 tepl/tepl-encoding.c:165 tepl/tepl-encoding.c:167
+#: tepl/tepl-encoding.c:175
 msgid "Korean"
 msgstr "Coreano"
 
-#: gtef/gtef-encoding.c:152 gtef/gtef-encoding.c:153 gtef/gtef-encoding.c:154
+#: tepl/tepl-encoding.c:152 tepl/tepl-encoding.c:153 tepl/tepl-encoding.c:154
 msgid "Chinese Simplified"
 msgstr "Chinês simplificado"
 
-#: gtef/gtef-encoding.c:155
+#: tepl/tepl-encoding.c:155
 msgid "Georgian"
 msgstr "Georgiano"
 
-#: gtef/gtef-encoding.c:161 gtef/gtef-encoding.c:183
+#: tepl/tepl-encoding.c:161 tepl/tepl-encoding.c:183
 msgid "Hebrew"
 msgstr "Hebraico"
 
-#: gtef/gtef-encoding.c:170
+#: tepl/tepl-encoding.c:170
 msgid "Cyrillic/Ukrainian"
 msgstr "Cirílico/Ucraniano"
 
-#: gtef/gtef-encoding.c:173 gtef/gtef-encoding.c:176 gtef/gtef-encoding.c:186
+#: tepl/tepl-encoding.c:173 tepl/tepl-encoding.c:176 tepl/tepl-encoding.c:186
 msgid "Vietnamese"
 msgstr "Vietnamita"
 
-#: gtef/gtef-encoding.c:174
+#: tepl/tepl-encoding.c:174
 msgid "Thai"
 msgstr "Tailandês"
 
-#: gtef/gtef-encoding.c:365
+#: tepl/tepl-encoding.c:365
 msgid "Unknown"
 msgstr "Desconhecido"
 
-#. Translators: This is the sorted list of encodings used by Gtef for
+#. Translators: This is the sorted list of encodings used by Tepl 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 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 in your country will rarely
-#. * use it. 'CURRENT' is a magic value used by Gtef and it represents
+#. * use it. 'CURRENT' is a magic value used by Tepl and it represents
 #. * the encoding for the current locale, so please don't translate the
 #. * 'CURRENT' term. Keep the same format: square brackets, single quotes,
 #. * commas.
 #.
-#: gtef/gtef-encoding.c:640
+#: tepl/tepl-encoding.c:640
 msgid "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
 msgstr "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
 
-#: gtef/gtef-encoding-converter.c:302
+#: tepl/tepl-encoding-converter.c:302
 #, c-format
 msgid "Conversion from character set “%s” to “%s” is not supported."
 msgstr "Não há suporte a conversão de conjunto de caracteres “%s” para “%s”."
 
-#: gtef/gtef-encoding-converter.c:311
+#: tepl/tepl-encoding-converter.c:311
 #, c-format
 msgid "Could not open converter from “%s” to “%s”: %s"
 msgstr "Não foi possível abrir o conversor de “%s” para “%s”: %s"
 
-#: gtef/gtef-encoding-converter.c:368
+#: tepl/tepl-encoding-converter.c:368
 msgid "The input data contains an invalid sequence."
 msgstr "Os dados de entrada contêm uma sequência inválida."
 
-#: gtef/gtef-encoding-converter.c:377
+#: tepl/tepl-encoding-converter.c:377
 #, c-format
 msgid "Error when converting data: %s"
 msgstr "Erro ao converter dados: %s"
 
-#: gtef/gtef-encoding-converter.c:556
+#: tepl/tepl-encoding-converter.c:556
 msgid "The input data ends with an incomplete multi-byte sequence."
 msgstr "Os dados de entrada terminam com uma sequência multibyte incompleta."
 
-#: gtef/gtef-encoding-converter.c:579
+#: tepl/tepl-encoding-converter.c:579
 msgid "The input content ends with incomplete data."
 msgstr "O conteúdo de entrada termina com dados incompletos."
 
-#: gtef/gtef-file.c:413
+#: tepl/tepl-file.c:413
 #, c-format
 msgid "Untitled File %d"
 msgstr "Arquivo sem título %d"
 
-#: gtef/gtef-file-content-loader.c:334
+#: tepl/tepl-file-content-loader.c:334
 #, c-format
 msgid "The file is too big. Maximum %s can be loaded."
 msgstr "O arquivo é grande demais. No máximo %s pode ser carregado."
 
-#: gtef/gtef-file-loader.c:925
+#: tepl/tepl-file-loader.c:925
 msgid "It is not possible to detect the character encoding automatically."
 msgstr "Não foi possível detectar a codificação de caracteres automaticamente."
 
-#: gtef/gtef-file-saver.c:776
+#: tepl/tepl-file-saver.c:776
 msgid "The file is externally modified."
 msgstr "O arquivo foi modificado externamente."
 
-#: gtef/gtef-file-saver.c:1310
+#: tepl/tepl-file-saver.c:1310
 msgid "The buffer contains invalid characters."
 msgstr "O buffer contém caracteres inválidos."
 
-#: gtef/gtef-io-error-info-bar.c:74
+#: tepl/tepl-io-error-info-bar.c:74
 #, c-format
 msgid "Could not find the file “%s”."
 msgstr "Não foi possível localizar o arquivo “%s”."
 
-#: gtef/gtef-io-error-info-bar.c:77 gtef/gtef-io-error-info-bar.c:104
-#: gtef/gtef-io-error-info-bar.c:111
+#: tepl/tepl-io-error-info-bar.c:77 tepl/tepl-io-error-info-bar.c:104
+#: tepl/tepl-io-error-info-bar.c:111
 msgid "Please check that you typed the location correctly and try again."
 msgstr ""
 "Por favor, verifique se você digitou a localização correta e tente novamente."
@@ -221,27 +221,27 @@ msgstr ""
 #. Translators: %s is a URI scheme (like for example
 #. * http:, ftp:, etc.).
 #.
-#: gtef/gtef-io-error-info-bar.c:90
+#: tepl/tepl-io-error-info-bar.c:90
 #, c-format
 msgid "Unable to handle “%s:” locations."
 msgstr "Não é possível tratar de localizações “%s:”."
 
-#: gtef/gtef-io-error-info-bar.c:98
+#: tepl/tepl-io-error-info-bar.c:98
 msgid "The location of the file cannot be accessed."
 msgstr "A localização do arquivo não pode ser acessada."
 
-#: gtef/gtef-io-error-info-bar.c:102
+#: tepl/tepl-io-error-info-bar.c:102
 #, c-format
 msgid "“%s” is a directory."
 msgstr "“%s” é um diretório."
 
-#: gtef/gtef-io-error-info-bar.c:109
+#: tepl/tepl-io-error-info-bar.c:109
 #, c-format
 msgid "“%s” is not a valid location."
 msgstr "“%s” não é uma localização válida."
 
 #. Translators: %s is a hostname.
-#: gtef/gtef-io-error-info-bar.c:141
+#: tepl/tepl-io-error-info-bar.c:141
 #, c-format
 msgid ""
 "Host “%s” could not be found. Please check that your proxy settings are "
@@ -251,7 +251,7 @@ msgstr ""
 "de proxy e tente novamente."
 
 #. Use the same string as INVALID_HOST.
-#: gtef/gtef-io-error-info-bar.c:150
+#: tepl/tepl-io-error-info-bar.c:150
 msgid ""
 "Hostname was invalid. Please check that you typed the location correctly and "
 "try again."
@@ -259,34 +259,34 @@ msgstr ""
 "Nome de máquina inválido. Por favor, verifique se você digitou a localização "
 "corretamente e tente novamente."
 
-#: gtef/gtef-io-error-info-bar.c:159
+#: tepl/tepl-io-error-info-bar.c:159
 #, c-format
 msgid "“%s” is not a regular file."
 msgstr "“%s” não é uma arquivo comum."
 
-#: gtef/gtef-io-error-info-bar.c:164
+#: tepl/tepl-io-error-info-bar.c:164
 msgid "Connection timed out. Please try again."
 msgstr "Tempo expirada. Por favor, tente novamente."
 
-#: gtef/gtef-io-error-info-bar.c:168
+#: tepl/tepl-io-error-info-bar.c:168
 #, c-format
 msgid "Unexpected error: %s"
 msgstr "Erro inesperado: %s"
 
-#: gtef/gtef-io-error-info-bar.c:179 gtef/gtef-io-error-info-bar.c:212
-#: gtef/gtef-progress-info-bar.c:53
+#: tepl/tepl-io-error-info-bar.c:179 tepl/tepl-io-error-info-bar.c:212
+#: tepl/tepl-progress-info-bar.c:53
 msgid "_Cancel"
 msgstr "_Cancelar"
 
-#: gtef/gtef-io-error-info-bar.c:185 gtef/gtef-io-error-info-bar.c:195
+#: tepl/tepl-io-error-info-bar.c:185 tepl/tepl-io-error-info-bar.c:195
 msgid "_Retry"
 msgstr "_Tentar novamente"
 
-#: gtef/gtef-io-error-info-bar.c:201
+#: tepl/tepl-io-error-info-bar.c:201
 msgid "Edit Any_way"
 msgstr "_Editar assim mesmo"
 
-#: gtef/gtef-io-error-info-bar.c:270
+#: tepl/tepl-io-error-info-bar.c:270
 msgid ""
 "The number of followed links is limited and the actual file could not be "
 "found within this limit."
@@ -294,11 +294,11 @@ msgstr ""
 "O número de links seguidos é limitado e o arquivo não pôde ser localizado "
 "dentro deste limite."
 
-#: gtef/gtef-io-error-info-bar.c:275
+#: tepl/tepl-io-error-info-bar.c:275
 msgid "You do not have the permissions necessary to open the file."
 msgstr "Você não possui as permissões necessárias para abrir o arquivo."
 
-#: gtef/gtef-io-error-info-bar.c:285
+#: tepl/tepl-io-error-info-bar.c:285
 msgid ""
 "Unable to detect the character encoding.\n"
 "Please check that you are not trying to open a binary file.\n"
@@ -309,12 +309,12 @@ msgstr ""
 "binário.\n"
 "Selecione uma codificação de caracteres do menu e tente novamente."
 
-#: gtef/gtef-io-error-info-bar.c:294
+#: tepl/tepl-io-error-info-bar.c:294
 #, c-format
 msgid "There was a problem opening the file “%s”."
 msgstr "Houve um problema ao abrir o arquivo “%s”."
 
-#: gtef/gtef-io-error-info-bar.c:296
+#: tepl/tepl-io-error-info-bar.c:296
 msgid ""
 "The file you opened has some invalid characters. If you continue editing "
 "this file you could corrupt it.\n"
@@ -325,14 +325,14 @@ msgstr ""
 "Você também pode escolher uma outra codificação de caracteres e tentar "
 "novamente."
 
-#: gtef/gtef-io-error-info-bar.c:312
+#: tepl/tepl-io-error-info-bar.c:312
 #, c-format
 msgid "Could not open the file “%s” using the “%s” character encoding."
 msgstr ""
 "Não foi possível abrir o arquivo “%s” usando a codificação de caracteres "
 "“%s”."
 
-#: gtef/gtef-io-error-info-bar.c:316
+#: tepl/tepl-io-error-info-bar.c:316
 msgid ""
 "Please check that you are not trying to open a binary file.\n"
 "Select a different character encoding from the menu and try again."
@@ -341,7 +341,7 @@ msgstr ""
 "binário.\n"
 "Selecione uma codificação de caracteres diferente do menu e tente novamente."
 
-#: gtef/gtef-io-error-info-bar.c:329
+#: tepl/tepl-io-error-info-bar.c:329
 #, c-format
 msgid "Could not open the file “%s”."
 msgstr "Não foi possível abrir o arquivo “%s”."
diff --git a/po/ru.po b/po/ru.po
index 4f8ea71..ca67759 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -1,11 +1,11 @@
-# Russian translation for gtef.
-# Copyright (C) 2017 gtef's COPYRIGHT HOLDER
-# This file is distributed under the same license as the gtef package.
+# Russian translation for tepl.
+# Copyright (C) 2017 tepl's COPYRIGHT HOLDER
+# This file is distributed under the same license as the tepl package.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: gtef master\n"
+"Project-Id-Version: tepl master\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2017-03-19 11:57+0000\n"
 "PO-Revision-Date: 2017-03-25 22:57+0500\n"
@@ -19,191 +19,191 @@ msgstr ""
 "X-Generator: Poedit 1.8.11\n"
 
 #. Translators: %s is a filename.
-#: gtef/gtef-application-window.c:356
+#: tepl/tepl-application-window.c:356
 #, c-format
 msgid "Open “%s”"
 msgstr "Открыть «%s»"
 
-#: gtef/gtef-application-window.c:575
+#: tepl/tepl-application-window.c:575
 msgid "Open _Recent"
 msgstr "Открыть _недавние"
 
 #. Translators: %s is the application name.
-#: gtef/gtef-application-window.c:578
+#: tepl/tepl-application-window.c:578
 #, c-format
 msgid "Open a file recently used with %s"
 msgstr "Открыть файл, который недавно использовался с «%s»"
 
 #. UTF-8 first, so that it's the first encoding returned by
-#. * gtef_encoding_get_all().
+#. * tepl_encoding_get_all().
 #.
-#: gtef/gtef-encoding.c:115 gtef/gtef-encoding.c:132 gtef/gtef-encoding.c:133
-#: gtef/gtef-encoding.c:134 gtef/gtef-encoding.c:135 gtef/gtef-encoding.c:136
-#: gtef/gtef-encoding.c:137 gtef/gtef-encoding.c:138
+#: tepl/tepl-encoding.c:115 tepl/tepl-encoding.c:132 tepl/tepl-encoding.c:133
+#: tepl/tepl-encoding.c:134 tepl/tepl-encoding.c:135 tepl/tepl-encoding.c:136
+#: tepl/tepl-encoding.c:137 tepl/tepl-encoding.c:138
 msgid "Unicode"
 msgstr "Юникод"
 
 #. FIXME GEOSTD8 ?
-#: gtef/gtef-encoding.c:117 gtef/gtef-encoding.c:129 gtef/gtef-encoding.c:157
-#: gtef/gtef-encoding.c:180
+#: tepl/tepl-encoding.c:117 tepl/tepl-encoding.c:129 tepl/tepl-encoding.c:157
+#: tepl/tepl-encoding.c:180
 msgid "Western"
 msgstr "Западная"
 
-#: gtef/gtef-encoding.c:118 gtef/gtef-encoding.c:158 gtef/gtef-encoding.c:178
+#: tepl/tepl-encoding.c:118 tepl/tepl-encoding.c:158 tepl/tepl-encoding.c:178
 msgid "Central European"
 msgstr "Центральноевропейская"
 
-#: gtef/gtef-encoding.c:119
+#: tepl/tepl-encoding.c:119
 msgid "South European"
 msgstr "Южноевропейская"
 
-#: gtef/gtef-encoding.c:120 gtef/gtef-encoding.c:127 gtef/gtef-encoding.c:185
+#: tepl/tepl-encoding.c:120 tepl/tepl-encoding.c:127 tepl/tepl-encoding.c:185
 msgid "Baltic"
 msgstr "Балтийская"
 
-#: gtef/gtef-encoding.c:121 gtef/gtef-encoding.c:159 gtef/gtef-encoding.c:166
-#: gtef/gtef-encoding.c:168 gtef/gtef-encoding.c:169 gtef/gtef-encoding.c:179
+#: tepl/tepl-encoding.c:121 tepl/tepl-encoding.c:159 tepl/tepl-encoding.c:166
+#: tepl/tepl-encoding.c:168 tepl/tepl-encoding.c:169 tepl/tepl-encoding.c:179
 msgid "Cyrillic"
 msgstr "Кириллица"
 
-#: gtef/gtef-encoding.c:122 gtef/gtef-encoding.c:162 gtef/gtef-encoding.c:184
+#: tepl/tepl-encoding.c:122 tepl/tepl-encoding.c:162 tepl/tepl-encoding.c:184
 msgid "Arabic"
 msgstr "Арабская"
 
-#: gtef/gtef-encoding.c:123 gtef/gtef-encoding.c:181
+#: tepl/tepl-encoding.c:123 tepl/tepl-encoding.c:181
 msgid "Greek"
 msgstr "Греческая"
 
-#: gtef/gtef-encoding.c:124
+#: tepl/tepl-encoding.c:124
 msgid "Hebrew Visual"
 msgstr "Еврейская отображаемая"
 
-#: gtef/gtef-encoding.c:125 gtef/gtef-encoding.c:160 gtef/gtef-encoding.c:182
+#: tepl/tepl-encoding.c:125 tepl/tepl-encoding.c:160 tepl/tepl-encoding.c:182
 msgid "Turkish"
 msgstr "Турецкая"
 
-#: gtef/gtef-encoding.c:126
+#: tepl/tepl-encoding.c:126
 msgid "Nordic"
 msgstr "Северная"
 
-#: gtef/gtef-encoding.c:128
+#: tepl/tepl-encoding.c:128
 msgid "Celtic"
 msgstr "Кельтская"
 
-#: gtef/gtef-encoding.c:130
+#: tepl/tepl-encoding.c:130
 msgid "Romanian"
 msgstr "Римская"
 
-#: gtef/gtef-encoding.c:140
+#: tepl/tepl-encoding.c:140
 msgid "Armenian"
 msgstr "Армянская"
 
-#: gtef/gtef-encoding.c:141 gtef/gtef-encoding.c:142 gtef/gtef-encoding.c:150
+#: tepl/tepl-encoding.c:141 tepl/tepl-encoding.c:142 tepl/tepl-encoding.c:150
 msgid "Chinese Traditional"
 msgstr "Китайская традиционная"
 
-#: gtef/gtef-encoding.c:143
+#: tepl/tepl-encoding.c:143
 msgid "Cyrillic/Russian"
 msgstr "Кириллица (российская)"
 
-#: gtef/gtef-encoding.c:145 gtef/gtef-encoding.c:146 gtef/gtef-encoding.c:147
-#: gtef/gtef-encoding.c:164 gtef/gtef-encoding.c:172
+#: tepl/tepl-encoding.c:145 tepl/tepl-encoding.c:146 tepl/tepl-encoding.c:147
+#: tepl/tepl-encoding.c:164 tepl/tepl-encoding.c:172
 msgid "Japanese"
 msgstr "Японская"
 
-#: gtef/gtef-encoding.c:149 gtef/gtef-encoding.c:165 gtef/gtef-encoding.c:167
-#: gtef/gtef-encoding.c:175
+#: tepl/tepl-encoding.c:149 tepl/tepl-encoding.c:165 tepl/tepl-encoding.c:167
+#: tepl/tepl-encoding.c:175
 msgid "Korean"
 msgstr "Корейская"
 
-#: gtef/gtef-encoding.c:152 gtef/gtef-encoding.c:153 gtef/gtef-encoding.c:154
+#: tepl/tepl-encoding.c:152 tepl/tepl-encoding.c:153 tepl/tepl-encoding.c:154
 msgid "Chinese Simplified"
 msgstr "Китайская упрощённая"
 
-#: gtef/gtef-encoding.c:155
+#: tepl/tepl-encoding.c:155
 msgid "Georgian"
 msgstr "Грузинская"
 
-#: gtef/gtef-encoding.c:161 gtef/gtef-encoding.c:183
+#: tepl/tepl-encoding.c:161 tepl/tepl-encoding.c:183
 msgid "Hebrew"
 msgstr "Еврейская"
 
-#: gtef/gtef-encoding.c:170
+#: tepl/tepl-encoding.c:170
 msgid "Cyrillic/Ukrainian"
 msgstr "Кириллица (украинская)"
 
-#: gtef/gtef-encoding.c:173 gtef/gtef-encoding.c:176 gtef/gtef-encoding.c:186
+#: tepl/tepl-encoding.c:173 tepl/tepl-encoding.c:176 tepl/tepl-encoding.c:186
 msgid "Vietnamese"
 msgstr "Вьетнамская"
 
-#: gtef/gtef-encoding.c:174
+#: tepl/tepl-encoding.c:174
 msgid "Thai"
 msgstr "Тайская"
 
-#: gtef/gtef-encoding.c:365
+#: tepl/tepl-encoding.c:365
 msgid "Unknown"
 msgstr "Неизвестная"
 
-#. Translators: This is the sorted list of encodings used by Gtef for
+#. Translators: This is the sorted list of encodings used by Tepl 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 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 in your country will rarely
-#. * use it. 'CURRENT' is a magic value used by Gtef and it represents
+#. * use it. 'CURRENT' is a magic value used by Tepl and it represents
 #. * the encoding for the current locale, so please don't translate the
 #. * 'CURRENT' term. Keep the same format: square brackets, single quotes,
 #. * commas.
 #.
-#: gtef/gtef-encoding.c:640
+#: tepl/tepl-encoding.c:640
 msgid "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
 msgstr "['UTF-8', 'CURRENT', 'ISO-8859-5', 'UTF-16', ' KOI8-R']"
 
-#: gtef/gtef-encoding-converter.c:302
+#: tepl/tepl-encoding-converter.c:302
 #, c-format
 msgid "Conversion from character set “%s” to “%s” is not supported."
 msgstr "Преобразование из набора символов «%s» в «%s» не поддерживается."
 
-#: gtef/gtef-encoding-converter.c:311
+#: tepl/tepl-encoding-converter.c:311
 #, c-format
 msgid "Could not open converter from “%s” to “%s”: %s"
 msgstr "Не удалось открыть конвертер из «%s» в «%s»: «%s»"
 
-#: gtef/gtef-encoding-converter.c:368
+#: tepl/tepl-encoding-converter.c:368
 msgid "The input data contains an invalid sequence."
 msgstr "Входные данные содержат недопустимую последовательность."
 
-#: gtef/gtef-encoding-converter.c:377
+#: tepl/tepl-encoding-converter.c:377
 #, c-format
 msgid "Error when converting data: %s"
 msgstr "Ошибка при конвертировании данных: «%s»"
 
-#: gtef/gtef-encoding-converter.c:556
+#: tepl/tepl-encoding-converter.c:556
 msgid "The input data ends with an incomplete multi-byte sequence."
 msgstr "Входные данные заканчиваются незавершенной многобайтовой последовательностью."
 
-#: gtef/gtef-encoding-converter.c:579
+#: tepl/tepl-encoding-converter.c:579
 msgid "The input content ends with incomplete data."
 msgstr "Содержимое ввода заканчивается незавершенными данными."
 
-#: gtef/gtef-file.c:413
+#: tepl/tepl-file.c:413
 #, c-format
 msgid "Untitled File %d"
 msgstr "Безымянный файл %d"
 
-#: gtef/gtef-file-content-loader.c:334
+#: tepl/tepl-file-content-loader.c:334
 #, c-format
 msgid "The file is too big. Maximum %s can be loaded."
 msgstr "Файл слишком большой. Максимальный размер загрузки «%s»."
 
-#: gtef/gtef-file-loader.c:925
+#: tepl/tepl-file-loader.c:925
 msgid "It is not possible to detect the character encoding automatically."
 msgstr "Не удалось автоматически определить кодировку."
 
-#: gtef/gtef-file-saver.c:784
+#: tepl/tepl-file-saver.c:784
 msgid "The file is externally modified."
 msgstr "Файл был модифицирован внешней программой."
 
-#: gtef/gtef-file-saver.c:1318
+#: tepl/tepl-file-saver.c:1318
 msgid "The buffer contains invalid characters."
 msgstr "Буфер содержит недопустимые символы."
diff --git a/po/sl.po b/po/sl.po
index 88dc580..e5902f9 100644
--- a/po/sl.po
+++ b/po/sl.po
@@ -1,14 +1,14 @@
-# Slovenian translation for gtef.
-# Copyright (C) 2017 gtef's COPYRIGHT HOLDER
-# This file is distributed under the same license as the gtef package.
+# Slovenian translation for tepl.
+# Copyright (C) 2017 tepl's COPYRIGHT HOLDER
+# This file is distributed under the same license as the tepl package.
 #
 # Matej Urbančič <mateju svn gnome org>, 2017.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: gtef master\n"
+"Project-Id-Version: tepl master\n"
 "Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?";
-"product=gtef&keywords=I18N+L10N&component=general\n"
+"product=tepl&keywords=I18N+L10N&component=general\n"
 "POT-Creation-Date: 2017-05-07 16:45+0000\n"
 "PO-Revision-Date: 2017-05-09 17:32+0200\n"
 "Last-Translator: Matej Urbančič <mateju svn gnome org>\n"
@@ -24,194 +24,194 @@ msgstr ""
 "X-Generator: Poedit 2.0.1\n"
 
 #. Translators: %s is a filename.
-#: gtef/gtef-application-window.c:356
+#: tepl/tepl-application-window.c:356
 #, fuzzy, c-format
 msgid "Open “%s”"
 msgstr "Odpri %s"
 
-#: gtef/gtef-application-window.c:575
+#: tepl/tepl-application-window.c:575
 msgid "Open _Recent"
 msgstr "Odpri _nedavno"
 
 #. Translators: %s is the application name.
-#: gtef/gtef-application-window.c:578
+#: tepl/tepl-application-window.c:578
 #, fuzzy, c-format
 msgid "Open a file recently used with %s"
 msgstr "Nobenih nedavno uporabljenih virov ni najdenih z URI '%s'"
 
 #. UTF-8 first, so that it's the first encoding returned by
-#. * gtef_encoding_get_all().
+#. * tepl_encoding_get_all().
 #.
-#: gtef/gtef-encoding.c:115 gtef/gtef-encoding.c:132 gtef/gtef-encoding.c:133
-#: gtef/gtef-encoding.c:134 gtef/gtef-encoding.c:135 gtef/gtef-encoding.c:136
-#: gtef/gtef-encoding.c:137 gtef/gtef-encoding.c:138
+#: tepl/tepl-encoding.c:115 tepl/tepl-encoding.c:132 tepl/tepl-encoding.c:133
+#: tepl/tepl-encoding.c:134 tepl/tepl-encoding.c:135 tepl/tepl-encoding.c:136
+#: tepl/tepl-encoding.c:137 tepl/tepl-encoding.c:138
 msgid "Unicode"
 msgstr "Unicode"
 
 #. FIXME GEOSTD8 ?
-#: gtef/gtef-encoding.c:117 gtef/gtef-encoding.c:129 gtef/gtef-encoding.c:157
-#: gtef/gtef-encoding.c:180
+#: tepl/tepl-encoding.c:117 tepl/tepl-encoding.c:129 tepl/tepl-encoding.c:157
+#: tepl/tepl-encoding.c:180
 msgid "Western"
 msgstr "Zahodnjaški"
 
-#: gtef/gtef-encoding.c:118 gtef/gtef-encoding.c:158 gtef/gtef-encoding.c:178
+#: tepl/tepl-encoding.c:118 tepl/tepl-encoding.c:158 tepl/tepl-encoding.c:178
 msgid "Central European"
 msgstr "Srednjeevropski"
 
-#: gtef/gtef-encoding.c:119
+#: tepl/tepl-encoding.c:119
 msgid "South European"
 msgstr "Južnoevropski"
 
-#: gtef/gtef-encoding.c:120 gtef/gtef-encoding.c:127 gtef/gtef-encoding.c:185
+#: tepl/tepl-encoding.c:120 tepl/tepl-encoding.c:127 tepl/tepl-encoding.c:185
 msgid "Baltic"
 msgstr "Baltski"
 
-#: gtef/gtef-encoding.c:121 gtef/gtef-encoding.c:159 gtef/gtef-encoding.c:166
-#: gtef/gtef-encoding.c:168 gtef/gtef-encoding.c:169 gtef/gtef-encoding.c:179
+#: tepl/tepl-encoding.c:121 tepl/tepl-encoding.c:159 tepl/tepl-encoding.c:166
+#: tepl/tepl-encoding.c:168 tepl/tepl-encoding.c:169 tepl/tepl-encoding.c:179
 msgid "Cyrillic"
 msgstr "Cirilično"
 
-#: gtef/gtef-encoding.c:122 gtef/gtef-encoding.c:162 gtef/gtef-encoding.c:184
+#: tepl/tepl-encoding.c:122 tepl/tepl-encoding.c:162 tepl/tepl-encoding.c:184
 msgid "Arabic"
 msgstr "Arabski"
 
-#: gtef/gtef-encoding.c:123 gtef/gtef-encoding.c:181
+#: tepl/tepl-encoding.c:123 tepl/tepl-encoding.c:181
 msgid "Greek"
 msgstr "Grški"
 
-#: gtef/gtef-encoding.c:124
+#: tepl/tepl-encoding.c:124
 msgid "Hebrew Visual"
 msgstr "Hebrejski predočeni"
 
-#: gtef/gtef-encoding.c:125 gtef/gtef-encoding.c:160 gtef/gtef-encoding.c:182
+#: tepl/tepl-encoding.c:125 tepl/tepl-encoding.c:160 tepl/tepl-encoding.c:182
 msgid "Turkish"
 msgstr "Turški"
 
-#: gtef/gtef-encoding.c:126
+#: tepl/tepl-encoding.c:126
 msgid "Nordic"
 msgstr "Nordijski"
 
-#: gtef/gtef-encoding.c:128
+#: tepl/tepl-encoding.c:128
 msgid "Celtic"
 msgstr "Keltski"
 
-#: gtef/gtef-encoding.c:130
+#: tepl/tepl-encoding.c:130
 msgid "Romanian"
 msgstr "Romunski"
 
-#: gtef/gtef-encoding.c:140
+#: tepl/tepl-encoding.c:140
 msgid "Armenian"
 msgstr "Armenski"
 
-#: gtef/gtef-encoding.c:141 gtef/gtef-encoding.c:142 gtef/gtef-encoding.c:150
+#: tepl/tepl-encoding.c:141 tepl/tepl-encoding.c:142 tepl/tepl-encoding.c:150
 msgid "Chinese Traditional"
 msgstr "Kitajski tradicionalen"
 
-#: gtef/gtef-encoding.c:143
+#: tepl/tepl-encoding.c:143
 msgid "Cyrillic/Russian"
 msgstr "Cirilica/Ruski"
 
-#: gtef/gtef-encoding.c:145 gtef/gtef-encoding.c:146 gtef/gtef-encoding.c:147
-#: gtef/gtef-encoding.c:164 gtef/gtef-encoding.c:172
+#: tepl/tepl-encoding.c:145 tepl/tepl-encoding.c:146 tepl/tepl-encoding.c:147
+#: tepl/tepl-encoding.c:164 tepl/tepl-encoding.c:172
 msgid "Japanese"
 msgstr "Japonski"
 
-#: gtef/gtef-encoding.c:149 gtef/gtef-encoding.c:165 gtef/gtef-encoding.c:167
-#: gtef/gtef-encoding.c:175
+#: tepl/tepl-encoding.c:149 tepl/tepl-encoding.c:165 tepl/tepl-encoding.c:167
+#: tepl/tepl-encoding.c:175
 msgid "Korean"
 msgstr "Korejski"
 
-#: gtef/gtef-encoding.c:152 gtef/gtef-encoding.c:153 gtef/gtef-encoding.c:154
+#: tepl/tepl-encoding.c:152 tepl/tepl-encoding.c:153 tepl/tepl-encoding.c:154
 msgid "Chinese Simplified"
 msgstr "Kitajski poenostavljen"
 
-#: gtef/gtef-encoding.c:155
+#: tepl/tepl-encoding.c:155
 msgid "Georgian"
 msgstr "Gruzijski"
 
-#: gtef/gtef-encoding.c:161 gtef/gtef-encoding.c:183
+#: tepl/tepl-encoding.c:161 tepl/tepl-encoding.c:183
 msgid "Hebrew"
 msgstr "Hebrejski"
 
-#: gtef/gtef-encoding.c:170
+#: tepl/tepl-encoding.c:170
 msgid "Cyrillic/Ukrainian"
 msgstr "Cirilica/Ukrajinski"
 
-#: gtef/gtef-encoding.c:173 gtef/gtef-encoding.c:176 gtef/gtef-encoding.c:186
+#: tepl/tepl-encoding.c:173 tepl/tepl-encoding.c:176 tepl/tepl-encoding.c:186
 msgid "Vietnamese"
 msgstr "Vietnamski"
 
-#: gtef/gtef-encoding.c:174
+#: tepl/tepl-encoding.c:174
 msgid "Thai"
 msgstr "Tajski"
 
-#: gtef/gtef-encoding.c:365
+#: tepl/tepl-encoding.c:365
 msgid "Unknown"
 msgstr "Neznano"
 
-#. Translators: This is the sorted list of encodings used by Gtef for
+#. Translators: This is the sorted list of encodings used by Tepl 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 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 in your country will rarely
-#. * use it. 'CURRENT' is a magic value used by Gtef and it represents
+#. * use it. 'CURRENT' is a magic value used by Tepl and it represents
 #. * the encoding for the current locale, so please don't translate the
 #. * 'CURRENT' term. Keep the same format: square brackets, single quotes,
 #. * commas.
 #.
-#: gtef/gtef-encoding.c:640
+#: tepl/tepl-encoding.c:640
 msgid "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
 msgstr "['UTF-8', 'TRENUTNI', 'ISO-8859-15', 'UTF-16']"
 
-#: gtef/gtef-encoding-converter.c:302
+#: tepl/tepl-encoding-converter.c:302
 #, fuzzy, c-format
 msgid "Conversion from character set “%s” to “%s” is not supported."
 msgstr "Pretvorba iz nabora znakov '%s' v '%s' ni podprta"
 
-#: gtef/gtef-encoding-converter.c:311
+#: tepl/tepl-encoding-converter.c:311
 #, fuzzy, c-format
 msgid "Could not open converter from “%s” to “%s”: %s"
 msgstr "Ni mogoče odpreti pretvornika iz '%s' v '%s': %s"
 
-#: gtef/gtef-encoding-converter.c:368
+#: tepl/tepl-encoding-converter.c:368
 #, fuzzy
 msgid "The input data contains an invalid sequence."
 msgstr "Neveljavno zaporedje bajtov na vhodu pretvorbe"
 
-#: gtef/gtef-encoding-converter.c:377
+#: tepl/tepl-encoding-converter.c:377
 #, fuzzy, c-format
 msgid "Error when converting data: %s"
 msgstr ""
 "Napaka (%s) pretvarjanja podatkov za podrejeni predmet; ukaz je izpuščen."
 
-#: gtef/gtef-encoding-converter.c:556
+#: tepl/tepl-encoding-converter.c:556
 msgid "The input data ends with an incomplete multi-byte sequence."
 msgstr ""
 
-#: gtef/gtef-encoding-converter.c:579
+#: tepl/tepl-encoding-converter.c:579
 msgid "The input content ends with incomplete data."
 msgstr ""
 
-#: gtef/gtef-file.c:413
+#: tepl/tepl-file.c:413
 #, fuzzy, c-format
 msgid "Untitled File %d"
 msgstr "Nenaslovljen dokument %d"
 
-#: gtef/gtef-file-content-loader.c:334
+#: tepl/tepl-file-content-loader.c:334
 #, c-format
 msgid "The file is too big. Maximum %s can be loaded."
 msgstr ""
 
-#: gtef/gtef-file-loader.c:925
+#: tepl/tepl-file-loader.c:925
 #, fuzzy
 msgid "It is not possible to detect the character encoding automatically."
 msgstr "Ni mogoče določiti nabora znakov v datoteki."
 
-#: gtef/gtef-file-saver.c:784
+#: tepl/tepl-file-saver.c:784
 msgid "The file is externally modified."
 msgstr "Datoteka je močno spremenjena."
 
-#: gtef/gtef-file-saver.c:1318
+#: tepl/tepl-file-saver.c:1318
 msgid "The buffer contains invalid characters."
 msgstr "Medpomnilnik vsebuje neveljavne znake."
diff --git a/po/sr.po b/po/sr.po
index 1a8154d..eca6be3 100644
--- a/po/sr.po
+++ b/po/sr.po
@@ -1,11 +1,11 @@
-# Serbian translation for gtef.
-# Copyright (C) 2017 gtef's COPYRIGHT HOLDER
-# This file is distributed under the same license as the gtef package.
+# Serbian translation for tepl.
+# Copyright (C) 2017 tepl's COPYRIGHT HOLDER
+# This file is distributed under the same license as the tepl package.
 # MirosNik <miroslavnikolic rocketmail com>, 2017.
 # Мирослав Николић <miroslavnikolic rocketmail com>, 2017.
 msgid ""
 msgstr ""
-"Project-Id-Version: gtef master\n"
+"Project-Id-Version: tepl master\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2017-03-12 14:35+0000\n"
 "PO-Revision-Date: 2017-03-13 15:14+0200\n"
@@ -19,229 +19,229 @@ msgstr ""
 "n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
 
 #. Translators: %s is a filename.
-#: gtef/gtef-application-window.c:356
+#: tepl/tepl-application-window.c:356
 #, c-format
 msgid "Open “%s”"
 msgstr "Отварам „%s“"
 
-#: gtef/gtef-application-window.c:575
+#: tepl/tepl-application-window.c:575
 msgid "Open _Recent"
 msgstr "Отвори _скорашње"
 
 #. Translators: %s is the application name.
-#: gtef/gtef-application-window.c:578
+#: tepl/tepl-application-window.c:578
 #, c-format
 msgid "Open a file recently used with %s"
 msgstr "Отворите датотеку коју је недавно користио „%s“"
 
 #. UTF-8 first, so that it's the first encoding returned by
-#. * gtef_encoding_get_all().
+#. * tepl_encoding_get_all().
 #.
-#: gtef/gtef-encoding.c:115 gtef/gtef-encoding.c:132 gtef/gtef-encoding.c:133
-#: gtef/gtef-encoding.c:134 gtef/gtef-encoding.c:135 gtef/gtef-encoding.c:136
-#: gtef/gtef-encoding.c:137 gtef/gtef-encoding.c:138
+#: tepl/tepl-encoding.c:115 tepl/tepl-encoding.c:132 tepl/tepl-encoding.c:133
+#: tepl/tepl-encoding.c:134 tepl/tepl-encoding.c:135 tepl/tepl-encoding.c:136
+#: tepl/tepl-encoding.c:137 tepl/tepl-encoding.c:138
 msgid "Unicode"
 msgstr "Уникод"
 
 #. FIXME GEOSTD8 ?
-#: gtef/gtef-encoding.c:117 gtef/gtef-encoding.c:129 gtef/gtef-encoding.c:157
-#: gtef/gtef-encoding.c:180
+#: tepl/tepl-encoding.c:117 tepl/tepl-encoding.c:129 tepl/tepl-encoding.c:157
+#: tepl/tepl-encoding.c:180
 msgid "Western"
 msgstr "Западни"
 
-#: gtef/gtef-encoding.c:118 gtef/gtef-encoding.c:158 gtef/gtef-encoding.c:178
+#: tepl/tepl-encoding.c:118 tepl/tepl-encoding.c:158 tepl/tepl-encoding.c:178
 msgid "Central European"
 msgstr "Централноевропски"
 
-#: gtef/gtef-encoding.c:119
+#: tepl/tepl-encoding.c:119
 msgid "South European"
 msgstr "Јужноевропски"
 
-#: gtef/gtef-encoding.c:120 gtef/gtef-encoding.c:127 gtef/gtef-encoding.c:185
+#: tepl/tepl-encoding.c:120 tepl/tepl-encoding.c:127 tepl/tepl-encoding.c:185
 msgid "Baltic"
 msgstr "Балтички"
 
-#: gtef/gtef-encoding.c:121 gtef/gtef-encoding.c:159 gtef/gtef-encoding.c:166
-#: gtef/gtef-encoding.c:168 gtef/gtef-encoding.c:169 gtef/gtef-encoding.c:179
+#: tepl/tepl-encoding.c:121 tepl/tepl-encoding.c:159 tepl/tepl-encoding.c:166
+#: tepl/tepl-encoding.c:168 tepl/tepl-encoding.c:169 tepl/tepl-encoding.c:179
 msgid "Cyrillic"
 msgstr "Ћирилични"
 
-#: gtef/gtef-encoding.c:122 gtef/gtef-encoding.c:162 gtef/gtef-encoding.c:184
+#: tepl/tepl-encoding.c:122 tepl/tepl-encoding.c:162 tepl/tepl-encoding.c:184
 msgid "Arabic"
 msgstr "Арапски"
 
-#: gtef/gtef-encoding.c:123 gtef/gtef-encoding.c:181
+#: tepl/tepl-encoding.c:123 tepl/tepl-encoding.c:181
 msgid "Greek"
 msgstr "Грчки"
 
-#: gtef/gtef-encoding.c:124
+#: tepl/tepl-encoding.c:124
 msgid "Hebrew Visual"
 msgstr "Хебрејски визуелни"
 
-#: gtef/gtef-encoding.c:125 gtef/gtef-encoding.c:160 gtef/gtef-encoding.c:182
+#: tepl/tepl-encoding.c:125 tepl/tepl-encoding.c:160 tepl/tepl-encoding.c:182
 msgid "Turkish"
 msgstr "Турски"
 
-#: gtef/gtef-encoding.c:126
+#: tepl/tepl-encoding.c:126
 msgid "Nordic"
 msgstr "Нордијски"
 
-#: gtef/gtef-encoding.c:128
+#: tepl/tepl-encoding.c:128
 msgid "Celtic"
 msgstr "Келтски"
 
-#: gtef/gtef-encoding.c:130
+#: tepl/tepl-encoding.c:130
 msgid "Romanian"
 msgstr "Румунски"
 
-#: gtef/gtef-encoding.c:140
+#: tepl/tepl-encoding.c:140
 msgid "Armenian"
 msgstr "Јерменски"
 
-#: gtef/gtef-encoding.c:141 gtef/gtef-encoding.c:142 gtef/gtef-encoding.c:150
+#: tepl/tepl-encoding.c:141 tepl/tepl-encoding.c:142 tepl/tepl-encoding.c:150
 msgid "Chinese Traditional"
 msgstr "Кинески традиционални"
 
-#: gtef/gtef-encoding.c:143
+#: tepl/tepl-encoding.c:143
 msgid "Cyrillic/Russian"
 msgstr "Ћирилични/Руски"
 
-#: gtef/gtef-encoding.c:145 gtef/gtef-encoding.c:146 gtef/gtef-encoding.c:147
-#: gtef/gtef-encoding.c:164 gtef/gtef-encoding.c:172
+#: tepl/tepl-encoding.c:145 tepl/tepl-encoding.c:146 tepl/tepl-encoding.c:147
+#: tepl/tepl-encoding.c:164 tepl/tepl-encoding.c:172
 msgid "Japanese"
 msgstr "Јапански"
 
-#: gtef/gtef-encoding.c:149 gtef/gtef-encoding.c:165 gtef/gtef-encoding.c:167
-#: gtef/gtef-encoding.c:175
+#: tepl/tepl-encoding.c:149 tepl/tepl-encoding.c:165 tepl/tepl-encoding.c:167
+#: tepl/tepl-encoding.c:175
 msgid "Korean"
 msgstr "Корејски"
 
-#: gtef/gtef-encoding.c:152 gtef/gtef-encoding.c:153 gtef/gtef-encoding.c:154
+#: tepl/tepl-encoding.c:152 tepl/tepl-encoding.c:153 tepl/tepl-encoding.c:154
 msgid "Chinese Simplified"
 msgstr "Кинески поједностављени"
 
-#: gtef/gtef-encoding.c:155
+#: tepl/tepl-encoding.c:155
 msgid "Georgian"
 msgstr "Грузијски"
 
-#: gtef/gtef-encoding.c:161 gtef/gtef-encoding.c:183
+#: tepl/tepl-encoding.c:161 tepl/tepl-encoding.c:183
 msgid "Hebrew"
 msgstr "Хебрејски"
 
-#: gtef/gtef-encoding.c:170
+#: tepl/tepl-encoding.c:170
 msgid "Cyrillic/Ukrainian"
 msgstr "Ћирилични/Украјински"
 
-#: gtef/gtef-encoding.c:173 gtef/gtef-encoding.c:176 gtef/gtef-encoding.c:186
+#: tepl/tepl-encoding.c:173 tepl/tepl-encoding.c:176 tepl/tepl-encoding.c:186
 msgid "Vietnamese"
 msgstr "Вијетнамски"
 
-#: gtef/gtef-encoding.c:174
+#: tepl/tepl-encoding.c:174
 msgid "Thai"
 msgstr "Тајландски"
 
-#: gtef/gtef-encoding.c:365
+#: tepl/tepl-encoding.c:365
 msgid "Unknown"
 msgstr "Непознат"
 
-#. Translators: This is the sorted list of encodings used by Gtef for
+#. Translators: This is the sorted list of encodings used by Tepl 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 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 in your country will rarely
-#. * use it. 'CURRENT' is a magic value used by Gtef and it represents
+#. * use it. 'CURRENT' is a magic value used by Tepl and it represents
 #. * the encoding for the current locale, so please don't translate the
 #. * 'CURRENT' term. Keep the same format: square brackets, single quotes,
 #. * commas.
 #.
-#: gtef/gtef-encoding.c:640
+#: tepl/tepl-encoding.c:640
 msgid "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
 msgstr "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
 
-#: gtef/gtef-encoding-converter.c:302
+#: tepl/tepl-encoding-converter.c:302
 #, c-format
 msgid "Conversion from character set “%s” to “%s” is not supported."
 msgstr "Претварање из скупа знакова „%s“ у „%s“ још није подржано."
 
-#: gtef/gtef-encoding-converter.c:311
+#: tepl/tepl-encoding-converter.c:311
 #, c-format
 msgid "Could not open converter from “%s” to “%s”: %s"
 msgstr "Не могу да отворим претварач из „%s“ у „%s“: %s"
 
-#: gtef/gtef-encoding-converter.c:368
+#: tepl/tepl-encoding-converter.c:368
 msgid "The input data contains an invalid sequence."
 msgstr "Улазни подаци садрже неисправан низ."
 
-#: gtef/gtef-encoding-converter.c:377
+#: tepl/tepl-encoding-converter.c:377
 #, c-format
 msgid "Error when converting data: %s"
 msgstr "Грешка приликом претварања података: %s"
 
-#: gtef/gtef-encoding-converter.c:556
+#: tepl/tepl-encoding-converter.c:556
 msgid "The input data ends with an incomplete multi-byte sequence."
 msgstr "Улазни подаци се завршавају непотпуним вишебајтним низом."
 
-#: gtef/gtef-encoding-converter.c:579
+#: tepl/tepl-encoding-converter.c:579
 msgid "The input content ends with incomplete data."
 msgstr "Улаз садржи крај са непотпуним подацима."
 
-#: gtef/gtef-file.c:413
+#: tepl/tepl-file.c:413
 #, c-format
 msgid "Untitled File %d"
 msgstr "Неименована датотека %d"
 
-#: gtef/gtef-file-content-loader.c:334
+#: tepl/tepl-file-content-loader.c:334
 #, c-format
 msgid "The file is too big. Maximum %s can be loaded."
 msgstr "Датотека је превелика. Највише %s може бити учитано."
 
-#: gtef/gtef-file-loader.c:925
+#: tepl/tepl-file-loader.c:925
 msgid "It is not possible to detect the character encoding automatically."
 msgstr "Не могу аутоматски да одредим кодирање знакова."
 
-#: gtef/gtef-file-saver.c:776
+#: tepl/tepl-file-saver.c:776
 msgid "The file is externally modified."
 msgstr "Датотека је измењена споља."
 
-#: gtef/gtef-file-saver.c:1310
+#: tepl/tepl-file-saver.c:1310
 msgid "The buffer contains invalid characters."
 msgstr "Међумеморија садржи неисправне знаке."
 
-#: gtef/gtef-io-error-info-bar.c:74
+#: tepl/tepl-io-error-info-bar.c:74
 #, c-format
 msgid "Could not find the file “%s”."
 msgstr "Не могу да нађем датотеку „%s“."
 
-#: gtef/gtef-io-error-info-bar.c:77 gtef/gtef-io-error-info-bar.c:104
-#: gtef/gtef-io-error-info-bar.c:111
+#: tepl/tepl-io-error-info-bar.c:77 tepl/tepl-io-error-info-bar.c:104
+#: tepl/tepl-io-error-info-bar.c:111
 msgid "Please check that you typed the location correctly and try again."
 msgstr "Проверите да ли сте исправно укуцали место и пробајте поново."
 
 #. Translators: %s is a URI scheme (like for example
 #. * http:, ftp:, etc.).
 #.
-#: gtef/gtef-io-error-info-bar.c:90
+#: tepl/tepl-io-error-info-bar.c:90
 #, c-format
 msgid "Unable to handle “%s:” locations."
 msgstr "Не могу да радим са „%s:“ местима."
 
-#: gtef/gtef-io-error-info-bar.c:98
+#: tepl/tepl-io-error-info-bar.c:98
 msgid "The location of the file cannot be accessed."
 msgstr "Не могу да приступим месту датотеке."
 
-#: gtef/gtef-io-error-info-bar.c:102
+#: tepl/tepl-io-error-info-bar.c:102
 #, c-format
 msgid "“%s” is a directory."
 msgstr "„%s“ је директоријум."
 
-#: gtef/gtef-io-error-info-bar.c:109
+#: tepl/tepl-io-error-info-bar.c:109
 #, c-format
 msgid "“%s” is not a valid location."
 msgstr "„%s“ није исправно место."
 
 #. Translators: %s is a hostname.
-#: gtef/gtef-io-error-info-bar.c:141
+#: tepl/tepl-io-error-info-bar.c:141
 #, c-format
 msgid ""
 "Host “%s” could not be found. Please check that your proxy settings are "
@@ -251,7 +251,7 @@ msgstr ""
 "посредника исправна и пробајте поново."
 
 #. Use the same string as INVALID_HOST.
-#: gtef/gtef-io-error-info-bar.c:150
+#: tepl/tepl-io-error-info-bar.c:150
 msgid ""
 "Hostname was invalid. Please check that you typed the location correctly and "
 "try again."
@@ -259,34 +259,34 @@ msgstr ""
 "Назив домаћина беше неисправан. Проверите да ли сте исправно укуцали место и "
 "пробајте поново."
 
-#: gtef/gtef-io-error-info-bar.c:159
+#: tepl/tepl-io-error-info-bar.c:159
 #, c-format
 msgid "“%s” is not a regular file."
 msgstr "„%s“ није обична датотека."
 
-#: gtef/gtef-io-error-info-bar.c:164
+#: tepl/tepl-io-error-info-bar.c:164
 msgid "Connection timed out. Please try again."
 msgstr "Истекло је време за везу. Пробајте поново."
 
-#: gtef/gtef-io-error-info-bar.c:168
+#: tepl/tepl-io-error-info-bar.c:168
 #, c-format
 msgid "Unexpected error: %s"
 msgstr "Неочекивана грешка: %s"
 
-#: gtef/gtef-io-error-info-bar.c:179 gtef/gtef-io-error-info-bar.c:212
-#: gtef/gtef-progress-info-bar.c:53
+#: tepl/tepl-io-error-info-bar.c:179 tepl/tepl-io-error-info-bar.c:212
+#: tepl/tepl-progress-info-bar.c:53
 msgid "_Cancel"
 msgstr "_Откажи"
 
-#: gtef/gtef-io-error-info-bar.c:185 gtef/gtef-io-error-info-bar.c:195
+#: tepl/tepl-io-error-info-bar.c:185 tepl/tepl-io-error-info-bar.c:195
 msgid "_Retry"
 msgstr "_Покушај поново"
 
-#: gtef/gtef-io-error-info-bar.c:201
+#: tepl/tepl-io-error-info-bar.c:201
 msgid "Edit Any_way"
 msgstr "Уреди _ипак"
 
-#: gtef/gtef-io-error-info-bar.c:270
+#: tepl/tepl-io-error-info-bar.c:270
 msgid ""
 "The number of followed links is limited and the actual file could not be "
 "found within this limit."
@@ -294,11 +294,11 @@ msgstr ""
 "Број праћених веза је ограничен, а стварну датотеку не могу пронаћи у овом "
 "опсегу."
 
-#: gtef/gtef-io-error-info-bar.c:275
+#: tepl/tepl-io-error-info-bar.c:275
 msgid "You do not have the permissions necessary to open the file."
 msgstr "Немате потребна овлашћења да отворите датотеку."
 
-#: gtef/gtef-io-error-info-bar.c:285
+#: tepl/tepl-io-error-info-bar.c:285
 msgid ""
 "Unable to detect the character encoding.\n"
 "Please check that you are not trying to open a binary file.\n"
@@ -308,12 +308,12 @@ msgstr ""
 "Проверите да не покушавате да отворите бинарну датотеку.\n"
 "Изабери кодирање знакова из изборника и покушајте поново."
 
-#: gtef/gtef-io-error-info-bar.c:294
+#: tepl/tepl-io-error-info-bar.c:294
 #, c-format
 msgid "There was a problem opening the file “%s”."
 msgstr "Дошло је до проблема при отварању датотеке „%s“."
 
-#: gtef/gtef-io-error-info-bar.c:296
+#: tepl/tepl-io-error-info-bar.c:296
 msgid ""
 "The file you opened has some invalid characters. If you continue editing "
 "this file you could corrupt it.\n"
@@ -323,12 +323,12 @@ msgstr ""
 "уређујете можете да је оштетите.\n"
 "Такође можете да изаберете други кодни распоред и да покушате поново."
 
-#: gtef/gtef-io-error-info-bar.c:312
+#: tepl/tepl-io-error-info-bar.c:312
 #, c-format
 msgid "Could not open the file “%s” using the “%s” character encoding."
 msgstr "Не могу да отворим датотеку „%s“ користећи „%s“ кодирање знакова."
 
-#: gtef/gtef-io-error-info-bar.c:316
+#: tepl/tepl-io-error-info-bar.c:316
 msgid ""
 "Please check that you are not trying to open a binary file.\n"
 "Select a different character encoding from the menu and try again."
@@ -336,7 +336,7 @@ msgstr ""
 "Проверите да не покушавате да отворите бинарну датотеку.\n"
 "Изабери други кодни распоред из изборника и покушајте поново."
 
-#: gtef/gtef-io-error-info-bar.c:329
+#: tepl/tepl-io-error-info-bar.c:329
 #, c-format
 msgid "Could not open the file “%s”."
 msgstr "Не могу да отворим датотеку „%s“."
diff --git a/po/sv.po b/po/sv.po
index 51f563a..41d76ee 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -1,11 +1,11 @@
-# Swedish translation for gtef.
-# Copyright © 2017 gtef's COPYRIGHT HOLDER
-# This file is distributed under the same license as the gtef package.
+# Swedish translation for tepl.
+# Copyright © 2017 tepl's COPYRIGHT HOLDER
+# This file is distributed under the same license as the tepl package.
 # Anders Jonsson <anders jonsson norsjovallen se>, 2017.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: gtef master\n"
+"Project-Id-Version: tepl master\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2017-03-10 16:40+0000\n"
 "PO-Revision-Date: 2017-03-10 19:52+0100\n"
@@ -19,229 +19,229 @@ msgstr ""
 "X-Generator: Poedit 1.8.11\n"
 
 #. Translators: %s is a filename.
-#: gtef/gtef-application-window.c:356
+#: tepl/tepl-application-window.c:356
 #, c-format
 msgid "Open “%s”"
 msgstr "Öppna ”%s”"
 
-#: gtef/gtef-application-window.c:575
+#: tepl/tepl-application-window.c:575
 msgid "Open _Recent"
 msgstr "Öppna _senaste"
 
 #. Translators: %s is the application name.
-#: gtef/gtef-application-window.c:578
+#: tepl/tepl-application-window.c:578
 #, c-format
 msgid "Open a file recently used with %s"
 msgstr "Öppna en fil som tidigare använts med %s"
 
 #. UTF-8 first, so that it's the first encoding returned by
-#. * gtef_encoding_get_all().
+#. * tepl_encoding_get_all().
 #.
-#: gtef/gtef-encoding.c:115 gtef/gtef-encoding.c:132 gtef/gtef-encoding.c:133
-#: gtef/gtef-encoding.c:134 gtef/gtef-encoding.c:135 gtef/gtef-encoding.c:136
-#: gtef/gtef-encoding.c:137 gtef/gtef-encoding.c:138
+#: tepl/tepl-encoding.c:115 tepl/tepl-encoding.c:132 tepl/tepl-encoding.c:133
+#: tepl/tepl-encoding.c:134 tepl/tepl-encoding.c:135 tepl/tepl-encoding.c:136
+#: tepl/tepl-encoding.c:137 tepl/tepl-encoding.c:138
 msgid "Unicode"
 msgstr "Unicode"
 
 #. FIXME GEOSTD8 ?
-#: gtef/gtef-encoding.c:117 gtef/gtef-encoding.c:129 gtef/gtef-encoding.c:157
-#: gtef/gtef-encoding.c:180
+#: tepl/tepl-encoding.c:117 tepl/tepl-encoding.c:129 tepl/tepl-encoding.c:157
+#: tepl/tepl-encoding.c:180
 msgid "Western"
 msgstr "Västerländsk"
 
-#: gtef/gtef-encoding.c:118 gtef/gtef-encoding.c:158 gtef/gtef-encoding.c:178
+#: tepl/tepl-encoding.c:118 tepl/tepl-encoding.c:158 tepl/tepl-encoding.c:178
 msgid "Central European"
 msgstr "Centraleuropeisk"
 
-#: gtef/gtef-encoding.c:119
+#: tepl/tepl-encoding.c:119
 msgid "South European"
 msgstr "Sydeuropeisk"
 
-#: gtef/gtef-encoding.c:120 gtef/gtef-encoding.c:127 gtef/gtef-encoding.c:185
+#: tepl/tepl-encoding.c:120 tepl/tepl-encoding.c:127 tepl/tepl-encoding.c:185
 msgid "Baltic"
 msgstr "Baltisk"
 
-#: gtef/gtef-encoding.c:121 gtef/gtef-encoding.c:159 gtef/gtef-encoding.c:166
-#: gtef/gtef-encoding.c:168 gtef/gtef-encoding.c:169 gtef/gtef-encoding.c:179
+#: tepl/tepl-encoding.c:121 tepl/tepl-encoding.c:159 tepl/tepl-encoding.c:166
+#: tepl/tepl-encoding.c:168 tepl/tepl-encoding.c:169 tepl/tepl-encoding.c:179
 msgid "Cyrillic"
 msgstr "Kyrillisk"
 
-#: gtef/gtef-encoding.c:122 gtef/gtef-encoding.c:162 gtef/gtef-encoding.c:184
+#: tepl/tepl-encoding.c:122 tepl/tepl-encoding.c:162 tepl/tepl-encoding.c:184
 msgid "Arabic"
 msgstr "Arabisk"
 
-#: gtef/gtef-encoding.c:123 gtef/gtef-encoding.c:181
+#: tepl/tepl-encoding.c:123 tepl/tepl-encoding.c:181
 msgid "Greek"
 msgstr "Grekisk"
 
-#: gtef/gtef-encoding.c:124
+#: tepl/tepl-encoding.c:124
 msgid "Hebrew Visual"
 msgstr "Hebreisk visuell"
 
-#: gtef/gtef-encoding.c:125 gtef/gtef-encoding.c:160 gtef/gtef-encoding.c:182
+#: tepl/tepl-encoding.c:125 tepl/tepl-encoding.c:160 tepl/tepl-encoding.c:182
 msgid "Turkish"
 msgstr "Turkisk"
 
-#: gtef/gtef-encoding.c:126
+#: tepl/tepl-encoding.c:126
 msgid "Nordic"
 msgstr "Nordisk"
 
-#: gtef/gtef-encoding.c:128
+#: tepl/tepl-encoding.c:128
 msgid "Celtic"
 msgstr "Keltisk"
 
-#: gtef/gtef-encoding.c:130
+#: tepl/tepl-encoding.c:130
 msgid "Romanian"
 msgstr "Rumänsk"
 
-#: gtef/gtef-encoding.c:140
+#: tepl/tepl-encoding.c:140
 msgid "Armenian"
 msgstr "Armenisk"
 
-#: gtef/gtef-encoding.c:141 gtef/gtef-encoding.c:142 gtef/gtef-encoding.c:150
+#: tepl/tepl-encoding.c:141 tepl/tepl-encoding.c:142 tepl/tepl-encoding.c:150
 msgid "Chinese Traditional"
 msgstr "Kinesisk (traditionell)"
 
-#: gtef/gtef-encoding.c:143
+#: tepl/tepl-encoding.c:143
 msgid "Cyrillic/Russian"
 msgstr "Kyrillisk/Rysk"
 
-#: gtef/gtef-encoding.c:145 gtef/gtef-encoding.c:146 gtef/gtef-encoding.c:147
-#: gtef/gtef-encoding.c:164 gtef/gtef-encoding.c:172
+#: tepl/tepl-encoding.c:145 tepl/tepl-encoding.c:146 tepl/tepl-encoding.c:147
+#: tepl/tepl-encoding.c:164 tepl/tepl-encoding.c:172
 msgid "Japanese"
 msgstr "Japansk"
 
-#: gtef/gtef-encoding.c:149 gtef/gtef-encoding.c:165 gtef/gtef-encoding.c:167
-#: gtef/gtef-encoding.c:175
+#: tepl/tepl-encoding.c:149 tepl/tepl-encoding.c:165 tepl/tepl-encoding.c:167
+#: tepl/tepl-encoding.c:175
 msgid "Korean"
 msgstr "Koreansk"
 
-#: gtef/gtef-encoding.c:152 gtef/gtef-encoding.c:153 gtef/gtef-encoding.c:154
+#: tepl/tepl-encoding.c:152 tepl/tepl-encoding.c:153 tepl/tepl-encoding.c:154
 msgid "Chinese Simplified"
 msgstr "Kinesisk (förenklad)"
 
-#: gtef/gtef-encoding.c:155
+#: tepl/tepl-encoding.c:155
 msgid "Georgian"
 msgstr "Georgisk"
 
-#: gtef/gtef-encoding.c:161 gtef/gtef-encoding.c:183
+#: tepl/tepl-encoding.c:161 tepl/tepl-encoding.c:183
 msgid "Hebrew"
 msgstr "Hebreisk"
 
-#: gtef/gtef-encoding.c:170
+#: tepl/tepl-encoding.c:170
 msgid "Cyrillic/Ukrainian"
 msgstr "Kyrillisk/Ukrainsk"
 
-#: gtef/gtef-encoding.c:173 gtef/gtef-encoding.c:176 gtef/gtef-encoding.c:186
+#: tepl/tepl-encoding.c:173 tepl/tepl-encoding.c:176 tepl/tepl-encoding.c:186
 msgid "Vietnamese"
 msgstr "Vietnamesisk"
 
-#: gtef/gtef-encoding.c:174
+#: tepl/tepl-encoding.c:174
 msgid "Thai"
 msgstr "Thailändsk"
 
-#: gtef/gtef-encoding.c:365
+#: tepl/tepl-encoding.c:365
 msgid "Unknown"
 msgstr "Okänd"
 
-#. Translators: This is the sorted list of encodings used by Gtef for
+#. Translators: This is the sorted list of encodings used by Tepl 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 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 in your country will rarely
-#. * use it. 'CURRENT' is a magic value used by Gtef and it represents
+#. * use it. 'CURRENT' is a magic value used by Tepl and it represents
 #. * the encoding for the current locale, so please don't translate the
 #. * 'CURRENT' term. Keep the same format: square brackets, single quotes,
 #. * commas.
 #.
-#: gtef/gtef-encoding.c:640
+#: tepl/tepl-encoding.c:640
 msgid "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
 msgstr "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
 
-#: gtef/gtef-encoding-converter.c:302
+#: tepl/tepl-encoding-converter.c:302
 #, c-format
 msgid "Conversion from character set “%s” to “%s” is not supported."
 msgstr "Konvertering från teckentabellen ”%s” till ”%s” stöds inte."
 
-#: gtef/gtef-encoding-converter.c:311
+#: tepl/tepl-encoding-converter.c:311
 #, c-format
 msgid "Could not open converter from “%s” to “%s”: %s"
 msgstr "Kunde inte öppna konverteraren från ”%s” till ”%s”: %s"
 
-#: gtef/gtef-encoding-converter.c:368
+#: tepl/tepl-encoding-converter.c:368
 msgid "The input data contains an invalid sequence."
 msgstr "Indata innehåller en ogiltig sekvens."
 
-#: gtef/gtef-encoding-converter.c:377
+#: tepl/tepl-encoding-converter.c:377
 #, c-format
 msgid "Error when converting data: %s"
 msgstr "Fel vid konvertering av data: %s"
 
-#: gtef/gtef-encoding-converter.c:556
+#: tepl/tepl-encoding-converter.c:556
 msgid "The input data ends with an incomplete multi-byte sequence."
 msgstr "Indata avslutas med en ofullständig flerbytesekvens."
 
-#: gtef/gtef-encoding-converter.c:579
+#: tepl/tepl-encoding-converter.c:579
 msgid "The input content ends with incomplete data."
 msgstr "Inmatningsinnehållet avslutas med ofullständiga data."
 
-#: gtef/gtef-file.c:413
+#: tepl/tepl-file.c:413
 #, c-format
 msgid "Untitled File %d"
 msgstr "Namnlös fil %d"
 
-#: gtef/gtef-file-content-loader.c:334
+#: tepl/tepl-file-content-loader.c:334
 #, c-format
 msgid "The file is too big. Maximum %s can be loaded."
 msgstr "Filen är för stor. Högst %s kan läsas in."
 
-#: gtef/gtef-file-loader.c:925
+#: tepl/tepl-file-loader.c:925
 msgid "It is not possible to detect the character encoding automatically."
 msgstr "Det går inte att identifiera teckenkodningen automatiskt."
 
-#: gtef/gtef-file-saver.c:776
+#: tepl/tepl-file-saver.c:776
 msgid "The file is externally modified."
 msgstr "Filen har ändrats externt."
 
-#: gtef/gtef-file-saver.c:1310
+#: tepl/tepl-file-saver.c:1310
 msgid "The buffer contains invalid characters."
 msgstr "Bufferten innehåller ogiltiga tecken."
 
-#: gtef/gtef-io-error-info-bar.c:74
+#: tepl/tepl-io-error-info-bar.c:74
 #, c-format
 msgid "Could not find the file “%s”."
 msgstr "Kunde inte hitta filen ”%s”."
 
-#: gtef/gtef-io-error-info-bar.c:77 gtef/gtef-io-error-info-bar.c:104
-#: gtef/gtef-io-error-info-bar.c:111
+#: tepl/tepl-io-error-info-bar.c:77 tepl/tepl-io-error-info-bar.c:104
+#: tepl/tepl-io-error-info-bar.c:111
 msgid "Please check that you typed the location correctly and try again."
 msgstr "Kontrollera att du angav platsen korrekt och försök igen."
 
 #. Translators: %s is a URI scheme (like for example
 #. * http:, ftp:, etc.).
 #.
-#: gtef/gtef-io-error-info-bar.c:90
+#: tepl/tepl-io-error-info-bar.c:90
 #, c-format
 msgid "Unable to handle “%s:” locations."
 msgstr "Kan inte hantera ”%s:”-platser."
 
-#: gtef/gtef-io-error-info-bar.c:98
+#: tepl/tepl-io-error-info-bar.c:98
 msgid "The location of the file cannot be accessed."
 msgstr "Platsen för filen kan inte kommas åt."
 
-#: gtef/gtef-io-error-info-bar.c:102
+#: tepl/tepl-io-error-info-bar.c:102
 #, c-format
 msgid "“%s” is a directory."
 msgstr "”%s” är en katalog."
 
-#: gtef/gtef-io-error-info-bar.c:109
+#: tepl/tepl-io-error-info-bar.c:109
 #, c-format
 msgid "“%s” is not a valid location."
 msgstr "”%s” är inte en giltig plats."
 
 #. Translators: %s is a hostname.
-#: gtef/gtef-io-error-info-bar.c:141
+#: tepl/tepl-io-error-info-bar.c:141
 #, c-format
 msgid ""
 "Host “%s” could not be found. Please check that your proxy settings are "
@@ -251,7 +251,7 @@ msgstr ""
 "korrekta och försök igen."
 
 #. Use the same string as INVALID_HOST.
-#: gtef/gtef-io-error-info-bar.c:150
+#: tepl/tepl-io-error-info-bar.c:150
 msgid ""
 "Hostname was invalid. Please check that you typed the location correctly and "
 "try again."
@@ -259,34 +259,34 @@ msgstr ""
 "Värdnamnet var ogiltigt. Kontrollera att du angav platsen korrekt och försök "
 "igen."
 
-#: gtef/gtef-io-error-info-bar.c:159
+#: tepl/tepl-io-error-info-bar.c:159
 #, c-format
 msgid "“%s” is not a regular file."
 msgstr "”%s” är inte en vanlig fil."
 
-#: gtef/gtef-io-error-info-bar.c:164
+#: tepl/tepl-io-error-info-bar.c:164
 msgid "Connection timed out. Please try again."
 msgstr "Anslutningens tidsgräns överskreds. Försök igen."
 
-#: gtef/gtef-io-error-info-bar.c:168
+#: tepl/tepl-io-error-info-bar.c:168
 #, c-format
 msgid "Unexpected error: %s"
 msgstr "Oväntat fel: %s"
 
-#: gtef/gtef-io-error-info-bar.c:179 gtef/gtef-io-error-info-bar.c:212
-#: gtef/gtef-progress-info-bar.c:53
+#: tepl/tepl-io-error-info-bar.c:179 tepl/tepl-io-error-info-bar.c:212
+#: tepl/tepl-progress-info-bar.c:53
 msgid "_Cancel"
 msgstr "A_vbryt"
 
-#: gtef/gtef-io-error-info-bar.c:185 gtef/gtef-io-error-info-bar.c:195
+#: tepl/tepl-io-error-info-bar.c:185 tepl/tepl-io-error-info-bar.c:195
 msgid "_Retry"
 msgstr "_Försök igen"
 
-#: gtef/gtef-io-error-info-bar.c:201
+#: tepl/tepl-io-error-info-bar.c:201
 msgid "Edit Any_way"
 msgstr "Redigera än_då"
 
-#: gtef/gtef-io-error-info-bar.c:270
+#: tepl/tepl-io-error-info-bar.c:270
 msgid ""
 "The number of followed links is limited and the actual file could not be "
 "found within this limit."
@@ -294,11 +294,11 @@ msgstr ""
 "Antalet följda länkar är begränsat och den faktiska filen kunde inte hittas "
 "inom denna gräns."
 
-#: gtef/gtef-io-error-info-bar.c:275
+#: tepl/tepl-io-error-info-bar.c:275
 msgid "You do not have the permissions necessary to open the file."
 msgstr "Du har inte de rättigheter som krävs för att öppna filen."
 
-#: gtef/gtef-io-error-info-bar.c:285
+#: tepl/tepl-io-error-info-bar.c:285
 msgid ""
 "Unable to detect the character encoding.\n"
 "Please check that you are not trying to open a binary file.\n"
@@ -308,12 +308,12 @@ msgstr ""
 "Kontrollera att du inte försöker öppna en binär fil.\n"
 "Välj en teckenkodning från menyn och försök igen."
 
-#: gtef/gtef-io-error-info-bar.c:294
+#: tepl/tepl-io-error-info-bar.c:294
 #, c-format
 msgid "There was a problem opening the file “%s”."
 msgstr "Det uppstod ett problem vid öppnandet av filen ”%s”."
 
-#: gtef/gtef-io-error-info-bar.c:296
+#: tepl/tepl-io-error-info-bar.c:296
 msgid ""
 "The file you opened has some invalid characters. If you continue editing "
 "this file you could corrupt it.\n"
@@ -323,12 +323,12 @@ msgstr ""
 "fil kan du förstöra den.\n"
 "Du kan också välja en annan teckenkodning och försöka igen."
 
-#: gtef/gtef-io-error-info-bar.c:312
+#: tepl/tepl-io-error-info-bar.c:312
 #, c-format
 msgid "Could not open the file “%s” using the “%s” character encoding."
 msgstr "Kunde inte öppna filen ”%s” med teckenkodningen ”%s”."
 
-#: gtef/gtef-io-error-info-bar.c:316
+#: tepl/tepl-io-error-info-bar.c:316
 msgid ""
 "Please check that you are not trying to open a binary file.\n"
 "Select a different character encoding from the menu and try again."
@@ -336,7 +336,7 @@ msgstr ""
 "Kontrollera att du inte försöker öppna en binär fil.\n"
 "Välj en annan teckenkodning från menyn och försök igen."
 
-#: gtef/gtef-io-error-info-bar.c:329
+#: tepl/tepl-io-error-info-bar.c:329
 #, c-format
 msgid "Could not open the file “%s”."
 msgstr "Kunde inte öppna filen ”%s”."
diff --git a/po/uk.po b/po/uk.po
index 467575f..edffc3b 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -1,11 +1,11 @@
-# Ukrainian translation for gtef.
-# Copyright (C) 2017 gtef's COPYRIGHT HOLDER
-# This file is distributed under the same license as the gtef package.
+# Ukrainian translation for tepl.
+# Copyright (C) 2017 tepl's COPYRIGHT HOLDER
+# This file is distributed under the same license as the tepl package.
 #
 # yurchor <yurchor ukr net>, 2017.
 msgid ""
 msgstr ""
-"Project-Id-Version: gtef master\n"
+"Project-Id-Version: tepl master\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2017-03-12 11:25+0000\n"
 "PO-Revision-Date: 2017-03-12 15:32+0200\n"
@@ -20,204 +20,204 @@ msgstr ""
 "X-Generator: Lokalize 1.5\n"
 
 #. Translators: %s is a filename.
-#: gtef/gtef-application-window.c:356
+#: tepl/tepl-application-window.c:356
 #, c-format
 msgid "Open “%s”"
 msgstr "Відкрити «%s»"
 
-#: gtef/gtef-application-window.c:575
+#: tepl/tepl-application-window.c:575
 msgid "Open _Recent"
 msgstr "Відкрити не_давній"
 
 #. Translators: %s is the application name.
-#: gtef/gtef-application-window.c:578
+#: tepl/tepl-application-window.c:578
 #, c-format
 msgid "Open a file recently used with %s"
 msgstr "Відкрити нещодавно використаний файл за допомогою %s"
 
 #. UTF-8 first, so that it's the first encoding returned by
-#. * gtef_encoding_get_all().
+#. * tepl_encoding_get_all().
 #.
-#: gtef/gtef-encoding.c:115 gtef/gtef-encoding.c:132 gtef/gtef-encoding.c:133
-#: gtef/gtef-encoding.c:134 gtef/gtef-encoding.c:135 gtef/gtef-encoding.c:136
-#: gtef/gtef-encoding.c:137 gtef/gtef-encoding.c:138
+#: tepl/tepl-encoding.c:115 tepl/tepl-encoding.c:132 tepl/tepl-encoding.c:133
+#: tepl/tepl-encoding.c:134 tepl/tepl-encoding.c:135 tepl/tepl-encoding.c:136
+#: tepl/tepl-encoding.c:137 tepl/tepl-encoding.c:138
 msgid "Unicode"
 msgstr "Unicode"
 
 #. FIXME GEOSTD8 ?
-#: gtef/gtef-encoding.c:117 gtef/gtef-encoding.c:129 gtef/gtef-encoding.c:157
-#: gtef/gtef-encoding.c:180
+#: tepl/tepl-encoding.c:117 tepl/tepl-encoding.c:129 tepl/tepl-encoding.c:157
+#: tepl/tepl-encoding.c:180
 msgid "Western"
 msgstr "Західна"
 
-#: gtef/gtef-encoding.c:118 gtef/gtef-encoding.c:158 gtef/gtef-encoding.c:178
+#: tepl/tepl-encoding.c:118 tepl/tepl-encoding.c:158 tepl/tepl-encoding.c:178
 msgid "Central European"
 msgstr "Центральноєвропейська"
 
-#: gtef/gtef-encoding.c:119
+#: tepl/tepl-encoding.c:119
 msgid "South European"
 msgstr "Південноєвропейська"
 
-#: gtef/gtef-encoding.c:120 gtef/gtef-encoding.c:127 gtef/gtef-encoding.c:185
+#: tepl/tepl-encoding.c:120 tepl/tepl-encoding.c:127 tepl/tepl-encoding.c:185
 msgid "Baltic"
 msgstr "Балтійська"
 
-#: gtef/gtef-encoding.c:121 gtef/gtef-encoding.c:159 gtef/gtef-encoding.c:166
-#: gtef/gtef-encoding.c:168 gtef/gtef-encoding.c:169 gtef/gtef-encoding.c:179
+#: tepl/tepl-encoding.c:121 tepl/tepl-encoding.c:159 tepl/tepl-encoding.c:166
+#: tepl/tepl-encoding.c:168 tepl/tepl-encoding.c:169 tepl/tepl-encoding.c:179
 msgid "Cyrillic"
 msgstr "Кирилиця"
 
-#: gtef/gtef-encoding.c:122 gtef/gtef-encoding.c:162 gtef/gtef-encoding.c:184
+#: tepl/tepl-encoding.c:122 tepl/tepl-encoding.c:162 tepl/tepl-encoding.c:184
 msgid "Arabic"
 msgstr "Арабська"
 
-#: gtef/gtef-encoding.c:123 gtef/gtef-encoding.c:181
+#: tepl/tepl-encoding.c:123 tepl/tepl-encoding.c:181
 msgid "Greek"
 msgstr "Грецька"
 
-#: gtef/gtef-encoding.c:124
+#: tepl/tepl-encoding.c:124
 msgid "Hebrew Visual"
 msgstr "Іврит (візуальний)"
 
-#: gtef/gtef-encoding.c:125 gtef/gtef-encoding.c:160 gtef/gtef-encoding.c:182
+#: tepl/tepl-encoding.c:125 tepl/tepl-encoding.c:160 tepl/tepl-encoding.c:182
 msgid "Turkish"
 msgstr "Турецька"
 
-#: gtef/gtef-encoding.c:126
+#: tepl/tepl-encoding.c:126
 msgid "Nordic"
 msgstr "Скандинавська"
 
-#: gtef/gtef-encoding.c:128
+#: tepl/tepl-encoding.c:128
 msgid "Celtic"
 msgstr "Кельтська"
 
-#: gtef/gtef-encoding.c:130
+#: tepl/tepl-encoding.c:130
 msgid "Romanian"
 msgstr "Румунська"
 
-#: gtef/gtef-encoding.c:140
+#: tepl/tepl-encoding.c:140
 msgid "Armenian"
 msgstr "Вірменська"
 
-#: gtef/gtef-encoding.c:141 gtef/gtef-encoding.c:142 gtef/gtef-encoding.c:150
+#: tepl/tepl-encoding.c:141 tepl/tepl-encoding.c:142 tepl/tepl-encoding.c:150
 msgid "Chinese Traditional"
 msgstr "Китайська (традиційна)"
 
-#: gtef/gtef-encoding.c:143
+#: tepl/tepl-encoding.c:143
 msgid "Cyrillic/Russian"
 msgstr "Кирилиця/Російська"
 
-#: gtef/gtef-encoding.c:145 gtef/gtef-encoding.c:146 gtef/gtef-encoding.c:147
-#: gtef/gtef-encoding.c:164 gtef/gtef-encoding.c:172
+#: tepl/tepl-encoding.c:145 tepl/tepl-encoding.c:146 tepl/tepl-encoding.c:147
+#: tepl/tepl-encoding.c:164 tepl/tepl-encoding.c:172
 msgid "Japanese"
 msgstr "Японська"
 
-#: gtef/gtef-encoding.c:149 gtef/gtef-encoding.c:165 gtef/gtef-encoding.c:167
-#: gtef/gtef-encoding.c:175
+#: tepl/tepl-encoding.c:149 tepl/tepl-encoding.c:165 tepl/tepl-encoding.c:167
+#: tepl/tepl-encoding.c:175
 msgid "Korean"
 msgstr "Корейська"
 
-#: gtef/gtef-encoding.c:152 gtef/gtef-encoding.c:153 gtef/gtef-encoding.c:154
+#: tepl/tepl-encoding.c:152 tepl/tepl-encoding.c:153 tepl/tepl-encoding.c:154
 msgid "Chinese Simplified"
 msgstr "Китайська (спрощена)"
 
-#: gtef/gtef-encoding.c:155
+#: tepl/tepl-encoding.c:155
 msgid "Georgian"
 msgstr "Грузинська"
 
-#: gtef/gtef-encoding.c:161 gtef/gtef-encoding.c:183
+#: tepl/tepl-encoding.c:161 tepl/tepl-encoding.c:183
 msgid "Hebrew"
 msgstr "Іврит"
 
-#: gtef/gtef-encoding.c:170
+#: tepl/tepl-encoding.c:170
 msgid "Cyrillic/Ukrainian"
 msgstr "Кирилиця/Українська"
 
-#: gtef/gtef-encoding.c:173 gtef/gtef-encoding.c:176 gtef/gtef-encoding.c:186
+#: tepl/tepl-encoding.c:173 tepl/tepl-encoding.c:176 tepl/tepl-encoding.c:186
 msgid "Vietnamese"
 msgstr "В’єтнамська"
 
-#: gtef/gtef-encoding.c:174
+#: tepl/tepl-encoding.c:174
 msgid "Thai"
 msgstr "Тайська"
 
-#: gtef/gtef-encoding.c:365
+#: tepl/tepl-encoding.c:365
 msgid "Unknown"
 msgstr "Невідоме"
 
-#. Translators: This is the sorted list of encodings used by Gtef for
+#. Translators: This is the sorted list of encodings used by Tepl 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 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 in your country will rarely
-#. * use it. 'CURRENT' is a magic value used by Gtef and it represents
+#. * use it. 'CURRENT' is a magic value used by Tepl and it represents
 #. * the encoding for the current locale, so please don't translate the
 #. * 'CURRENT' term. Keep the same format: square brackets, single quotes,
 #. * commas.
 #.
-#: gtef/gtef-encoding.c:640
+#: tepl/tepl-encoding.c:640
 msgid "['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"
 msgstr "['UTF-8', 'CURRENT', 'CP1251', 'KOI8U', 'UTF-16']"
 
-#: gtef/gtef-encoding-converter.c:302
+#: tepl/tepl-encoding-converter.c:302
 #, c-format
 msgid "Conversion from character set “%s” to “%s” is not supported."
 msgstr ""
 "Підтримки перетворення з кодування «%s» на кодування «%s» не передбачено."
 
-#: gtef/gtef-encoding-converter.c:311
+#: tepl/tepl-encoding-converter.c:311
 #, c-format
 msgid "Could not open converter from “%s” to “%s”: %s"
 msgstr "Не вдалося відкрити засіб перетворення з «%s» на «%s»: %s"
 
-#: gtef/gtef-encoding-converter.c:368
+#: tepl/tepl-encoding-converter.c:368
 msgid "The input data contains an invalid sequence."
 msgstr "У вхідних даних міститься некоректна послідовність символів."
 
-#: gtef/gtef-encoding-converter.c:377
+#: tepl/tepl-encoding-converter.c:377
 #, c-format
 msgid "Error when converting data: %s"
 msgstr "Помилка під час спроби перетворити дані: %s"
 
-#: gtef/gtef-encoding-converter.c:556
+#: tepl/tepl-encoding-converter.c:556
 msgid "The input data ends with an incomplete multi-byte sequence."
 msgstr "Вхідні дані закінчилися на незавершеній багатобайтовій послідовності."
 
-#: gtef/gtef-encoding-converter.c:579
+#: tepl/tepl-encoding-converter.c:579
 msgid "The input content ends with incomplete data."
 msgstr "Вхідні дані виявилися незавершеними."
 
-#: gtef/gtef-file.c:413
+#: tepl/tepl-file.c:413
 #, c-format
 msgid "Untitled File %d"
 msgstr "Файл без назви %d"
 
-#: gtef/gtef-file-content-loader.c:334
+#: tepl/tepl-file-content-loader.c:334
 #, c-format
 msgid "The file is too big. Maximum %s can be loaded."
 msgstr ""
 "Файл є надто великим. Можна завантажувати файли, розмір яких не перевищує %s."
 
-#: gtef/gtef-file-loader.c:925
+#: tepl/tepl-file-loader.c:925
 msgid "It is not possible to detect the character encoding automatically."
 msgstr "Неможливо визначити кодування символів у автоматичному режимі."
 
-#: gtef/gtef-file-saver.c:776
+#: tepl/tepl-file-saver.c:776
 msgid "The file is externally modified."
 msgstr "Файл змінено ззовні."
 
-#: gtef/gtef-file-saver.c:1310
+#: tepl/tepl-file-saver.c:1310
 msgid "The buffer contains invalid characters."
 msgstr "У буфері містяться некоректні символи."
 
-#: gtef/gtef-io-error-info-bar.c:74
+#: tepl/tepl-io-error-info-bar.c:74
 #, c-format
 msgid "Could not find the file “%s”."
 msgstr "Не вдалося знайти файл «%s»."
 
-#: gtef/gtef-io-error-info-bar.c:77 gtef/gtef-io-error-info-bar.c:104
-#: gtef/gtef-io-error-info-bar.c:111
+#: tepl/tepl-io-error-info-bar.c:77 tepl/tepl-io-error-info-bar.c:104
+#: tepl/tepl-io-error-info-bar.c:111
 msgid "Please check that you typed the location correctly and try again."
 msgstr ""
 "Будь ласка, перевірте, чи правильно вказано адресу місця, і повторіть спробу."
@@ -225,27 +225,27 @@ msgstr ""
 #. Translators: %s is a URI scheme (like for example
 #. * http:, ftp:, etc.).
 #.
-#: gtef/gtef-io-error-info-bar.c:90
+#: tepl/tepl-io-error-info-bar.c:90
 #, c-format
 msgid "Unable to handle “%s:” locations."
 msgstr "Обробки місць «%s:» не передбачено."
 
-#: gtef/gtef-io-error-info-bar.c:98
+#: tepl/tepl-io-error-info-bar.c:98
 msgid "The location of the file cannot be accessed."
 msgstr "Не вдалося отримати доступ до місця зберігання файла."
 
-#: gtef/gtef-io-error-info-bar.c:102
+#: tepl/tepl-io-error-info-bar.c:102
 #, c-format
 msgid "“%s” is a directory."
 msgstr "«%s» є каталогом."
 
-#: gtef/gtef-io-error-info-bar.c:109
+#: tepl/tepl-io-error-info-bar.c:109
 #, c-format
 msgid "“%s” is not a valid location."
 msgstr "«%s» не є коректним записом місця."
 
 #. Translators: %s is a hostname.
-#: gtef/gtef-io-error-info-bar.c:141
+#: tepl/tepl-io-error-info-bar.c:141
 #, c-format
 msgid ""
 "Host “%s” could not be found. Please check that your proxy settings are "
@@ -255,7 +255,7 @@ msgstr ""
 "параметри проксі-сервера, і повторіть спробу."
 
 #. Use the same string as INVALID_HOST.
-#: gtef/gtef-io-error-info-bar.c:150
+#: tepl/tepl-io-error-info-bar.c:150
 msgid ""
 "Hostname was invalid. Please check that you typed the location correctly and "
 "try again."
@@ -263,34 +263,34 @@ msgstr ""
 "Некоректна назва вузла. Будь ласка, перевірте, чи правильно її вказано, і "
 "повторіть спробу."
 
-#: gtef/gtef-io-error-info-bar.c:159
+#: tepl/tepl-io-error-info-bar.c:159
 #, c-format
 msgid "“%s” is not a regular file."
 msgstr "«%s» не є звичайним файлом."
 
-#: gtef/gtef-io-error-info-bar.c:164
+#: tepl/tepl-io-error-info-bar.c:164
 msgid "Connection timed out. Please try again."
 msgstr "Перевищено час очікування на з’єднання. Будь ласка, повторіть спробу."
 
-#: gtef/gtef-io-error-info-bar.c:168
+#: tepl/tepl-io-error-info-bar.c:168
 #, c-format
 msgid "Unexpected error: %s"
 msgstr "Неочікувана помилка: %s"
 
-#: gtef/gtef-io-error-info-bar.c:179 gtef/gtef-io-error-info-bar.c:212
-#: gtef/gtef-progress-info-bar.c:53
+#: tepl/tepl-io-error-info-bar.c:179 tepl/tepl-io-error-info-bar.c:212
+#: tepl/tepl-progress-info-bar.c:53
 msgid "_Cancel"
 msgstr "_Скасувати"
 
-#: gtef/gtef-io-error-info-bar.c:185 gtef/gtef-io-error-info-bar.c:195
+#: tepl/tepl-io-error-info-bar.c:185 tepl/tepl-io-error-info-bar.c:195
 msgid "_Retry"
 msgstr "П_овторити"
 
-#: gtef/gtef-io-error-info-bar.c:201
+#: tepl/tepl-io-error-info-bar.c:201
 msgid "Edit Any_way"
 msgstr "Редагувати _попри все"
 
-#: gtef/gtef-io-error-info-bar.c:270
+#: tepl/tepl-io-error-info-bar.c:270
 msgid ""
 "The number of followed links is limited and the actual file could not be "
 "found within this limit."
@@ -298,11 +298,11 @@ msgstr ""
 "Кількість посилань для переходів є обмеженою. Сам файл не вкладається у ці "
 "обмеження."
 
-#: gtef/gtef-io-error-info-bar.c:275
+#: tepl/tepl-io-error-info-bar.c:275
 msgid "You do not have the permissions necessary to open the file."
 msgstr "У вас немає достатніх прав доступу для відкриття файла."
 
-#: gtef/gtef-io-error-info-bar.c:285
+#: tepl/tepl-io-error-info-bar.c:285
 msgid ""
 "Unable to detect the character encoding.\n"
 "Please check that you are not trying to open a binary file.\n"
@@ -312,12 +312,12 @@ msgstr ""
 "Будь ласка, перевірте, чи не намагаєтеся ви відкрити бінарний файл.\n"
 "Виберіть кодування у меню і повторіть спробу."
 
-#: gtef/gtef-io-error-info-bar.c:294
+#: tepl/tepl-io-error-info-bar.c:294
 #, c-format
 msgid "There was a problem opening the file “%s”."
 msgstr "Під час спроби відкрити файл «%s» виникли проблеми."
 
-#: gtef/gtef-io-error-info-bar.c:296
+#: tepl/tepl-io-error-info-bar.c:296
 msgid ""
 "The file you opened has some invalid characters. If you continue editing "
 "this file you could corrupt it.\n"
@@ -327,12 +327,12 @@ msgstr ""
 "редагування цього файла може призвести до пошкодження даних у ньому.\n"
 "Ви можете вибрати інше кодування символів і повторити спробу відкриття."
 
-#: gtef/gtef-io-error-info-bar.c:312
+#: tepl/tepl-io-error-info-bar.c:312
 #, c-format
 msgid "Could not open the file “%s” using the “%s” character encoding."
 msgstr "Не вдалося відкрити файл «%s» з використанням кодування символів «%s»."
 
-#: gtef/gtef-io-error-info-bar.c:316
+#: tepl/tepl-io-error-info-bar.c:316
 msgid ""
 "Please check that you are not trying to open a binary file.\n"
 "Select a different character encoding from the menu and try again."
@@ -340,7 +340,7 @@ msgstr ""
 "Будь ласка, перевірте, чи не намагаєтеся ви відкрити бінарний файл.\n"
 "Виберіть інше кодування у меню і повторіть спробу."
 
-#: gtef/gtef-io-error-info-bar.c:329
+#: tepl/tepl-io-error-info-bar.c:329
 #, c-format
 msgid "Could not open the file “%s”."
 msgstr "Не вдалося відкрити файл «%s»."
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 6372816..84ba3dc 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -5,7 +5,7 @@ AM_CPPFLAGS =                   \
 
 AM_LDFLAGS = $(WARN_LDFLAGS)
 
-LDADD = $(top_builddir)/gtef/libgtef-core.la   \
+LDADD = $(top_builddir)/tepl/libtepl-core.la   \
        $(DEP_LIBS)
 
 noinst_PROGRAMS = $(TEST_PROGS)
@@ -16,8 +16,8 @@ test_fold_region_SOURCES = test-fold-region.c
 
 TEST_PROGS += test-gutter-renderer-folds
 test_gutter_renderer_folds_SOURCES =           \
-       gtef-gutter-renderer-folds-sub.c        \
-       gtef-gutter-renderer-folds-sub.h        \
+       tepl-gutter-renderer-folds-sub.c        \
+       tepl-gutter-renderer-folds-sub.h        \
        test-gutter-renderer-folds.c
 
 TEST_PROGS += test-menu
diff --git a/tests/gtef-gutter-renderer-folds-sub.c b/tests/gtef-gutter-renderer-folds-sub.c
index f4b814b..2f09e38 100644
--- a/tests/gtef-gutter-renderer-folds-sub.c
+++ b/tests/gtef-gutter-renderer-folds-sub.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - David Rabel <david rabel noresoft com>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,14 +17,14 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "gtef-gutter-renderer-folds-sub.h"
+#include "tepl-gutter-renderer-folds-sub.h"
 
-G_DEFINE_TYPE (GtefGutterRendererFoldsSub,
-              gtef_gutter_renderer_folds_sub,
-              GTEF_TYPE_GUTTER_RENDERER_FOLDS)
+G_DEFINE_TYPE (TeplGutterRendererFoldsSub,
+              tepl_gutter_renderer_folds_sub,
+              TEPL_TYPE_GUTTER_RENDERER_FOLDS)
 
 static void
-gtef_gutter_renderer_folds_sub_draw (GtkSourceGutterRenderer      *renderer,
+tepl_gutter_renderer_folds_sub_draw (GtkSourceGutterRenderer      *renderer,
                                     cairo_t                      *cr,
                                     GdkRectangle                 *background_area,
                                     GdkRectangle                 *cell_area,
@@ -33,79 +33,79 @@ gtef_gutter_renderer_folds_sub_draw (GtkSourceGutterRenderer      *renderer,
                                     GtkSourceGutterRendererState  state)
 {
        gint line_num;
-       GtefGutterRendererFoldsState folding_state;
+       TeplGutterRendererFoldsState folding_state;
 
        line_num = gtk_text_iter_get_line (start);
 
        if (line_num == 0)
        {
-               folding_state = GTEF_GUTTER_RENDERER_FOLDS_STATE_START_FOLDED;
+               folding_state = TEPL_GUTTER_RENDERER_FOLDS_STATE_START_FOLDED;
        }
        else if (line_num == 1)
        {
-               folding_state = GTEF_GUTTER_RENDERER_FOLDS_STATE_START_OPENED;
+               folding_state = TEPL_GUTTER_RENDERER_FOLDS_STATE_START_OPENED;
        }
        else if (line_num < 5)
        {
-               folding_state = GTEF_GUTTER_RENDERER_FOLDS_STATE_CONTINUE;
+               folding_state = TEPL_GUTTER_RENDERER_FOLDS_STATE_CONTINUE;
        }
        else if (line_num == 5)
        {
-               folding_state = GTEF_GUTTER_RENDERER_FOLDS_STATE_END;
+               folding_state = TEPL_GUTTER_RENDERER_FOLDS_STATE_END;
        }
        else if (line_num == 6)
        {
-               folding_state = GTEF_GUTTER_RENDERER_FOLDS_STATE_NONE;
+               folding_state = TEPL_GUTTER_RENDERER_FOLDS_STATE_NONE;
        }
        else if (line_num == 7)
        {
-               folding_state = GTEF_GUTTER_RENDERER_FOLDS_STATE_START_OPENED;
+               folding_state = TEPL_GUTTER_RENDERER_FOLDS_STATE_START_OPENED;
        }
        else if (line_num == 8)
        {
-               folding_state = GTEF_GUTTER_RENDERER_FOLDS_STATE_CONTINUE;
+               folding_state = TEPL_GUTTER_RENDERER_FOLDS_STATE_CONTINUE;
        }
        else if (line_num == 9)
        {
-               folding_state = (GTEF_GUTTER_RENDERER_FOLDS_STATE_CONTINUE |
-                                GTEF_GUTTER_RENDERER_FOLDS_STATE_START_OPENED);
+               folding_state = (TEPL_GUTTER_RENDERER_FOLDS_STATE_CONTINUE |
+                                TEPL_GUTTER_RENDERER_FOLDS_STATE_START_OPENED);
        }
        else if (line_num < 12)
        {
-               folding_state = GTEF_GUTTER_RENDERER_FOLDS_STATE_CONTINUE;
+               folding_state = TEPL_GUTTER_RENDERER_FOLDS_STATE_CONTINUE;
        }
        else if (line_num == 12)
        {
-               folding_state = (GTEF_GUTTER_RENDERER_FOLDS_STATE_CONTINUE |
-                                GTEF_GUTTER_RENDERER_FOLDS_STATE_END);
+               folding_state = (TEPL_GUTTER_RENDERER_FOLDS_STATE_CONTINUE |
+                                TEPL_GUTTER_RENDERER_FOLDS_STATE_END);
        }
        else if (line_num == 13)
        {
-               folding_state = GTEF_GUTTER_RENDERER_FOLDS_STATE_CONTINUE;
+               folding_state = TEPL_GUTTER_RENDERER_FOLDS_STATE_CONTINUE;
        }
        else if (line_num == 14)
        {
-               folding_state = (GTEF_GUTTER_RENDERER_FOLDS_STATE_CONTINUE |
-                                GTEF_GUTTER_RENDERER_FOLDS_STATE_START_FOLDED);
+               folding_state = (TEPL_GUTTER_RENDERER_FOLDS_STATE_CONTINUE |
+                                TEPL_GUTTER_RENDERER_FOLDS_STATE_START_FOLDED);
        }
        else if (line_num == 15)
        {
-               folding_state = GTEF_GUTTER_RENDERER_FOLDS_STATE_CONTINUE;
+               folding_state = TEPL_GUTTER_RENDERER_FOLDS_STATE_CONTINUE;
        }
        else if (line_num == 16)
        {
-               folding_state = GTEF_GUTTER_RENDERER_FOLDS_STATE_END;
+               folding_state = TEPL_GUTTER_RENDERER_FOLDS_STATE_END;
        }
        else
        {
-               folding_state = GTEF_GUTTER_RENDERER_FOLDS_STATE_NONE;
+               folding_state = TEPL_GUTTER_RENDERER_FOLDS_STATE_NONE;
        }
 
-       gtef_gutter_renderer_folds_set_state (GTEF_GUTTER_RENDERER_FOLDS (renderer), folding_state);
+       tepl_gutter_renderer_folds_set_state (TEPL_GUTTER_RENDERER_FOLDS (renderer), folding_state);
 
-       if (GTK_SOURCE_GUTTER_RENDERER_CLASS (gtef_gutter_renderer_folds_sub_parent_class)->draw != NULL)
+       if (GTK_SOURCE_GUTTER_RENDERER_CLASS (tepl_gutter_renderer_folds_sub_parent_class)->draw != NULL)
        {
-               GTK_SOURCE_GUTTER_RENDERER_CLASS (gtef_gutter_renderer_folds_sub_parent_class)->draw 
(renderer,
+               GTK_SOURCE_GUTTER_RENDERER_CLASS (tepl_gutter_renderer_folds_sub_parent_class)->draw 
(renderer,
                                                                                                      cr,
                                                                                                      
background_area,
                                                                                                      
cell_area,
@@ -116,20 +116,20 @@ gtef_gutter_renderer_folds_sub_draw (GtkSourceGutterRenderer      *renderer,
 }
 
 static void
-gtef_gutter_renderer_folds_sub_class_init (GtefGutterRendererFoldsSubClass *klass)
+tepl_gutter_renderer_folds_sub_class_init (TeplGutterRendererFoldsSubClass *klass)
 {
        GtkSourceGutterRendererClass *renderer_class = GTK_SOURCE_GUTTER_RENDERER_CLASS (klass);
 
-       renderer_class->draw = gtef_gutter_renderer_folds_sub_draw;
+       renderer_class->draw = tepl_gutter_renderer_folds_sub_draw;
 }
 
 static void
-gtef_gutter_renderer_folds_sub_init (GtefGutterRendererFoldsSub *self)
+tepl_gutter_renderer_folds_sub_init (TeplGutterRendererFoldsSub *self)
 {
 }
 
 GtkSourceGutterRenderer *
-gtef_gutter_renderer_folds_sub_new (void)
+tepl_gutter_renderer_folds_sub_new (void)
 {
-       return g_object_new (GTEF_TYPE_GUTTER_RENDERER_FOLDS_SUB, NULL);
+       return g_object_new (TEPL_TYPE_GUTTER_RENDERER_FOLDS_SUB, NULL);
 }
diff --git a/tests/gtef-gutter-renderer-folds-sub.h b/tests/gtef-gutter-renderer-folds-sub.h
index 9396c89..9e3d36f 100644
--- a/tests/gtef-gutter-renderer-folds-sub.h
+++ b/tests/gtef-gutter-renderer-folds-sub.h
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - David Rabel <david rabel noresoft com>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,39 +17,39 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef GTEF_GUTTER_RENDERER_FOLDS_SUB_H
-#define GTEF_GUTTER_RENDERER_FOLDS_SUB_H
+#ifndef TEPL_GUTTER_RENDERER_FOLDS_SUB_H
+#define TEPL_GUTTER_RENDERER_FOLDS_SUB_H
 
 #include <gtk/gtk.h>
 #include <gtksourceview/gtksource.h>
-#include <gtef/gtef.h>
+#include <tepl/tepl.h>
 
 G_BEGIN_DECLS
 
-#define GTEF_TYPE_GUTTER_RENDERER_FOLDS_SUB            (gtef_gutter_renderer_folds_sub_get_type ())
-#define GTEF_GUTTER_RENDERER_FOLDS_SUB(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), 
GTEF_TYPE_GUTTER_RENDERER_FOLDS_SUB, GtefGutterRendererFoldsSub))
-#define GTEF_GUTTER_RENDERER_FOLDS_SUB_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), 
GTEF_TYPE_GUTTER_RENDERER_FOLDS_SUB, GtefGutterRendererFoldsSubClass))
-#define GTEF_IS_GUTTER_RENDERER_FOLDS_SUB(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), 
GTEF_TYPE_GUTTER_RENDERER_FOLDS_SUB))
-#define GTEF_IS_GUTTER_RENDERER_FOLDS_SUB_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), 
GTEF_TYPE_GUTTER_RENDERER_FOLDS_SUB))
-#define GTEF_GUTTER_RENDERER_FOLDS_SUB_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), 
GTEF_TYPE_GUTTER_RENDERER_FOLDS_SUB, GtefGutterRendererFoldsSubClass))
+#define TEPL_TYPE_GUTTER_RENDERER_FOLDS_SUB            (tepl_gutter_renderer_folds_sub_get_type ())
+#define TEPL_GUTTER_RENDERER_FOLDS_SUB(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), 
TEPL_TYPE_GUTTER_RENDERER_FOLDS_SUB, TeplGutterRendererFoldsSub))
+#define TEPL_GUTTER_RENDERER_FOLDS_SUB_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), 
TEPL_TYPE_GUTTER_RENDERER_FOLDS_SUB, TeplGutterRendererFoldsSubClass))
+#define TEPL_IS_GUTTER_RENDERER_FOLDS_SUB(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), 
TEPL_TYPE_GUTTER_RENDERER_FOLDS_SUB))
+#define TEPL_IS_GUTTER_RENDERER_FOLDS_SUB_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), 
TEPL_TYPE_GUTTER_RENDERER_FOLDS_SUB))
+#define TEPL_GUTTER_RENDERER_FOLDS_SUB_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), 
TEPL_TYPE_GUTTER_RENDERER_FOLDS_SUB, TeplGutterRendererFoldsSubClass))
 
-typedef struct _GtefGutterRendererFoldsSubClass                GtefGutterRendererFoldsSubClass;
-typedef struct _GtefGutterRendererFoldsSub             GtefGutterRendererFoldsSub;
+typedef struct _TeplGutterRendererFoldsSubClass                TeplGutterRendererFoldsSubClass;
+typedef struct _TeplGutterRendererFoldsSub             TeplGutterRendererFoldsSub;
 
-struct _GtefGutterRendererFoldsSub
+struct _TeplGutterRendererFoldsSub
 {
-       GtefGutterRendererFolds parent_instance;
+       TeplGutterRendererFolds parent_instance;
 };
 
-struct _GtefGutterRendererFoldsSubClass
+struct _TeplGutterRendererFoldsSubClass
 {
-       GtefGutterRendererFoldsClass parent_class;
+       TeplGutterRendererFoldsClass parent_class;
 };
 
-GType                          gtef_gutter_renderer_folds_sub_get_type         (void) G_GNUC_CONST;
+GType                          tepl_gutter_renderer_folds_sub_get_type         (void) G_GNUC_CONST;
 
-GtkSourceGutterRenderer *      gtef_gutter_renderer_folds_sub_new              (void);
+GtkSourceGutterRenderer *      tepl_gutter_renderer_folds_sub_new              (void);
 
 G_END_DECLS
 
-#endif /* GTEF_GUTTER_RENDERER_FOLDS_SUB_H */
+#endif /* TEPL_GUTTER_RENDERER_FOLDS_SUB_H */
diff --git a/tests/test-fold-region.c b/tests/test-fold-region.c
index 2555f96..8dcc081 100644
--- a/tests/test-fold-region.c
+++ b/tests/test-fold-region.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - David Rabel <david rabel noresoft com>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,18 +17,18 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <gtef/gtef.h>
+#include <tepl/tepl.h>
 
 static GtkWidget *
 create_view (void)
 {
        GtkWidget *view;
        GtkTextBuffer *buffer;
-       GtefFoldRegion *fold_region;
+       TeplFoldRegion *fold_region;
        GtkTextIter start_iter;
        GtkTextIter end_iter;
 
-       view = gtef_view_new ();
+       view = tepl_view_new ();
 
        buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
        gtk_text_buffer_insert_at_cursor (buffer, "Line0\nLine1\nLine2\nLine3\nLine4\nLine5", -1);
@@ -37,11 +37,11 @@ create_view (void)
        gtk_text_buffer_get_iter_at_line (buffer, &end_iter, 3);
 
        /* FIXME: fold_region must be unreffed on exit. */
-       fold_region = gtef_fold_region_new (buffer,
+       fold_region = tepl_fold_region_new (buffer,
                                            &start_iter,
                                            &end_iter);
 
-       gtef_fold_region_set_folded (fold_region, TRUE);
+       tepl_fold_region_set_folded (fold_region, TRUE);
 
        return view;
 }
diff --git a/tests/test-gutter-renderer-folds.c b/tests/test-gutter-renderer-folds.c
index 51225c4..6919d45 100644
--- a/tests/test-gutter-renderer-folds.c
+++ b/tests/test-gutter-renderer-folds.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - David Rabel <david rabel noresoft com>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,7 +17,7 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "gtef-gutter-renderer-folds-sub.h"
+#include "tepl-gutter-renderer-folds-sub.h"
 
 static GtkWidget *
 create_view (void)
@@ -27,7 +27,7 @@ create_view (void)
        GtkSourceGutter *gutter;
        GtkSourceGutterRenderer *renderer;
 
-       view = gtef_view_new ();
+       view = tepl_view_new ();
 
        buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
        gtk_text_buffer_insert_at_cursor (buffer,
@@ -36,7 +36,7 @@ create_view (void)
                                          -1);
 
        gutter = gtk_source_view_get_gutter (GTK_SOURCE_VIEW (view), GTK_TEXT_WINDOW_LEFT);
-       renderer = gtef_gutter_renderer_folds_sub_new ();
+       renderer = tepl_gutter_renderer_folds_sub_new ();
        gtk_source_gutter_insert (gutter, renderer, 0);
 
        return view;
diff --git a/tests/test-menu.c b/tests/test-menu.c
index f76f424..2d18cc7 100644
--- a/tests/test-menu.c
+++ b/tests/test-menu.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,14 +17,14 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <gtef/gtef.h>
+#include <tepl/tepl.h>
 
 static void
-add_action_info_entries (GtefApplication *gtef_app)
+add_action_info_entries (TeplApplication *tepl_app)
 {
-       GtefActionInfoStore *store;
+       TeplActionInfoStore *store;
 
-       const GtefActionInfoEntry entries[] =
+       const TeplActionInfoEntry entries[] =
        {
                /* action, icon, label, accel, tooltip */
 
@@ -35,9 +35,9 @@ add_action_info_entries (GtefApplication *gtef_app)
                  "About this application" },
        };
 
-       store = gtef_application_get_app_action_info_store (gtef_app);
+       store = tepl_application_get_app_action_info_store (tepl_app);
 
-       gtef_action_info_store_add_entries (store,
+       tepl_action_info_store_add_entries (store,
                                            entries,
                                            G_N_ELEMENTS (entries),
                                            NULL);
@@ -68,7 +68,7 @@ add_action_entries (GApplication *app)
                { "about", about_activate_cb },
        };
 
-       gtef_action_map_add_action_entries_check_dups (G_ACTION_MAP (app),
+       tepl_action_map_add_action_entries_check_dups (G_ACTION_MAP (app),
                                                       entries,
                                                       G_N_ELEMENTS (entries),
                                                       app);
@@ -78,34 +78,34 @@ static void
 startup_cb (GApplication *g_app,
            gpointer      user_data)
 {
-       GtefApplication *gtef_app;
+       TeplApplication *tepl_app;
 
-       gtef_app = gtef_application_get_from_gtk_application (GTK_APPLICATION (g_app));
+       tepl_app = tepl_application_get_from_gtk_application (GTK_APPLICATION (g_app));
 
-       add_action_info_entries (gtef_app);
+       add_action_info_entries (tepl_app);
        add_action_entries (g_app);
 }
 
-static GtefActionInfoStore *
+static TeplActionInfoStore *
 get_action_info_store (void)
 {
-       GtefApplication *app;
+       TeplApplication *app;
 
-       app = gtef_application_get_default ();
+       app = tepl_application_get_default ();
 
-       return gtef_application_get_app_action_info_store (app);
+       return tepl_application_get_app_action_info_store (app);
 }
 
 static GtkWidget *
 create_file_submenu (void)
 {
-       GtefActionInfoStore *store;
+       TeplActionInfoStore *store;
        GtkMenuShell *file_submenu;
 
        store = get_action_info_store ();
        file_submenu = GTK_MENU_SHELL (gtk_menu_new ());
 
-       gtk_menu_shell_append (file_submenu, gtef_action_info_store_create_menu_item (store, "app.quit"));
+       gtk_menu_shell_append (file_submenu, tepl_action_info_store_create_menu_item (store, "app.quit"));
 
        return GTK_WIDGET (file_submenu);
 }
@@ -113,13 +113,13 @@ create_file_submenu (void)
 static GtkWidget *
 create_help_submenu (void)
 {
-       GtefActionInfoStore *store;
+       TeplActionInfoStore *store;
        GtkMenuShell *help_submenu;
 
        store = get_action_info_store ();
        help_submenu = GTK_MENU_SHELL (gtk_menu_new ());
 
-       gtk_menu_shell_append (help_submenu, gtef_action_info_store_create_menu_item (store, "app.about"));
+       gtk_menu_shell_append (help_submenu, tepl_action_info_store_create_menu_item (store, "app.about"));
 
        return GTK_WIDGET (help_submenu);
 }
@@ -130,7 +130,7 @@ create_menu_bar (void)
        GtkWidget *file_menu_item;
        GtkWidget *help_menu_item;
        GtkMenuBar *menu_bar;
-       GtefActionInfoStore *store;
+       TeplActionInfoStore *store;
 
        file_menu_item = gtk_menu_item_new_with_mnemonic ("_File");
        gtk_menu_item_set_submenu (GTK_MENU_ITEM (file_menu_item),
@@ -145,7 +145,7 @@ create_menu_bar (void)
        gtk_menu_shell_append (GTK_MENU_SHELL (menu_bar), help_menu_item);
 
        store = get_action_info_store ();
-       gtef_action_info_store_check_all_used (store);
+       tepl_action_info_store_check_all_used (store);
 
        return menu_bar;
 }
@@ -183,7 +183,7 @@ main (gint    argc,
        GtkApplication *app;
        gint status;
 
-       app = gtk_application_new ("org.gnome.gtef.test-menu", G_APPLICATION_FLAGS_NONE);
+       app = gtk_application_new ("org.gnome.tepl.test-menu", G_APPLICATION_FLAGS_NONE);
 
        g_signal_connect (app,
                          "startup",
diff --git a/tests/test-tab.c b/tests/test-tab.c
index 91f19a7..2931b93 100644
--- a/tests/test-tab.c
+++ b/tests/test-tab.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,9 +17,9 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <gtef/gtef.h>
-#include "gtef/gtef-progress-info-bar.h"
-#include "gtef/gtef-io-error-info-bar.h"
+#include <tepl/tepl.h>
+#include "tepl/tepl-progress-info-bar.h"
+#include "tepl/tepl-io-error-info-bar.h"
 #include <stdlib.h>
 
 static void
@@ -32,57 +32,57 @@ info_bar_response_cb (GtkInfoBar *info_bar,
 
 static void
 basic_cb (GtkButton *button,
-         GtefTab   *tab)
+         TeplTab   *tab)
 {
-       GtefInfoBar *info_bar;
+       TeplInfoBar *info_bar;
        GtkWidget *entry;
 
-       info_bar = gtef_info_bar_new_simple (GTK_MESSAGE_WARNING,
+       info_bar = tepl_info_bar_new_simple (GTK_MESSAGE_WARNING,
                                             "Primary message.",
                                             "Secondary message.");
 
        entry = gtk_entry_new ();
        gtk_widget_show (entry);
-       gtef_info_bar_add_content_widget (info_bar, entry);
+       tepl_info_bar_add_content_widget (info_bar, entry);
 
-       gtef_info_bar_add_close_button (info_bar);
+       tepl_info_bar_add_close_button (info_bar);
 
-       gtef_tab_add_info_bar (tab, GTK_INFO_BAR (info_bar));
+       tepl_tab_add_info_bar (tab, GTK_INFO_BAR (info_bar));
        gtk_widget_show (GTK_WIDGET (info_bar));
 }
 
 static void
 progress_cb (GtkButton *button,
-            GtefTab   *tab)
+            TeplTab   *tab)
 {
-       GtefProgressInfoBar *info_bar;
+       TeplProgressInfoBar *info_bar;
 
-       info_bar = _gtef_progress_info_bar_new ("File loading... The full and very long path is: "
+       info_bar = _tepl_progress_info_bar_new ("File loading... The full and very long path is: "
                                                "/home/seb/a/very/long/path/like/this/is/beautiful"
                                                "/but/is/it/correctly/wrapped/in/the/info/bar/that"
                                                "/is/the/question",
                                                TRUE);
 
-       _gtef_progress_info_bar_set_fraction (info_bar, 0.3);
+       _tepl_progress_info_bar_set_fraction (info_bar, 0.3);
 
        g_signal_connect (info_bar,
                          "response",
                          G_CALLBACK (info_bar_response_cb),
                          NULL);
 
-       gtef_tab_add_info_bar (tab, GTK_INFO_BAR (info_bar));
+       tepl_tab_add_info_bar (tab, GTK_INFO_BAR (info_bar));
        gtk_widget_show (GTK_WIDGET (info_bar));
 }
 
 static void
-add_io_loading_error_info_bar (GtefTab *tab,
+add_io_loading_error_info_bar (TeplTab *tab,
                               GError  *error)
 {
        GFile *location;
        GtkSourceFile *file;
        GtkSourceBuffer *buffer;
        GtkSourceFileLoader *loader;
-       GtefIoErrorInfoBar *info_bar;
+       TeplIoErrorInfoBar *info_bar;
 
        location = g_file_new_for_path ("/home/seb/test.c");
        file = gtk_source_file_new ();
@@ -90,15 +90,15 @@ add_io_loading_error_info_bar (GtefTab *tab,
        buffer = gtk_source_buffer_new (NULL);
        loader = gtk_source_file_loader_new (buffer, file);
 
-       info_bar = _gtef_io_error_info_bar_new ();
-       _gtef_io_error_info_bar_set_loading_error (info_bar, loader, error);
+       info_bar = _tepl_io_error_info_bar_new ();
+       _tepl_io_error_info_bar_set_loading_error (info_bar, loader, error);
 
        g_signal_connect (info_bar,
                          "response",
                          G_CALLBACK (info_bar_response_cb),
                          NULL);
 
-       gtef_tab_add_info_bar (tab, GTK_INFO_BAR (info_bar));
+       tepl_tab_add_info_bar (tab, GTK_INFO_BAR (info_bar));
        gtk_widget_show (GTK_WIDGET (info_bar));
 
        g_object_unref (location);
@@ -109,7 +109,7 @@ add_io_loading_error_info_bar (GtefTab *tab,
 
 static void
 permission_denied_cb (GtkButton *button,
-                     GtefTab   *tab)
+                     TeplTab   *tab)
 {
        GError *error = g_error_new (G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED, "blah");
        add_io_loading_error_info_bar (tab, error);
@@ -118,7 +118,7 @@ permission_denied_cb (GtkButton *button,
 
 static void
 not_found_cb (GtkButton *button,
-             GtefTab   *tab)
+             TeplTab   *tab)
 {
        GError *error = g_error_new (G_IO_ERROR, G_IO_ERROR_NOT_FOUND, "blah");
        add_io_loading_error_info_bar (tab, error);
@@ -127,7 +127,7 @@ not_found_cb (GtkButton *button,
 
 static void
 conversion_fallback_cb (GtkButton *button,
-                       GtefTab   *tab)
+                       TeplTab   *tab)
 {
        GError *error = g_error_new (GTK_SOURCE_FILE_LOADER_ERROR,
                                     GTK_SOURCE_FILE_LOADER_ERROR_CONVERSION_FALLBACK,
@@ -137,7 +137,7 @@ conversion_fallback_cb (GtkButton *button,
 }
 
 static GtkWidget *
-create_side_panel (GtefTab *tab)
+create_side_panel (TeplTab *tab)
 {
        GtkGrid *vgrid;
        GtkWidget *basic;
@@ -193,14 +193,14 @@ create_side_panel (GtefTab *tab)
        return GTK_WIDGET (vgrid);
 }
 
-static GtefTab *
+static TeplTab *
 create_tab (void)
 {
        GtkWidget *view;
        GtkWidget *scrolled_window;
-       GtefTab *tab;
+       TeplTab *tab;
 
-       view = gtef_view_new ();
+       view = tepl_view_new ();
 
        scrolled_window = gtk_scrolled_window_new (NULL, NULL);
        gtk_container_add (GTK_CONTAINER (scrolled_window), view);
@@ -213,12 +213,12 @@ create_tab (void)
         * gtk_widget_queue_resize() which takes the natural size of the
         * scrolled window. Setting a size request fixes the problem.
         * FIXME: some app authors will probably forget to do it, so it would be
-        * better if the Gtef framework handles it, by being aware that the
-        * GtefTab contains a scrolled window.
+        * better if the Tepl framework handles it, by being aware that the
+        * TeplTab contains a scrolled window.
         */
        gtk_widget_set_size_request (scrolled_window, 400, 40);
 
-       tab = gtef_tab_new (scrolled_window);
+       tab = tepl_tab_new (scrolled_window);
        gtk_widget_show_all (GTK_WIDGET (tab));
 
        return tab;
@@ -228,7 +228,7 @@ static GtkWidget *
 create_window_content (void)
 {
        GtkGrid *hgrid;
-       GtefTab *tab;
+       TeplTab *tab;
        GtkWidget *side_panel;
 
        hgrid = GTK_GRID (gtk_grid_new ());
diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
index 7f49531..e80935c 100644
--- a/testsuite/Makefile.am
+++ b/testsuite/Makefile.am
@@ -17,7 +17,7 @@ AM_CPPFLAGS =                         \
 
 AM_LDFLAGS = $(WARN_LDFLAGS)
 
-LDADD = $(top_builddir)/gtef/libgtef-core.la   \
+LDADD = $(top_builddir)/tepl/libtepl-core.la   \
        $(DEP_LIBS)
 
 noinst_PROGRAMS = $(UNIT_TEST_PROGS)
@@ -61,12 +61,12 @@ UNIT_TEST_PROGS += test-utils
 test_utils_SOURCES = test-utils.c
 
 if INSTALLED_TESTS
-insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)-@GTEF_API_VERSION@
+insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)-@TEPL_API_VERSION@
 insttest_PROGRAMS = $(UNIT_TEST_PROGS)
 
 %.test: %$(EXEEXT) Makefile
        $(AM_V_GEN) (echo '[Test]' > $@.tmp; \
-       echo 'Description=Gtef test' >> $@.tmp; \
+       echo 'Description=Tepl test' >> $@.tmp; \
        echo 'Exec=$(insttestdir)/$<' >> $@.tmp; \
        echo 'Type=session' >> $@.tmp; \
        echo 'Output=TAP' >> $@.tmp; \
@@ -76,7 +76,7 @@ test_files = $(UNIT_TEST_PROGS:=.test)
 
 CLEANFILES = $(test_files)
 
-testmetadir = $(datadir)/installed-tests/$(PACKAGE)-@GTEF_API_VERSION@
+testmetadir = $(datadir)/installed-tests/$(PACKAGE)-@TEPL_API_VERSION@
 testmeta_DATA = $(test_files)
 
 endif # INSTALLED_TESTS
diff --git a/testsuite/test-action-info-store.c b/testsuite/test-action-info-store.c
index 0e08550..1a6d55f 100644
--- a/testsuite/test-action-info-store.c
+++ b/testsuite/test-action-info-store.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,17 +17,17 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <gtef/gtef.h>
+#include <tepl/tepl.h>
 
 static void
 test_add_entries (void)
 {
-       GtefActionInfoStore *store;
-       GtefActionInfoCentralStore *central_store;
-       const GtefActionInfo *info1;
-       const GtefActionInfo *info2;
+       TeplActionInfoStore *store;
+       TeplActionInfoCentralStore *central_store;
+       const TeplActionInfo *info1;
+       const TeplActionInfo *info2;
 
-       const GtefActionInfoEntry entries[] =
+       const TeplActionInfoEntry entries[] =
        {
                /* action, icon, label, accel, tooltip */
 
@@ -38,23 +38,23 @@ test_add_entries (void)
                { "win.open", "document-open", "_Open", "<Control>o" },
        };
 
-       store = gtef_action_info_store_new (NULL);
+       store = tepl_action_info_store_new (NULL);
 
-       gtef_action_info_store_add_entries (store,
+       tepl_action_info_store_add_entries (store,
                                            entries,
                                            G_N_ELEMENTS (entries),
                                            NULL);
 
-       info1 = gtef_action_info_store_lookup (store, "win.open");
+       info1 = tepl_action_info_store_lookup (store, "win.open");
        g_assert (info1 != NULL);
-       g_assert_cmpstr (gtef_action_info_get_icon_name (info1), ==, "document-open");
-       g_assert (gtef_action_info_get_tooltip (info1) == NULL);
+       g_assert_cmpstr (tepl_action_info_get_icon_name (info1), ==, "document-open");
+       g_assert (tepl_action_info_get_tooltip (info1) == NULL);
 
-       central_store = gtef_action_info_central_store_get_instance ();
-       info2 = gtef_action_info_central_store_lookup (central_store, "win.open");
+       central_store = tepl_action_info_central_store_get_instance ();
+       info2 = tepl_action_info_central_store_lookup (central_store, "win.open");
        g_assert (info1 == info2);
 
-       info1 = gtef_action_info_store_lookup (store, "plouf");
+       info1 = tepl_action_info_store_lookup (store, "plouf");
        g_assert (info1 == NULL);
 
        g_object_unref (store);
diff --git a/testsuite/test-action-map.c b/testsuite/test-action-map.c
index 35635a4..b4fe182 100644
--- a/testsuite/test-action-map.c
+++ b/testsuite/test-action-map.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,7 +17,7 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <gtef/gtef.h>
+#include <tepl/tepl.h>
 
 static void
 test_add_action_entries_check_dups (void)
@@ -30,7 +30,7 @@ test_add_action_entries_check_dups (void)
        };
 
        group = g_simple_action_group_new ();
-       gtef_action_map_add_action_entries_check_dups (G_ACTION_MAP (group),
+       tepl_action_map_add_action_entries_check_dups (G_ACTION_MAP (group),
                                                       entries,
                                                       G_N_ELEMENTS (entries),
                                                       NULL);
@@ -56,11 +56,11 @@ test_add_action_entries_check_dups__add_two_times (void)
 
        group = g_simple_action_group_new ();
 
-       gtef_action_map_add_action_entries_check_dups (G_ACTION_MAP (group),
+       tepl_action_map_add_action_entries_check_dups (G_ACTION_MAP (group),
                                                       entries,
                                                       G_N_ELEMENTS (entries),
                                                       NULL);
-       gtef_action_map_add_action_entries_check_dups (G_ACTION_MAP (group),
+       tepl_action_map_add_action_entries_check_dups (G_ACTION_MAP (group),
                                                       entries,
                                                       G_N_ELEMENTS (entries),
                                                       NULL);
@@ -80,7 +80,7 @@ test_add_action_entries_check_dups__dups_in_array (void)
 
        group = g_simple_action_group_new ();
 
-       gtef_action_map_add_action_entries_check_dups (G_ACTION_MAP (group),
+       tepl_action_map_add_action_entries_check_dups (G_ACTION_MAP (group),
                                                       entries,
                                                       G_N_ELEMENTS (entries),
                                                       NULL);
diff --git a/testsuite/test-buffer-input-stream.c b/testsuite/test-buffer-input-stream.c
index b4cb139..6d4a46f 100644
--- a/testsuite/test-buffer-input-stream.c
+++ b/testsuite/test-buffer-input-stream.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2010 - Ignacio Casal Quinteiro
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,18 +17,18 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <gtef/gtef.h>
-#include "gtef/gtef-buffer-input-stream.h"
+#include <tepl/tepl.h>
+#include "tepl/tepl-buffer-input-stream.h"
 #include <string.h>
 
 static void
 test_consecutive_read (const gchar     *inbuf,
                       const gchar     *outbuf,
-                      GtefNewlineType  type,
+                      TeplNewlineType  type,
                       gsize            read_chunk_len)
 {
        GtkTextBuffer *buf;
-       GtefBufferInputStream *in;
+       TeplBufferInputStream *in;
        gsize outlen;
        gssize n, r;
        GError *err = NULL;
@@ -39,7 +39,7 @@ test_consecutive_read (const gchar     *inbuf,
        gtk_text_buffer_set_text (buf, inbuf, -1);
 
        b = g_malloc (200);
-       in = _gtef_buffer_input_stream_new (buf, type, TRUE);
+       in = _tepl_buffer_input_stream_new (buf, type, TRUE);
 
        outlen = strlen (outbuf);
        n = 0;
@@ -72,63 +72,63 @@ static void
 test_empty (void)
 {
        /* empty file should not have a trailing newline */
-       test_consecutive_read ("", "", GTEF_NEWLINE_TYPE_CR_LF, 10);
+       test_consecutive_read ("", "", TEPL_NEWLINE_TYPE_CR_LF, 10);
 }
 
 static void
 test_consecutive_cut_char (void)
 {
        /* first \n is read then fo and then is added \r but not \n */
-       test_consecutive_read ("\nfo\nbar\n\nblah\n", "\r\nfo\r\nbar\r\n\r\nblah\r\n\r\n", 
GTEF_NEWLINE_TYPE_CR_LF, 8);
-       test_consecutive_read ("\nfo\nbar\n\nblah", "\r\nfo\r\nbar\r\n\r\nblah\r\n", GTEF_NEWLINE_TYPE_CR_LF, 
8);
+       test_consecutive_read ("\nfo\nbar\n\nblah\n", "\r\nfo\r\nbar\r\n\r\nblah\r\n\r\n", 
TEPL_NEWLINE_TYPE_CR_LF, 8);
+       test_consecutive_read ("\nfo\nbar\n\nblah", "\r\nfo\r\nbar\r\n\r\nblah\r\n", TEPL_NEWLINE_TYPE_CR_LF, 
8);
 }
 
 static void
 test_consecutive_big_read (void)
 {
-       test_consecutive_read ("\nfo\nbar\n\nblah\n", "\rfo\rbar\r\rblah\r\r", GTEF_NEWLINE_TYPE_CR, 200);
-       test_consecutive_read ("\nfo\nbar\n\nblah", "\rfo\rbar\r\rblah\r", GTEF_NEWLINE_TYPE_CR, 200);
+       test_consecutive_read ("\nfo\nbar\n\nblah\n", "\rfo\rbar\r\rblah\r\r", TEPL_NEWLINE_TYPE_CR, 200);
+       test_consecutive_read ("\nfo\nbar\n\nblah", "\rfo\rbar\r\rblah\r", TEPL_NEWLINE_TYPE_CR, 200);
 
-       test_consecutive_read ("\rfo\rbar\r\rblah\r", "\nfo\nbar\n\nblah\n\n", GTEF_NEWLINE_TYPE_LF, 200);
-       test_consecutive_read ("\rfo\rbar\r\rblah", "\nfo\nbar\n\nblah\n", GTEF_NEWLINE_TYPE_LF, 200);
+       test_consecutive_read ("\rfo\rbar\r\rblah\r", "\nfo\nbar\n\nblah\n\n", TEPL_NEWLINE_TYPE_LF, 200);
+       test_consecutive_read ("\rfo\rbar\r\rblah", "\nfo\nbar\n\nblah\n", TEPL_NEWLINE_TYPE_LF, 200);
 
-       test_consecutive_read ("\r\nfo\r\nbar\r\n\r\nblah\r\n", "\nfo\nbar\n\nblah\n\n", 
GTEF_NEWLINE_TYPE_LF, 200);
-       test_consecutive_read ("\r\nfo\r\nbar\r\n\r\nblah", "\nfo\nbar\n\nblah\n", GTEF_NEWLINE_TYPE_LF, 200);
+       test_consecutive_read ("\r\nfo\r\nbar\r\n\r\nblah\r\n", "\nfo\nbar\n\nblah\n\n", 
TEPL_NEWLINE_TYPE_LF, 200);
+       test_consecutive_read ("\r\nfo\r\nbar\r\n\r\nblah", "\nfo\nbar\n\nblah\n", TEPL_NEWLINE_TYPE_LF, 200);
 
-       test_consecutive_read ("\nfo\nbar\n\nblah\n", "\r\nfo\r\nbar\r\n\r\nblah\r\n\r\n", 
GTEF_NEWLINE_TYPE_CR_LF, 200);
-       test_consecutive_read ("\nfo\nbar\n\nblah", "\r\nfo\r\nbar\r\n\r\nblah\r\n", GTEF_NEWLINE_TYPE_CR_LF, 
200);
+       test_consecutive_read ("\nfo\nbar\n\nblah\n", "\r\nfo\r\nbar\r\n\r\nblah\r\n\r\n", 
TEPL_NEWLINE_TYPE_CR_LF, 200);
+       test_consecutive_read ("\nfo\nbar\n\nblah", "\r\nfo\r\nbar\r\n\r\nblah\r\n", TEPL_NEWLINE_TYPE_CR_LF, 
200);
 }
 
 static void
 test_consecutive_middle_read (void)
 {
-       test_consecutive_read ("\nfo\nbar\n\nblah\n", "\rfo\rbar\r\rblah\r\r", GTEF_NEWLINE_TYPE_CR, 6);
-       test_consecutive_read ("\nfo\nbar\n\nblah", "\rfo\rbar\r\rblah\r", GTEF_NEWLINE_TYPE_CR, 6);
+       test_consecutive_read ("\nfo\nbar\n\nblah\n", "\rfo\rbar\r\rblah\r\r", TEPL_NEWLINE_TYPE_CR, 6);
+       test_consecutive_read ("\nfo\nbar\n\nblah", "\rfo\rbar\r\rblah\r", TEPL_NEWLINE_TYPE_CR, 6);
 
-       test_consecutive_read ("\rfo\rbar\r\rblah\r", "\nfo\nbar\n\nblah\n\n", GTEF_NEWLINE_TYPE_LF, 6);
-       test_consecutive_read ("\rfo\rbar\r\rblah", "\nfo\nbar\n\nblah\n", GTEF_NEWLINE_TYPE_LF, 6);
+       test_consecutive_read ("\rfo\rbar\r\rblah\r", "\nfo\nbar\n\nblah\n\n", TEPL_NEWLINE_TYPE_LF, 6);
+       test_consecutive_read ("\rfo\rbar\r\rblah", "\nfo\nbar\n\nblah\n", TEPL_NEWLINE_TYPE_LF, 6);
 
-       test_consecutive_read ("\r\nfo\r\nbar\r\n\r\nblah\r\n", "\nfo\nbar\n\nblah\n\n", 
GTEF_NEWLINE_TYPE_LF, 6);
-       test_consecutive_read ("\r\nfo\r\nbar\r\n\r\nblah", "\nfo\nbar\n\nblah\n", GTEF_NEWLINE_TYPE_LF, 6);
+       test_consecutive_read ("\r\nfo\r\nbar\r\n\r\nblah\r\n", "\nfo\nbar\n\nblah\n\n", 
TEPL_NEWLINE_TYPE_LF, 6);
+       test_consecutive_read ("\r\nfo\r\nbar\r\n\r\nblah", "\nfo\nbar\n\nblah\n", TEPL_NEWLINE_TYPE_LF, 6);
 
-       test_consecutive_read ("\nfo\nbar\n\nblah\n", "\r\nfo\r\nbar\r\n\r\nblah\r\n\r\n", 
GTEF_NEWLINE_TYPE_CR_LF, 6);
-       test_consecutive_read ("\nfo\nbar\n\nblah", "\r\nfo\r\nbar\r\n\r\nblah\r\n", GTEF_NEWLINE_TYPE_CR_LF, 
6);
+       test_consecutive_read ("\nfo\nbar\n\nblah\n", "\r\nfo\r\nbar\r\n\r\nblah\r\n\r\n", 
TEPL_NEWLINE_TYPE_CR_LF, 6);
+       test_consecutive_read ("\nfo\nbar\n\nblah", "\r\nfo\r\nbar\r\n\r\nblah\r\n", TEPL_NEWLINE_TYPE_CR_LF, 
6);
 }
 
 static void
 test_consecutive_multibyte_cut (void)
 {
-       test_consecutive_read ("hello\nhello\xe6\x96\x87\nworld\n", "hello\rhello\xe6\x96\x87\rworld\r\r", 
GTEF_NEWLINE_TYPE_CR, 6);
-       test_consecutive_read ("hello\rhello\xe6\x96\x87\rworld\r", "hello\rhello\xe6\x96\x87\rworld\r\r", 
GTEF_NEWLINE_TYPE_CR, 6);
-       test_consecutive_read ("hello\nhello\xe6\x96\x87\nworld\n", "hello\nhello\xe6\x96\x87\nworld\n\n", 
GTEF_NEWLINE_TYPE_LF, 6);
+       test_consecutive_read ("hello\nhello\xe6\x96\x87\nworld\n", "hello\rhello\xe6\x96\x87\rworld\r\r", 
TEPL_NEWLINE_TYPE_CR, 6);
+       test_consecutive_read ("hello\rhello\xe6\x96\x87\rworld\r", "hello\rhello\xe6\x96\x87\rworld\r\r", 
TEPL_NEWLINE_TYPE_CR, 6);
+       test_consecutive_read ("hello\nhello\xe6\x96\x87\nworld\n", "hello\nhello\xe6\x96\x87\nworld\n\n", 
TEPL_NEWLINE_TYPE_LF, 6);
 }
 
 static void
 test_consecutive_multibyte_big_read (void)
 {
-       test_consecutive_read ("hello\nhello\xe6\x96\x87\nworld\n", "hello\rhello\xe6\x96\x87\rworld\r\r", 
GTEF_NEWLINE_TYPE_CR, 200);
-       test_consecutive_read ("hello\rhello\xe6\x96\x87\rworld\r", "hello\rhello\xe6\x96\x87\rworld\r\r", 
GTEF_NEWLINE_TYPE_CR, 200);
-       test_consecutive_read ("hello\nhello\xe6\x96\x87\nworld\n", "hello\nhello\xe6\x96\x87\nworld\n\n", 
GTEF_NEWLINE_TYPE_LF, 200);
+       test_consecutive_read ("hello\nhello\xe6\x96\x87\nworld\n", "hello\rhello\xe6\x96\x87\rworld\r\r", 
TEPL_NEWLINE_TYPE_CR, 200);
+       test_consecutive_read ("hello\rhello\xe6\x96\x87\rworld\r", "hello\rhello\xe6\x96\x87\rworld\r\r", 
TEPL_NEWLINE_TYPE_CR, 200);
+       test_consecutive_read ("hello\nhello\xe6\x96\x87\nworld\n", "hello\nhello\xe6\x96\x87\nworld\n\n", 
TEPL_NEWLINE_TYPE_LF, 200);
 }
 
 gint
diff --git a/testsuite/test-encoding-converter.c b/testsuite/test-encoding-converter.c
index 8147feb..288e08a 100644
--- a/testsuite/test-encoding-converter.c
+++ b/testsuite/test-encoding-converter.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,7 +17,7 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "gtef/gtef-encoding-converter.h"
+#include "tepl/tepl-encoding-converter.h"
 #include <gio/gio.h> /* For G_IO_ERROR */
 
 static void
@@ -54,26 +54,26 @@ compare_outputs (GQueue *received_output,
 static void
 test_iso_8859_15_to_utf8 (void)
 {
-       GtefEncodingConverter *converter;
+       TeplEncodingConverter *converter;
        GQueue *received_output;
        GQueue *expected_output;
        GError *error = NULL;
 
-       converter = _gtef_encoding_converter_new (-1);
+       converter = _tepl_encoding_converter_new (-1);
 
        received_output = g_queue_new ();
-       _gtef_encoding_converter_set_callback (converter, converter_cb, received_output);
+       _tepl_encoding_converter_set_callback (converter, converter_cb, received_output);
 
-       _gtef_encoding_converter_open (converter, "UTF-8", "ISO-8859-15", &error);
+       _tepl_encoding_converter_open (converter, "UTF-8", "ISO-8859-15", &error);
        g_assert_no_error (error);
 
-       _gtef_encoding_converter_feed (converter,
+       _tepl_encoding_converter_feed (converter,
                                       "Hello S\351bastien.",
                                       -1,
                                       &error);
        g_assert_no_error (error);
 
-       _gtef_encoding_converter_close (converter, &error);
+       _tepl_encoding_converter_close (converter, &error);
        g_assert_no_error (error);
 
        expected_output = g_queue_new ();
@@ -89,26 +89,26 @@ test_iso_8859_15_to_utf8 (void)
 static void
 test_utf8_to_utf8 (void)
 {
-       GtefEncodingConverter *converter;
+       TeplEncodingConverter *converter;
        GQueue *received_output;
        GQueue *expected_output;
        GError *error = NULL;
 
-       converter = _gtef_encoding_converter_new (-1);
+       converter = _tepl_encoding_converter_new (-1);
 
        received_output = g_queue_new ();
-       _gtef_encoding_converter_set_callback (converter, converter_cb, received_output);
+       _tepl_encoding_converter_set_callback (converter, converter_cb, received_output);
 
-       _gtef_encoding_converter_open (converter, "UTF-8", "UTF-8", &error);
+       _tepl_encoding_converter_open (converter, "UTF-8", "UTF-8", &error);
        g_assert_no_error (error);
 
-       _gtef_encoding_converter_feed (converter,
+       _tepl_encoding_converter_feed (converter,
                                       "Hello S\303\251bastien.",
                                       -1,
                                       &error);
        g_assert_no_error (error);
 
-       _gtef_encoding_converter_close (converter, &error);
+       _tepl_encoding_converter_close (converter, &error);
        g_assert_no_error (error);
 
        expected_output = g_queue_new ();
@@ -124,27 +124,27 @@ test_utf8_to_utf8 (void)
 static void
 test_buffer_full (void)
 {
-       GtefEncodingConverter *converter;
+       TeplEncodingConverter *converter;
        GQueue *received_output;
        GQueue *expected_output;
        GError *error = NULL;
 
        /* 10 + terminated nul byte. */
-       converter = _gtef_encoding_converter_new (11);
+       converter = _tepl_encoding_converter_new (11);
 
        received_output = g_queue_new ();
-       _gtef_encoding_converter_set_callback (converter, converter_cb, received_output);
+       _tepl_encoding_converter_set_callback (converter, converter_cb, received_output);
 
-       _gtef_encoding_converter_open (converter, "UTF-8", "UTF-8", &error);
+       _tepl_encoding_converter_open (converter, "UTF-8", "UTF-8", &error);
        g_assert_no_error (error);
 
-       _gtef_encoding_converter_feed (converter,
+       _tepl_encoding_converter_feed (converter,
                                       "Hello S\303\251bastien.",
                                       -1,
                                       &error);
        g_assert_no_error (error);
 
-       _gtef_encoding_converter_close (converter, &error);
+       _tepl_encoding_converter_close (converter, &error);
        g_assert_no_error (error);
 
        expected_output = g_queue_new ();
@@ -161,26 +161,26 @@ test_buffer_full (void)
 static void
 test_incomplete_input (void)
 {
-       GtefEncodingConverter *converter;
+       TeplEncodingConverter *converter;
        GQueue *received_output;
        GQueue *expected_output;
        GError *error = NULL;
 
-       converter = _gtef_encoding_converter_new (-1);
+       converter = _tepl_encoding_converter_new (-1);
 
        /* Split a 2-byte character */
        received_output = g_queue_new ();
-       _gtef_encoding_converter_set_callback (converter, converter_cb, received_output);
+       _tepl_encoding_converter_set_callback (converter, converter_cb, received_output);
 
-       _gtef_encoding_converter_open (converter, "UTF-8", "UTF-8", &error);
+       _tepl_encoding_converter_open (converter, "UTF-8", "UTF-8", &error);
        g_assert_no_error (error);
 
-       _gtef_encoding_converter_feed (converter, "Hello S\303", -1, &error);
+       _tepl_encoding_converter_feed (converter, "Hello S\303", -1, &error);
        g_assert_no_error (error);
-       _gtef_encoding_converter_feed (converter, "\251bastien.", -1, &error);
+       _tepl_encoding_converter_feed (converter, "\251bastien.", -1, &error);
        g_assert_no_error (error);
 
-       _gtef_encoding_converter_close (converter, &error);
+       _tepl_encoding_converter_close (converter, &error);
        g_assert_no_error (error);
 
        expected_output = g_queue_new ();
@@ -195,17 +195,17 @@ test_incomplete_input (void)
 
        /* Split the 3-byte character ẞ: [1, 2] */
        received_output = g_queue_new ();
-       _gtef_encoding_converter_set_callback (converter, converter_cb, received_output);
+       _tepl_encoding_converter_set_callback (converter, converter_cb, received_output);
 
-       _gtef_encoding_converter_open (converter, "UTF-8", "UTF-8", &error);
+       _tepl_encoding_converter_open (converter, "UTF-8", "UTF-8", &error);
        g_assert_no_error (error);
 
-       _gtef_encoding_converter_feed (converter, "\341", -1, &error);
+       _tepl_encoding_converter_feed (converter, "\341", -1, &error);
        g_assert_no_error (error);
-       _gtef_encoding_converter_feed (converter, "\272\236", -1, &error);
+       _tepl_encoding_converter_feed (converter, "\272\236", -1, &error);
        g_assert_no_error (error);
 
-       _gtef_encoding_converter_close (converter, &error);
+       _tepl_encoding_converter_close (converter, &error);
        g_assert_no_error (error);
 
        expected_output = g_queue_new ();
@@ -220,17 +220,17 @@ test_incomplete_input (void)
 
        /* Split the 3-byte character ẞ: [2, 1] */
        received_output = g_queue_new ();
-       _gtef_encoding_converter_set_callback (converter, converter_cb, received_output);
+       _tepl_encoding_converter_set_callback (converter, converter_cb, received_output);
 
-       _gtef_encoding_converter_open (converter, "UTF-8", "UTF-8", &error);
+       _tepl_encoding_converter_open (converter, "UTF-8", "UTF-8", &error);
        g_assert_no_error (error);
 
-       _gtef_encoding_converter_feed (converter, "\341\272", -1, &error);
+       _tepl_encoding_converter_feed (converter, "\341\272", -1, &error);
        g_assert_no_error (error);
-       _gtef_encoding_converter_feed (converter, "\236", -1, &error);
+       _tepl_encoding_converter_feed (converter, "\236", -1, &error);
        g_assert_no_error (error);
 
-       _gtef_encoding_converter_close (converter, &error);
+       _tepl_encoding_converter_close (converter, &error);
        g_assert_no_error (error);
 
        expected_output = g_queue_new ();
@@ -245,19 +245,19 @@ test_incomplete_input (void)
 
        /* Split the 3-byte character ẞ: [1, 1, 1] */
        received_output = g_queue_new ();
-       _gtef_encoding_converter_set_callback (converter, converter_cb, received_output);
+       _tepl_encoding_converter_set_callback (converter, converter_cb, received_output);
 
-       _gtef_encoding_converter_open (converter, "UTF-8", "UTF-8", &error);
+       _tepl_encoding_converter_open (converter, "UTF-8", "UTF-8", &error);
        g_assert_no_error (error);
 
-       _gtef_encoding_converter_feed (converter, "\341", -1, &error);
+       _tepl_encoding_converter_feed (converter, "\341", -1, &error);
        g_assert_no_error (error);
-       _gtef_encoding_converter_feed (converter, "\272", -1, &error);
+       _tepl_encoding_converter_feed (converter, "\272", -1, &error);
        g_assert_no_error (error);
-       _gtef_encoding_converter_feed (converter, "\236", -1, &error);
+       _tepl_encoding_converter_feed (converter, "\236", -1, &error);
        g_assert_no_error (error);
 
-       _gtef_encoding_converter_close (converter, &error);
+       _tepl_encoding_converter_close (converter, &error);
        g_assert_no_error (error);
 
        expected_output = g_queue_new ();
@@ -276,16 +276,16 @@ test_incomplete_input (void)
 static void
 test_invalid_sequence (void)
 {
-       GtefEncodingConverter *converter;
+       TeplEncodingConverter *converter;
        GError *error = NULL;
 
-       converter = _gtef_encoding_converter_new (-1);
+       converter = _tepl_encoding_converter_new (-1);
 
-       _gtef_encoding_converter_open (converter, "UTF-8", "UTF-8", &error);
+       _tepl_encoding_converter_open (converter, "UTF-8", "UTF-8", &error);
        g_assert_no_error (error);
 
        /* \251 is the second byte of "é". */
-       _gtef_encoding_converter_feed (converter,
+       _tepl_encoding_converter_feed (converter,
                                       "Hello S\251bastien.",
                                       -1,
                                       &error);
@@ -293,7 +293,7 @@ test_invalid_sequence (void)
        g_assert (g_error_matches (error, G_CONVERT_ERROR, G_CONVERT_ERROR_ILLEGAL_SEQUENCE));
        g_clear_error (&error);
 
-       _gtef_encoding_converter_close (converter, &error);
+       _tepl_encoding_converter_close (converter, &error);
        g_assert_no_error (error);
 
        g_object_unref (converter);
@@ -302,19 +302,19 @@ test_invalid_sequence (void)
 static void
 test_end_with_incomplete_input (void)
 {
-       GtefEncodingConverter *converter;
+       TeplEncodingConverter *converter;
        GError *error = NULL;
 
-       converter = _gtef_encoding_converter_new (-1);
+       converter = _tepl_encoding_converter_new (-1);
 
-       _gtef_encoding_converter_open (converter, "UTF-8", "UTF-8", &error);
+       _tepl_encoding_converter_open (converter, "UTF-8", "UTF-8", &error);
        g_assert_no_error (error);
 
        /* \303 is the start of a two-byte character. */
-       _gtef_encoding_converter_feed (converter, "So far so \303", -1, &error);
+       _tepl_encoding_converter_feed (converter, "So far so \303", -1, &error);
        g_assert_no_error (error);
 
-       _gtef_encoding_converter_close (converter, &error);
+       _tepl_encoding_converter_close (converter, &error);
        g_assert (g_error_matches (error, G_CONVERT_ERROR, G_CONVERT_ERROR_PARTIAL_INPUT));
        g_clear_error (&error);
 
diff --git a/testsuite/test-encoding.c b/testsuite/test-encoding.c
index a5ca6ab..d9d34c9 100644
--- a/testsuite/test-encoding.c
+++ b/testsuite/test-encoding.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2014, 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,44 +17,44 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <gtef/gtef.h>
-#include "gtef/gtef-encoding-private.h"
+#include <tepl/tepl.h>
+#include "tepl/tepl-encoding-private.h"
 
 static void
 test_remove_duplicates (void)
 {
        GSList *list = NULL;
-       GtefEncoding *utf8;
-       GtefEncoding *iso;
+       TeplEncoding *utf8;
+       TeplEncoding *iso;
 
-       utf8 = gtef_encoding_new_utf8 ();
-       iso = gtef_encoding_new ("ISO-8859-15");
+       utf8 = tepl_encoding_new_utf8 ();
+       iso = tepl_encoding_new ("ISO-8859-15");
 
        /* Before: [UTF-8, ISO-8859-15, UTF-8] */
-       list = g_slist_prepend (list, gtef_encoding_copy (utf8));
-       list = g_slist_prepend (list, gtef_encoding_copy (iso));
-       list = g_slist_prepend (list, gtef_encoding_copy (utf8));
+       list = g_slist_prepend (list, tepl_encoding_copy (utf8));
+       list = g_slist_prepend (list, tepl_encoding_copy (iso));
+       list = g_slist_prepend (list, tepl_encoding_copy (utf8));
 
        /* After: [UTF-8, ISO-8859-15] */
-       list = _gtef_encoding_remove_duplicates (list, GTEF_ENCODING_DUPLICATES_KEEP_FIRST);
+       list = _tepl_encoding_remove_duplicates (list, TEPL_ENCODING_DUPLICATES_KEEP_FIRST);
 
        g_assert_cmpint (2, ==, g_slist_length (list));
-       g_assert (gtef_encoding_equals (list->data, utf8));
-       g_assert (gtef_encoding_equals (list->next->data, iso));
+       g_assert (tepl_encoding_equals (list->data, utf8));
+       g_assert (tepl_encoding_equals (list->next->data, iso));
 
        /* Before: [UTF-8, ISO-8859-15, UTF-8] */
-       list = g_slist_append (list, gtef_encoding_copy (utf8));
+       list = g_slist_append (list, tepl_encoding_copy (utf8));
 
        /* After: [ISO-8859-15, UTF-8] */
-       list = _gtef_encoding_remove_duplicates (list, GTEF_ENCODING_DUPLICATES_KEEP_LAST);
+       list = _tepl_encoding_remove_duplicates (list, TEPL_ENCODING_DUPLICATES_KEEP_LAST);
 
        g_assert_cmpint (2, ==, g_slist_length (list));
-       g_assert (gtef_encoding_equals (list->data, iso));
-       g_assert (gtef_encoding_equals (list->next->data, utf8));
+       g_assert (tepl_encoding_equals (list->data, iso));
+       g_assert (tepl_encoding_equals (list->next->data, utf8));
 
-       g_slist_free_full (list, (GDestroyNotify)gtef_encoding_free);
-       gtef_encoding_free (utf8);
-       gtef_encoding_free (iso);
+       g_slist_free_full (list, (GDestroyNotify)tepl_encoding_free);
+       tepl_encoding_free (utf8);
+       tepl_encoding_free (iso);
 }
 
 int
diff --git a/testsuite/test-file-loader.c b/testsuite/test-file-loader.c
index e889000..4746146 100644
--- a/testsuite/test-file-loader.c
+++ b/testsuite/test-file-loader.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016, 2017 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -19,7 +19,7 @@
 
 #include <string.h>
 #include <sys/stat.h>
-#include <gtef/gtef.h>
+#include <tepl/tepl.h>
 
 #define DEFAULT_CONTENTS "My shiny content!"
 #define MAX_SIZE 10000
@@ -36,8 +36,8 @@ struct _TestData
        gchar *expected_buffer_content;
        GQuark expected_error_domain;
        gint expected_error_code;
-       GtefEncoding *expected_encoding;
-       GtefNewlineType expected_newline_type;
+       TeplEncoding *expected_encoding;
+       TeplNewlineType expected_newline_type;
 
        /* Can be -1 to disable checking the number of lines in the buffer. */
        gint expected_line_count;
@@ -48,7 +48,7 @@ test_data_new (const gchar     *expected_buffer_content,
               GQuark           expected_error_domain,
               gint             expected_error_code,
               const gchar     *expected_charset,
-              GtefNewlineType  expected_newline_type,
+              TeplNewlineType  expected_newline_type,
               gint             expected_line_count)
 {
        TestData *data;
@@ -64,7 +64,7 @@ test_data_new (const gchar     *expected_buffer_content,
 
        if (expected_charset != NULL)
        {
-               data->expected_encoding = gtef_encoding_new (expected_charset);
+               data->expected_encoding = tepl_encoding_new (expected_charset);
        }
 
        return data;
@@ -75,7 +75,7 @@ test_data_free (TestData *data)
 {
        if (data != NULL)
        {
-               gtef_encoding_free (data->expected_encoding);
+               tepl_encoding_free (data->expected_encoding);
                g_free (data->expected_buffer_content);
                g_free (data);
        }
@@ -140,14 +140,14 @@ check_buffer_state (GtkTextBuffer *buffer)
 }
 
 static void
-check_equal_encodings (const GtefEncoding *received_enc,
-                      const GtefEncoding *expected_enc)
+check_equal_encodings (const TeplEncoding *received_enc,
+                      const TeplEncoding *expected_enc)
 {
-       if (!gtef_encoding_equals (received_enc, expected_enc))
+       if (!tepl_encoding_equals (received_enc, expected_enc))
        {
                g_warning ("Expected encoding '%s' but received '%s'.",
-                          gtef_encoding_get_charset (expected_enc),
-                          gtef_encoding_get_charset (received_enc));
+                          tepl_encoding_get_charset (expected_enc),
+                          tepl_encoding_get_charset (received_enc));
        }
 }
 
@@ -156,7 +156,7 @@ load_cb (GObject      *source_object,
         GAsyncResult *result,
         gpointer      user_data)
 {
-       GtefFileLoader *loader = GTEF_FILE_LOADER (source_object);
+       TeplFileLoader *loader = TEPL_FILE_LOADER (source_object);
        TestData *data = user_data;
        GtkTextBuffer *buffer;
        GtkTextIter start;
@@ -165,23 +165,23 @@ load_cb (GObject      *source_object,
        GFile *location;
        GError *error = NULL;
 
-       gtef_file_loader_load_finish (loader, result, &error);
+       tepl_file_loader_load_finish (loader, result, &error);
 
-       buffer = GTK_TEXT_BUFFER (gtef_file_loader_get_buffer (loader));
+       buffer = GTK_TEXT_BUFFER (tepl_file_loader_get_buffer (loader));
 
        if (data->expected_error_domain == 0)
        {
-               GtefFile *file;
+               TeplFile *file;
 
                g_assert_no_error (error);
 
-               file = gtef_file_loader_get_file (loader);
+               file = tepl_file_loader_get_file (loader);
 
-               g_assert_cmpint (gtef_file_get_compression_type (file), ==, GTEF_COMPRESSION_TYPE_NONE);
-               g_assert_cmpint (gtef_file_loader_get_newline_type (loader), ==, data->expected_newline_type);
-               g_assert_cmpint (gtef_file_get_newline_type (file), ==, data->expected_newline_type);
-               g_assert (!gtef_file_is_externally_modified (file));
-               g_assert (!gtef_file_is_deleted (file));
+               g_assert_cmpint (tepl_file_get_compression_type (file), ==, TEPL_COMPRESSION_TYPE_NONE);
+               g_assert_cmpint (tepl_file_loader_get_newline_type (loader), ==, data->expected_newline_type);
+               g_assert_cmpint (tepl_file_get_newline_type (file), ==, data->expected_newline_type);
+               g_assert (!tepl_file_is_externally_modified (file));
+               g_assert (!tepl_file_is_deleted (file));
 
                if (data->expected_line_count != -1)
                {
@@ -193,8 +193,8 @@ load_cb (GObject      *source_object,
 
                if (data->expected_encoding != NULL)
                {
-                       check_equal_encodings (gtef_file_loader_get_encoding (loader), 
data->expected_encoding);
-                       check_equal_encodings (gtef_file_get_encoding (file), data->expected_encoding);
+                       check_equal_encodings (tepl_file_loader_get_encoding (loader), 
data->expected_encoding);
+                       check_equal_encodings (tepl_file_get_encoding (file), data->expected_encoding);
                }
        }
        else
@@ -211,7 +211,7 @@ load_cb (GObject      *source_object,
 
        check_buffer_state (buffer);
 
-       location = gtef_file_loader_get_location (loader);
+       location = tepl_file_loader_get_location (loader);
        g_file_delete (location, NULL, &error);
        g_assert_no_error (error);
 
@@ -227,32 +227,32 @@ test_loader (const gchar     *contents,
             GQuark           expected_error_domain,
             gint             expected_error_code,
             const gchar     *expected_charset,
-            GtefNewlineType  expected_newline_type,
+            TeplNewlineType  expected_newline_type,
             gint             expected_line_count,
             gboolean         implicit_trailing_newline,
             gint64           max_size)
 {
-       GtefBuffer *buffer;
-       GtefFile *file;
+       TeplBuffer *buffer;
+       TeplFile *file;
        gchar *path;
        GFile *location;
-       GtefFileLoader *loader;
+       TeplFileLoader *loader;
        TestData *data;
        GError *error = NULL;
 
-       buffer = gtef_buffer_new ();
+       buffer = tepl_buffer_new ();
        gtk_text_buffer_set_text (GTK_TEXT_BUFFER (buffer), "Previous contents, must be emptied.", -1);
        gtk_source_buffer_set_implicit_trailing_newline (GTK_SOURCE_BUFFER (buffer),
                                                         implicit_trailing_newline);
 
-       file = gtef_buffer_get_file (buffer);
+       file = tepl_buffer_get_file (buffer);
 
-       path = g_build_filename (g_get_tmp_dir (), "gtef-test-file-loader", NULL);
+       path = g_build_filename (g_get_tmp_dir (), "tepl-test-file-loader", NULL);
        g_file_set_contents (path, contents, -1, &error);
        g_assert_no_error (error);
 
        location = g_file_new_for_path (path);
-       gtef_file_set_location (file, location);
+       tepl_file_set_location (file, location);
 
        data = test_data_new (expected_buffer_content,
                              expected_error_domain,
@@ -261,11 +261,11 @@ test_loader (const gchar     *contents,
                              expected_newline_type,
                              expected_line_count);
 
-       loader = gtef_file_loader_new (buffer, file);
-       gtef_file_loader_set_max_size (loader, max_size);
-       gtef_file_loader_set_chunk_size (loader, CHUNK_SIZE);
+       loader = tepl_file_loader_new (buffer, file);
+       tepl_file_loader_set_max_size (loader, max_size);
+       tepl_file_loader_set_chunk_size (loader, CHUNK_SIZE);
 
-       gtef_file_loader_load_async (loader,
+       tepl_file_loader_load_async (loader,
                                     G_PRIORITY_DEFAULT,
                                     NULL, /* cancellable */
                                     NULL, NULL, NULL, /* progress */
@@ -284,7 +284,7 @@ static void
 test_loader_newlines (gboolean         implicit_trailing_newline,
                      const gchar     *contents,
                      const gchar     *expected_buffer_content,
-                     GtefNewlineType  expected_newline_type)
+                     TeplNewlineType  expected_newline_type)
 {
        test_loader (contents,
                     expected_buffer_content,
@@ -299,15 +299,15 @@ test_loader_newlines (gboolean         implicit_trailing_newline,
 static void
 test_newlines (void)
 {
-       test_loader_newlines (TRUE, DEFAULT_CONTENTS, DEFAULT_CONTENTS, GTEF_NEWLINE_TYPE_DEFAULT);
-       test_loader_newlines (TRUE, DEFAULT_CONTENTS "\n", DEFAULT_CONTENTS, GTEF_NEWLINE_TYPE_LF);
-       test_loader_newlines (TRUE, DEFAULT_CONTENTS "\r", DEFAULT_CONTENTS, GTEF_NEWLINE_TYPE_CR);
-       test_loader_newlines (TRUE, DEFAULT_CONTENTS "\r\n", DEFAULT_CONTENTS, GTEF_NEWLINE_TYPE_CR_LF);
-
-       test_loader_newlines (FALSE, DEFAULT_CONTENTS, DEFAULT_CONTENTS, GTEF_NEWLINE_TYPE_DEFAULT);
-       test_loader_newlines (FALSE, DEFAULT_CONTENTS "\n", DEFAULT_CONTENTS "\n", GTEF_NEWLINE_TYPE_LF);
-       test_loader_newlines (FALSE, DEFAULT_CONTENTS "\r", DEFAULT_CONTENTS "\r", GTEF_NEWLINE_TYPE_CR);
-       test_loader_newlines (FALSE, DEFAULT_CONTENTS "\r\n", DEFAULT_CONTENTS "\r\n", 
GTEF_NEWLINE_TYPE_CR_LF);
+       test_loader_newlines (TRUE, DEFAULT_CONTENTS, DEFAULT_CONTENTS, TEPL_NEWLINE_TYPE_DEFAULT);
+       test_loader_newlines (TRUE, DEFAULT_CONTENTS "\n", DEFAULT_CONTENTS, TEPL_NEWLINE_TYPE_LF);
+       test_loader_newlines (TRUE, DEFAULT_CONTENTS "\r", DEFAULT_CONTENTS, TEPL_NEWLINE_TYPE_CR);
+       test_loader_newlines (TRUE, DEFAULT_CONTENTS "\r\n", DEFAULT_CONTENTS, TEPL_NEWLINE_TYPE_CR_LF);
+
+       test_loader_newlines (FALSE, DEFAULT_CONTENTS, DEFAULT_CONTENTS, TEPL_NEWLINE_TYPE_DEFAULT);
+       test_loader_newlines (FALSE, DEFAULT_CONTENTS "\n", DEFAULT_CONTENTS "\n", TEPL_NEWLINE_TYPE_LF);
+       test_loader_newlines (FALSE, DEFAULT_CONTENTS "\r", DEFAULT_CONTENTS "\r", TEPL_NEWLINE_TYPE_CR);
+       test_loader_newlines (FALSE, DEFAULT_CONTENTS "\r\n", DEFAULT_CONTENTS "\r\n", 
TEPL_NEWLINE_TYPE_CR_LF);
 }
 
 static void
@@ -318,7 +318,7 @@ test_loader_split_cr_lf (const gchar *content,
                     content,
                     0, 0,
                     "ASCII",
-                    GTEF_NEWLINE_TYPE_LF,
+                    TEPL_NEWLINE_TYPE_LF,
                     expected_line_count,
                     FALSE,
                     -1);
@@ -331,7 +331,7 @@ test_split_cr_lf (void)
        gchar *content;
        gint expected_line_count;
 
-       block_size = _gtef_file_loader_get_encoding_converter_buffer_size ();
+       block_size = _tepl_file_loader_get_encoding_converter_buffer_size ();
        /* Remove terminating nul byte */
        block_size--;
 
@@ -418,7 +418,7 @@ test_loader_max_size (const gchar *contents,
                     expected_error_domain,
                     expected_error_code,
                     "ASCII",
-                    GTEF_NEWLINE_TYPE_LF,
+                    TEPL_NEWLINE_TYPE_LF,
                     -1,
                     FALSE,
                     max_size);
@@ -437,8 +437,8 @@ test_max_size (void)
        /* Too big */
        test_loader_max_size (content,
                              "",
-                             GTEF_FILE_LOADER_ERROR,
-                             GTEF_FILE_LOADER_ERROR_TOO_BIG,
+                             TEPL_FILE_LOADER_ERROR,
+                             TEPL_FILE_LOADER_ERROR_TOO_BIG,
                              MAX_SIZE);
 
        g_free (content);
@@ -466,7 +466,7 @@ test_encoding (void)
                     "Un \303\251l\303\251phant \303\247a trompe \303\251norm\303\251ment.\n",
                     0, 0,
                     "ISO-8859-1",
-                    GTEF_NEWLINE_TYPE_LF,
+                    TEPL_NEWLINE_TYPE_LF,
                     2,
                     FALSE,
                     -1);
@@ -476,7 +476,7 @@ test_encoding (void)
                     "STRA\341\272\236E\n",
                     0, 0,
                     "UTF-8",
-                    GTEF_NEWLINE_TYPE_LF,
+                    TEPL_NEWLINE_TYPE_LF,
                     2,
                     FALSE,
                     -1);
@@ -490,7 +490,7 @@ create_writable_file (void)
        GFile *location;
        GError *error = NULL;
 
-       path = g_build_filename (g_get_tmp_dir (), "gtef-test-file-loader", NULL);
+       path = g_build_filename (g_get_tmp_dir (), "tepl-test-file-loader", NULL);
        location = g_file_new_for_path (path);
 
        g_file_delete (location, NULL, NULL);
@@ -533,7 +533,7 @@ create_file_with_permissions (guint permissions)
        guint mode;
        GError *error = NULL;
 
-       path = g_build_filename (g_get_tmp_dir (), "gtef-test-file-loader", NULL);
+       path = g_build_filename (g_get_tmp_dir (), "tepl-test-file-loader", NULL);
        location = g_file_new_for_path (path);
 
        g_file_delete (location, NULL, NULL);
@@ -570,17 +570,17 @@ check_readonly_cb (GObject      *source_object,
                   GAsyncResult *result,
                   gpointer      user_data)
 {
-       GtefFileLoader *loader = GTEF_FILE_LOADER (source_object);
+       TeplFileLoader *loader = TEPL_FILE_LOADER (source_object);
        gboolean expected_readonly = GPOINTER_TO_INT (user_data);
-       GtefFile *file;
+       TeplFile *file;
        gboolean readonly;
        GError *error = NULL;
 
-       gtef_file_loader_load_finish (loader, result, &error);
+       tepl_file_loader_load_finish (loader, result, &error);
        g_assert_no_error (error);
 
-       file = gtef_file_loader_get_file (loader);
-       readonly = gtef_file_is_readonly (file);
+       file = tepl_file_loader_get_file (loader);
+       readonly = tepl_file_is_readonly (file);
        g_assert_cmpint (readonly, ==, expected_readonly);
 
        gtk_main_quit ();
@@ -590,17 +590,17 @@ static void
 check_readonly (GFile    *location,
                gboolean  expected_readonly)
 {
-       GtefBuffer *buffer;
-       GtefFile *file;
-       GtefFileLoader *loader;
+       TeplBuffer *buffer;
+       TeplFile *file;
+       TeplFileLoader *loader;
 
-       buffer = gtef_buffer_new ();
-       file = gtef_buffer_get_file (buffer);
+       buffer = tepl_buffer_new ();
+       file = tepl_buffer_get_file (buffer);
 
-       gtef_file_set_location (file, location);
-       loader = gtef_file_loader_new (buffer, file);
+       tepl_file_set_location (file, location);
+       loader = tepl_file_loader_new (buffer, file);
 
-       gtef_file_loader_load_async (loader,
+       tepl_file_loader_load_async (loader,
                                     G_PRIORITY_DEFAULT,
                                     NULL,
                                     NULL, NULL, NULL,
diff --git a/testsuite/test-file-metadata.c b/testsuite/test-file-metadata.c
index 7998151..ae9f1eb 100644
--- a/testsuite/test-file-metadata.c
+++ b/testsuite/test-file-metadata.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,16 +17,16 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <gtef/gtef.h>
+#include <tepl/tepl.h>
 #include <glib/gstdio.h>
 
-#define TEST_KEY "gtef-test-key"
-#define TEST_OTHER_KEY "gtef-test-other-key"
+#define TEST_KEY "tepl-test-key"
+#define TEST_OTHER_KEY "tepl-test-other-key"
 
 static gchar *
 get_metadata_manager_path (void)
 {
-       return g_build_filename (g_get_tmp_dir (), "gtef-metadata-manager-store.xml", NULL);
+       return g_build_filename (g_get_tmp_dir (), "tepl-metadata-manager-store.xml", NULL);
 }
 
 static void
@@ -35,8 +35,8 @@ setup_unit_test (void)
        gchar *path;
 
        path = get_metadata_manager_path ();
-       gtef_metadata_manager_init (path);
-       _gtef_metadata_manager_set_unit_test_mode ();
+       tepl_metadata_manager_init (path);
+       _tepl_metadata_manager_set_unit_test_mode ();
        g_free (path);
 }
 
@@ -45,23 +45,23 @@ teardown_unit_test (void)
 {
        gchar *path;
 
-       gtef_metadata_manager_shutdown ();
+       tepl_metadata_manager_shutdown ();
 
        path = get_metadata_manager_path ();
        g_unlink (path);
        g_free (path);
 }
 
-static GtefFile *
+static TeplFile *
 create_file (gboolean use_gvfs_metadata)
 {
-       GtefFile *file;
-       GtefFileMetadata *metadata;
+       TeplFile *file;
+       TeplFileMetadata *metadata;
 
-       file = gtef_file_new ();
+       file = tepl_file_new ();
 
-       metadata = gtef_file_get_file_metadata (file);
-       _gtef_file_metadata_set_use_gvfs_metadata (metadata, use_gvfs_metadata);
+       metadata = tepl_file_get_file_metadata (file);
+       _tepl_file_metadata_set_use_gvfs_metadata (metadata, use_gvfs_metadata);
 
        return file;
 }
@@ -69,37 +69,37 @@ create_file (gboolean use_gvfs_metadata)
 static void
 do_test_get_set_metadata (gboolean use_gvfs_metadata)
 {
-       GtefFile *file;
-       GtefFileMetadata *metadata;
+       TeplFile *file;
+       TeplFileMetadata *metadata;
        gchar *value;
 
        file = create_file (use_gvfs_metadata);
-       metadata = gtef_file_get_file_metadata (file);
+       metadata = tepl_file_get_file_metadata (file);
 
-       value = gtef_file_metadata_get (metadata, TEST_KEY);
+       value = tepl_file_metadata_get (metadata, TEST_KEY);
        g_assert (value == NULL);
 
-       gtef_file_metadata_set (metadata, TEST_KEY, "zippy");
-       value = gtef_file_metadata_get (metadata, TEST_KEY);
+       tepl_file_metadata_set (metadata, TEST_KEY, "zippy");
+       value = tepl_file_metadata_get (metadata, TEST_KEY);
        g_assert_cmpstr (value, ==, "zippy");
        g_free (value);
 
-       value = gtef_file_metadata_get (metadata, TEST_OTHER_KEY);
+       value = tepl_file_metadata_get (metadata, TEST_OTHER_KEY);
        g_assert (value == NULL);
 
-       gtef_file_metadata_set (metadata, TEST_KEY, "zippiness");
-       value = gtef_file_metadata_get (metadata, TEST_KEY);
+       tepl_file_metadata_set (metadata, TEST_KEY, "zippiness");
+       value = tepl_file_metadata_get (metadata, TEST_KEY);
        g_assert_cmpstr (value, ==, "zippiness");
        g_free (value);
 
        /* Unset */
-       gtef_file_metadata_set (metadata, TEST_KEY, NULL);
-       value = gtef_file_metadata_get (metadata, TEST_KEY);
+       tepl_file_metadata_set (metadata, TEST_KEY, NULL);
+       value = tepl_file_metadata_get (metadata, TEST_KEY);
        g_assert (value == NULL);
 
        /* Unset non-set metadata */
-       gtef_file_metadata_set (metadata, TEST_OTHER_KEY, NULL);
-       value = gtef_file_metadata_get (metadata, TEST_OTHER_KEY);
+       tepl_file_metadata_set (metadata, TEST_OTHER_KEY, NULL);
+       value = tepl_file_metadata_get (metadata, TEST_OTHER_KEY);
        g_assert (value == NULL);
 
        g_object_unref (file);
@@ -117,8 +117,8 @@ test_get_set_metadata (void)
 static void
 do_test_load_save_metadata_sync (gboolean use_gvfs_metadata)
 {
-       GtefFile *file;
-       GtefFileMetadata *metadata;
+       TeplFile *file;
+       TeplFileMetadata *metadata;
        gchar *value;
        gchar *path;
        GFile *location;
@@ -126,32 +126,32 @@ do_test_load_save_metadata_sync (gboolean use_gvfs_metadata)
        gboolean ok;
 
        file = create_file (use_gvfs_metadata);
-       metadata = gtef_file_get_file_metadata (file);
+       metadata = tepl_file_get_file_metadata (file);
 
        /* NULL location */
 
-       gtef_file_metadata_set (metadata, TEST_KEY, "epica");
+       tepl_file_metadata_set (metadata, TEST_KEY, "epica");
 
-       ok = gtef_file_metadata_load (metadata, NULL, &error);
+       ok = tepl_file_metadata_load (metadata, NULL, &error);
        g_assert_no_error (error);
        g_assert (!ok);
 
-       ok = gtef_file_metadata_save (metadata, NULL, &error);
+       ok = tepl_file_metadata_save (metadata, NULL, &error);
        g_assert_no_error (error);
        g_assert (!ok);
 
-       value = gtef_file_metadata_get (metadata, TEST_KEY);
+       value = tepl_file_metadata_get (metadata, TEST_KEY);
        g_assert_cmpstr (value, ==, "epica");
        g_free (value);
 
        /* Save metadata */
 
-       path = g_build_filename (g_get_tmp_dir (), "gtef-metadata-test-sync", NULL);
+       path = g_build_filename (g_get_tmp_dir (), "tepl-metadata-test-sync", NULL);
        location = g_file_new_for_path (path);
 
-       gtef_file_set_location (file, location);
+       tepl_file_set_location (file, location);
 
-       ok = gtef_file_metadata_save (metadata, NULL, &error);
+       ok = tepl_file_metadata_save (metadata, NULL, &error);
        if (use_gvfs_metadata)
        {
                g_assert (error != NULL); /* No such file or directory */
@@ -167,7 +167,7 @@ do_test_load_save_metadata_sync (gboolean use_gvfs_metadata)
        g_file_set_contents (path, "blum", -1, &error);
        g_assert_no_error (error);
 
-       ok = gtef_file_metadata_save (metadata, NULL, &error);
+       ok = tepl_file_metadata_save (metadata, NULL, &error);
        g_assert_no_error (error);
        g_assert (ok);
 
@@ -176,34 +176,34 @@ do_test_load_save_metadata_sync (gboolean use_gvfs_metadata)
        /* Load metadata */
 
        file = create_file (use_gvfs_metadata);
-       metadata = gtef_file_get_file_metadata (file);
-       gtef_file_set_location (file, location);
+       metadata = tepl_file_get_file_metadata (file);
+       tepl_file_set_location (file, location);
 
-       gtef_file_metadata_set (metadata, TEST_OTHER_KEY, "embrace");
+       tepl_file_metadata_set (metadata, TEST_OTHER_KEY, "embrace");
 
-       ok = gtef_file_metadata_load (metadata, NULL, &error);
+       ok = tepl_file_metadata_load (metadata, NULL, &error);
        g_assert_no_error (error);
        g_assert (ok);
 
-       value = gtef_file_metadata_get (metadata, TEST_OTHER_KEY);
+       value = tepl_file_metadata_get (metadata, TEST_OTHER_KEY);
        g_assert (value == NULL);
 
-       value = gtef_file_metadata_get (metadata, TEST_KEY);
+       value = tepl_file_metadata_get (metadata, TEST_KEY);
        g_assert_cmpstr (value, ==, "epica");
        g_free (value);
 
        /* Unset */
 
-       gtef_file_metadata_set (metadata, TEST_KEY, NULL);
-       ok = gtef_file_metadata_save (metadata, NULL, &error);
+       tepl_file_metadata_set (metadata, TEST_KEY, NULL);
+       ok = tepl_file_metadata_save (metadata, NULL, &error);
        g_assert_no_error (error);
        g_assert (ok);
 
-       ok = gtef_file_metadata_load (metadata, NULL, &error);
+       ok = tepl_file_metadata_load (metadata, NULL, &error);
        g_assert_no_error (error);
        g_assert (ok);
 
-       value = gtef_file_metadata_get (metadata, TEST_KEY);
+       value = tepl_file_metadata_get (metadata, TEST_KEY);
        g_assert (value == NULL);
 
        /* Clean-up */
@@ -211,7 +211,7 @@ do_test_load_save_metadata_sync (gboolean use_gvfs_metadata)
        g_file_delete (location, NULL, &error);
        g_assert_no_error (error);
 
-       ok = gtef_file_metadata_load (metadata, NULL, &error);
+       ok = tepl_file_metadata_load (metadata, NULL, &error);
        if (use_gvfs_metadata)
        {
                g_assert (error != NULL); /* No such file or directory */
@@ -243,31 +243,31 @@ load_metadata_async_cb (GObject      *source_object,
                        GAsyncResult *result,
                        gpointer      user_data)
 {
-       GtefFileMetadata *metadata = GTEF_FILE_METADATA (source_object);
-       GtefFile *file;
+       TeplFileMetadata *metadata = TEPL_FILE_METADATA (source_object);
+       TeplFile *file;
        gchar *value;
        GFile *location;
        GError *error = NULL;
        gboolean ok;
 
-       file = gtef_file_metadata_get_file (metadata);
+       file = tepl_file_metadata_get_file (metadata);
 
-       ok = gtef_file_metadata_load_finish (metadata, result, &error);
+       ok = tepl_file_metadata_load_finish (metadata, result, &error);
        g_assert_no_error (error);
        g_assert (ok);
 
-       value = gtef_file_metadata_get (metadata, TEST_KEY);
+       value = tepl_file_metadata_get (metadata, TEST_KEY);
        g_assert_cmpstr (value, ==, "in flames");
        g_free (value);
 
        /* Unset and clean-up */
 
-       gtef_file_metadata_set (metadata, TEST_KEY, NULL);
-       ok = gtef_file_metadata_save (metadata, NULL, &error);
+       tepl_file_metadata_set (metadata, TEST_KEY, NULL);
+       ok = tepl_file_metadata_save (metadata, NULL, &error);
        g_assert_no_error (error);
        g_assert (ok);
 
-       location = gtef_file_get_location (file);
+       location = tepl_file_get_location (file);
        g_file_delete (location, NULL, &error);
        g_assert_no_error (error);
 
@@ -280,17 +280,17 @@ save_metadata_async_cb (GObject      *source_object,
                        GAsyncResult *result,
                        gpointer      user_data)
 {
-       GtefFileMetadata *metadata = GTEF_FILE_METADATA (source_object);
+       TeplFileMetadata *metadata = TEPL_FILE_METADATA (source_object);
        GError *error = NULL;
        gboolean ok;
 
-       ok = gtef_file_metadata_save_finish (metadata, result, &error);
+       ok = tepl_file_metadata_save_finish (metadata, result, &error);
        g_assert_no_error (error);
        g_assert (ok);
 
-       gtef_file_metadata_set (metadata, TEST_KEY, NULL);
+       tepl_file_metadata_set (metadata, TEST_KEY, NULL);
 
-       gtef_file_metadata_load_async (metadata,
+       tepl_file_metadata_load_async (metadata,
                                       G_PRIORITY_DEFAULT,
                                       NULL,
                                       load_metadata_async_cb,
@@ -301,28 +301,28 @@ save_metadata_async_cb (GObject      *source_object,
 static void
 do_test_load_save_metadata_async (gboolean use_gvfs_metadata)
 {
-       GtefFile *file;
-       GtefFileMetadata *metadata;
+       TeplFile *file;
+       TeplFileMetadata *metadata;
        gchar *path;
        GFile *location;
        GError *error = NULL;
 
        file = create_file (use_gvfs_metadata);
-       metadata = gtef_file_get_file_metadata (file);
+       metadata = tepl_file_get_file_metadata (file);
 
-       path = g_build_filename (g_get_tmp_dir (), "gtef-metadata-test-async", NULL);
+       path = g_build_filename (g_get_tmp_dir (), "tepl-metadata-test-async", NULL);
 
        location = g_file_new_for_path (path);
-       gtef_file_set_location (file, location);
+       tepl_file_set_location (file, location);
        g_object_unref (location);
 
        g_file_set_contents (path, "blum", -1, &error);
        g_assert_no_error (error);
        g_free (path);
 
-       gtef_file_metadata_set (metadata, TEST_KEY, "in flames");
+       tepl_file_metadata_set (metadata, TEST_KEY, "in flames");
 
-       gtef_file_metadata_save_async (metadata,
+       tepl_file_metadata_save_async (metadata,
                                       G_PRIORITY_DEFAULT,
                                       NULL,
                                       save_metadata_async_cb,
@@ -346,8 +346,8 @@ test_load_save_metadata_async (void)
 static void
 do_test_set_without_load (gboolean use_gvfs_metadata)
 {
-       GtefFile *file;
-       GtefFileMetadata *metadata;
+       TeplFile *file;
+       TeplFileMetadata *metadata;
        gchar *path;
        GFile *location;
        gchar *value;
@@ -355,17 +355,17 @@ do_test_set_without_load (gboolean use_gvfs_metadata)
        gboolean ok;
 
        file = create_file (use_gvfs_metadata);
-       metadata = gtef_file_get_file_metadata (file);
-       path = g_build_filename (g_get_tmp_dir (), "gtef-metadata-test-set-without-load", NULL);
+       metadata = tepl_file_get_file_metadata (file);
+       path = g_build_filename (g_get_tmp_dir (), "tepl-metadata-test-set-without-load", NULL);
        location = g_file_new_for_path (path);
-       gtef_file_set_location (file, location);
+       tepl_file_set_location (file, location);
 
        g_file_set_contents (path, "blom", -1, &error);
        g_assert_no_error (error);
 
        /* Set and save one metadata */
-       gtef_file_metadata_set (metadata, TEST_KEY, "dimmu");
-       ok = gtef_file_metadata_save (metadata, NULL, &error);
+       tepl_file_metadata_set (metadata, TEST_KEY, "dimmu");
+       ok = tepl_file_metadata_save (metadata, NULL, &error);
        g_assert_no_error (error);
        g_assert (ok);
 
@@ -373,31 +373,31 @@ do_test_set_without_load (gboolean use_gvfs_metadata)
 
        /* Set and save another metadata, independently */
        file = create_file (use_gvfs_metadata);
-       metadata = gtef_file_get_file_metadata (file);
-       gtef_file_set_location (file, location);
-       gtef_file_metadata_set (metadata, TEST_OTHER_KEY, "borgir");
-       ok = gtef_file_metadata_save (metadata, NULL, &error);
+       metadata = tepl_file_get_file_metadata (file);
+       tepl_file_set_location (file, location);
+       tepl_file_metadata_set (metadata, TEST_OTHER_KEY, "borgir");
+       ok = tepl_file_metadata_save (metadata, NULL, &error);
        g_assert_no_error (error);
        g_assert (ok);
 
        /* Load */
-       ok = gtef_file_metadata_load (metadata, NULL, &error);
+       ok = tepl_file_metadata_load (metadata, NULL, &error);
        g_assert_no_error (error);
        g_assert (ok);
 
        /* Check that the two metadata are present */
-       value = gtef_file_metadata_get (metadata, TEST_KEY);
+       value = tepl_file_metadata_get (metadata, TEST_KEY);
        g_assert_cmpstr (value, ==, "dimmu");
        g_free (value);
 
-       value = gtef_file_metadata_get (metadata, TEST_OTHER_KEY);
+       value = tepl_file_metadata_get (metadata, TEST_OTHER_KEY);
        g_assert_cmpstr (value, ==, "borgir");
        g_free (value);
 
        /* Clean-up */
-       gtef_file_metadata_set (metadata, TEST_KEY, NULL);
-       gtef_file_metadata_set (metadata, TEST_OTHER_KEY, NULL);
-       ok = gtef_file_metadata_save (metadata, NULL, &error);
+       tepl_file_metadata_set (metadata, TEST_KEY, NULL);
+       tepl_file_metadata_set (metadata, TEST_OTHER_KEY, NULL);
+       ok = tepl_file_metadata_save (metadata, NULL, &error);
        g_assert_no_error (error);
        g_assert (ok);
 
diff --git a/testsuite/test-file-saver.c b/testsuite/test-file-saver.c
index ec11efa..77f621e 100644
--- a/testsuite/test-file-saver.c
+++ b/testsuite/test-file-saver.c
@@ -1,15 +1,15 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2010 - Jesse van den Kieboom
  * Copyright 2014, 2017 - Sébastien Wilmet
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -21,7 +21,7 @@
 #include <string.h>
 #include <sys/stat.h>
 #include <glib/gprintf.h>
-#include <gtef/gtef.h>
+#include <tepl/tepl.h>
 
 #define ENABLE_REMOTE_TESTS    FALSE
 
@@ -46,7 +46,7 @@ typedef void (*SavedCallback) (SaverTestData *data);
 
 struct _SaverTestData
 {
-       GtefFileSaver *saver;
+       TeplFileSaver *saver;
        GFile *location;
        const gchar *expected_file_contents;
        SavedCallback saved_callback;
@@ -80,13 +80,13 @@ read_file (GFile *location)
 }
 
 static void
-save_file_cb (GtefFileSaver *saver,
+save_file_cb (TeplFileSaver *saver,
              GAsyncResult  *result,
              SaverTestData *data)
 {
        GError *error = NULL;
 
-       gtef_file_saver_save_finish (saver, result, &error);
+       tepl_file_saver_save_finish (saver, result, &error);
 
        g_assert_no_error (error);
 
@@ -111,7 +111,7 @@ save_file (SaverTestData *data)
 {
        data->file_existed = g_file_query_exists (data->location, NULL);
 
-       gtef_file_saver_save_async (data->saver,
+       tepl_file_saver_save_async (data->saver,
                                    G_PRIORITY_DEFAULT,
                                    NULL, NULL, NULL, NULL,
                                    (GAsyncReadyCallback) save_file_cb,
@@ -166,26 +166,26 @@ static void
 test_saver (const gchar     *filename_or_uri,
            const gchar     *buffer_contents,
            const gchar     *expected_file_contents,
-           GtefNewlineType  newline_type,
+           TeplNewlineType  newline_type,
            SavedCallback    saved_callback,
            gpointer         userdata)
 {
        GFile *location;
-       GtefBuffer *buffer;
-       GtefFile *file;
-       GtefFileSaver *saver;
+       TeplBuffer *buffer;
+       TeplFile *file;
+       TeplFileSaver *saver;
        SaverTestData *data;
 
        location = g_file_new_for_commandline_arg (filename_or_uri);
 
-       buffer = gtef_buffer_new ();
+       buffer = tepl_buffer_new ();
        gtk_text_buffer_set_text (GTK_TEXT_BUFFER (buffer), buffer_contents, -1);
 
-       file = gtef_file_new ();
-       saver = gtef_file_saver_new_with_target (buffer, file, location);
+       file = tepl_file_new ();
+       saver = tepl_file_saver_new_with_target (buffer, file, location);
 
-       gtef_file_saver_set_newline_type (saver, newline_type);
-       gtef_file_saver_set_encoding (saver, NULL);
+       tepl_file_saver_set_newline_type (saver, newline_type);
+       tepl_file_saver_set_encoding (saver, NULL);
 
        data = g_slice_new (SaverTestData);
        data->saver = saver;
@@ -206,41 +206,41 @@ test_saver (const gchar     *filename_or_uri,
 
 typedef struct
 {
-       GtefNewlineType type;
+       TeplNewlineType type;
        const gchar *text;
        const gchar *result;
 } NewLineTestData;
 
 static NewLineTestData newline_test_data[] = {
-       {GTEF_NEWLINE_TYPE_LF, "\nhello\nworld", "\nhello\nworld\n"},
-       {GTEF_NEWLINE_TYPE_LF, "\nhello\nworld\n", "\nhello\nworld\n\n"},
-       {GTEF_NEWLINE_TYPE_LF, "\nhello\nworld\n\n", "\nhello\nworld\n\n\n"},
-       {GTEF_NEWLINE_TYPE_LF, "\r\nhello\r\nworld", "\nhello\nworld\n"},
-       {GTEF_NEWLINE_TYPE_LF, "\r\nhello\r\nworld\r\n", "\nhello\nworld\n\n"},
-       {GTEF_NEWLINE_TYPE_LF, "\rhello\rworld", "\nhello\nworld\n"},
-       {GTEF_NEWLINE_TYPE_LF, "\rhello\rworld\r", "\nhello\nworld\n\n"},
-       {GTEF_NEWLINE_TYPE_LF, "\nhello\r\nworld", "\nhello\nworld\n"},
-       {GTEF_NEWLINE_TYPE_LF, "\nhello\r\nworld\r", "\nhello\nworld\n\n"},
-
-       {GTEF_NEWLINE_TYPE_CR_LF, "\nhello\nworld", "\r\nhello\r\nworld\r\n"},
-       {GTEF_NEWLINE_TYPE_CR_LF, "\nhello\nworld\n", "\r\nhello\r\nworld\r\n\r\n"},
-       {GTEF_NEWLINE_TYPE_CR_LF, "\nhello\nworld\n\n", "\r\nhello\r\nworld\r\n\r\n\r\n"},
-       {GTEF_NEWLINE_TYPE_CR_LF, "\r\nhello\r\nworld", "\r\nhello\r\nworld\r\n"},
-       {GTEF_NEWLINE_TYPE_CR_LF, "\r\nhello\r\nworld\r\n", "\r\nhello\r\nworld\r\n\r\n"},
-       {GTEF_NEWLINE_TYPE_CR_LF, "\rhello\rworld", "\r\nhello\r\nworld\r\n"},
-       {GTEF_NEWLINE_TYPE_CR_LF, "\rhello\rworld\r", "\r\nhello\r\nworld\r\n\r\n"},
-       {GTEF_NEWLINE_TYPE_CR_LF, "\nhello\r\nworld", "\r\nhello\r\nworld\r\n"},
-       {GTEF_NEWLINE_TYPE_CR_LF, "\nhello\r\nworld\r", "\r\nhello\r\nworld\r\n\r\n"},
-
-       {GTEF_NEWLINE_TYPE_CR, "\nhello\nworld", "\rhello\rworld\r"},
-       {GTEF_NEWLINE_TYPE_CR, "\nhello\nworld\n", "\rhello\rworld\r\r"},
-       {GTEF_NEWLINE_TYPE_CR, "\nhello\nworld\n\n", "\rhello\rworld\r\r\r"},
-       {GTEF_NEWLINE_TYPE_CR, "\r\nhello\r\nworld", "\rhello\rworld\r"},
-       {GTEF_NEWLINE_TYPE_CR, "\r\nhello\r\nworld\r\n", "\rhello\rworld\r\r"},
-       {GTEF_NEWLINE_TYPE_CR, "\rhello\rworld", "\rhello\rworld\r"},
-       {GTEF_NEWLINE_TYPE_CR, "\rhello\rworld\r", "\rhello\rworld\r\r"},
-       {GTEF_NEWLINE_TYPE_CR, "\nhello\r\nworld", "\rhello\rworld\r"},
-       {GTEF_NEWLINE_TYPE_CR, "\nhello\r\nworld\r", "\rhello\rworld\r\r"}
+       {TEPL_NEWLINE_TYPE_LF, "\nhello\nworld", "\nhello\nworld\n"},
+       {TEPL_NEWLINE_TYPE_LF, "\nhello\nworld\n", "\nhello\nworld\n\n"},
+       {TEPL_NEWLINE_TYPE_LF, "\nhello\nworld\n\n", "\nhello\nworld\n\n\n"},
+       {TEPL_NEWLINE_TYPE_LF, "\r\nhello\r\nworld", "\nhello\nworld\n"},
+       {TEPL_NEWLINE_TYPE_LF, "\r\nhello\r\nworld\r\n", "\nhello\nworld\n\n"},
+       {TEPL_NEWLINE_TYPE_LF, "\rhello\rworld", "\nhello\nworld\n"},
+       {TEPL_NEWLINE_TYPE_LF, "\rhello\rworld\r", "\nhello\nworld\n\n"},
+       {TEPL_NEWLINE_TYPE_LF, "\nhello\r\nworld", "\nhello\nworld\n"},
+       {TEPL_NEWLINE_TYPE_LF, "\nhello\r\nworld\r", "\nhello\nworld\n\n"},
+
+       {TEPL_NEWLINE_TYPE_CR_LF, "\nhello\nworld", "\r\nhello\r\nworld\r\n"},
+       {TEPL_NEWLINE_TYPE_CR_LF, "\nhello\nworld\n", "\r\nhello\r\nworld\r\n\r\n"},
+       {TEPL_NEWLINE_TYPE_CR_LF, "\nhello\nworld\n\n", "\r\nhello\r\nworld\r\n\r\n\r\n"},
+       {TEPL_NEWLINE_TYPE_CR_LF, "\r\nhello\r\nworld", "\r\nhello\r\nworld\r\n"},
+       {TEPL_NEWLINE_TYPE_CR_LF, "\r\nhello\r\nworld\r\n", "\r\nhello\r\nworld\r\n\r\n"},
+       {TEPL_NEWLINE_TYPE_CR_LF, "\rhello\rworld", "\r\nhello\r\nworld\r\n"},
+       {TEPL_NEWLINE_TYPE_CR_LF, "\rhello\rworld\r", "\r\nhello\r\nworld\r\n\r\n"},
+       {TEPL_NEWLINE_TYPE_CR_LF, "\nhello\r\nworld", "\r\nhello\r\nworld\r\n"},
+       {TEPL_NEWLINE_TYPE_CR_LF, "\nhello\r\nworld\r", "\r\nhello\r\nworld\r\n\r\n"},
+
+       {TEPL_NEWLINE_TYPE_CR, "\nhello\nworld", "\rhello\rworld\r"},
+       {TEPL_NEWLINE_TYPE_CR, "\nhello\nworld\n", "\rhello\rworld\r\r"},
+       {TEPL_NEWLINE_TYPE_CR, "\nhello\nworld\n\n", "\rhello\rworld\r\r\r"},
+       {TEPL_NEWLINE_TYPE_CR, "\r\nhello\r\nworld", "\rhello\rworld\r"},
+       {TEPL_NEWLINE_TYPE_CR, "\r\nhello\r\nworld\r\n", "\rhello\rworld\r\r"},
+       {TEPL_NEWLINE_TYPE_CR, "\rhello\rworld", "\rhello\rworld\r"},
+       {TEPL_NEWLINE_TYPE_CR, "\rhello\rworld\r", "\rhello\rworld\r\r"},
+       {TEPL_NEWLINE_TYPE_CR, "\nhello\r\nworld", "\rhello\rworld\r"},
+       {TEPL_NEWLINE_TYPE_CR, "\nhello\r\nworld\r", "\rhello\rworld\r\r"}
 };
 
 static void
@@ -285,21 +285,21 @@ test_local (void)
        test_saver (default_local_uri,
                    "hello world",
                    "hello world\n",
-                   GTEF_NEWLINE_TYPE_LF,
+                   TEPL_NEWLINE_TYPE_LF,
                    NULL,
                    NULL);
 
        test_saver (default_local_uri,
                    "hello world\r\n",
                    "hello world\n\n",
-                   GTEF_NEWLINE_TYPE_LF,
+                   TEPL_NEWLINE_TYPE_LF,
                    NULL,
                    NULL);
 
        test_saver (default_local_uri,
                    "hello world\n",
                    "hello world\n\n",
-                   GTEF_NEWLINE_TYPE_LF,
+                   TEPL_NEWLINE_TYPE_LF,
                    NULL,
                    NULL);
        g_free (default_local_uri);
@@ -317,21 +317,21 @@ test_remote (void)
        test_saver (DEFAULT_REMOTE_URI,
                    "hello world",
                    "hello world\n",
-                   GTEF_NEWLINE_TYPE_LF,
+                   TEPL_NEWLINE_TYPE_LF,
                    NULL,
                    NULL);
 
        test_saver (DEFAULT_REMOTE_URI,
                    "hello world\r\n",
                    "hello world\n\n",
-                   GTEF_NEWLINE_TYPE_LF,
+                   TEPL_NEWLINE_TYPE_LF,
                    NULL,
                    NULL);
 
        test_saver (DEFAULT_REMOTE_URI,
                    "hello world\n",
                    "hello world\n\n",
-                   GTEF_NEWLINE_TYPE_LF,
+                   TEPL_NEWLINE_TYPE_LF,
                    NULL,
                    NULL);
 }
@@ -409,7 +409,7 @@ test_permissions (const gchar *uri,
        test_saver (uri,
                    DEFAULT_CONTENT,
                    DEFAULT_CONTENT_RESULT,
-                   GTEF_NEWLINE_TYPE_LF,
+                   TEPL_NEWLINE_TYPE_LF,
                    check_permissions_saved,
                    GINT_TO_POINTER ((gint)permissions));
 
@@ -445,7 +445,7 @@ test_local_unowned_directory (void)
        test_saver (unowned_local_uri,
                    DEFAULT_CONTENT,
                    DEFAULT_CONTENT_RESULT,
-                   GTEF_NEWLINE_TYPE_LF,
+                   TEPL_NEWLINE_TYPE_LF,
                    NULL,
                    NULL);
        g_free (unowned_local_uri);
@@ -462,7 +462,7 @@ test_remote_unowned_directory (void)
        test_saver (unowned_remote_uri,
                    DEFAULT_CONTENT,
                    DEFAULT_CONTENT_RESULT,
-                   GTEF_NEWLINE_TYPE_LF,
+                   TEPL_NEWLINE_TYPE_LF,
                    NULL,
                    NULL);
        g_free (unowned_remote_uri);
@@ -510,7 +510,7 @@ test_unowned_group (const gchar *uri)
        test_saver (uri,
                    DEFAULT_CONTENT,
                    DEFAULT_CONTENT_RESULT,
-                   GTEF_NEWLINE_TYPE_LF,
+                   TEPL_NEWLINE_TYPE_LF,
                    test_unowned_group_permissions,
                    NULL);
 }
diff --git a/testsuite/test-file.c b/testsuite/test-file.c
index 928129d..31edfdf 100644
--- a/testsuite/test-file.c
+++ b/testsuite/test-file.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,7 +17,7 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <gtef/gtef.h>
+#include <tepl/tepl.h>
 #include <unistd.h>
 
 static void
@@ -25,25 +25,25 @@ load_cb (GObject      *source_object,
         GAsyncResult *result,
         gpointer      user_data)
 {
-       GtefFileLoader *loader = GTEF_FILE_LOADER (source_object);
+       TeplFileLoader *loader = TEPL_FILE_LOADER (source_object);
        GError *error = NULL;
 
-       gtef_file_loader_load_finish (loader, result, &error);
+       tepl_file_loader_load_finish (loader, result, &error);
        g_assert_no_error (error);
 
        gtk_main_quit ();
 }
 
 static void
-load (GtefBuffer *buffer)
+load (TeplBuffer *buffer)
 {
-       GtefFile *file;
-       GtefFileLoader *loader;
+       TeplFile *file;
+       TeplFileLoader *loader;
 
-       file = gtef_buffer_get_file (buffer);
+       file = tepl_buffer_get_file (buffer);
 
-       loader = gtef_file_loader_new (buffer, file);
-       gtef_file_loader_load_async (loader,
+       loader = tepl_file_loader_new (buffer, file);
+       tepl_file_loader_load_async (loader,
                                     G_PRIORITY_DEFAULT,
                                     NULL, /* cancellable */
                                     NULL, NULL, NULL, /* progress cb */
@@ -59,16 +59,16 @@ save_cb (GObject      *source_object,
         GAsyncResult *result,
         gpointer      user_data)
 {
-       GtefFileSaver *saver = GTEF_FILE_SAVER (source_object);
+       TeplFileSaver *saver = TEPL_FILE_SAVER (source_object);
        gboolean expect_externally_modified_error = GPOINTER_TO_INT (user_data);
        GError *error = NULL;
 
-       gtef_file_saver_save_finish (saver, result, &error);
+       tepl_file_saver_save_finish (saver, result, &error);
        if (expect_externally_modified_error)
        {
                g_assert (g_error_matches (error,
-                                          GTEF_FILE_SAVER_ERROR,
-                                          GTEF_FILE_SAVER_ERROR_EXTERNALLY_MODIFIED));
+                                          TEPL_FILE_SAVER_ERROR,
+                                          TEPL_FILE_SAVER_ERROR_EXTERNALLY_MODIFIED));
                g_clear_error (&error);
        }
        else
@@ -80,16 +80,16 @@ save_cb (GObject      *source_object,
 }
 
 static void
-save (GtefBuffer *buffer,
+save (TeplBuffer *buffer,
       gboolean    expect_externally_modified_error)
 {
-       GtefFile *file;
-       GtefFileSaver *saver;
+       TeplFile *file;
+       TeplFileSaver *saver;
 
-       file = gtef_buffer_get_file (buffer);
+       file = tepl_buffer_get_file (buffer);
 
-       saver = gtef_file_saver_new (buffer, file);
-       gtef_file_saver_save_async (saver,
+       saver = tepl_file_saver_new (buffer, file);
+       tepl_file_saver_save_async (saver,
                                    G_PRIORITY_DEFAULT,
                                    NULL, /* cancellable */
                                    NULL, NULL, NULL, /* progress cb */
@@ -102,8 +102,8 @@ save (GtefBuffer *buffer,
        {
                expect_externally_modified_error = FALSE;
 
-               gtef_file_saver_set_flags (saver, GTEF_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME);
-               gtef_file_saver_save_async (saver,
+               tepl_file_saver_set_flags (saver, TEPL_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME);
+               tepl_file_saver_save_async (saver,
                                            G_PRIORITY_DEFAULT,
                                            NULL, /* cancellable */
                                            NULL, NULL, NULL, /* progress cb */
@@ -117,17 +117,17 @@ save (GtefBuffer *buffer,
 }
 
 static void
-save_as (GtefBuffer *buffer,
+save_as (TeplBuffer *buffer,
         GFile      *new_location)
 {
-       GtefFile *file;
-       GtefFileSaver *saver;
+       TeplFile *file;
+       TeplFileSaver *saver;
        gboolean expect_externally_modified_error = FALSE;
 
-       file = gtef_buffer_get_file (buffer);
+       file = tepl_buffer_get_file (buffer);
 
-       saver = gtef_file_saver_new_with_target (buffer, file, new_location);
-       gtef_file_saver_save_async (saver,
+       saver = tepl_file_saver_new_with_target (buffer, file, new_location);
+       tepl_file_saver_save_async (saver,
                                    G_PRIORITY_DEFAULT,
                                    NULL, /* cancellable */
                                    NULL, NULL, NULL, /* progress cb */
@@ -141,44 +141,44 @@ save_as (GtefBuffer *buffer,
 static void
 test_externally_modified (void)
 {
-       GtefBuffer *buffer;
-       GtefFile *file;
+       TeplBuffer *buffer;
+       TeplFile *file;
        gchar *path;
        gchar *new_path;
        GFile *location;
        GFile *new_location;
        GError *error = NULL;
 
-       buffer = gtef_buffer_new ();
-       file = gtef_buffer_get_file (buffer);
+       buffer = tepl_buffer_new ();
+       file = tepl_buffer_get_file (buffer);
 
        /* With NULL location */
-       g_assert (!gtef_file_is_externally_modified (file));
-       gtef_file_check_file_on_disk (file);
-       g_assert (!gtef_file_is_externally_modified (file));
+       g_assert (!tepl_file_is_externally_modified (file));
+       tepl_file_check_file_on_disk (file);
+       g_assert (!tepl_file_is_externally_modified (file));
 
        /* Set location, but not yet loaded or saved */
-       path = g_build_filename (g_get_tmp_dir (), "gtef-test-file", NULL);
+       path = g_build_filename (g_get_tmp_dir (), "tepl-test-file", NULL);
        g_file_set_contents (path, "a", -1, &error);
        g_assert_no_error (error);
 
        location = g_file_new_for_path (path);
-       gtef_file_set_location (file, location);
-       g_assert (!gtef_file_is_externally_modified (file));
-       gtef_file_check_file_on_disk (file);
-       g_assert (!gtef_file_is_externally_modified (file));
+       tepl_file_set_location (file, location);
+       g_assert (!tepl_file_is_externally_modified (file));
+       tepl_file_check_file_on_disk (file);
+       g_assert (!tepl_file_is_externally_modified (file));
 
        /* Load */
        load (buffer);
-       g_assert (!gtef_file_is_externally_modified (file));
-       gtef_file_check_file_on_disk (file);
-       g_assert (!gtef_file_is_externally_modified (file));
+       g_assert (!tepl_file_is_externally_modified (file));
+       tepl_file_check_file_on_disk (file);
+       g_assert (!tepl_file_is_externally_modified (file));
 
        /* Save */
        save (buffer, FALSE);
-       g_assert (!gtef_file_is_externally_modified (file));
-       gtef_file_check_file_on_disk (file);
-       g_assert (!gtef_file_is_externally_modified (file));
+       g_assert (!tepl_file_is_externally_modified (file));
+       tepl_file_check_file_on_disk (file);
+       g_assert (!tepl_file_is_externally_modified (file));
 
        /* Modify externally and then save.
         * Sleep one second to force the timestamp/etag to change.
@@ -186,56 +186,56 @@ test_externally_modified (void)
        sleep (1);
        g_file_set_contents (path, "b", -1, &error);
        g_assert_no_error (error);
-       gtef_file_check_file_on_disk (file);
-       g_assert (gtef_file_is_externally_modified (file));
+       tepl_file_check_file_on_disk (file);
+       g_assert (tepl_file_is_externally_modified (file));
 
        save (buffer, TRUE);
-       g_assert (!gtef_file_is_externally_modified (file));
-       gtef_file_check_file_on_disk (file);
-       g_assert (!gtef_file_is_externally_modified (file));
+       g_assert (!tepl_file_is_externally_modified (file));
+       tepl_file_check_file_on_disk (file);
+       g_assert (!tepl_file_is_externally_modified (file));
 
        /* Modify externally and then load */
        sleep (1);
        g_file_set_contents (path, "c", -1, &error);
        g_assert_no_error (error);
-       gtef_file_check_file_on_disk (file);
-       g_assert (gtef_file_is_externally_modified (file));
+       tepl_file_check_file_on_disk (file);
+       g_assert (tepl_file_is_externally_modified (file));
 
        load (buffer);
-       g_assert (!gtef_file_is_externally_modified (file));
-       gtef_file_check_file_on_disk (file);
-       g_assert (!gtef_file_is_externally_modified (file));
+       g_assert (!tepl_file_is_externally_modified (file));
+       tepl_file_check_file_on_disk (file);
+       g_assert (!tepl_file_is_externally_modified (file));
 
        /* Modify externally and then save as */
        sleep (1);
        g_file_set_contents (path, "d", -1, &error);
        g_assert_no_error (error);
-       gtef_file_check_file_on_disk (file);
-       g_assert (gtef_file_is_externally_modified (file));
+       tepl_file_check_file_on_disk (file);
+       g_assert (tepl_file_is_externally_modified (file));
 
-       new_path = g_build_filename (g_get_tmp_dir (), "gtef-test-file-2", NULL);
+       new_path = g_build_filename (g_get_tmp_dir (), "tepl-test-file-2", NULL);
        g_file_set_contents (new_path, "e", -1, &error);
        g_assert_no_error (error);
 
        new_location = g_file_new_for_path (new_path);
        save_as (buffer, new_location);
-       g_assert (g_file_equal (new_location, gtef_file_get_location (file)));
-       g_assert (!gtef_file_is_externally_modified (file));
-       gtef_file_check_file_on_disk (file);
-       g_assert (!gtef_file_is_externally_modified (file));
+       g_assert (g_file_equal (new_location, tepl_file_get_location (file)));
+       g_assert (!tepl_file_is_externally_modified (file));
+       tepl_file_check_file_on_disk (file);
+       g_assert (!tepl_file_is_externally_modified (file));
 
        /* Modify externally and then save as to same location */
        sleep (1);
        g_file_set_contents (new_path, "f", -1, &error);
        g_assert_no_error (error);
-       gtef_file_check_file_on_disk (file);
-       g_assert (gtef_file_is_externally_modified (file));
+       tepl_file_check_file_on_disk (file);
+       g_assert (tepl_file_is_externally_modified (file));
 
-       g_assert (g_file_equal (new_location, gtef_file_get_location (file)));
+       g_assert (g_file_equal (new_location, tepl_file_get_location (file)));
        save_as (buffer, new_location);
-       g_assert (!gtef_file_is_externally_modified (file));
-       gtef_file_check_file_on_disk (file);
-       g_assert (!gtef_file_is_externally_modified (file));
+       g_assert (!tepl_file_is_externally_modified (file));
+       tepl_file_check_file_on_disk (file);
+       g_assert (!tepl_file_is_externally_modified (file));
 
        /* Cleanup */
        g_file_delete (location, NULL, &error);
diff --git a/testsuite/test-fold-region.c b/testsuite/test-fold-region.c
index 4e9c739..928b6cc 100644
--- a/testsuite/test-fold-region.c
+++ b/testsuite/test-fold-region.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - David Rabel <david rabel noresoft com>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,7 +17,7 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <gtef/gtef.h>
+#include <tepl/tepl.h>
 
 static GtkTextBuffer *
 test_create_and_fill_buffer (guint lines)
@@ -34,7 +34,7 @@ test_create_and_fill_buffer (guint lines)
        return buffer;
 }
 
-static GtefFoldRegion *
+static TeplFoldRegion *
 test_create_fold_region (GtkTextBuffer *buffer,
                         guint          start_line,
                         guint          end_line)
@@ -45,7 +45,7 @@ test_create_fold_region (GtkTextBuffer *buffer,
        gtk_text_buffer_get_iter_at_line (buffer, &start_iter, start_line);
        gtk_text_buffer_get_iter_at_line (buffer, &end_iter, end_line);
 
-       return gtef_fold_region_new (buffer, &start_iter, &end_iter);
+       return tepl_fold_region_new (buffer, &start_iter, &end_iter);
 }
 
 static guint
@@ -61,7 +61,7 @@ test_next_visible_line (GtkTextBuffer *buffer,
 }
 
 static void
-test_set_bounds_with_line_number (GtefFoldRegion *fold_region,
+test_set_bounds_with_line_number (TeplFoldRegion *fold_region,
                                  guint           start_line,
                                  guint           end_line)
 {
@@ -69,24 +69,24 @@ test_set_bounds_with_line_number (GtefFoldRegion *fold_region,
        GtkTextIter end_iter;
        GtkTextBuffer *buffer;
 
-       buffer = gtef_fold_region_get_buffer (fold_region);
+       buffer = tepl_fold_region_get_buffer (fold_region);
 
        gtk_text_buffer_get_iter_at_line (buffer, &start_iter, start_line);
        gtk_text_buffer_get_iter_at_line (buffer, &end_iter, end_line);
 
-       gtef_fold_region_set_bounds (fold_region, &start_iter, &end_iter);
+       tepl_fold_region_set_bounds (fold_region, &start_iter, &end_iter);
 }
 
 static void
 test_fold (void)
 {
        GtkTextBuffer *buffer;
-       GtefFoldRegion *fold_region;
+       TeplFoldRegion *fold_region;
 
        buffer = test_create_and_fill_buffer (6);
 
        fold_region = test_create_fold_region (buffer, 1, 3);
-       gtef_fold_region_set_folded (fold_region, TRUE);
+       tepl_fold_region_set_folded (fold_region, TRUE);
 
        g_assert (test_next_visible_line (buffer, 1) == 4);
 
@@ -98,13 +98,13 @@ static void
 test_unfold (void)
 {
        GtkTextBuffer *buffer;
-       GtefFoldRegion *fold_region;
+       TeplFoldRegion *fold_region;
 
        buffer = test_create_and_fill_buffer (6);
 
        fold_region = test_create_fold_region (buffer, 1, 3);
-       gtef_fold_region_set_folded (fold_region, TRUE);
-       gtef_fold_region_set_folded (fold_region, FALSE);
+       tepl_fold_region_set_folded (fold_region, TRUE);
+       tepl_fold_region_set_folded (fold_region, FALSE);
 
        g_assert (test_next_visible_line (buffer, 1) == 2);
 
@@ -116,24 +116,24 @@ static void
 test_toggle (void)
 {
        GtkTextBuffer *buffer;
-       GtefFoldRegion *fold_region;
+       TeplFoldRegion *fold_region;
        gboolean folded;
 
        buffer = test_create_and_fill_buffer (6);
 
        fold_region = test_create_fold_region (buffer, 1, 3);
 
-       folded = gtef_fold_region_get_folded (fold_region);
+       folded = tepl_fold_region_get_folded (fold_region);
        g_assert (folded == FALSE);
 
        folded = !folded;
-       gtef_fold_region_set_folded (fold_region, folded);
-       folded = gtef_fold_region_get_folded (fold_region);
+       tepl_fold_region_set_folded (fold_region, folded);
+       folded = tepl_fold_region_get_folded (fold_region);
        g_assert (folded == TRUE);
 
        folded = !folded;
-       gtef_fold_region_set_folded (fold_region, folded);
-       folded = gtef_fold_region_get_folded (fold_region);
+       tepl_fold_region_set_folded (fold_region, folded);
+       folded = tepl_fold_region_get_folded (fold_region);
        g_assert (folded == FALSE);
 
        g_object_unref (fold_region);
@@ -144,13 +144,13 @@ static void
 test_set_bounds (void)
 {
        GtkTextBuffer *buffer;
-       GtefFoldRegion *fold_region;
+       TeplFoldRegion *fold_region;
 
        buffer = test_create_and_fill_buffer (6);
 
        fold_region = test_create_fold_region (buffer, 1, 3);
        test_set_bounds_with_line_number (fold_region, 2, 4);
-       gtef_fold_region_set_folded (fold_region, TRUE);
+       tepl_fold_region_set_folded (fold_region, TRUE);
 
        g_assert (test_next_visible_line (buffer, 1) == 2);
        g_assert (test_next_visible_line (buffer, 2) == 5);
@@ -163,12 +163,12 @@ static void
 test_set_bounds_while_folded (void)
 {
        GtkTextBuffer *buffer;
-       GtefFoldRegion *fold_region;
+       TeplFoldRegion *fold_region;
 
        buffer = test_create_and_fill_buffer (6);
 
        fold_region = test_create_fold_region (buffer, 1, 3);
-       gtef_fold_region_set_folded (fold_region, TRUE);
+       tepl_fold_region_set_folded (fold_region, TRUE);
        test_set_bounds_with_line_number (fold_region, 2, 4);
 
        g_assert (test_next_visible_line (buffer, 1) == 2);
@@ -182,7 +182,7 @@ static void
 test_get_bounds (void)
 {
        GtkTextBuffer *buffer;
-       GtefFoldRegion *fold_region;
+       TeplFoldRegion *fold_region;
        GtkTextIter start_iter;
        GtkTextIter end_iter;
        guint start_line;
@@ -191,9 +191,9 @@ test_get_bounds (void)
        buffer = test_create_and_fill_buffer (6);
 
        fold_region = test_create_fold_region (buffer, 1, 3);
-       gtef_fold_region_set_folded (fold_region, TRUE);
+       tepl_fold_region_set_folded (fold_region, TRUE);
 
-       gtef_fold_region_get_bounds (fold_region, &start_iter, &end_iter);
+       tepl_fold_region_get_bounds (fold_region, &start_iter, &end_iter);
        start_line = gtk_text_iter_get_line (&start_iter);
        end_line = gtk_text_iter_get_line (&end_iter);
 
@@ -207,12 +207,12 @@ static void
 test_unref_while_folded (void)
 {
        GtkTextBuffer *buffer;
-       GtefFoldRegion *fold_region;
+       TeplFoldRegion *fold_region;
 
        buffer = test_create_and_fill_buffer (6);
 
        fold_region = test_create_fold_region (buffer, 1, 3);
-       gtef_fold_region_set_folded (fold_region, TRUE);
+       tepl_fold_region_set_folded (fold_region, TRUE);
        g_clear_object (&fold_region);
 
        g_assert (test_next_visible_line (buffer, 1) == 2);
@@ -224,7 +224,7 @@ static void
 test_clear_buffer (void)
 {
        GtkTextBuffer *buffer;
-       GtefFoldRegion *fold_region;
+       TeplFoldRegion *fold_region;
        GtkTextIter start_iter;
        GtkTextIter end_iter;
 
@@ -234,7 +234,7 @@ test_clear_buffer (void)
 
        gtk_text_buffer_set_text (buffer, "", -1);
 
-       gtef_fold_region_get_bounds (fold_region, &start_iter, &end_iter);
+       tepl_fold_region_get_bounds (fold_region, &start_iter, &end_iter);
 
        g_assert (gtk_text_iter_get_line (&start_iter) == 0);
        g_assert (gtk_text_iter_get_line (&end_iter) == 0);
@@ -247,7 +247,7 @@ static void
 test_bounds_at_middle_of_line (void)
 {
        GtkTextBuffer *buffer;
-       GtefFoldRegion *fold_region;
+       TeplFoldRegion *fold_region;
        GtkTextIter start_iter;
        GtkTextIter end_iter;
 
@@ -259,9 +259,9 @@ test_bounds_at_middle_of_line (void)
        gtk_text_iter_forward_chars (&start_iter, 3);
        gtk_text_iter_forward_chars (&end_iter, 3);
 
-       fold_region = gtef_fold_region_new (buffer, &start_iter, &end_iter);
+       fold_region = tepl_fold_region_new (buffer, &start_iter, &end_iter);
 
-       gtef_fold_region_set_folded (fold_region, TRUE);
+       tepl_fold_region_set_folded (fold_region, TRUE);
        g_assert (test_next_visible_line (buffer, 1) == 4);
 
        g_object_unref (fold_region);
@@ -272,7 +272,7 @@ static void
 test_bounds_at_end_of_line (void)
 {
        GtkTextBuffer *buffer;
-       GtefFoldRegion *fold_region;
+       TeplFoldRegion *fold_region;
        GtkTextIter start_iter;
        GtkTextIter end_iter;
 
@@ -286,9 +286,9 @@ test_bounds_at_end_of_line (void)
        gtk_text_iter_forward_line (&end_iter);
        gtk_text_iter_backward_char (&end_iter);
 
-       fold_region = gtef_fold_region_new (buffer, &start_iter, &end_iter);
+       fold_region = tepl_fold_region_new (buffer, &start_iter, &end_iter);
 
-       gtef_fold_region_set_folded (fold_region, TRUE);
+       tepl_fold_region_set_folded (fold_region, TRUE);
        g_assert (test_next_visible_line (buffer, 1) == 4);
 
        g_object_unref (fold_region);
@@ -299,17 +299,17 @@ static void
 test_double_fold (void)
 {
        GtkTextBuffer *buffer;
-       GtefFoldRegion *fold_region;
+       TeplFoldRegion *fold_region;
 
        buffer = test_create_and_fill_buffer (6);
 
        fold_region = test_create_fold_region (buffer, 1, 3);
-       gtef_fold_region_set_folded (fold_region, TRUE);
-       gtef_fold_region_set_folded (fold_region, TRUE);
+       tepl_fold_region_set_folded (fold_region, TRUE);
+       tepl_fold_region_set_folded (fold_region, TRUE);
 
        g_assert (test_next_visible_line (buffer, 1) == 4);
 
-       gtef_fold_region_set_folded (fold_region, FALSE);
+       tepl_fold_region_set_folded (fold_region, FALSE);
 
        g_assert (test_next_visible_line (buffer, 1) == 2);
 
@@ -321,18 +321,18 @@ static void
 test_double_unfold (void)
 {
        GtkTextBuffer *buffer;
-       GtefFoldRegion *fold_region;
+       TeplFoldRegion *fold_region;
 
        buffer = test_create_and_fill_buffer (6);
 
        fold_region = test_create_fold_region (buffer, 1, 3);
-       gtef_fold_region_set_folded (fold_region, TRUE);
-       gtef_fold_region_set_folded (fold_region, FALSE);
-       gtef_fold_region_set_folded (fold_region, FALSE);
+       tepl_fold_region_set_folded (fold_region, TRUE);
+       tepl_fold_region_set_folded (fold_region, FALSE);
+       tepl_fold_region_set_folded (fold_region, FALSE);
 
        g_assert (test_next_visible_line (buffer, 1) == 2);
 
-       gtef_fold_region_set_folded (fold_region, TRUE);
+       tepl_fold_region_set_folded (fold_region, TRUE);
 
        g_assert (test_next_visible_line (buffer, 1) == 4);
 
@@ -344,38 +344,38 @@ static void
 test_overlapping_regions (void)
 {
        GtkTextBuffer *buffer;
-       GtefFoldRegion *fold_region1;
-       GtefFoldRegion *fold_region2;
+       TeplFoldRegion *fold_region1;
+       TeplFoldRegion *fold_region2;
 
        buffer = test_create_and_fill_buffer (6);
 
        fold_region1 = test_create_fold_region (buffer, 1, 3);
        fold_region2 = test_create_fold_region (buffer, 2, 4);
 
-       gtef_fold_region_set_folded (fold_region1, TRUE);
+       tepl_fold_region_set_folded (fold_region1, TRUE);
        g_assert (test_next_visible_line (buffer, 1) == 4);
-       gtef_fold_region_set_folded (fold_region2, TRUE);
+       tepl_fold_region_set_folded (fold_region2, TRUE);
        g_assert (test_next_visible_line (buffer, 1) == 5);
 
-       gtef_fold_region_set_folded (fold_region1, FALSE);
-       gtef_fold_region_set_folded (fold_region2, FALSE);
+       tepl_fold_region_set_folded (fold_region1, FALSE);
+       tepl_fold_region_set_folded (fold_region2, FALSE);
 
-       gtef_fold_region_set_folded (fold_region2, TRUE);
+       tepl_fold_region_set_folded (fold_region2, TRUE);
        g_assert (test_next_visible_line (buffer, 2) == 5);
-       gtef_fold_region_set_folded (fold_region1, TRUE);
+       tepl_fold_region_set_folded (fold_region1, TRUE);
        g_assert (test_next_visible_line (buffer, 1) == 5);
 
-       gtef_fold_region_set_folded (fold_region1, FALSE);
+       tepl_fold_region_set_folded (fold_region1, FALSE);
        g_assert (test_next_visible_line (buffer, 2) == 5);
-       gtef_fold_region_set_folded (fold_region2, FALSE);
+       tepl_fold_region_set_folded (fold_region2, FALSE);
        g_assert (test_next_visible_line (buffer, 2) == 3);
 
-       gtef_fold_region_set_folded (fold_region1, TRUE);
-       gtef_fold_region_set_folded (fold_region2, TRUE);
+       tepl_fold_region_set_folded (fold_region1, TRUE);
+       tepl_fold_region_set_folded (fold_region2, TRUE);
 
-       gtef_fold_region_set_folded (fold_region2, FALSE);
+       tepl_fold_region_set_folded (fold_region2, FALSE);
        g_assert (test_next_visible_line (buffer, 1) == 4);
-       gtef_fold_region_set_folded (fold_region1, FALSE);
+       tepl_fold_region_set_folded (fold_region1, FALSE);
        g_assert (test_next_visible_line (buffer, 2) == 3);
 
        g_object_unref (fold_region1);
@@ -387,21 +387,21 @@ static void
 test_call_other_methods_before_set_bounds (void)
 {
        GtkTextBuffer *buffer;
-       GtefFoldRegion *fold_region;
+       TeplFoldRegion *fold_region;
        GtkTextIter start_iter;
        GtkTextIter end_iter;
 
        buffer = test_create_and_fill_buffer (6);
 
-       fold_region = g_object_new (GTEF_TYPE_FOLD_REGION,
+       fold_region = g_object_new (TEPL_TYPE_FOLD_REGION,
                                    "buffer", buffer,
                                    NULL);
 
-       gtef_fold_region_set_folded (fold_region, TRUE);
-       gtef_fold_region_set_folded (fold_region, FALSE);
-       gtef_fold_region_get_folded (fold_region);
-       gtef_fold_region_get_buffer (fold_region);
-       gtef_fold_region_get_bounds (fold_region, &start_iter, &end_iter);
+       tepl_fold_region_set_folded (fold_region, TRUE);
+       tepl_fold_region_set_folded (fold_region, FALSE);
+       tepl_fold_region_get_folded (fold_region);
+       tepl_fold_region_get_buffer (fold_region);
+       tepl_fold_region_get_bounds (fold_region, &start_iter, &end_iter);
 
        g_object_unref (fold_region);
        g_object_unref (buffer);
diff --git a/testsuite/test-info-bar.c b/testsuite/test-info-bar.c
index fcc39d7..7df693c 100644
--- a/testsuite/test-info-bar.c
+++ b/testsuite/test-info-bar.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,15 +17,15 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <gtef/gtef.h>
+#include <tepl/tepl.h>
 
 static void
 test_info_bar_creation (void)
 {
-       GtefInfoBar *info_bar;
+       TeplInfoBar *info_bar;
 
        /* Just to see if it doesn't trigger any warnings. */
-       info_bar = gtef_info_bar_new ();
+       info_bar = tepl_info_bar_new ();
        g_object_ref_sink (info_bar);
        g_object_unref (info_bar);
 }
diff --git a/testsuite/test-utils.c b/testsuite/test-utils.c
index dc1acde..a5324cf 100644
--- a/testsuite/test-utils.c
+++ b/testsuite/test-utils.c
@@ -1,14 +1,14 @@
 /*
- * This file is part of Gtef, a text editor library.
+ * This file is part of Tepl, a text editor library.
  *
  * Copyright 2016 - Sébastien Wilmet <swilmet gnome org>
  *
- * Gtef is free software; you can redistribute it and/or modify it under
+ * Tepl is free software; you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the
  * Free Software Foundation; either version 2.1 of the License, or (at your
  * option) any later version.
  *
- * Gtef is distributed in the hope that it will be useful, but WITHOUT ANY
+ * Tepl 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 Lesser General Public
  * License for more details.
@@ -17,7 +17,7 @@
  * along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <gtef/gtef.h>
+#include <tepl/tepl.h>
 
 static void
 test_replace_home_dir_with_tilde (void)
@@ -27,16 +27,16 @@ test_replace_home_dir_with_tilde (void)
        gchar *after;
 
        before = g_build_filename (homedir, "blah", NULL);
-       after = _gtef_utils_replace_home_dir_with_tilde (before);
+       after = _tepl_utils_replace_home_dir_with_tilde (before);
        g_assert_cmpstr (after, ==, "~/blah");
        g_free (before);
        g_free (after);
 
-       after = _gtef_utils_replace_home_dir_with_tilde (homedir);
+       after = _tepl_utils_replace_home_dir_with_tilde (homedir);
        g_assert_cmpstr (after, ==, "~");
        g_free (after);
 
-       after = _gtef_utils_replace_home_dir_with_tilde ("/blah");
+       after = _tepl_utils_replace_home_dir_with_tilde ("/blah");
        g_assert_cmpstr (after, ==, "/blah");
        g_free (after);
 }
@@ -47,14 +47,14 @@ test_decode_uri (void)
        gchar *host;
        gboolean ret;
 
-       /* Basic test, for what is used in Gtef (the host). */
-       ret = _gtef_utils_decode_uri ("smb://example.net/home/file.c",
+       /* Basic test, for what is used in Tepl (the host). */
+       ret = _tepl_utils_decode_uri ("smb://example.net/home/file.c",
                                      NULL, NULL, &host, NULL, NULL);
        g_assert (ret);
        g_assert_cmpstr (host, ==, "example.net");
        g_free (host);
 
-       ret = _gtef_utils_decode_uri ("smb://154.23.201.4/home/file.c",
+       ret = _tepl_utils_decode_uri ("smb://154.23.201.4/home/file.c",
                                      NULL, NULL, &host, NULL, NULL);
        g_assert (ret);
        g_assert_cmpstr (host, ==, "154.23.201.4");
@@ -68,25 +68,25 @@ test_get_fallback_basename_for_display (void)
        gchar *basename;
 
        location = g_file_new_for_path ("/home/seb/blom");
-       basename = _gtef_utils_get_fallback_basename_for_display (location);
+       basename = _tepl_utils_get_fallback_basename_for_display (location);
        g_assert_cmpstr (basename, ==, "blom");
        g_object_unref (location);
        g_free (basename);
 
        location = g_file_new_for_uri ("ssh://swilmet example net/home/swilmet/bloum");
-       basename = _gtef_utils_get_fallback_basename_for_display (location);
+       basename = _tepl_utils_get_fallback_basename_for_display (location);
        g_assert_cmpstr (basename, ==, "bloum");
        g_object_unref (location);
        g_free (basename);
 
        location = g_file_new_for_uri ("https://example.net";);
-       basename = _gtef_utils_get_fallback_basename_for_display (location);
+       basename = _tepl_utils_get_fallback_basename_for_display (location);
        g_assert_cmpstr (basename, ==, "https://example.net";);
        g_object_unref (location);
        g_free (basename);
 
        location = g_file_new_for_uri 
("https://bugzilla.gnome.org/page.cgi?id=browse.html&product=gtksourceview";);
-       basename = _gtef_utils_get_fallback_basename_for_display (location);
+       basename = _tepl_utils_get_fallback_basename_for_display (location);
        g_assert_cmpstr (basename, ==, "page.cgi?id=browse.html&product=gtksourceview");
        g_object_unref (location);
        g_free (basename);
@@ -123,16 +123,16 @@ test_strv_copy (void)
        gchar **strv_copy;
 
        /* NULL */
-       strv_copy = _gtef_utils_strv_copy (NULL);
+       strv_copy = _tepl_utils_strv_copy (NULL);
        g_assert (strv_copy == NULL);
 
        /* Empty */
-       strv_copy = _gtef_utils_strv_copy (stack_strv_empty);
+       strv_copy = _tepl_utils_strv_copy (stack_strv_empty);
        check_strv_equal (stack_strv_empty, (const gchar * const *)strv_copy);
        g_strfreev (strv_copy);
 
        /* Non-empty */
-       strv_copy = _gtef_utils_strv_copy (stack_strv_nonempty);
+       strv_copy = _tepl_utils_strv_copy (stack_strv_nonempty);
        check_strv_equal (stack_strv_nonempty, (const gchar * const *)strv_copy);
        g_strfreev (strv_copy);
 
@@ -145,7 +145,7 @@ test_strv_copy (void)
 
        heap_strv = (gchar **)g_ptr_array_free (ptr_array, FALSE);
 
-       strv_copy = _gtef_utils_strv_copy ((const gchar * const *)heap_strv);
+       strv_copy = _tepl_utils_strv_copy ((const gchar * const *)heap_strv);
        check_strv_equal ((const gchar * const *)heap_strv,
                          (const gchar * const *)strv_copy);
        g_strfreev (strv_copy);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]