commit | b38692c7d7ce62f7009872ea5e9a3a5091983ed4 | [log] [tgz] |
---|---|---|
author | david_williams <david_williams> | Tue Nov 01 22:31:57 2005 +0000 |
committer | david_williams <david_williams> | Tue Nov 01 22:31:57 2005 +0000 |
tree | 9fea5514e085e89a19f964d9c32be2f7cc2298bc | |
parent | 163451cf10fea4f52d9fd9b876e7514a1b8ed91c [diff] |
[114357] Method adjustTextLength in GenericTemplateRegion implemented hard coded
diff --git a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/parser/regions/GenericTemplateRegion.java b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/parser/regions/GenericTemplateRegion.java index 407898d..624f98b 100644 --- a/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/parser/regions/GenericTemplateRegion.java +++ b/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/parser/regions/GenericTemplateRegion.java
@@ -22,6 +22,7 @@ * * This class is not intended to be used, its just present to server as a * generic starting point for adding new specific region types. + * */ public class GenericTemplateRegion implements ITextRegion { @@ -55,7 +56,7 @@ public void adjustTextLength(int i) { - fTextLength += 1; + fTextLength += i; }