Bug 1051127

Summary: Guided Rule Editor syntax highlighter highlights keywords also in names (strings).
Product: [Retired] JBoss BRMS Platform 6 Reporter: Marek Baluch <mbaluch>
Component: Business CentralAssignee: manstis
Status: CLOSED CURRENTRELEASE QA Contact: jvahala
Severity: low Docs Contact:
Priority: low    
Version: 6.0.0CC: etirelli, lpetrovi, rrajasek
Target Milestone: ER1   
Target Release: 6.0.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 19:58:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot none

Description Marek Baluch 2014-01-09 17:57:13 UTC
Created attachment 847748 [details]
screenshot

Description of problem:
If I create a new rule which contains a keyword in it's name then the keyword in the name will be highlighted too.

E.g. In the following rule the keyword 'rule' on line one will be highlighted twice. Once the correct keyword and then in the name "superrule"

1. rule "superrule"
2.     dialect "mvel"
3.     when
4.     then
5. end

Steps to Reproduce:
1. Create a new 'Guided Rule' with a name which contains a keyword (e.g. rule, when, then, etc.

Additional info:
See attached screenshot.

Comment 4 jvahala 2014-02-21 16:17:32 UTC
Highlight keywords in names fixed. 6.0.1 ER1