eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[editor] New-line in string handling is asymmetric #581

Closed eclipse-ocl-bot closed 3 hours ago

eclipse-ocl-bot commented 3 hours ago

| --- | --- | | Bugzilla Link | 321518 | | Status | CLOSED FIXED | | Importance | P3 normal | | Reported | Aug 02, 2010 11:28 EDT | | Modified | May 27, 2011 03:13 EDT | | Reporter | Ed Willink |

Description

A new line in an OCLinEcore annotation value is consistently written out as &xA; which is read in and converted to \n.

Probably better to prohibit new lines in strings, or treat them as a multi-string concatenator.

eclipse-ocl-bot commented 3 hours ago

By Ed Willink on Aug 04, 2010 15:26

Created attachment 175879 Fix for arbitrary strings

Attached allows

A concatenation of quoted strings as an OCLinEcore annotation value.

Interprets

'x y'

as synonym for 'x\n' 'y'

Introduces support for \u Unicode characters as per OCL specification.

:notepad_spiral: Bug321518.patch

eclipse-ocl-bot commented 3 hours ago

By Ed Willink on Aug 17, 2010 17:06

Committed to HEAD for 3.1.0M2 and to R3_0_maintenance for 3.0.1RC2.

eclipse-ocl-bot commented 3 hours ago

By Ed Willink on May 27, 2011 03:13

Closing