Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329551 - highlight of key word in ocl if expression
Summary: highlight of key word in ocl if expression
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Linux
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-05 10:15 EDT by Yvan Lussaud CLA
Modified: 2011-04-28 05:27 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yvan Lussaud CLA 2010-11-05 10:15:04 EDT
When writing something like :

[let var : String = if(condition) then 'b' else 'a' endif ]

The 'if' and 'else' keywords are highlighted but not the 'then' and the 'endif' keywords. I think none of them should be highlighted using the Acceleo keyword style. They might be highlighted using an other style (bold for instance but in blue like OCL expressions).

regards,
Yvan.
Comment 1 Stephane Begaudeau CLA 2011-04-28 05:27:51 EDT
Syntax coloring in Acceleo has been improved. The fix will be available in Acceleo 3.1.0 M7.