[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-3427) Undo (Ctrl+Z) doesn't work correctly for comments

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Fri Dec 19 10:54:54 EST 2008


     [ https://jira.jboss.org/jira/browse/JBIDE-3427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov updated JBIDE-3427:
----------------------------------

      Component/s: UpStream
                       (was: jsp/jsf/xml source editing)
    Fix Version/s: LATER


It's a bug of WTP. Please report it to their bugzzila.  

> Undo (Ctrl+Z) doesn't work correctly for comments
> -------------------------------------------------
>
>                 Key: JBIDE-3427
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3427
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: UpStream
>    Affects Versions: 3.0.0.cr1
>            Reporter: Yura Zhishko
>            Assignee: Alexey Kazakov
>             Fix For: LATER
>
>
> 1) Choose any tag or text
> 2) Choose Source -> Toggle Comment (or press Ctrl+Shift+C)
> ASSERT: Line is commented
> 3) Make Undo (Ctrl+Z)
> ASSERT: This action delete only the end of tag (-->)
> 4) Make Undo (Ctrl+Z) again
> ASSERT: Delete start tag (<!--)
> I think that the line should be uncommented from the first time of using Ctrl+Z
> Another test case:
> 1) Select more than one line
> 2) Choose Source -> Add Block Comment
> ASSERT: Block is commented
> 3) Choose Source -> Add Block Comment again
> ASSERT: Nothing happens
> 4) Press Ctrl+Z (Undo)
> ASSERT: New <!-- --> appeared around existed comments

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

        



More information about the jbosstools-issues mailing list