[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-7100) Wrong proposals appear in CA Window for CSS styles inside <style></style> tag

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Mon Sep 20 08:49:28 EDT 2010


     [ https://jira.jboss.org/browse/JBIDE-7100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Victor Rubezhny updated JBIDE-7100:
-----------------------------------

    Description: 
Wrong proposals appear in CA Window for CSS styles inside <style></style> tag when:

1. There is at least one whitespace character is placed between opening and closing "style" tags
-and-
2. The CA is invoked when the cursor is pointed right before the closing tag (i.e. "<style type="text/css"> |</style>", where "|"-char indicates the cursor position.

In such cases WTP suggests proposals for a new tags insertion, but not the CSS proposals.

Probably it's WTP's issue, because:

1. WTP decides which kind of proposals are to be calculated at some cursor position.
2. We don't add any computers for CSS proposals since WTP 3.2

JUnit test org.jboss.tools.jst.jsp.test.ca.Jbide1791Test fails because of this issue.

  was:
Wrong proposals appear in CA Window for CSS styles inside <style></style> tag when:

1. There is at least one whitespace character is placed between opening and closing "style" tags
-and-
2. The CA is invoked when the cursor is pointed right before the closing tag (i.e. "<style type="text/css"> |</style>", where "|"-char indicates the cursor position.

In such cases WTP suggests proposals for a new tags insertion, but not the CSS proposals.

Probably it's WTP's issue, because:

1. WTP decides which kind of proposals are to be calculated at some cursor position.
2. We don't add any computers for CSS proposals since WTP 3.2



> Wrong proposals appear in CA Window for CSS styles inside <style></style> tag
> -----------------------------------------------------------------------------
>
>                 Key: JBIDE-7100
>                 URL: https://jira.jboss.org/browse/JBIDE-7100
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing
>    Affects Versions: 3.2.0.M2
>         Environment: Eclipse 3.6; WTP 3.2
>            Reporter: Victor Rubezhny
>            Assignee: Victor Rubezhny
>
> Wrong proposals appear in CA Window for CSS styles inside <style></style> tag when:
> 1. There is at least one whitespace character is placed between opening and closing "style" tags
> -and-
> 2. The CA is invoked when the cursor is pointed right before the closing tag (i.e. "<style type="text/css"> |</style>", where "|"-char indicates the cursor position.
> In such cases WTP suggests proposals for a new tags insertion, but not the CSS proposals.
> Probably it's WTP's issue, because:
> 1. WTP decides which kind of proposals are to be calculated at some cursor position.
> 2. We don't add any computers for CSS proposals since WTP 3.2
> JUnit test org.jboss.tools.jst.jsp.test.ca.Jbide1791Test fails because of this issue.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list