Gedit: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
== Description ==
== Description ==


[http://projects.gnome.org/gedit/ gedit] is the official text editor of the [http://www.gnome.org/ GNOME] desktop environment. By default it is already equipped with a syntax highlighter for NSIS. If you need to install manually, follow the steps below.
[http://projects.gnome.org/gedit/ gedit] is the official text editor of the [http://www.gnome.org/ GNOME] desktop environment. By default it only comes the most basic syntax highlighter for NSIS scripts.
 
This new language file adds support for all NSIS commands up to v3.0a and will be maintained along NSIS development.
 


== Installation ==
== Installation ==


1. Download [https://raw.github.com/izazueta/gedit-lang/master/nsis.lang nsis.lang]<br/>
'''Note''': You might have to change the version number to 3.0 if you're using Gnome 3
2. Move the file to ''~/.local/share/gtksourceview-3.0/language-specs''<br/>
 
=== Windows ===
 
Make sure to have working copy of the official [http://live.gnome.org/Gedit/Windows gedit Windows built] installed


'''Note''': replace 3 with 2 in the path for GtkSourceView version 2.
1. Download [https://raw.github.com/idleberg/gedit-nsis.lang/master/nsis.lang nsis.lang]<br/>
2. Copy the file to '''''%PROGRAMFILES%\gedit\share\gtksourceview-2.0\language-specs'''''<br/>
 
=== Linux ===
 
1. Download [https://raw.github.com/idleberg/gedit-nsis.lang/master/nsis.lang nsis.lang]<br/>
2. Copy the file to '''''/usr/share/gtksourceview-2.0/language-specs'''''<br/>
 
=== Mac OS X (MacPorts) ===
 
1. Download [https://raw.github.com/idleberg/gedit-nsis.lang/master/nsis.lang nsis.lang]<br/>
2. Copy the file to '''''/opt/local/share/gtksourceview-2.0/language-specs'''''<br/>
 
== License ==
 
This code is dual-licensed under the [http://opensource.org/licenses/lgpl-license LGPL] and the [http://opensource.org/licenses/MIT MIT License]


== Links ==
== Links ==
[https://github.com/izazueta/gedit-lang GitHub project page]<br/>
 
[https://github.com/izazueta/gedit-lang/blob/master/nsis.lang nsis.lang]
[https://raw.github.com/idleberg/gedit-nsis.lang GitHub project page]


[[Category:Syntax Highlighting]]
[[Category:Syntax Highlighting]]

Revision as of 21:19, 24 June 2013

Description

gedit is the official text editor of the GNOME desktop environment. By default it only comes the most basic syntax highlighter for NSIS scripts.

This new language file adds support for all NSIS commands up to v3.0a and will be maintained along NSIS development.


Installation

Note: You might have to change the version number to 3.0 if you're using Gnome 3

Windows

Make sure to have working copy of the official gedit Windows built installed

1. Download nsis.lang
2. Copy the file to %PROGRAMFILES%\gedit\share\gtksourceview-2.0\language-specs

Linux

1. Download nsis.lang
2. Copy the file to /usr/share/gtksourceview-2.0/language-specs

Mac OS X (MacPorts)

1. Download nsis.lang
2. Copy the file to /opt/local/share/gtksourceview-2.0/language-specs

License

This code is dual-licensed under the LGPL and the MIT License

Links

GitHub project page