[jbosstools-issues] [JBoss JIRA] (JBIDE-12319) As you type does not restore marker state when editor is returned to unmodified stade by Undo/Redo actions

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Fri Jul 13 07:04:12 EDT 2012


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

Victor Rubezhny commented on JBIDE-12319:
-----------------------------------------

Actually I cannot get the validators in Multipage JSP editor to return initial markers/annotations back. The marker annotation stays gray, so it's not initial annotation, but still a temporary annotation came from As-You-Type validation. I think it's a normal behavior because since the Editor stays "Dirty" after invocation of Undo action (as many times as needed to undo all the changes made).

The difference with Java editor is that the Java Editor becomes "non-Dirty" right after the last Undo operation is invoked. If editor is not Dirty (as right after Save operation performed or right after it's opened) As-You-Type validation is not intended to be executed. That's why this issue happens.
                
> As you type does not restore marker state when editor is returned to unmodified stade by Undo/Redo actions
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-12319
>                 URL: https://issues.jboss.org/browse/JBIDE-12319
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: common/jst/core
>    Affects Versions: 3.4.0.M1
>            Reporter: Viacheslav Kabanovich
>            Assignee: Victor Rubezhny
>             Fix For: 3.4.0.M1
>
>         Attachments: InappropriateTemporaryMarker.png
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list