[
https://issues.jboss.org/browse/JBIDE-9752?page=com.atlassian.jira.plugin...
]
Victor Rubezhny commented on JBIDE-9752:
----------------------------------------
Steps to verify:
EXECUTE: Import project
https://svn.jboss.org/repos/jbosstools/trunk/jst/tests/org.jboss.tools.js...
EXECUTE: Open WebContent/pages/jsp_page.jsp page
EXECUTE: Place the cursor into value of class attribute of tag body (it must be empty) and
invoke Content Assistant by pressing Ctrl-Space.
ASSERT: Proposal List of available CSS Classes is shown.
EXECUTE: Apply proposal named as "errors"
ASSERT: The proposal inserted as value of "class" attribute of tag <body>.
The text cursor is placed at the end of word "errors" in the attribute value.
EXECUTE: Press Space (just to insert the whitespace character after the just entered word
"errors".
EXECUTE: Invoke Content Assistant again by pressing Ctrl-Space.
ASSERT: Proposal List of available CSS Classes is shown.
EXECUTE: Apply some another proposal (f.i., the proposal named as "cls3")
ASSERT: The proposal inserted at the end of value of "class" attribute of tag
<body>. The text cursor is placed at the end of word "cls3" (if you've
selected this proposal) in the attribute value. The attribute value contains both CSS
Class names divided by a space character (i.e. "errors cls3", if you've
selected proposals suggested).
Content Assist for CSS class names doesn't allow to enter more
that one CSS class name (it always replaces the first typed CSS class name)
------------------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-9752
URL:
https://issues.jboss.org/browse/JBIDE-9752
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 3.3.0.M3
Reporter: Victor Rubezhny
Assignee: Victor Rubezhny
Priority: Minor
Fix For: 3.3.0.M4
Open any page with CSS stylesheet loaded and try to enter, using content assist, two or
more CSS class names divided by space-character as value of "class" attribute of
some tag. The first typed CSS class name is always replaced by a new value selected in
Content Assist, while the new value is to be added to the existing one.
--
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