From Fedora Project Wiki

gedit is an open-source text editor written in C and Python and built on the GTK+ toolkit. It is part of the core application suite of GNOME. It has syntax-highlighting for a wide variety of different programming languages (such as C, C++, C#, Java, JavaScript, Python, etc.), but it has no IDE-type features like linting or auto-completion.

Installation

gedit comes pre-installed on Fedora Workstation, as it is part of the GNOME core application suite. On other installations of Fedora one merely needs to run:

$ sudo dnf install gedit

to install gedit.