[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5835) JBoss Tools Properties editor always removes leading backslash (\)

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Fri Feb 19 08:15:19 EST 2010


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

Viacheslav Kabanovich commented on JBIDE-5835:
----------------------------------------------

We have two editors in one - Source and UI. 

Source editor allows to write anything to text, and we have already come to agreement here that until an entry is touched in UI, it will remain in source as user put it there, everything including '\' in the end of line.

But UI editor cannot display value as is, it does show *compiled* value and that is why it is useful. Here you see your property as runtime tools will get it, and here you read and type Chinese letters without bothering what is there \uXXXX code. Source formatting has no impact on runtime value and UI cannot display it without confusing true new line that is represented in source by '\n' and convenience lines represented by '\' and ignored by runtime tools. We cannot see that in UI, and what we cannot see we cannot consistently and unambiguously preserve when user chose to edit visual (runtime) value. Also, the problem here is that UI field editor comes up with refactored final value making it difficult to find correlation with old value, while in source editing each typed character is taken into account and accumulating changes allow correct guessing on new position for tokens of the initial value.






> JBoss Tools Properties editor always removes leading backslash (\)
> ------------------------------------------------------------------
>
>                 Key: JBIDE-5835
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5835
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>    Affects Versions: 3.0.3.GA
>            Reporter: Tihomir Surdilovic
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.1.1
>
>
> Using the JBoss Tools Properties Editor for entries which have a leading backslash this backslash gets removed by JTP. The editor should not remove these leading backslashes. 

-- 
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