gedit includes syntax highlighting via GtkSourceView for various program code and text markup formats including MediaWiki. gedit also has GUI tabs for editing multiple files. Tabs can be moved between various windows by the user. It can edit remote files using GVfslibraries;. It supports a full undo and redo system as well as search and replace. Other typical code oriented features include line numbering, bracket matching, text wrapping, current line highlighting, automatic indentation and automatic file backup. The features of gedit include multi language spell checking via Enchant and a flexible plugin system allowing the addition of new features, for example snippets and integration with external applications including a Python or Bash terminal. A number of plugins are included in gedit itself, with more plugins in the gedit-plugins package and online. Since version 3.20 gedit uses gspell for spell checking. gedit has an optional side pane displaying the list of open files and a file browser. It also has an optional bottom pane with a Python console and terminal. gedit automatically detects when an open file is modified on disk by another application and offers to reload that file. Using a plugin, gedit can save and load sessions, which are lists of currently open tabs. gedit supports printing, including print preview and printing to PostScript and PDF files. Printing options include text font, and page size, orientation, margins, optional printing of page headers and line numbers, as well as syntax highlighting. In late 2013 and early 2014 the application received major upgrades for Gnome 3.12, with a new, cleaner user interface and code base improvements to make it work better with other desktop interfaces, such as Unity. Valencia is a gedit plugin that turns gedit into a lightweight IDE for Vala.
Architecture
Being part of the GNOME Core Applications, gedit 3 uses the GTK 3.x and GNOME 3.x libraries. The GNOME integration includes drag and drop to and from GNOME Files. gedit uses the GNOME help system for documentation. It also uses virtual file system and GNOME printing framework. In December 2008, gedit binaries were made available for macOS and Windows. The last version for Windows 32-bit was 2.30.1, released in 2014. Standalone releases for 64-bit Windows continued, with Version 3.20.1 released in 2016. Current versions of gedit for Windows are also available through MSYS2 and can be installed via the built-in Pacman package manager.