aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacek Pospychala2012-10-17 07:18:33 (EDT)
committerJacek Pospychala2012-10-17 07:18:33 (EDT)
commit5f5ea13e286159e872e0089fd59ff27f7961ffff (patch)
tree86fa3b108e4785379cdff49985a08fae30e0db46
parentf36afcd1baf5a47df579478546841d1fdc552060 (diff)
downloadorg.eclipse.pdt-5f5ea13e286159e872e0089fd59ff27f7961ffff.zip
org.eclipse.pdt-5f5ea13e286159e872e0089fd59ff27f7961ffff.tar.gz
org.eclipse.pdt-5f5ea13e286159e872e0089fd59ff27f7961ffff.tar.bz2
https://bugs.eclipse.org/bugs/show_bug.cgi?id=386550
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/format/DefaultIndentationStrategy.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/format/DefaultIndentationStrategy.java b/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/format/DefaultIndentationStrategy.java
index a3f2714..921e84e 100644
--- a/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/format/DefaultIndentationStrategy.java
+++ b/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/format/DefaultIndentationStrategy.java
@@ -849,7 +849,7 @@ public class DefaultIndentationStrategy implements IIndentationStrategy {
if (scanner.nextToken(offset, region.getOffset()
+ region.getLength()) == PHPHeuristicScanner.TokenRPAREN
&& isAssignment) {
- indent(document, newBuffer, 0,
+ indent(document, newBuffer, 2,
indentationObject.indentationChar,
indentationObject.indentationSize);
} else {