[
https://issues.jboss.org/browse/JBIDE-22628?page=com.atlassian.jira.plugi...
]
Ilya Buziuk commented on JBIDE-22628:
-------------------------------------
[~scabanovich], if it is overriden the following way, zoom in / out functionality is
working fine and all tests in jst & vpe are passing:
{code}
@Override
public Object getSelectedPage() {
return sourceEditor != null ? sourceEditor : super.getSelectedPage();
}
{code}
Without overriding it, getSelected page returns either *VpeEditorPartFactory* (jsf) or
*VpvEditorPart* (html)
However, I think that checking for suitable adapter, rather than returning null, can not
do any harm and is rather reasonable for some editors which can not always provide
*AbstractTextEditor* from *getSelectedPage()*. WDYT ?
Zoom in / out functionality is not working with Visual Page Editor
--------------------------------------------------------------------
Key: JBIDE-22628
URL:
https://issues.jboss.org/browse/JBIDE-22628
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: visual-page-editor-core
Affects Versions: 4.4.0.Alpha2
Reporter: Ilya Buziuk
Assignee: Ilya Buziuk
Labels: upstream
Fix For: 4.4.x
New zoom in / out functionality (Cntl + / -) which is available in Neon is not working in
Visual Page Editor. The interesting thing, that if you do Zoom in / out in the html
editor which supports this functionality and reopen file again in the Visual Editor the
new scale will be adjusted
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)