diff options
author | schinz <schinz@epfl.ch> | 2003-08-25 08:13:11 +0000 |
---|---|---|
committer | schinz <schinz@epfl.ch> | 2003-08-25 08:13:11 +0000 |
commit | e7e41951af3d8150c3dbf38fe9ea9ec79cc34dee (patch) | |
tree | 71bce35610760a04e5d9575f7e6e9b2fadba6429 | |
parent | dc2dd01c6d3e6cd03cf5bca15ad2c43a62bd2906 (diff) | |
download | scala-e7e41951af3d8150c3dbf38fe9ea9ec79cc34dee.tar.gz scala-e7e41951af3d8150c3dbf38fe9ea9ec79cc34dee.tar.bz2 scala-e7e41951af3d8150c3dbf38fe9ea9ec79cc34dee.zip |
- bug fix: correctly highlight identifier start...
- bug fix: correctly highlight identifier starting with "class" or
"extends", - changed the URL for the Scala page
-rw-r--r-- | support/emacs/scala-mode.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/support/emacs/scala-mode.el b/support/emacs/scala-mode.el index 6d6fe00f84..f6cafa71e1 100644 --- a/support/emacs/scala-mode.el +++ b/support/emacs/scala-mode.el @@ -10,7 +10,7 @@ (defconst scala-mode-version "0.3 ($Revision$)") (defconst scala-bug-e-mail "Michel.Schinz@epfl.ch") -(defconst scala-web-url "http://lampwww.epfl.ch/scala/") +(defconst scala-web-url "http://lamp.epfl.ch/scala/") ;; Customization @@ -514,7 +514,7 @@ When called repeatedly, indent each time one stop further on the right." (0 font-lock-type-face nil))) ;; class definitions - ("\\<class\\|trait\\>" + ("\\<\\(class\\|trait\\)\\>" (scala-match-and-skip-ident (goto-char (match-end 0)) nil (1 font-lock-type-face nil)) (scala-match-and-skip-type-param nil nil @@ -524,7 +524,7 @@ When called repeatedly, indent each time one stop further on the right." (2 font-lock-type-face nil t))) ;; "extends" and "with" clauses - ("\\<extends\\|with\\>\\s *[^{]" + ("\\<\\(extends\\|with\\)\\>\\s *[^{]" (scala-match-and-skip-ident (goto-char (1- (match-end 0))) nil (0 font-lock-type-face nil)) (scala-match-and-skip-type-param nil nil |