Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2009-08-20 09:43:13 -0400
committerpelder2009-08-20 09:43:13 -0400
commit72ba34168d55c155d68422ed2512b2a9cacf1746 (patch)
tree0b6d88d525700334227b287097a5de0bc5dd864f
parentc1d3f75878e3a82d4f2b0320374e79ce79d56347 (diff)
downloadorg.eclipse.jet-72ba34168d55c155d68422ed2512b2a9cacf1746.tar.gz
org.eclipse.jet-72ba34168d55c155d68422ed2512b2a9cacf1746.tar.xz
org.eclipse.jet-72ba34168d55c155d68422ed2512b2a9cacf1746.zip
[252583] Exception when opening a template in the editor that begins with a scriptlet
-rw-r--r--plugins/org.eclipse.jet.core/META-INF/MANIFEST.MF2
-rw-r--r--plugins/org.eclipse.jet.core/src/org/eclipse/jet/internal/core/parser/InternalJET2Parser.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.jet.core/META-INF/MANIFEST.MF b/plugins/org.eclipse.jet.core/META-INF/MANIFEST.MF
index 431e2cd..e64e61b 100644
--- a/plugins/org.eclipse.jet.core/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.jet.core/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.jet.core
-Bundle-Version: 1.1.100.qualifier
+Bundle-Version: 1.1.101.qualifier
Bundle-Localization: plugin
Eclipse-LazyStart: true
Export-Package: org.eclipse.jet,
diff --git a/plugins/org.eclipse.jet.core/src/org/eclipse/jet/internal/core/parser/InternalJET2Parser.java b/plugins/org.eclipse.jet.core/src/org/eclipse/jet/internal/core/parser/InternalJET2Parser.java
index 971a904..bbdb455 100644
--- a/plugins/org.eclipse.jet.core/src/org/eclipse/jet/internal/core/parser/InternalJET2Parser.java
+++ b/plugins/org.eclipse.jet.core/src/org/eclipse/jet/internal/core/parser/InternalJET2Parser.java
@@ -10,7 +10,7 @@
*
* </copyright>
*
- * $Id: InternalJET2Parser.java,v 1.3 2009/04/06 17:55:06 pelder Exp $
+ * $Id: InternalJET2Parser.java,v 1.4 2009/08/20 13:43:13 pelder Exp $
* /
*******************************************************************************/
@@ -333,7 +333,7 @@ public class InternalJET2Parser implements JETParseEventListener2, IJETParser
JavaScriptlet scriplet = ast.newJavaScriptlet(
start.getLine(),
start.getCol(),
- start.getCursor() - 3,
+ start.getCursor() - 2,
stop.getCursor() + 2,
start.getCursor(),
stop.getCursor(), reader.getChars(start, stop));

Back to the top