summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorgbochenek2012-07-05 21:37:11 (EDT)
committer Silenio Quarti2012-07-09 16:51:23 (EDT)
commit3ea2e917b813095d6a7e71e8e11e08fe4b272ac6 (patch)
tree41be756bca5ab6a5d653845977428a317c3ea5c5
parent18fce88a11929b4e2e1479e0fb5ba00a476f0af6 (diff)
downloadorg.eclipse.orion.client-3ea2e917b813095d6a7e71e8e11e08fe4b272ac6.zip
org.eclipse.orion.client-3ea2e917b813095d6a7e71e8e11e08fe4b272ac6.tar.gz
org.eclipse.orion.client-3ea2e917b813095d6a7e71e8e11e08fe4b272ac6.tar.bz2
Removing number parsing for CSS files, so the sytax highlighting feels less broken.v20120709-2051
-rw-r--r--bundles/org.eclipse.orion.client.editor/web/examples/textview/textStyler.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.orion.client.editor/web/examples/textview/textStyler.js b/bundles/org.eclipse.orion.client.editor/web/examples/textview/textStyler.js
index 84e163b..cd81008 100644
--- a/bundles/org.eclipse.orion.client.editor/web/examples/textview/textStyler.js
+++ b/bundles/org.eclipse.orion.client.editor/web/examples/textview/textStyler.js
@@ -163,7 +163,7 @@ define("examples/textview/textStyler", ['orion/textview/annotations'], function(
default:
var isCSS = this.isCSS;
var off = this.offset - 1;
- if (48 <= c && c <= 57) {
+ if (!isCSS && 48 <= c && c <= 57) {
var floating = false, exponential = false, hex = false, firstC = c;
do {
c = this._read();