aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgbochenek2012-07-05 21:37:11 (EDT)
committerSilenio Quarti2012-07-09 16:51:23 (EDT)
commit2f7039b2ce1114866ca553558b7863afa8a9ebec (patch)
tree41be756bca5ab6a5d653845977428a317c3ea5c5
parent68d016724a059f9a0c6f16f366c56e70418ab633 (diff)
downloadorg.eclipse.orion.client-2f7039b2ce1114866ca553558b7863afa8a9ebec.zip
org.eclipse.orion.client-2f7039b2ce1114866ca553558b7863afa8a9ebec.tar.gz
org.eclipse.orion.client-2f7039b2ce1114866ca553558b7863afa8a9ebec.tar.bz2
Removing number parsing for CSS files, so the sytax highlighting feels less broken.
-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();