Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael Istria2017-04-26 15:57:00 -0400
committerMickael Istria2017-04-26 16:21:56 -0400
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 c5b9c212c..7316269fb 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