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

Viacheslav Kabanovich (JIRA) issues at jboss.org
Fri Jun 24 20:52:00 EDT 2016


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

Viacheslav Kabanovich commented on JBIDE-22628:
-----------------------------------------------

AbstractTextZoomHandler has relevant condition:
{code}
		} else if ((part instanceof MultiPageEditorPart) && ((MultiPageEditorPart)part).getSelectedPage() instanceof AbstractTextEditor) {
			return (AbstractTextEditor)((MultiPageEditorPart)part).getSelectedPage();
		}
{code}
JSPMultiPageEditor extends MultiPageEditorPart and might provide adequate implementation of getSelectedPage(). However, pages are added in this class in quite non-trivial way. 
[~ibuziuk], could you please check if the problem can be solved by overriding getSelectedPage() method. Maybe not, but it is worth trying. In future other features may appear that request for text editor without asking for the adapter. It could be better to adjust once our code than propose changes for each code that does not expect a non-standard implementation of multi page editor. 

> 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