summaryrefslogtreecommitdiff
path: root/support/gedit/README
blob: 95c0948ac98018751e05546ea9692a5287ed2e9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
* Introduction

This directory contains a GTK langage specification (.lang) for Scala
programs. This language specification is used in particular by "gedit",
the lightweight text editor for the Gnome Desktop.

The latest revisions of the GTK language specifications are available from:

   http://cvs.gnome.org/viewcvs/gtksourceview/gtksourceview/language-specs/

* Installation

Copy the "scala.lang" file to the following location:

   ~/.gnome2/gtksourceview-1.0/language-specs/

or alternatively to the location:

   /usr/share/gtksourceview-1.0/language-specs/

Restart your Gnome applications ("gedit", etc.).

From that point on, loading a file whose name ends in ".scala" automatically
turns Scala mode on.

* Thanks

scala.lang was contributed by Gabriel Riba (griba2010@ya.com)

* Version

$Id$