[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 Aug 3 14:33:07 EDT 2012


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

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

I can reproduce the issue. But...

The problem here is that our DisabledAnnotation ruler annotation is removed by the OverviewRuler on positions update because its Position is removed from the Document. We can't predict such ruler annotation removal.
As such, we cannot restore initial MarkerAnnotation ruler annotation (which is replaced by DisabledAnnotation on previous validation step) or the same DisabledAnnotation in that Position due to show it to a user. 

IMHO, Java As-You-Type validation behaves exactly the same way (Disabled ruler annotation disappears when some part of text (where the Disabled ruler annotation is placed in) is removed and at the same time the document partitioning is changed).

So, IMO these is nothing to do with this case.

                
> 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