[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-800) Red Hat XML Editor: problem with search

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Thu Oct 18 05:25:03 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-800?page=comments#action_12383193 ] 
            
Viacheslav Kabanovich commented on JBIDE-800:
---------------------------------------------

There is a preference General/Search/'Reuse editors to show matchs'. If it is on, Eclipse first asks the previously opened editor if it can show new file in it. If editor is eager to do so, Eclipse creates new editor input for this other file and puts it to the old editor.
Since our 'universal' Red Hat XML editor can open web.xml, faces-config.xml, struts-config.xml, etc., it does say that it can edit web.xml even if it was initially opened to edit faces-config.xml. 
Well, it seems I have understood at last how the replacement of editor input can be smoothly processed by our editor. After that it is going to be truly universal.

> Red Hat XML Editor: problem with search
> ---------------------------------------
>
>                 Key: JBIDE-800
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-800
>             Project: JBoss Tools
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Petr Lindovsky
>         Assigned To: Viacheslav Kabanovich
>            Priority: Minor
>             Fix For: 2.0.0.CR1
>
>         Attachments: search.jpg
>
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> I found a problem with the Red Hat XML Editor (default for XML files in RDHS) - with RHDS Beta 1.
> To reproduce it create two XML files in any project (e.g. a plain one), e.g.: 
> Code: 
> a.xml
> ----
> <?xml version="1.0" encoding="UTF-8"?>
> <root>
> 1
> 2
> search string
> 4
> 5
> search string
> 7
> </root>
> b.xml
> ----
> <?xml version="1.0" encoding="UTF-8"?>
> <root>
> 1
> search string
> 3
> 4
> search string
> 6
> </root>
> 	 
> and search for the string "search string". The Search view will show you the occurences. Now use the "down" button to go through the occurences. After you click "down" on the last occurence in a.xml, the b.xml file will NOT open; instead, the occurences in b.xml will be shown in the a.xml editor. 
> If you try the same with the XML Editor (default for Europa), it works fine. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list