Bug 433508 - [OCL] Embedded OCL constraint editor inserts newline when using Ctrl-Enter
Summary: [OCL] Embedded OCL constraint editor inserts newline when using Ctrl-Enter
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Diagram (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Mac OS X
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-25 07:54 EDT by Klaas Gadeyne CLA
Modified: 2021-06-10 09:21 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaas Gadeyne CLA 2014-04-25 07:54:39 EDT
Normally (at least earlier), when using the embedded xtext editor to insert constraints, it was possible to confirm a constraint expression by pressing Ctrl-Enter.  This would confirm the constraint, and close the xtext editor.

Now pressing Ctrl-Enter does confirm the constraint, but also inserts a newline character at the same time.  This is very annoying…
Comment 1 Ansgar Radermacher CLA 2014-05-12 02:34:58 EDT
I cannot reproduce the error. I guess you relate to the specification edition via the property view: if I open the specification and press control-enter, the dialog is closed, but there is no additional enter in the specification - at least on my linux machine.
Comment 2 Klaas Gadeyne CLA 2014-05-12 02:59:55 EDT
(In reply to Ansgar Radermacher from comment #1)
> I cannot reproduce the error. I guess you relate to the specification
> edition via the property view:

I'm sorry, I should have been more explicit.  I did not refer to the edition via the properties, but to the pop-up editor when editing the constraint from the diagram.

> if I open the specification and press
> control-enter, the dialog is closed, but there is no additional enter in the
> specification - at least on my linux machine.

FWIW, this also works fine on my mac
Comment 3 Pauline Deville CLA 2021-06-10 09:21:32 EDT
I still can reproduce it in 2021-03 in the direct editor but not int he constraint editor (pop-up).