From: khartlage Date: Sat, 30 Nov 2002 16:41:35 +0000 (+0000) Subject: minor fixes X-Git-Url: http://git.phpeclipse.com?hp=b68156a17fd3340f91b1dcbbb822484f0c251c6c minor fixes --- diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPParserAction.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPParserAction.java index 37fae97..f4cc8a9 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPParserAction.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPParserAction.java @@ -62,7 +62,7 @@ public class PHPParserAction extends TextEditorAction { return; } IPreferenceStore store = PHPeclipsePlugin.getDefault().getPreferenceStore(); - if (store.getBoolean(PHPeclipsePlugin.PHP_PARSER_DEFAULT)) { + if (store.getString(PHPeclipsePlugin.PHP_PARSER_DEFAULT).equals(PHPeclipsePlugin.PHP_INTERNAL_PARSER)) { // first delete all the previous markers fileToParse.deleteMarkers(IMarker.PROBLEM, false, 0);