commit | 9247af584d3d8b6bf6cf3a946fd1e72f69d503a0 | [log] [tgz] |
---|---|---|
author | nsandonato <nsandonato> | Fri Jul 17 14:51:10 2009 +0000 |
committer | nsandonato <nsandonato> | Fri Jul 17 14:51:10 2009 +0000 |
tree | 9ab401b849d4ff750f088591266c2478d5aad83a | |
parent | 15aacfbffdb50d59ce03ccbbbfb6f39553852510 [diff] |
[282218] Could not open the editor: Argument not valid
diff --git a/bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/internal/style/LineStyleProviderForEmbeddedCSS.java b/bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/internal/style/LineStyleProviderForEmbeddedCSS.java index 49272c6..dde1a3b 100644 --- a/bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/internal/style/LineStyleProviderForEmbeddedCSS.java +++ b/bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/internal/style/LineStyleProviderForEmbeddedCSS.java
@@ -71,6 +71,8 @@ /* The token may not span the total length of the region */ if (end < regionEnd) styleLength = end - regionStart; + else /* Bugzilla 282218 */ + styleLength = regionEnd - regionStart; addStyleRange(holdResults, getAttributeFor(token.kind), regionStart, styleLength); } start += token.length;