{{short description|Linux text editor}} {{lowercase title}} {{Use dmy dates|date=April 2021}} {{Use American English|date=April 2021}} {{Infobox software | name = GNOME | title = gedit | logo = GNOME Gedit 2018.svg | logo caption = | logo_size = 100px | logo_alt = | screenshot = Screenshot of gedit 46.1.png | caption = gedit 46.1 showing "Hello, world!" with syntax highlighting and one other tab | screenshot_size = 300px | screenshot_alt = gedit displaying an "Hello, world!" script written in C++ with one other tab | collapsible = | author = | developer = Paolo Maggi<br />Paolo Borelli<br />Steve Frécinaux<br />Jesse van den Kieboom<br />James Willcox<br />Chema Celorio<br />Federico Mena Quintero{{Citation needed|date=June 2021}} | released = {{Start date and age|1999|02|12}} | discontinued = | latest release version = {{wikidata|property|edit|reference|Q194501|P348|P548=Q2804309}} | latest release date = {{start date and age|{{wikidata|qualifier|Q194501|P348|P548=Q2804309|P577}}}} | latest preview version = {{wikidata|property|edit|reference|Q194501|P348|P548=Q51930650}} | latest preview date = {{start date and age|{{wikidata|qualifier|Q194501|P348|P548=Q51930650|P577}}}} | programming language = C, Python | operating system = Linux, MacOS, Windows | platform = | size = | language = | language count = <!-- DO NOT include this parameter unless you know what it does --> | language footnote = | genre = Text editor | license = GPL-2.0-or-later }}
'''gedit''' ({{IPAc-en|ˈ|dʒ|ɛ|d|ɪ|t}} or {{IPAc-en|ˈ|ɡ|ɛ|d|ɪ|t}})<ref name=Paolo6>{{cite web|last=Borelli|first=Paolo|title=Re: [gedit-list] Pronouncing gedit|url=https://mail.gnome.org/archives/gedit-list/2006-April/msg00032.html|work=GNOME Mail Services|publisher=The GNOME Project|access-date=25 April 2014|format=Email|date=19 April 2006}}</ref> is a text editor designed for the GNOME desktop environment. It was GNOME's default text editor and part of the GNOME Core Applications until GNOME version 42 in March 2022, which changed the default text editor to GNOME Text Editor.<ref name="gnome42">{{Cite web |title=GNOME Release Notes |url=https://release.gnome.org/42/ |access-date=September 26, 2022 |website=GNOME.org}}</ref> Designed as a general-purpose text editor, gedit emphasizes simplicity and ease of use, with a clean and simple GUI, according to the philosophy of the GNOME project.<ref name="gedithomepage">{{cite web|url = https://gedit-text-editor.org/|title = gedit, an easy-to-learn text editor|access-date = 2025-11-10|author=The gedit team|date=November 2025}}</ref> It includes tools for editing source code and structured text such as markup languages.<ref name="gedithomepage" /> It is free and open-source software under the GNU General Public License version 2 or later.<ref name="gedithomepage" />
By July 2017, gedit was not being maintained by any developers, but in August 2017 two developers volunteered to commence work on it again.<ref>{{cite web|url=https://mail.gnome.org/archives/gedit-list/2017-July/msg00001.html|title=[gedit-list] gedit is unmaintained, some thoughts|website=mail.gnome.org|access-date=2017-08-05}}</ref><ref>{{cite news|url=https://www.omgubuntu.co.uk/2017/07/gedit-text-editor-unmaintained|title=Gedit Text Editor is No Longer Maintained - OMG! Ubuntu!|date=2017-07-27|work=OMG! Ubuntu!|access-date=2017-08-02|language=en-US}}</ref><ref name="homeAug17">{{cite web|url = https://wiki.gnome.org/Apps/Gedit |title = About gedit maintenance|access-date = 29 December 2017|author=The GNOME Project |work = wiki.gnome.org|date = 27 August 2017|quote= about gedit maintenance: gedit has been marked as unmaintained recently, now two new developers have proposed their help to become new maintainers. If you want to help, reach us on the IRC channel or the mailing list, thanks!}}</ref>
==Features== [[File:Gedit Win10.png|thumbnail|gedit is also available for Windows, seen here running on Windows 10.]]
gedit includes syntax highlighting via GtkSourceView<ref>{{Cite web|url=https://wiki.gnome.org/Projects/GtkSourceView|title=Projects/GtkSourceView - GNOME Wiki!|website=wiki.gnome.org}}</ref> for various program code and text markup formats including MediaWiki.<ref>Wikipedia:Text editor support § gedit</ref><ref>{{cite web | url = https://github.com/jpfleury/gedit-mediawiki | title = Syntax highlighting for MediaWiki in gedit | author = jpfleury | website = GitHub | access-date = 2016-10-21}}</ref> 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 GVfs libraries; (GnomeVFS is now deprecated). It supports a full undo and redo system, search and replace as well as replace all.<ref name="fsm"/> Other typical code oriented features include line numbering, bracket matching, text wrapping, current line highlighting, automatic indentation and automatic file backup.<ref name="fsm">[http://www.freesoftwaremagazine.com/columns/gedit_powerful_underrated_text_editor_everybody "gedit: a powerful, underrated text editor for everybody", ''Free Software Magazine''] {{webarchive|url=https://web.archive.org/web/20080518020959/http://www.freesoftwaremagazine.com/columns/gedit_powerful_underrated_text_editor_everybody |date=2008-05-18}} 15 February 2008</ref>
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.<ref name="fsm" /> A number of plugins are included in gedit itself, with more plugins in the gedit-plugins package and online.<ref name="auto">{{cite web|url=https://gitlab.gnome.org/World/gedit/gedit/-/blob/master/plugins/list-of-gedit-plugins.md |title=gedit plugins |date=10 November 2024 |publisher=gitlab.gnome.org |access-date=2024-11-14}}</ref>
Since version 3.20 gedit uses gspell for spell checking.<ref>{{Cite web|url=https://gitlab.gnome.org/GNOME/gspell|title=GNOME / gspell GitLab|website=gitlab.gnome.org}}</ref><ref name="auto1">{{Cite web|url=https://blogs.gnome.org/swilmet/2015/11/20/gspell-news/|title=Blog post: gspell news|access-date=23 March 2016|archive-date=14 November 2018|archive-url=https://web.archive.org/web/20181114060144/https://blogs.gnome.org/swilmet/2015/11/20/gspell-news/|url-status=dead}}</ref>
gedit has an optional side pane displaying the list of open files and (in a different tab of the side pane) a file browser. It also has an optional bottom pane with a Python console and (using gedit-plugins) terminal. gedit automatically detects when an open file is modified on disk by another application and offers to reload that file. Using a plugin (in gedit-plugins package), gedit can save and load sessions, which are lists of currently open tabs.<ref name="auto"/>
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.<ref>{{cite web |url=https://help.gnome.org/users/gedit/stable/gedit-printing.html |title=Printing with gedit |publisher=Library.gnome.org |year=2011 |access-date=2020-02-23 |archive-date=5 April 2015 |archive-url=https://web.archive.org/web/20150405132053/https://help.gnome.org/users/gedit/stable/gedit-printing.html |url-status=dead }}</ref>
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.<ref name="Sneddon15Jan14">{{cite news|url = https://www.omgubuntu.co.uk/2014/01/gnome-gedit-text-editor-new-look|title = Gedit Text Editor Finally Gets a UI Revamp|access-date = 15 January 2014|last = Sneddon|first = Joey-Elijah|date = 15 January 2014| work = News Organization}}</ref>
==Architecture== thumb|100px|gedit logo from 2010 thumb|100px|gedit logo from 2009 thumb|100px|gedit logo from 2006 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.<ref>{{cite web|url=https://directory.fsf.org/wiki/Gedit |title=Free Software Directory - gedit |publisher=Directory.fsf.org |date=2005-10-03 |access-date=2020-02-23}}</ref>
In December 2008, gedit binaries were made available for macOS and Windows.<ref>{{cite web|url=https://blogs.gnome.org/pbor/2008/12/25/late-christmas-gift-for-windows-users/ |title=Club Silencio » Late Christmas gift for Windows users |publisher=Blogs.gnome.org |date=2008-12-25 |access-date=2009-03-13}}</ref>
The last version for Windows 32-bit was 2.30.1, released in 2014.<ref>{{cite web|url=https://ftp.gnome.org/pub/GNOME/binaries/win32/gedit/2.30/|title=ftp.gnome.org|website=ftp.gnome.org|access-date=22 March 2019}}</ref> Standalone releases for 64-bit Windows continued, with Version 3.20.1 released in 2016.<ref>{{cite web|url=https://ftp.gnome.org/pub/GNOME/binaries/win64/gedit/|title=ftp.gnome.org|website=ftp.gnome.org|access-date=22 March 2019}}</ref>
Current versions of gedit (3.0+) for Windows are also available through MSYS2 and can be installed via the built-in Pacman package manager.<ref>{{cite web|url=https://blogs.gnome.org/nacho/2014/08/01/how-to-build-your-gtk-application-on-windows/ |title=How to build your GTK+ application on Windows |publisher=Blogs.gnome.org |date=2014-08-01 |access-date=2015-11-30}}</ref>
==See also== {{Portal|Free and open-source software}} * FeatherPad * jEdit * Pluma (text editor) * List of text editors * Comparison of text editors
==References== {{Reflist}}
==External links== {{Spoken Wikipedia|Gedit.ogg|date=2011-07-31}} * {{Commons category-inline}} * {{Official website|https://gedit-text-editor.org/}} * [https://download.gnome.org/binaries/win32/gedit/ Download 32-bit for Windows] * [https://download.gnome.org/binaries/win64/gedit/ Download 64-bit for Windows] {{GNOME}}
Category:Free software programmed in C Category:Free software programmed in Python Category:Free text editors Category:GNOME Core Applications Category:Linux text editors Category:MacOS text editors Category:Notepad replacements Category:Software using the GNU General Public License Category:Text editors that use GTK Category:Unix text editors Category:Windows text editors