diff options
author | Mickael Istria | 2017-04-26 19:57:00 +0000 |
---|---|---|
committer | Mickael Istria | 2017-04-26 20:21:56 +0000 |
commit | d68c3b21d24ab313e97359beeb42205bce4a31e7 (patch) | |
tree | f0f34b0efbf7f8998c3a33b699b6fff7217950c2 | |
parent | 37f745df9c27a27a7ad4778468f9193e6f7b7e78 (diff) | |
download | eclipse.platform.text-d68c3b21d24ab313e97359beeb42205bce4a31e7.tar.gz eclipse.platform.text-d68c3b21d24ab313e97359beeb42205bce4a31e7.tar.xz eclipse.platform.text-d68c3b21d24ab313e97359beeb42205bce4a31e7.zip |
Bug 512571 - Fix enablement of Zoom handlers for textY20170427-1000I20170430-2000I20170429-2000I20170429-1330I20170429-1230I20170428-2000I20170428-0830I20170428-0700I20170428-0550I20170428-0445I20170427-2000I20170426-2000
Signed-off-by: Mickael Istria <mistria@redhat.com>
-rw-r--r-- | org.eclipse.ui.workbench.texteditor/plugin.xml | 14 |
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 |