aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDawid Pakuła2018-07-18 16:28:06 -0400
committerDawid Pakuła2018-07-18 16:28:06 -0400
commit425295b867f11424cf1bad61b8db168389d821a4 (patch)
tree7726925d4301e571b52777fff9148cc43083b212
parent60e42eaa287de963b7fb4ec8e09e4f1d1620fd43 (diff)
downloadorg.eclipse.pdt-425295b867f11424cf1bad61b8db168389d821a4.tar.gz
org.eclipse.pdt-425295b867f11424cf1bad61b8db168389d821a4.tar.xz
org.eclipse.pdt-425295b867f11424cf1bad61b8db168389d821a4.zip
Bug 536109 - Editor selection event problems
Use same status label as outline Signed-off-by: Dawid Pakuła <zulus@w3des.net>
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/configuration/PHPStructuredTextViewerConfiguration.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/configuration/PHPStructuredTextViewerConfiguration.java b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/configuration/PHPStructuredTextViewerConfiguration.java
index f7475d280..edc46e555 100644
--- a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/configuration/PHPStructuredTextViewerConfiguration.java
+++ b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/configuration/PHPStructuredTextViewerConfiguration.java
@@ -22,6 +22,7 @@ import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.preferences.IPreferencesService;
import org.eclipse.dltk.core.IModelElement;
import org.eclipse.dltk.internal.ui.typehierarchy.HierarchyInformationControl;
+import org.eclipse.dltk.ui.ScriptElementLabels;
import org.eclipse.dltk.ui.actions.IScriptEditorActionDefinitionIds;
import org.eclipse.dltk.ui.viewsupport.ScriptUILabelProvider;
import org.eclipse.jface.dialogs.IDialogSettings;
@@ -158,6 +159,11 @@ public class PHPStructuredTextViewerConfiguration extends StructuredTextViewerCo
public PHPStatusLineLabelProvider() {
parentProvider = new ScriptUILabelProvider();
+ parentProvider.setTextFlags(ScriptElementLabels.DEFAULT_QUALIFIED | ScriptElementLabels.ROOT_POST_QUALIFIED
+ | ScriptElementLabels.APPEND_ROOT_PATH | ScriptElementLabels.M_PARAMETER_TYPES
+ | ScriptElementLabels.M_PARAMETER_NAMES | ScriptElementLabels.M_PARAMETER_INITIALIZERS
+ | ScriptElementLabels.M_APP_RETURNTYPE | ScriptElementLabels.M_EXCEPTIONS
+ | ScriptElementLabels.F_APP_TYPE_SIGNATURE | ScriptElementLabels.T_TYPE_PARAMETERS);
}
@Override