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

Ilya Buziuk (JIRA) issues at jboss.org
Fri Jun 24 15:37:00 EDT 2016


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

Ilya Buziuk commented on JBIDE-22628:
-------------------------------------

[~mickael_istria] the only generic way that comes to my mind is using adapter for getting *AbstractTextEditor* from custom editors. Basically, instead of returning null we can try to get adapter for *AbstractTextEditor*. So, in order to gain zoom in / out functionality specific editors like JSPMultiPageEditor (VPE case), which embeds source editor,  will have to handle AbstractTextEditor input in getAdapter method. I have tested the fix and everything seems to work just fine: 

- https://github.com/ibuziuk/eclipse.platform.text/commit/7f4d906e3eb8d9374bfd4b1793dcc5fca4463b49#diff-b33f584dab931b708b8669855c8416f4R104

However, I have some problems with providing a gerrit change:
{code}
git push ssh://git.eclipse.org/gitroot/platform/eclipse.platform.text.git HEAD:refs/for/master
{code}
After executing command above ^ I'm asked to input some password and than get 
{code}
Connection to git.eclipse.org closed by remote host.
fatal: Could not read from remote repository.
{code}
Could you give a hint what I'm doing wrong?

> 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