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

Jiri Peterka (JIRA) issues at jboss.org
Tue Jul 21 06:16:02 EDT 2015


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

Jiri Peterka closed JBIDE-3427.
-------------------------------


Verified with JBDS 9.0.0.Beta2, L64

> Undo (Ctrl+Z) doesn't work correctly for comments
> -------------------------------------------------
>
>                 Key: JBIDE-3427
>                 URL: https://issues.jboss.org/browse/JBIDE-3427
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: upstream
>    Affects Versions: 3.0.0.cr1
>            Reporter: Yura Zhishko
>            Assignee: Konstantin Marmalyukov
>             Fix For: 4.3.0.Beta2
>
>
> 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 was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list