summaryrefslogtreecommitdiff
path: root/support/jedit/README
blob: 04609548f50cdcac02401ec0e6ce0c3225468251 (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
33
* Introduction

This directory contains an additional syntax highlighting mode (.xml) for
Scala programs. You will need to add a mode catalog entry after placing the
mode file in an appropriate mode directory.

More information about jEdit is available from:

   http://www.jedit.org/

* Installation

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

   ~/.jedit/modes/

or alternatively to the location:

   <jedit_instdir>/modes/

Add the following entry to the file "catalog" present in the same directory
as "scala.xml" you just copied.

   <MODE NAME="scala" FILE="scala.xml" FILE_NAME_GLOB="*.scala" />

Restart the jEdit text editor.

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

* Version

$Id$