Gedit: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with "== Description == [http://projects.gnome.org/gedit/ gedit] is the official text editor of the [http://www.gnome.org/ GNOME] desktop environment. To use gedit for writing NSIS...")
 
 
(10 intermediate revisions by the same user not shown)
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. To use gedit for writing NSIS scripts, you might want to install a syntax highlighter.
[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 [http://github.com/izazueta/gedit-lang/blob/master/nsis.lang nsis.lang]<br/>
'''Note''': change ''gtksourceview'' version to ''3.0'' if 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
 
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/>


'''Note''': replace 3 with 2 in the path for GtkSourceView version 2.
=== 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 ==
 
All 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://github.com/idleberg/gedit-nsis.lang GitHub project page]


[[Category:Syntax Highlighting]]
[[Category:Syntax Highlighting]]
[[Category:Development Environments]]

Latest revision as of 08:56, 9 October 2014

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: change gtksourceview version to 3.0 if 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

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

Links