summaryrefslogtreecommitdiff
path: root/support/context
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2005-12-16 18:19:00 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2005-12-16 18:19:00 +0000
commit2c0f7659ec05ac00fae9af4074cb62cbb6775065 (patch)
tree0669ead7537d61117d1960c3b2265e00b7b9f946 /support/context
parent13a89c1778de2f53945ba329be28482a528e024f (diff)
downloadscala-2c0f7659ec05ac00fae9af4074cb62cbb6775065.tar.gz
scala-2c0f7659ec05ac00fae9af4074cb62cbb6775065.tar.bz2
scala-2c0f7659ec05ac00fae9af4074cb62cbb6775065.zip
Removed tool support from the scala core module.
Diffstat (limited to 'support/context')
-rw-r--r--support/context/Highlighters/Scala.chl81
-rw-r--r--support/context/README24
-rw-r--r--support/context/Template/Scala.ctpl75
3 files changed, 0 insertions, 180 deletions
diff --git a/support/context/Highlighters/Scala.chl b/support/context/Highlighters/Scala.chl
deleted file mode 100644
index f4690d0a5e..0000000000
--- a/support/context/Highlighters/Scala.chl
+++ /dev/null
@@ -1,81 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//
-// Scala highlighter written by Stephane Micheloud, scala.epfl.ch
-//
-//////////////////////////////////////////////////////////////////////////////
-
-Language: Scala
-Filter: Scala files (*.scala)|*.scala
-Description: Scala highlighter written by Stephane Micheloud - scala.epfl.ch
-HelpFile:
-CaseSensitive: 1
-LineComment: //
-BlockCommentBeg: /*
-BlockCommentEnd: */
-BlockAutoindent: 0
-BlockBegStr: {
-BlockEndStr: }
-IdentifierBegChars: a..z A..Z _ `
-IdentifierChars: a..z A..Z _ 0..9 `
-NumConstBegChars: 0..9 +-
-NumConstChars: 0..9 a..f A..F x X .
-EscapeChar: \
-
-// keywords (see Scala specification, section 1.1)
-KeyWords1: abstract case catch class def do else extends false
- final finally for if implicit import match requires
- new null object override package private protected
- return sealed super this throw trait true try type
- val var while with yield
-
-// special characters (see Scala specification, section 1.1)
-KeyWords2: _ : = => <- <: >: # @
-
-// standard library objects and classes (see Scala API documentation)
-KeyWords3: Any AnyVal Application Array ArrayBuffer Atom
- Attribute
- BitSet Boolean Buffer Byte
- Cell Char Comment Console Double
- Elem EntityRef Enumeration Float
- HashMap HashSet HashTable History
- Int Iterable Iterator
- ListMap ListSet Long List Location
- Map Message MetaData MultiMap
- Nil Node NodeBuffer NodeSeq None Null Option
- Ordered Predef Queue
- ScalaObject Scriptable Seq Set Short Some Stack
- Stream Symbol
- Text TextBuffer Tree TreeMap TreeSet
- Unit XML
-
-// standard attribute classes
-KeyWords4: cloneable serializable transcient volatile
-
-KeyWords5:
-
-StringBegChar: "
-StringEndChar: "
-MultilineStrings: 0
-UsePreprocessor: 0
-CurrLineHighlighted: 1
-
-// 1st value is foreground color, 2nd value is background color
-// (see color list in vbScript.chl) and 3rd value (optional) represents
-// font attribute (B=bold, I=italic, U=underline, S=strike out)
-SpaceCol: clWindowText clWindow
-Keyword1Col: clBlack clWindow B
-Keyword2Col: clBlack clWindow
-Keyword3Col: clMaroon clWindow B
-Keyword4Col: clBlue clWindow B
-Keyword5Col: clMaroon clWindow B
-IdentifierCol: clWindowText clWindow
-CommentCol: clGreen clWindow I
-NumberCol: clNavy clWindow B
-StringCol: clRed clWindow
-SymbolCol: clWindowText clWindow
-PreprocessorCol: clBlue clWindow
-SelectionCol: clWhite clNavy
-CurrentLineCol: clBlack clYellow
-MatchedBracesCol: clWindowText clWindow
-
-OverrideTxtFgColor: 0 \ No newline at end of file
diff --git a/support/context/README b/support/context/README
deleted file mode 100644
index f73012f016..0000000000
--- a/support/context/README
+++ /dev/null
@@ -1,24 +0,0 @@
-* Introduction
-
-This directory contains an additional highlighter (.chl) for
-Scala programs.
-
-More information about ConTEXT (Windows only) is available from:
-
- http://www.context.cx/
-
-* Installation
-
-Copy the file "Scala.chl" to the following location:
-
- <ConTEXT_instdir>/Highlighters/
-
-Restart the ConTEXT text editor.
-
-* Thanks
-
-Scala.chl was contributed by Stephane Micheloud (scala.epfl.ch)
-
-* Version
-
-$Id$
diff --git a/support/context/Template/Scala.ctpl b/support/context/Template/Scala.ctpl
deleted file mode 100644
index a702edc878..0000000000
--- a/support/context/Template/Scala.ctpl
+++ /dev/null
@@ -1,75 +0,0 @@
-[class | Scala class template]
-class |MyClass {
-
-}
-
-[def | function definition]
-def |myFunc(): = {
-}
-
-[exit | System.exit]
-System.exit(|);
-
-[for | for comprehensions]
-for (val i <- |) {}
-
-[if | if expression]
-if (|) {
-
-}
-
-[ife | if-else expression]
-if (|) {
-
-}
-else {
-
-}
-
-[main | Scala program template]
-object |Main {
-
- /** Code documentation here */
- def main(args: Array[String]): Unit = {
- /* multi-line and semi-line comments here */
- // one-line comments here
- Console.println("Hello, world");
- }
-
-}
-
-[match | match expression]
-| match {
- case =>
- case _ =>
-}
-
-[Pair | Pair object]
-Pair(|, )
-
-[println | Console.println]
-Console.println(|);
-
-[trait | Scala trait template]
-trait |MyTrait {
-}
-
-[try | try-catch block]
-try {
- |
-}
-catch {
- case e: Exception =>
- Console.println("Unexpected exception");
- e.printStackTrace();
-}
-
-[val | value definition]
-val | = ;
-
-[while | while block]
-var i=0;
-while (i < |) {
-
- i = i + 1;
-}