From jira-events at lists.jboss.org Tue Jun 28 11:56:24 2011 Content-Type: multipart/mixed; boundary="===============3622894381954570806==" MIME-Version: 1.0 From: Victor Rubezhny (JIRA) To: jbosstools-issues at lists.jboss.org Subject: [jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7100) Wrong proposals appear in CA Window for CSS styles inside tag Date: Tue, 28 Jun 2011 11:56:23 -0400 Message-ID: <1810118345.25479.1309276583878.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com> In-Reply-To: 1675828446.9768.1284983848450.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com --===============3622894381954570806== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://issues.jboss.org/browse/JBIDE-7100?page=3Dcom.atlassian.jira.= plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12611571#c= omment-12611571 ] = Victor Rubezhny commented on JBIDE-7100: ---------------------------------------- I have tested this issue in pure Eclipse 3.7/WTP. So, it's normal WTP behav= ior to show tag insertion proposals between the opening/cl= osing tags as well as CSS style proposals. And the relevance of tag proposa= ls is greater that the relevance of CSS Style proposals, so, the Tag propos= als are shown on top of the proposal list. I've added a workaround to avoid calculating the tag proposals from JBoss T= ools CA if cursor is placed in between , but it's not a com= mon behavior for WTP HTML editor. The same is true for JBIDE-9092 > Wrong proposals appear in CA Window for CSS styles inside = tag > -------------------------------------------------------------------------= ---- > > Key: JBIDE-7100 > URL: https://issues.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 > Fix For: 3.3.0.M3 > > > Wrong proposals appear in CA Window for CSS styles inside = tag when: > 1. There is at least one whitespace character is placed between opening a= nd closing "style" tags > -and- > 2. The CA is invoked when the cursor is pointed right before the closing = tag (i.e. "", where "|"-char indicates t= he cursor position. > In such cases WTP suggests proposals for a new tags insertion, but not th= e CSS proposals. > Probably it's WTP's issue, because: > 1. WTP decides which kind of proposals are to be calculated at some curso= r 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. For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============3622894381954570806==--