[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9674) Issues with Support for special and non-ASCII characters to the Externalize Strings Wizard for JSP

Denis Maliarevich (JIRA) jira-events at lists.jboss.org
Mon Sep 12 10:18:26 EDT 2011


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

Denis Maliarevich commented on JBIDE-9674:
------------------------------------------

First of all as you could notice "formatting of web page source is lost" but formatting of the visual representation is still the same.

Secondly when user selects some text in the page source directly -- only that lines/strings will be replaced, without any changes to leading/trailing <EOL>, <CR>, <LF> characters.

Thirdly when nothing is selected the whole text area under the cursor is supposed to be replaced, including all the <EOL>, <CR>, <LF> characters. It is an arguable question whether it good or bad solution. 50/50 to my mind. Nevertheless the visual representation remains the same.

> Issues with Support for special and non-ASCII characters to the Externalize Strings Wizard for JSP
> --------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-9674
>                 URL: https://issues.jboss.org/browse/JBIDE-9674
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Visual Page Editor core
>    Affects Versions: 3.3.0.M2
>         Environment: Linux 32bit, Sun JDK 1.6.0_25, jbdevstudio-product-linux-gtk-5.0.0.v201106172137N-H681-M2.
>            Reporter: Vlado Pakan
>            Assignee: Denis Maliarevich
>              Labels: new_and_noteworthy
>             Fix For: 3.3.0.M4
>
>         Attachments: wrongPropertykeySelection.png
>
>
> comment originally from JBIDE-9203:
> Property Key is not selected correctly.
> When cursor position is within text containing more lines Property Key is selected with special characters '\r' and '\n' displayed not correctly
> !wrongPropertykeySelection.png!
> When Property Key with more lines is used validator is displaying error
> !errorAfterWrongPropertyKeySelection.png!
> I think translation should not include leading and trailing <EOL>, <CR>, <LF> characters of whole text paragraph because after translation is used formatting of web page source is lost i.e:
> <h1>
> Line1
> Line2
> Line3
> ...
> </h1>
> is replaced with
> <h1>#{Message.Line1}</h1>
> what can be confusing.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list