Gedit

{{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
Paolo Borelli
Steve Frécinaux
Jesse van den Kieboom
James Willcox
Chema Celorio
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 =

| language footnote =

| genre = Text editor

| license = GPL-2.0-or-later

}}

gedit ({{IPAc-en|ˈ|dʒ|ɛ|d|ɪ|t}} or {{IPAc-en|ˈ|ɡ|ɛ|d|ɪ|t}}){{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}} 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.{{Cite web |title=GNOME Release Notes |url=https://release.gnome.org/42/ |access-date=September 26, 2022 |website=GNOME.org}} 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. It includes tools for editing source code and structured text such as markup languages.{{cite web|url = https://gedit-technology.github.io/apps/gedit/|title = gedit|access-date = 2024-11-14|last = The GNOME Project|date=October 2015}}

It is free and open-source software under the GNU General Public License version 2 or later.

gedit is also available for macOS and Windows.

By July 2017, gedit was not being maintained by any developers, but in August 2017 two developers volunteered to commence work on it again.{{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}}{{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}}{{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!}}

Features

File:Gedit Win10.png, seen here running on Windows 10]]

gedit includes syntax highlighting via GtkSourceView{{Cite web|url=https://wiki.gnome.org/Projects/GtkSourceView|title=Projects/GtkSourceView - GNOME Wiki!|website=wiki.gnome.org}} for various program code and text markup formats including MediaWiki.Wikipedia:Text editor support § gedit{{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}} 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. Other typical code oriented features include line numbering, bracket matching, text wrapping, current line highlighting, automatic indentation and automatic file backup.[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

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.{{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}}

Since version 3.20 gedit uses gspell for spell checking.{{Cite web|url=https://gitlab.gnome.org/GNOME/gspell|title=GNOME / gspell GitLab|website=gitlab.gnome.org}}{{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}}

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.

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.{{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}}

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.{{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}}

Architecture

File:Gedit-logo-clean.svg

File:Gedit-logo.svg

File:Gedit icon.png

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.{{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}}

In December 2008, gedit binaries were made available for macOS and Windows.{{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}}

The last version for Windows 32-bit was 2.30.1, released in 2014.{{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}} Standalone releases for 64-bit Windows continued, with Version 3.20.1 released in 2016.{{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}}

Current versions of gedit (3.0+) for Windows are also available through MSYS2 and can be installed via the built-in Pacman package manager.{{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}}

See also

References

{{Reflist}}