Syntaxcoloring wrong if DSL contains a "#"-Character
----------------------------------------------------
Key: JBRULES-1960
URL:
https://jira.jboss.org/jira/browse/JBRULES-1960
Project: JBoss Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-eclipse
Affects Versions: 5.0.0.M5
Environment: eclipse 3.4, WinXP, jre6u10
Reporter: Norbert Ziegler
Assignee: Mark Proctor
Priority: Minor
While editing a DSL-File one can see that everything after an #-Character is colored as
comment, regardless of the position of the #.
Indeed, it is not a comment.
Imagine the following line in a DSL:
Compute noselength to #MYVAR * #AGE
then everything at / after "#MYVAR" is rendered as a comment.
In this case a comment should only be recognized if the first non-empty-char of the line
is the "#"
--
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