Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Organized imports.

  • Loading branch information...
commit 09369dc166459be58d99fc269bfc2ae9fa441d5c 1 parent 57c91f1
@OndrejBrejla OndrejBrejla authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/org/netbeans/modules/php/nette/editor/TemplateEmbedder.java
View
8 src/org/netbeans/modules/php/nette/editor/TemplateEmbedder.java
@@ -27,13 +27,13 @@
package org.netbeans.modules.php.nette.editor;
-import org.netbeans.modules.php.nette.editor.resolvers.HtmlPhpResolver;
-import org.netbeans.modules.php.nette.editor.resolvers.LatteResolver;
import java.util.List;
import org.netbeans.api.lexer.Token;
import org.netbeans.api.lexer.TokenSequence;
import org.netbeans.modules.parsing.api.Embedding;
import org.netbeans.modules.parsing.api.Snapshot;
+import org.netbeans.modules.php.nette.editor.resolvers.HtmlPhpResolver;
+import org.netbeans.modules.php.nette.editor.resolvers.LatteResolver;
import org.netbeans.modules.php.nette.editor.resolvers.TemplateResolver;
import org.netbeans.modules.php.nette.lexer.LatteTopTokenId;
import org.netbeans.modules.php.nette.utils.FileUtils;
@@ -67,7 +67,7 @@ protected String getMimeType() {
LatteResolver latteResolver = new LatteResolver(this);
HtmlPhpResolver htmlPhpResolver = new HtmlPhpResolver(this);
-
+
while(sequence.moveNext()) {
Token t = sequence.token();
if(t.id() == LatteTopTokenId.LATTE) {
@@ -77,7 +77,7 @@ protected String getMimeType() {
htmlPhpResolver.solve(t, sequence);
}
}
-
+
return super.getEmbeddings();
}
Please sign in to comment.
Something went wrong with that request. Please try again.