| author | gbochenek | 2012-07-05 21:37:11 (EDT) |
|---|---|---|
| committer | Silenio Quarti | 2012-07-09 16:51:23 (EDT) |
| commit | 3ea2e917b813095d6a7e71e8e11e08fe4b272ac6 (patch) (side-by-side diff) | |
| tree | 41be756bca5ab6a5d653845977428a317c3ea5c5 | |
| parent | 18fce88a11929b4e2e1479e0fb5ba00a476f0af6 (diff) | |
| download | org.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.js | 2 |
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(); |

