* disposal actions required by the php editor.
*/
public void dispose() {
- PHPEditorEnvironment.disconnect(this);
+ // PHPEditorEnvironment.disconnect(this);
if (fOutlinePage != null)
fOutlinePage.setInput(null);
*/
protected void initializeEditor() {
IPreferenceStore store = PHPeclipsePlugin.getDefault().getPreferenceStore();
- PHPEditorEnvironment.connect(this);
+ // PHPEditorEnvironment.connect(this);
// store.addPropertyChangeListener(new IPropertyChangeListener() {
// public void propertyChange(PropertyChangeEvent event) {
int styles) {
return super.createSourceViewer(parent, ruler, styles);
}
+
+ /*
+ * @see AbstractTextEditor#affectsTextPresentation(PropertyChangeEvent)
+ */
+ protected boolean affectsTextPresentation(PropertyChangeEvent event) {
+ JavaTextTools textTools= PHPeclipsePlugin.getDefault().getJavaTextTools();
+ return textTools.affectsBehavior(event);
+ }
}