[jbosstools-issues] [JBoss JIRA] (JBIDE-22628) Zoom in / out functionality is not working with Visual Page Editor

Viacheslav Kabanovich (JIRA) issues at jboss.org
Mon Jun 27 10:21:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-22628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257443#comment-13257443 ] 

Viacheslav Kabanovich edited comment on JBIDE-22628 at 6/27/16 10:20 AM:
-------------------------------------------------------------------------

[~ibuziuk], [~mickael_istria], yes, looking for adapter may help solve some cases, taking into account however that method getAdapter() should in its logic mimic getSelectedPage() - it should return AbstractTextEditor instance only when it is shown on the page. Currently, method getSelectedPage() returns the same instance of VpvEditorPart for any selected page. That does not look right to me and cannot be helpful for any feature. So, if the implementation of getSelectedPage() proposed by [~ibuziuk] solves the issue and does not break anything, I suggest applying it with or without the change to getAdapter().


was (Author: scabanovich):
[~ibuziuk], [~mickael_istria], yes, looking for adapter may help solve some cases, taking into account however that method getAdapter() should in its logic mimic getSelectedPage() - it should return AbstractTextEditor instance only when it is shown on the page. So, if the implementation of getSelectedPage() proposed by [~ibuziuk] solves the issue and does not break anything, I suggest applying it with or without the change to getAdapter().

> 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)


More information about the jbosstools-issues mailing list