Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael Istria2017-04-26 19:57:00 +0000
committerMickael Istria2017-04-26 20:21:56 +0000
commitd68c3b21d24ab313e97359beeb42205bce4a31e7 (patch)
treef0f34b0efbf7f8998c3a33b699b6fff7217950c2
parent37f745df9c27a27a7ad4778468f9193e6f7b7e78 (diff)
downloadeclipse.platform.text-d68c3b21d24ab313e97359beeb42205bce4a31e7.tar.gz
eclipse.platform.text-d68c3b21d24ab313e97359beeb42205bce4a31e7.tar.xz
eclipse.platform.text-d68c3b21d24ab313e97359beeb42205bce4a31e7.zip
Signed-off-by: Mickael Istria <mistria@redhat.com>
-rw-r--r--org.eclipse.ui.workbench.texteditor/plugin.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/plugin.xml b/org.eclipse.ui.workbench.texteditor/plugin.xml
index c5b9c212c8f..7316269fbe4 100644
--- a/org.eclipse.ui.workbench.texteditor/plugin.xml
+++ b/org.eclipse.ui.workbench.texteditor/plugin.xml
@@ -1308,10 +1308,24 @@
<handler
class="org.eclipse.ui.texteditor.TextZoomInHandler"
commandId="org.eclipse.ui.edit.text.zoomIn">
+ <enabledWhen>
+ <with variable="activePart">
+ <instanceof
+ value="org.eclipse.ui.texteditor.ITextEditor">
+ </instanceof>
+ </with>
+ </enabledWhen>
</handler>
<handler
class="org.eclipse.ui.texteditor.TextZoomOutHandler"
commandId="org.eclipse.ui.edit.text.zoomOut">
+ <enabledWhen>
+ <with variable="activePart">
+ <instanceof
+ value="org.eclipse.ui.texteditor.ITextEditor">
+ </instanceof>
+ </with>
+ </enabledWhen>
</handler>
</extension>
<extension

Back to the top