Author: akazakov
Date: 2012-06-06 19:51:11 -0400 (Wed, 06 Jun 2012)
New Revision: 41762
Modified:
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/JavaEditorTracker.java
Log:
https://issues.jboss.org/browse/JBIDE-10738 As-you-type EL validation
Modified:
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/JavaEditorTracker.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/JavaEditorTracker.java 2012-06-06
23:44:04 UTC (rev 41761)
+++
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/JavaEditorTracker.java 2012-06-06
23:51:11 UTC (rev 41762)
@@ -29,7 +29,7 @@
import org.jboss.tools.common.validation.CommonValidationPlugin;
/**
- * Installer for As-You-Type validation for EL in Java Strings
+ * Installer for As-You-Type validation
*
* @author Victor V. Rubezhny
*
@@ -39,7 +39,7 @@
static JavaEditorTracker INSTANCE;
Map<JavaEditor, JavaDirtyRegionProcessor> fAsYouTypeValidators = new
HashMap<JavaEditor, JavaDirtyRegionProcessor>();
-
+
private JavaEditorTracker() {
init();
}
@@ -155,7 +155,7 @@
editorClosed(part);
Assert.isTrue(null == fAsYouTypeValidators.get(javaEditor), "An old
JavaDirtyRegionProcessor is not un-installed on Java Editor instance");
}
-
+
processor = new JavaDirtyRegionProcessor(javaEditor);
processor.install(javaSourceViewer);
processor.setDocument(javaSourceViewer.getDocument());
@@ -176,5 +176,4 @@
}
}
}
-}
-
+}
\ No newline at end of file