diff options
author | michelou <michelou@epfl.ch> | 2005-03-31 11:30:30 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2005-03-31 11:30:30 +0000 |
commit | 2879da23911357cab927f707573f170da65aa75e (patch) | |
tree | ab255a7a5f498270da08e9a3db11b2b368e250c1 /support/scite/scala.properties | |
parent | 713aadc739f23bd6d19230776c9eb3f8c9962e5e (diff) | |
download | scala-2879da23911357cab927f707573f170da65aa75e.tar.gz scala-2879da23911357cab927f707573f170da65aa75e.tar.bz2 scala-2879da23911357cab927f707573f170da65aa75e.zip |
- added support for the SciTE text editor.
Diffstat (limited to 'support/scite/scala.properties')
-rw-r--r-- | support/scite/scala.properties | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/support/scite/scala.properties b/support/scite/scala.properties new file mode 100644 index 0000000000..07b4b680c7 --- /dev/null +++ b/support/scite/scala.properties @@ -0,0 +1,70 @@ +# Define SciTE settings for Scala files.
+ +file.patterns.scala=*.scala
+
+filter.scala=Scala (scala)|*.scala|
+
+file.patterns.braces=$(file.patterns.scala)
+ +# We reuse the cpp lexer here
+lexer.$(file.patterns.scala)=cpp
+ +indent.size.$(file.patterns.scala)=2 +use.tabs.$(file.patterns.scala)=2 + +keywordclass.scala= \ +abstract case catch class def do else extends \ +false final finally for if import new object override \ +package private protected return sealed \ +throw trait true try type val var with while yield @ =>
+keywords.$(file.patterns.scala)=$(keywordclass.scala)
+
+keywords2.$(file.patterns.scala)=null super this
+ +keywords3.$(file.patterns.scala)=Array Console List String Unit +
+word.characters.$(file.patterns.scala)=$(chars.alpha)$(chars.numeric)_ +
+comment.block.scala=//~
+#comment.block.at.line.start.scala=1
+comment.stream.start.scala=/*
+comment.stream.end.scala=*/
+comment.box.start.scala=/*
+comment.box.middle.scala= *
+comment.box.end.scala= */
+#fold.comment=1
+#fold.preprocessor=1
+#fold.at.else=1
+
+statement.indent.$(file.patterns.scala)=5 case catch class do else finally \
+for if private protected try while
+statement.end.$(file.patterns.scala)=10 ;
+statement.lookback.$(file.patterns.scala)=20
+block.start.$(file.patterns.scala)=10 {
+block.end.$(file.patterns.scala)=10 }
+
+# Scala styles
+
+# Default
+#style.scala.32=$(font.base)
+# White space
+style.scala.0=fore:#808080
+# Comment
+style.scala.1=$(colour.code.comment.box),$(font.code.comment.box)
+# Line Comment
+style.scala.2=$(colour.code.comment.line),$(font.code.comment.line)
+# Doc comment
+style.scala.3=$(colour.code.comment.doc),$(font.code.comment.doc)
+# Number
+style.scala.4=$(colour.number)
+# Keyword
+style.scala.5=$(colour.keyword),bold
+# Double quoted string
+style.scala.6=$(colour.string)
+# Single quoted string
+style.scala.7=$(colour.char) +
+command.compile.*.scala=scalac $(FileNameExt)
+command.build.*.scala=scalac $(FileNameExt)
+command.go.*.scala=scala $(FileName)
+
|