Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/autoedit/BaseAutoEditStrategyProvider.java')
-rw-r--r--plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/autoedit/BaseAutoEditStrategyProvider.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/autoedit/BaseAutoEditStrategyProvider.java b/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/autoedit/BaseAutoEditStrategyProvider.java
index 98647e0be..a4ab438f5 100644
--- a/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/autoedit/BaseAutoEditStrategyProvider.java
+++ b/plugins/org.eclipse.etrice.core.common.ui/src/org/eclipse/etrice/core/common/ui/autoedit/BaseAutoEditStrategyProvider.java
@@ -20,7 +20,7 @@ public class BaseAutoEditStrategyProvider extends DefaultAutoEditStrategyProvide
@Override
protected void configureIndentationEditStrategy(IEditStrategyAcceptor acceptor) {
- acceptor.accept(defaultIndentLineAutoEditStrategy.get(), BaseTokenTypeToPartitionMapper.STRING_LITERAL_PARTITION);
+ acceptor.accept(defaultIndentLineAutoEditStrategy.get(), BaseTokenTypeToPartitionMapper.CCSTRING_LITERAL_PARTITION);
super.configureIndentationEditStrategy(acceptor);
}
@@ -31,25 +31,25 @@ public class BaseAutoEditStrategyProvider extends DefaultAutoEditStrategyProvide
}
protected void configureCompoundBracesBlocks(IEditStrategyAcceptor acceptor) {
- acceptor.accept(compoundMultiLineTerminals.newInstanceFor("{", "}").and("[", "]").and("(", ")"), BaseTokenTypeToPartitionMapper.STRING_LITERAL_PARTITION);
+ acceptor.accept(compoundMultiLineTerminals.newInstanceFor("{", "}").and("[", "]").and("(", ")"), BaseTokenTypeToPartitionMapper.CCSTRING_LITERAL_PARTITION);
super.configureCompoundBracesBlocks(acceptor);
}
@Override
protected void configureCurlyBracesBlock(IEditStrategyAcceptor acceptor) {
- acceptor.accept(singleLineTerminals.newInstance("{", "}"), BaseTokenTypeToPartitionMapper.STRING_LITERAL_PARTITION);
+ acceptor.accept(singleLineTerminals.newInstance("{", "}"), BaseTokenTypeToPartitionMapper.CCSTRING_LITERAL_PARTITION);
super.configureCurlyBracesBlock(acceptor);
}
@Override
protected void configureSquareBrackets(IEditStrategyAcceptor acceptor) {
- acceptor.accept(singleLineTerminals.newInstance("[", "]"), BaseTokenTypeToPartitionMapper.STRING_LITERAL_PARTITION);
+ acceptor.accept(singleLineTerminals.newInstance("[", "]"), BaseTokenTypeToPartitionMapper.CCSTRING_LITERAL_PARTITION);
super.configureSquareBrackets(acceptor);
}
@Override
protected void configureParenthesis(IEditStrategyAcceptor acceptor) {
- acceptor.accept(singleLineTerminals.newInstance("(", ")"), BaseTokenTypeToPartitionMapper.STRING_LITERAL_PARTITION);
+ acceptor.accept(singleLineTerminals.newInstance("(", ")"), BaseTokenTypeToPartitionMapper.CCSTRING_LITERAL_PARTITION);
super.configureParenthesis(acceptor);
}

Back to the top