Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353519

Summary: [editor] Support comment markups
Product: [Modeling] OCL Reporter: Ed Willink <ed>
Component: CoreAssignee: OCL Inbox <mdt-ocl-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.1.0   
Target Milestone: M1   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Ed Willink CLA 2011-08-01 14:32:34 EDT
The org.omg.ocl.markup supports a very limited markup language intended for italics, images for specification auto-generation. It is inconvenient having this outside Eclipse OCL.

Support something similar in more XDoc style, and provide preview in hover text.

e[xxx] emphasize xxx
ol[xxx] outline ..

and more usefully

ocl[xxx] evaluate xxx as an OCL expression and use as text. This allows many italic inserts to be e[ocl[self]].

ocl:code[xxx] syntax check xxx and format as a code example.
Comment 1 Ed Willink CLA 2011-08-09 15:37:08 EDT
Basic bold/emphasis and OCL expression pushed to master
Comment 2 Ed Willink CLA 2011-11-07 17:09:36 EST
Now in use for OCL spec generation.
Comment 3 Ed Willink CLA 2013-05-20 11:36:20 EDT
CLOSED after a year in the RESOLVED state.