gedit

Listen to this article
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 95.90.228.36 (talk) at 15:37, 6 March 2017 (→‎Architecture). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

gedit
Developer(s)Paolo Maggi
Paolo Borelli
Steve Frécinaux
Jesse van den Kieboom
James Willcox
Chema Celorio
Federico Mena Quintero
Initial releaseFebruary 12, 1999; 25 years ago (1999-02-12)
Repository
Written inC, Python
TypeText editor
LicenseGNU General Public License
Websitewiki.gnome.org/Apps/Gedit

gedit (/ˈɛdɪt/ or /ˈɡɛdɪt/)[1] is the default text editor of the GNOME desktop environment and part of the GNOME Core Applications. 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.[2] It includes tools for editing source code and structured text such as markup languages.[2]

It is free and open-source software subject to the requirements of the GNU General Public License version 2 or later.[2]

gedit is also available for Mac OS X and Microsoft Windows.

Features

File:Gedit2.3.1Windows8.jpg
gedit is also available for Microsoft Windows, seen here running on Windows 8

gedit includes syntax highlighting via GtkSourceView[3] for various program code and text markup formats including MediaWiki.[4][5] 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 as well as search and replace.[6] Other typical code oriented features include line numbering, bracket matching, text wrapping, current line highlighting, automatic indentation and automatic file backup.[6]

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.[6] A number of plugins are included in gedit itself, with more plugins in the gedit-plugins package and online.[7]

Since version 3.20 gedit uses gspell for spell checking.[8][9][9][10][9]

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.[7]

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.[11]

In late 2013 and early 2014 the application received major upgrades, with a new, cleaner user interface and code base improvements to make it work better with other desktop interfaces, such as Unity. The new version of gedit will likely be incorporated in Gnome 3.12 or later.[12]

Valencia is a gedit plugin that turns gedit into a lightweight IDE for Vala.[13]

Architecture

Being part of the GNOME Core Applications gedit 3 uses the GTK+ 3.0 and GNOME 3.0 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.[14]

In December 2008, gedit binaries were made available for Mac OS X and Microsoft Windows.[15] Actual Version for Windows 32-bit is 2.30.1. [16]

Newer versions of Gedit (3.0+) for Windows are available through MSYS2 and can be installed via the built-in Pacman package manager.[17] Standalone available for 64-bit Windows is Version 3.20.1.[18]

See also

References

  1. ^ Borelli, Paolo (19 April 2006). "Re: [gedit-list] Pronouncing gedit" (Email). GNOME Mail Services. The GNOME Project. Retrieved 25 April 2014.
  2. ^ a b c The GNOME Project (October 2015). "gedit". Retrieved 2015-10-28.
  3. ^ "GtkSourceView home page".
  4. ^ Wikipedia:Text editor support § gedit
  5. ^ jpfleury. "Syntax highlighting for MediaWiki in gedit". GitHub. Retrieved 2016-10-21. {{cite web}}: Cite has empty unknown parameter: |dead-url= (help)
  6. ^ a b c "gedit: a powerful, underrated text editor for everybody", Free Software Magazine 15 February 2008
  7. ^ a b "Lists of gedit plugins". wiki.gnome.org. Retrieved 2015-10-28.
  8. ^ "wiki.gnome.org/Projects/gspell".
  9. ^ a b c "gspell alongside GNOME 3.18".
  10. ^ "gspell alongside GNOME 3.20".
  11. ^ "Printing with gedit". Library.gnome.org. 2011. Retrieved 2011-10-11.
  12. ^ Sneddon, Joey-Elijah (15 January 2014). "Gedit Text Editor Finally Gets a UI Revamp". News Organization. Retrieved 15 January 2014.
  13. ^ "Valencia home page".
  14. ^ "Free Software Directory - gedit". Directory.fsf.org. 2005-10-03. Retrieved 2009-03-13.
  15. ^ "Club Silencio » Late Christmas gift for Windows users". Blogs.gnome.org. 2008-12-25. Retrieved 2009-03-13.
  16. ^ http://ftp.gnome.org/pub/GNOME/binaries/win32/gedit/2.30/
  17. ^ "How to build your GTK+ application on Windows". Blogs.gnome.org. 2014-08-01. Retrieved 2015-11-30.
  18. ^ http://ftp.gnome.org/pub/GNOME/binaries/win64/gedit/

External links

Listen to this article
(2 parts, 3 minutes)
Spoken Wikipedia icon
These audio files were created from a revision of this article dated
Error: no date provided
, and do not reflect subsequent edits.