URL syntax highlighting in gedit
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
COPYING
LISEZ-MOI.md
README.md
url.lang

README.md

Overview

gedit-url adds URL syntax highlighting in gedit, the default Gnome text editor.

Here's a screenshot (click to download the original image):

URL syntax highlighting in gedit.

Installation

  • Download the archive of the latest version.

  • Extract the archive.

  • Copy the file url.lang in one of the following two locations (create the folder if it doesn't yet exist):

    • for gedit 2: ~/.local/share/gtksourceview-2.0/language-specs/
    • for gedit 3: ~/.local/share/gtksourceview-3.0/language-specs/

URL syntax highlighting will be added for the current user (so no need root privileges). The folder created by the extraction can be deleted after installation.

Uninstallation

Remove the file previously installed.

Usage

First of all, restart gedit if it's already running.

Choose syntax highlighting by going to View > Highlight Mode > Others and selecting URL.

The folder doc contains a demo file.

Development

Git is used for revision control. Repository can be browsed online or cloned.

License

Author: Jean-Philippe Fleury (http://www.jpfleury.net/en/contact.php)
Copyright © 2009 Jean-Philippe Fleury

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.