1) Fixed issue #347: Syntax highlight doesn't like apostrophe in heredoc.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / php / PHPAutoIndentStrategy.java
index 0283480..9c961ac 100644 (file)
@@ -261,7 +261,7 @@ public class PHPAutoIndentStrategy extends DefaultIndentLineAutoEditStrategy {
                                int start = document.getLineOffset(line);
                                int whiteend = findEndOfWhiteSpace(document, start,
                                                command.offset);
-                               int offset = -1;
+                               //int offset = -1;
                                // if (command.offset > 0 && command.offset < docLength &&
                                // document.getChar(command.offset-1) == '{') {
                                // offset = command.offset;